![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
sim2reality
![]() Join Date: Jun 2007
Location: AM 82
Posts: 2,280
Downloads: 258
Uploads: 30
|
![]()
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 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 ![]() |
![]() |
![]() |
![]() |
#2 |
Kaleun of U-3
![]() Join Date: Sep 2008
Location: somewhere in 1939
Posts: 1,816
Downloads: 123
Uploads: 0
|
![]()
Hi mate,
Have you try rotating your needle in paint program then adjust value? Also negative number in dial can change orientation. There is many ways to adjust those needles ![]() Best regards hans |
![]() |
![]() |
![]() |
#3 | |
sim2reality
![]() Join Date: Jun 2007
Location: AM 82
Posts: 2,280
Downloads: 258
Uploads: 30
|
![]() Quote:
![]() But linar dials in Sh3 seem to only work in the up/down plane (eg the Fuel Gauge) but I need to make a linar dial that rotates left/right like the hardcoded compass bearing ![]() Haven't managed to get it working this way ![]() |
|
![]() |
![]() |
![]() |
#4 |
Kaleun of U-3
![]() Join Date: Sep 2008
Location: somewhere in 1939
Posts: 1,816
Downloads: 123
Uploads: 0
|
![]()
Hi mate,
Have you tried to disable circular to no instead of yes in dials.cfg: [Dial40] Name=Fuel level Type=34; DIAL_FUEL Dial=0x0 CrtVal=0x3F300001 NewVal=0x0 DialVal=195,17 RealVal=0,1; normalized Circular=No I know it could also been control via menu_1024_768 just have a look at it sorry if my memory is not fresh enough because last year i play a lot whit menu and dials and after awhile i don't remember how i did some. Best regards hans |
![]() |
![]() |
![]() |
#5 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
If you mean go from left to right or right to left?
Create a Dummy Node and attach it to that. Then rotate the Dummy Node. That should work. |
![]() |
![]() |
#6 | |
Kaleun of U-3
![]() Join Date: Sep 2008
Location: somewhere in 1939
Posts: 1,816
Downloads: 123
Uploads: 0
|
![]() Quote:
Best regards Hans |
|
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|