Forum
Questions, builds, help and the odd argument. The mods and guides are out front.
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.
that's about contoller feedback, steering angle is on car's main cfg
Yeah but whenever I place OptionsDialog the steering gets all messed up. But its normal without it.
thats probably because your values are all over the place and not the default ones..
OK then I will try using the stock options dialog that came with the 2.2.1 MWM Beta java pack.
Added 11 minutes later:
It's ok guys I will just live with it.
Added 1 day later:
Could anyone possibly give me a stock MWM OptionsDialog.class?
You could copy it from sl/scripts/game
Thanks in advance
Added 23 hours 25 minutes later:
Please?
here you are mate, i hope it's good
https://www.mediafire.com/?vepidq77wbby25q
Thank you very much! 😃 😃 😃