View Single Post
Old 10-07-09, 05:52 AM   #83
karamazovnew
The Old Man
 
Join Date: Mar 2009
Location: Bucharest, Romania
Posts: 1,403
Downloads: 151
Uploads: 0


Default

Carotio, I'm impressed, I've never thought of using a dial as a means to input a command that has nothing to do with that dial . I've used the indications on FLB Sales' thread and managed to make a working button. But I've hit the same problem as you. Since the command doesn't affect the dial itself, it will never move . So... while being struck by lightning, I came up with the next:

(I've used the torpedo pistol graphics for this one, but that doesn't mater, it's just a dial group with a "val" and "dial" in it)
[Dial98]
Name=Autoupdate; Carotio`s Torpedo Dials, Auto-Manuel Peri
Type=56; Toggle_TDC_autoupdate
Cmd=Radar_toggle_sweep_focus
Dial=0x260FF902
CrtVal=0x260FF901
NewVal=0x0
DialVal=-45,45
RealVal=0,1; 0-auto or 1-manuel
Circular=Yes
SndStep=1
SndList=2,Menu.TDC.TorpedoSalvo_T,0.1,Menu.TDC.Tor pedoSalvo_S,1,

[Dial99]
Name=Autoupdate; Carotio`s Torpedo Dials, Auto-Manuel Peri
Type=56; Toggle_TDC_autoupdate
Cmd=Toggle_TDC_autoupdate
Dial=0x260FF902
CrtVal=0x260FF901
NewVal=0x0
DialVal=-45,45
RealVal=0,1; 0-auto or 1-manuel
Circular=Yes

There are 2 dials on top of eachother. Both are clicked at the same time. The first will toggle the radar sweep, the second will toggle the autoupdate. In short, it works even if you don't have a radar, or if you're underwater. I've tried the same thing using the Radar Range dial but that only worked if you actually had a radar bastards.
karamazovnew is offline   Reply With Quote