SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH4 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 09-14-25, 01:28 PM   #1
Bartholomew Roberts
Electrician's Mate
 
Join Date: Sep 2021
Posts: 138
Downloads: 210
Uploads: 6
Default Need help How to edit button function in menu_1024_768.ini

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.
Bartholomew Roberts is offline   Reply With Quote
 

Tags
tec


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:50 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.