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 > SHIII Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 10-05-20, 09:54 PM   #1
chevyhd1986
Watch
 
Join Date: Mar 2020
Posts: 18
Downloads: 122
Uploads: 0
Default Need help adding a new button in ARB widescreen

Hey gents I'm trying to add a new button in ARB Widescreen for Stieblers change grid mod. I have figured out the right POS in the menu_1024_768.ini after some trial and error i noticed they are spaced out in intervals of 66 in the POS= line. I can get the button working but I've managed to black out and break the weather report button and for some reason my request new grid button is showing the weather report icon. Not sure if the game can only have one icon assigned at a time or not. Im no modder but i have been able to line everything up and get what im trying to do working just wondering if someone could take a look at my ini file and see if they can figure out that dang weather report button. i dont know if its as simple as changing a few things or not. Id post a picture but I exceed the limit on its size. I noticed that the send weather report is the only one that has the Color= string in it but I've already tried moving that button pos around with no success. I know the Bkgr is not lined up but that I can fix later. I also added at the end there another 0xFFFFFFFF not sure if that matters but I noticed they equaled the number of buttons so I added it for the new one. If I hover my mouse over the dark area it will pop up next to my cursor send weather report but nothing will happen when I click the void.

[G3F I264]
Name=RO Report
Type=1026;Menu group
ItemID=0x3F290000
ParentID=0x3F0B0000
;Pos=0,-45,436,560
Pos=0,-45,370,560
Color=0xFFFFFFFF

[G3F I265]
Name=Request_New_grid
Type=1032;Button
ItemID=0x3F290006
ParentID=0x3F290000
Pos=270,-494,60,60
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/orders2.tga
Crop 0=0.4763,0.5,1,1
Mat 1=data/menu/gui/layout/orders2.tga
Crop 1=0.4763,0.5,1,1
Mat 2=data/menu/gui/layout/orders2.tga
Crop 2=0.4763,0.5,1,1
Mat 3=data/menu/gui/layout/orders2.tga
Crop 3=0.4763,0.5,1,1
MatFlags=0x1
TexFmt=0x9
Font=1
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2919

[G3F I266]
Name=&Send patrol report
Type=1032;Button
ItemID=0x3F290005
ParentID=0x3F290000
Pos=138,-494,60,60
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/orders2.tga
Crop 0=0.714844,0.5,1,1
Mat 1=data/menu/gui/layout/orders2.tga
Crop 1=0.714844,0.5,1,1
Mat 2=data/menu/gui/layout/orders2.tga
Crop 2=0.714844,0.5,1,1
Mat 3=data/menu/gui/layout/orders2.tga
Crop 3=0.714844,0.5,1,1
MatFlags=0x1
TexFmt=0x9
Font=1
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2908

[G3F I267]
Name=Send weather report
Type=1032;Button
ItemID=0x3F290004
ParentID=0x3F290000
Pos=204,-494,60,60
Color=0xFF000000
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/orders2.tga
Crop 0=0.476563,0.5,1,1
Mat 1=data/menu/gui/layout/orders2.tga
Crop 1=0.476563,0.5,1,1
Mat 2=data/menu/gui/layout/orders2.tga
Crop 2=0.476563,0.5,1,1
Mat 3=data/menu/gui/layout/orders2.tga
Crop 3=0.476563,0.5,1,1
MatFlags=0x1
TexFmt=0x9
Font=1
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2907

[G3F I268]
Name=&Send contact report
Type=1032;Button
ItemID=0x3F290003
ParentID=0x3F290000
Pos=72,-494,60,60
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/orders2.tga
Crop 0=0.238281,0.5,1,1
Mat 1=data/menu/gui/layout/orders2.tga
Crop 1=0.238281,0.5,1,1
Mat 2=data/menu/gui/layout/orders2.tga
Crop 2=0.238281,0.5,1,1
Mat 3=data/menu/gui/layout/orders2.tga
Crop 3=0.238281,0.5,1,1
MatFlags=0x1
TexFmt=0x9
Font=1
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2906

[G3F I269]
Name=&Report contacts
Type=1032;Button
ItemID=0x3F290002
ParentID=0x3F290000
Pos=6,-494,60,60
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/orders2.tga
Crop 0=0,0.5,1,1
Mat 1=data/menu/gui/layout/orders2.tga
Crop 1=0,0.5,1,1
Mat 2=data/menu/gui/layout/orders2.tga
Crop 2=0,0.5,1,1
Mat 3=data/menu/gui/layout/orders2.tga
Crop 3=0,0.5,1,1
MatFlags=0x1
TexFmt=0x9
Font=1
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2905

[G3F I270]
Name=Bkgr
Type=1031;Stat bmp array
ItemID=0x3F290001
ParentID=0x3F290000
Pos=0,-488,204,72
Materials=1
Display=0;No stretch
Mat 0=data/menu/gui/layout/bkgr.tga
MatFlags=0x1
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
Attached Images
File Type: bmp 1.bmp (14.8 KB, 7 views)

Last edited by chevyhd1986; 10-05-20 at 10:53 PM.
chevyhd1986 is offline   Reply With Quote
Old 10-05-20, 11:40 PM   #2
FUBAR295
Krusty Krab
 
FUBAR295's Avatar
 
Join Date: Mar 2002
Location: Decks awash in the North Atlantic
Posts: 1,245
Downloads: 428
Uploads: 0
Default

You may have to changed the ParentID to match the rest of the section.

[G3F I264]
Name=RO Report
Type=1026;Menu group
ItemID=0x3F290000
ParentID=0x3F0B0000
;Pos=0,-45,436,560
Pos=0,-45,370,560
Color=0xFFFFFFFF

to

[G3F I265]
Name=Request_New_grid
Type=1032;Button
ItemID=0x3F290006
ParentID=0x3F290000
Pos=270,-494,60,60
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/orders2.tga
Crop 0=0.4763,0.5,1,1
Mat 1=data/menu/gui/layout/orders2.tga
Crop 1=0.4763,0.5,1,1
Mat 2=data/menu/gui/layout/orders2.tga
Crop 2=0.4763,0.5,1,1
Mat 3=data/menu/gui/layout/orders2.tga
Crop 3=0.4763,0.5,1,1
MatFlags=0x1
TexFmt=0x9
Font=1
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2919

Good hunting,
FUBAR295
__________________
Good judgment comes from experience. Unfortunately, the experience usually comes from bad judgment.


FUBAR295 is online   Reply With Quote
Reply

Thread Tools
Display Modes

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 10:22 PM.


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