Thread: Gyro Angles
View Single Post
Old 09-17-15, 09:41 PM   #14
ColonelSandersLite
Captain
 
Join Date: Aug 2009
Posts: 481
Downloads: 74
Uploads: 3
Default

Making the dial bigger would be my solution. In the S-boat, the dial could replace the whole position keeper panel, and with a range of -135 to 135, control would be much finer than the stock AOB dial. Of course, getting it to work right for a boat that needs to PK panel, would take a bit more finesse. Still, that's not even an option unless a I can figure out a way to push the stupid dial past -20/20.

If I'm not mistaken, it should be as simple as changing:
[Dial52]
Name=PositionKeeper_TorpedoSettings_RealSpreadAngl e
Type=65; DIAL_REALSPREAD_ANGLE
Cmd=Set_realspread_angle
Dial=0x4206000A
CrtVal=0x42060003
NewVal=0x0
DialVal=-180,180
RealVal=-20,20
Circular=Yes
RelativeDrag=Yes
CmdOnDrag=Yes
;Dynamic=Yes

To:
[Dial52]
Name=PositionKeeper_TorpedoSettings_RealSpreadAngl e
Type=65; DIAL_REALSPREAD_ANGLE
Cmd=Set_realspread_angle
Dial=0x4206000A
CrtVal=0x42060003
NewVal=0x0
DialVal=-180,180
RealVal=-135,135
Circular=Yes
RelativeDrag=Yes
CmdOnDrag=Yes
;Dynamic=Yes


That is, unless the limits can also be defined somewhere else I don't know about.


Speaking of gyro angles, in my testing on this, I think I spotted a small game bug. It seems the max gyro angle is actually -135 to 134. Common sort of programming error there.
__________________
My SH4 LP

Last edited by ColonelSandersLite; 09-17-15 at 09:48 PM.
ColonelSandersLite is offline   Reply With Quote