Author Message

BluExplosions

ca
Posts: 357

Location: Canada
Occupation: Student
Age: 22
V$:
#35106   2013-12-24 19:25          
Hello VStanced! Currently I have a problem with OptionsDialog.java.
Whenever I do my thing and put it in the SRC folder in sl/scripts/game and load it up.Tthen change the options my steering is terible. How would I increase the angle and can you help me?

I looked inside and these are the things I found that I THINK affect steering:

powerSlider[2] = m.addItem( "STEERING GAMMA", CMD_POWER + 2, 0.0, null );

dzSlider[2] = m.addItem( "STEERING DEAD ZONE", CMD_DEAD_ZONE + 2, 0.0, null );

acSteerSlider = m.addItem( "STEER", CMD_UNUSED, 0.5, 0.0, 1.0, 0, null );
acSteerSlider.nofocus = 1;

acSteerSlider.setValue( Input.getInput( Input.AXIS_TURN_LEFTRIGHT ) / -256.0 + 0.5);


And that's it.