View Single Post
Old 06-18-13, 02:07 AM   #3
divingbluefrog
Medic
 
Join Date: Jan 2006
Posts: 164
Downloads: 63
Uploads: 1
Default

Thanks SkyBaron, unfortunately I've already read those and many others without finding the answer.
Perhaps should I have been more precise in my question.
Take this as an example :


This is a view of the Page Crew.ini displayed in game.
When you click on the text "torpedo", which is in fact a button, the game loads the Page Guns.ini where this tab is discribed.
But, in Page Crew.ini, the only reference to this button is :

[G61 I6]
Name=TorpedoBtn
Type=1032;Button
ItemID=0x61040008
ParentID=0x61040000
Pos=613,-28,296,34
Zone= 663 693 296 34 2 1 0x6104000C 0.5 -0.5 0x61040008 -0.5 0.5 0 0
StyleSheetNames=GrayTabButton
Materials=4
Display=0;No stretch
Font=30
Text=6411
TextFlags=0x5
StatesColors=0xEDBF72FF, 0x747474FF, 0xE0E0E0FF, 0xEDBF72FF

And that's all! Where is the link? How the game knows to load the Page Guns.ini and not the UZO page? It doesn't come from the associated .py files as they are empty.
ParentID=0x61040000 is nothing more than the menu group that describes the page layout.

EDIT :I think it could only be related to menu.txt, the capital letters entries must be harcoded somewhere. Must practice some tests to validate....

Last edited by divingbluefrog; 06-18-13 at 02:56 AM.
divingbluefrog is offline   Reply With Quote