SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SHIII Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=195)
-   -   Are GWX 1.3 & 2.0 menu_1024_768 correct? (https://www.subsim.com/radioroom/showthread.php?t=127399)

The Bad Wolf 12-20-07 06:09 PM

Are GWX 1.3 & 2.0 menu_1024_768 correct?
 
I'm making changes to the GUI and have been constructing tree diagrams in excel for the menu_1024_768.ini for GWX 1.3 & GWX 2.0.

I have noticed that the Periscopes and Uzo contain same MenuID number ItemID=0x26030001,ItemID=0x28030001 & ItemID=0x2B030001

ATTACK PERISCOPE

[G26 I119]
Name=Bkgr notepad
Type=1031;Stat bmp array
ItemID=0x26030001
ParentID=0x26030000
Pos=17,7,260,312
Color=0xB5AC9F00
Materials=1
Display=2;Linear
Mat 0=data/menu/gui/layout/bgr00.tga
MatFlags=0x1
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2203

[G26 I140]
Name=Target;Neuer Eintrag für Flaggen
Type=1031;Stat bmp array
ItemID=0x26030001
ParentID=0x26030000
Pos=-1680,745,1024,768
Color=0xFFFFFFFF
Materials=1
Display=2;Linear
Mat 0=data/Menu/Gui/Layout/Flaggen.tga
Crop 0=0,0,1,1
MatFlags=0x9
TexFmt=0x9
Drag=true
BmpState=1
NeedFocus=true
SelOne=true
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFF

I thought the ID numbers were supposed to be unique.

Help would be appreciated.

Dimitrius07 12-20-07 07:47 PM

I am not expert
but let me think for a moment.

Ok. Mat 0=data/menu/gui/layout/bgr00.tga is a alpha chanel - Not visible so its not important.
Thince you can`t delete exist parametrs you can overright them by using a larger group number. (Sorry for my English)


Quote:

I thought the ID numbers were supposed to be unique
ItemID=0x26030001 goes to G26 group (Attack scope)
ItemID=0x28030001 goes to G28 group (UZO)
ItemID=0x2B030001 goes to G2b (Observation scope)

(Just a info but i belive you know that)

The Bad Wolf 12-20-07 08:59 PM

Thankyou Dimitrius07 for your help,

I could change Name=Bkgr notepad to 0x2X030003 as that is free.
This would change the 3 groups:-

Attack Per.
0x26030001 to 0x26030003
Obser. Per.
0x2B030001 to0x2B030003
UZO 0x28030001 to0x28030003

I was just wondering what the program might do when it gets 2 same ItemID=numbers for Name=Bkgr notepad & Name=Target;Neuer Eintrag für Flaggen.





The Bad Wolf 12-20-07 09:56 PM

Do a search in notepad of your original menu_1024_768.ini for GWX 1.3 or 2.0.

Search for

ItemID=0x26030001

ItemID=0x28030001

ItemID=0x2B030001

You will notice 2 of each. (Notepad and Flaggen) . Can't be right.


All times are GMT -5. The time now is 06:26 PM.

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