Author Message

BluExplosions

ca
Posts: 357

Location: Canada
Occupation: Student
Age: 22
V$:
#1   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.

Bigg Boss93

it
Posts: 4024
http://rdbl.co/1Hmg5XL
Location: Italy - Sardegna
Occupation: Swimming out of the shit pool
Age: 30
V$: More than you can afford, pal.
#2   2013-12-24 19:53          
that's about contoller feedback, steering angle is on car's main cfg
Harrison15 about PXRZ: he turns everything into a pretzel in his head



BluExplosions

ca
Posts: 357

Location: Canada
Occupation: Student
Age: 22
V$:
#3   2013-12-24 19:58          
Yeah but whenever I place OptionsDialog the steering gets all messed up. But its normal without it.

Jesus Christ

uk
Posts: 2977

Location: United Kingdom
Occupation: Turning water into protein
Age: 33
V$: LOAD£D
#4   2013-12-24 20:20          
thats probably because your values are all over the place and not the default ones..
Why be a KING when you can be a GOD?!

BluExplosions

ca
Posts: 357

Location: Canada
Occupation: Student
Age: 22
V$:
#5   2013-12-24 20:25          
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?

This post was edited by BluExplosions (2013-12-26 23:20, ago)

Dariuss

ro
Posts: 401

Location: Romania
Occupation: Stance | Works
Age:
V$:
#6   2013-12-26 23:35          
here you are mate, i hope it's good
*LINK*

BluExplosions

ca
Posts: 357

Location: Canada
Occupation: Student
Age: 22
V$:
#7   2013-12-27 01:14          
Thank you very much! :D :D :D