View Single Post
Old 04-23-10, 05:06 AM   #3
Darkbluesky
Sparky
 
Join Date: Sep 2006
Posts: 155
Downloads: 61
Uploads: 0
Default

Another way to ask the same question is to know how it works when, for example, we click the Command Room icon in the shortcuts bar of the UI.

For this example (command room) I have seen that in menu_1024_768.ini there is that:

Code:
[G3F I32]
Name=Command room
Type=1032;Button
ItemID=0x3F020001
ParentID=0x3F020000
Pos=0,-7,40,41
Materials=4
Display=0;No stretch
Mat 0=data/menu/OLC/Shortcuts/CommandRoom.tga
Mat 1=data/menu/OLC/Shortcuts/CommandRoom.tga
Mat 2=data/menu/OLC/Shortcuts/CommandRoom.tga
Mat 3=data/menu/OLC/Shortcuts/CommandRoom.tga
MatFlags=0x21
TexFmt=0x9
Font=1
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
;ToolTipText=2710
If we look for the ItemID in commands_en we find that

Code:
[Cmd10]
Name=Interior_fore_camera
Ctxt=1
MnID=0x3F020001
Key0=0x71,,"F2"
Page=0x33000000,3703
Which is ok, but then...what? how the engine knows that it has to apply the "_Dummy_Cam_InteriorFore" node parameters of cameras.dat?

Darkbluesky is offline   Reply With Quote