View Single Post
Old 04-16-11, 03:04 AM   #2
Hitman
Pacific Aces Dev Team
 
Hitman's Avatar
 
Join Date: Sep 2002
Location: Spain
Posts: 6,109
Downloads: 109
Uploads: 2


Default

Quote:
Hi Guys need some help with getting a linear dial working.

I wish to create a linear dial like the hard-coded compass dial.
This is what I have in Dials Config

Code:
[Dial116] Name=reaper7_Bearing Dial Type=24; DIAL_SOL_BEARING Dial=0x26000000 CrtVal=0x26000010; My New Bearing Graphic NewVal=0x0 DialVal=0,360 RealVal=0,360; degrees Circular=No
I can get it to rotate by turning the Periscope, but here is where the problem is:
The Linear dial move up/down and not left/right which is the direction I need it to go (Like the stock Bearing Compass).
Any suggestions how to achieve this
What are you trying to use the dial for? Just a repeater of where the optics are trained at, or are you willing to link it to another indicator like fuel, battery or whatever? Also on which screen do you want to put it? Or in the menu bar?
__________________
One day I will return to sea ...
Hitman is offline   Reply With Quote