Here's an example of what I mean:-
Entry in menu_1024_768.ini
[G26 I88]
Name=AOB dial
Type=1031;Stat bmp array
ItemID=0x260E0002
ParentID=0x260E0000
Pos=17,-14,154,144
Materials=1
Display=2;Linear
Mat 0=data/menu/gui/Periscope.tga
Crop 0=0.606445,0.750977,0.150391,0.140625
MatFlags=0x21
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
Now it will look for the 0x260E0002
Here it is in Dials.cfg
[Dial37]
Name=PerAngleOnBow
Type=42; DIAL_TGT_ANG_ON_BOW
Cmd=Set_tgt_sel_value
Dial=0x260E0002
CrtVal=0x260E0001
NewVal=0x0
DialVal=-180,180
RealVal=-180,180; degrees
Circular=Yes
CmdOnDrag=Yes
If this entry in Dials.cfg is missing or has a different ItemID due to another mod, you get the message - Menu ID not found:0x260E0002!
|