VStanced/mods
Submit a mod
Mods Guides Forum Submit a mod Log in Register

Forum

Questions, builds, help and the odd argument. The mods and guides are out front.

Problem in OptionsD...
 
Notifications
Clear all

Problem in OptionsDialog.java

7 Posts
4 Users
0 Reactions
3,968 Views
BluExplosions
(@bluexplosions_7736)
Reputable Member
Joined: 13 years ago
Posts: 356
Topic starter   [#1010]

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.



   
Quote
Bigg_Boss93
(@bigg_boss93_1370)
Member Admin
Joined: 15 years ago
Posts: 3835
 

that's about contoller feedback, steering angle is on car's main cfg



   
ReplyQuote
BluExplosions
(@bluexplosions_7736)
Reputable Member
Joined: 13 years ago
Posts: 356
Topic starter  

Yeah but whenever I place OptionsDialog the steering gets all messed up. But its normal without it.



   
ReplyQuote
Jesus_Christ
(@jesus_christ)
Member Admin
Joined: 17 years ago
Posts: 2837
 

thats probably because your values are all over the place and not the default ones..



   
ReplyQuote
BluExplosions
(@bluexplosions_7736)
Reputable Member
Joined: 13 years ago
Posts: 356
Topic starter  

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?



   
ReplyQuote
Dariuss
(@dariuss_2011)
Reputable Member
Joined: 15 years ago
Posts: 345
 

here you are mate, i hope it's good
https://www.mediafire.com/?vepidq77wbby25q



   
ReplyQuote
BluExplosions
(@bluexplosions_7736)
Reputable Member
Joined: 13 years ago
Posts: 356
Topic starter  

Thank you very much! 😃 😃 😃



   
ReplyQuote
Share: