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.

Notifications
Clear all

Car physics

41 Posts
15 Users
0 Reactions
27.5 K Views
mindeliszz
(@mindeliszz_704)
Honorable Member
Joined: 16 years ago
Posts: 536
 

# BenyUK :
what would you want to see in the video? improving physics is just a constant scripting -> starting the game -> testing -> leaving the game -> scripting... and that goes on and on. everyone who improves physics does it different way so there is no tutorial but i will tell you to start off with a config.java in system/Scripts/util/

the lines you are interested in are:

    static float		wheel_gndfeedback_factor
static float		wheel_brake_factor
static float		gravity
static float		ground_friction
static float		steerSpeed 
static float		steerhelp_turn   <- decrease only
static float		steeringPower ** <- BE CAREFUL WITH THAT ONE( **power steering**)

everytime you change something in the Config.java you need to start off fresh with the options file deleted // location: save/game/

if you see some improvement move on to the Tyre.java in parts/scripts/rgearpart/reciprocatingrgearpart/ ...

Didn't knew that, thanks!



   
ReplyQuote
xSkyline
(@xskyline_11122)
Trusted Member
Joined: 12 years ago
Posts: 51
 

Thank you very much! 🙂



   
ReplyQuote
Redline_Racer
(@redline_racer_427)
Trusted Member
Joined: 16 years ago
Posts: 53
 

Right, heres to clear things up.

Marco; i chose your car because of the physics files on it, they're well placed, well balanced, but thats not all there is to my game. My game has edited tyre,springs,shocks and even base values from config.java thanks to a friend.

JC; I do plan to release my whole game, sure it has bits and bobs leaked here and there but ill just remove javas and hope for the best.

Basically, BenyUK gave me the final parts to my game (config.java), after his input my game felt so much more planted, the aim for me atleast is to make a game that feels a bit closer to SL1 did, youknow not twitchy,not rolling over constantly, and i'm about 55% there and im working on it when i can. The physics alone will be released, i always have been against the VIP movements, which is why i was kinda mad when i got kicked from the darkside. I might be in wolves of valo, but we have nothing vip about us besides sounds, which will again be released by apendix in an all in one standalone game.

I hope this clears everything up, I have big things for you guys and sharing of knowledge between the community is exactly what i plan to do.



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

As i answered you on skype, without proper car physics there's no way to drive that way, so there wouldnt be a big difference even after changing javas because most of car mods uses stock slrr physic meshes(from baiern or whatever other stock car).



   
ReplyQuote
NidzaFG
(@nidzafg_7019)
Trusted Member
Joined: 13 years ago
Posts: 70
 

# BenyUK :
what would you want to see in the video? improving physics is just a constant scripting -> starting the game -> testing -> leaving the game -> scripting... and that goes on and on. everyone who improves physics does it different way so there is no tutorial but i will tell you to start off with a config.java in system/Scripts/util/

the lines you are interested in are:

    static float		wheel_gndfeedback_factor
static float		wheel_brake_factor
static float		gravity
static float		ground_friction
static float		steerSpeed 
static float		steerhelp_turn   <- decrease only
static float		steeringPower ** <- BE CAREFUL WITH THAT ONE( **power steering**)

everytime you change something in the Config.java you need to start off fresh with the options file deleted // location: save/game/

if you see some improvement move on to the Tyre.java in parts/scripts/rgearpart/reciprocatingrgearpart/ ...

Ok,now is no need for video,thanks man...I did not know what values to change,but now i do.. 😃



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

Try to mess around with Tyre.java, ShockAbsorber.java, and if you want to Spring.java (Although I don't recommend it because it f*cks everything up.)



   
ReplyQuote
xSkyline
(@xskyline_11122)
Trusted Member
Joined: 12 years ago
Posts: 51
 

Which lines do you changed about the tyre.java and ShockAbsorber.java ? And which have to be changed? A bit ambiguous question.. 😃



   
ReplyQuote
BenyUK
(@benyuk_11209)
Trusted Member
Joined: 12 years ago
Posts: 55
 

# xSkyline :
Which lines do you changed about the tyre.java 😃

Me personally i have deleted most of the scripts inside it like sliction, stiffness, load mul2 etc
if you want to go this way make sure that you delete each one of the lines that says sliction 000867.00 etc. otherwise you will get an instant crash to the desktop when you start your game

(wheel.java is connected to the tyre.java so make sure you delete exact lines from both at the same time)

i also think that you will get a much better result if you actually tried to play with friction, sliction, rubber_rigidity and such



   
ReplyQuote
xSkyline
(@xskyline_11122)
Trusted Member
Joined: 12 years ago
Posts: 51
 

Again big thanks Beny! 🙂 I will try them and if I make a good result I'll show it.



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

# BenyUK :
Me personally i have deleted most of the scripts inside it like sliction, stiffness, load mul2 etc
if you want to go this way make sure that you delete each one of the lines that says sliction 000867.00 etc. otherwise you will get an instant crash to the desktop when you start your game

(wheel.java is connected to the tyre.java so make sure you delete exact lines from both at the same time)

i also think that you will get a much better result if you actually tried to play with friction, sliction, rubber_rigidity and such

Lol I haven't even messed around with wheel.java, but I have modified Tyre.java. Just out of curiosity what happens if you dont?



   
ReplyQuote
zakymzf
(@zakymzf_3292)
Estimable Member
Joined: 14 years ago
Posts: 185
Topic starter  

thank BenyUK for the great info 🙂
and redline_racer, we will be waiting for the release 🙂



   
ReplyQuote
Page 3 / 3
Share: