View Single Post
Old 01-31-08, 02:01 PM   #1
Hilis Hatki
Bosun
 
Join Date: May 2006
Location: Tennessee, Earth
Posts: 62
Downloads: 0
Uploads: 0
Default NEEDED: Shakedown on dial making

I need some help.

How does one add a new dial?

Say a heading dial. With a compass outer ring and a heading inner ring.

menu_1024_768.ini

[G33 I16]
Name=Attack Disc Compass
Type=1031;Stat bmp array
ItemID=0x3E1D1104
ParentID=0x33010000
Pos=69,-69,231,231
Materials=1
Display=2;Linear
Mat 0=data/menu/CompassZ.tga
MatFlags=0x29
TexFmt=0x9
Drag=true
BmpState=1
NeedFocus=true
SelOne=true
IDGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G33 I17]
Name=First Officer Disc Course
Type=1031;Stat bmp array
ItemID=0x3E4E10FE
ParentID=0x3E1D1104
Pos=100,100,600,600
Materials=1
Display=5
Mat 0=data/menu/heading.tga
MatFlags=0x29
TexFmt=0x9
Drag=true
BmpState=0
NeedFocus=true
SelOne=false
IDGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF


Dials.cfg

[Dial74]
Name=OLC_Attack_Disc_Course
Type=12; DIAL_GYROCOMPASS
Dial=0x3E1D1104
CrtVal=0x3E4E10FE
NewVal=0x0
DialVal=-180,180
RealVal=180,-180; degrees
Circular=Yes


I can "break" the current dial to get it to work, yet i cant get the two to work together. Or else new dial show but doesnt move.

where is the heading value comming from?

What are the basics? Iam sure others would like to know.
__________________
Hilis Hatki is offline   Reply With Quote