![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|||||||||
![]() |
|
|
Thread Tools | Display Modes |
09-14-25, 01:28 PM
|
#1 |
|
Electrician's Mate
![]() Join Date: Sep 2021
Posts: 138
Downloads: 210
Uploads: 6
|
Below are two buttons from ksd menu_1024_768.ini UZO part
[G28 I9] Name=Button_R Type=1032;Button ItemID=0x28040002 ParentID=0x28040000 Pos=131,0,32,32 Zone= 563 141 32 32 0 1 0x28040000 1 -0.5 0x28040002 -1 0.5 0 0 Materials=4 Display=2;Linear Mat 0=data/menu/ksd_optics/periscope_parts.tga Crop 0=0.425,0.264323,0.0727273,0.0416667 Mat 1=data/menu/ksd_optics/periscope_parts.tga Crop 1=0.425,0.264323,0.0727273,0.0416667 Mat 2=data/menu/ksd_optics/periscope_parts.tga Crop 2=0.425,0.30599,0.0727273,0.0416667 Mat 3=data/menu/ksd_optics/periscope_parts.tga Crop 3=0.425,0.30599,0.0727273,0.0416667 MatFlags=0x29 TexFmt=0x0 Font=1 Text=0 TextFlags=0x0 StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF ToolTipText=8000 [G28 I10] Name=Button_L Type=1032;Button ItemID=0x28040001 ParentID=0x28040000 Pos=0,0,32,32 Zone= 432 141 32 32 0 1 0x28040000 0.0981595 -0.5 0x28040001 -0.5 0.5 0 0 Materials=4 Display=2;Linear Mat 0=data/menu/ksd_optics/periscope_parts.tga Crop 0=0.425,0.264323,0.0727273,0.0416667 Mat 1=data/menu/ksd_optics/periscope_parts.tga Crop 1=0.425,0.264323,0.0727273,0.0416667 Mat 2=data/menu/ksd_optics/periscope_parts.tga Crop 2=0.425,0.30599,0.0727273,0.0416667 Mat 3=data/menu/ksd_optics/periscope_parts.tga Crop 3=0.425,0.30599,0.0727273,0.0416667 MatFlags=0x29 TexFmt=0x0 Font=1 Text=0 TextFlags=0x0 StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF ToolTipText=8000 My question is what defines the button function? they are not in Dials.cfg, nor are they in stock. their current function is to active Graticule, both the same. |
|
|
09-16-25, 03:04 AM
|
#2 | |
|
A-ganger
![]() Join Date: Mar 2018
Posts: 79
Downloads: 608
Uploads: 0
|
Quote:
These buttons only work in manual aiming mode, these buttons do not work in automatic aiming mode. Some functions game are written directly in binary files(.exe .dll), they do not need dials.cfg. |
|
|
|
09-18-25, 08:45 PM
|
#3 | |
|
Electrician's Mate
![]() Join Date: Sep 2021
Posts: 138
Downloads: 210
Uploads: 6
|
Quote:
[G28 I1] Name=Page UZO Type=1027;Menu page ItemID=0x28000000 ParentID=0x0 [G28 I2] Name=Additions Type=1026;Menu group ItemID=0x28040000 ParentID=0x28000000 [G28 I3] Name=NoClickArea Type=1031;Stat bmp array ItemID=0x28040006 ParentID=0x28040000 [G28 I4] Name=Lighter_zone Type=1032;Button ItemID=0x28040042 ParentID=0x28040000 (this button is what now works, the Button_L &Button_R only serve as visual background) And the function menu group [G28 I216] Name=Grat_lighter Type=1026;Menu group ItemID=0x280B0000 ParentID=0x28000000 [G28 I217] Name=Graticule Type=1030;Static bmp ItemID=0x280BF007 ParentID=0x280B0000 It's direct parented to the page item, and there are a whole bunch of torpedo control menu groups between them. So how it works? Any logic there?
|
|
|
|
![]() |
| Tags |
| tec |
|
|
