Jump to content

Changing Vehicle Behavior


PO190

Recommended Posts

OK, I know this may be cheating but...

I wated to try to change the characteristics of my NSTOCKADE to behave more like a car. What I did was edit my vehicles.ide and changed the parameters to be the same as POLICE. What I thought this would do was enable me to drive the stockade like a manic without tipping it over, but this apparently didn't work. I am not getting errors, it runs fine, but it still flips over easily so apparently the changes I made had no effect on the model.

Is anyone aware of any other parameters or data that need to be changed to change the physics of the model? Is there another line in the vehicles.ide file that I may have missed?

Edited by PO190
Link to comment
Share on other sites

You need to edit the handling.dat(same location)

here is one that lightens and lowers the center of mass, but I have not tested it:

STOCKADE 4500.0 4.0 95 0.0 0.0 -0.1 0.0 5 0.12 1.0 120.0 0.15 0.68 0.2 35.0 1.00 0.75 14.4 0.15 0.48 1.0 0.8 0.7 0.20 -0.25 0.0 0.5 1.0 0.3 0.5 1.5 0.15 40000 8 8300000 2

and here is the vehicles.ide line if you forgot to back it up

pstockade, pstockade, car, STOCKADE, PSTOCK, VEH@TRUCK, VEH@TRUCK_LO1_LO1, 100, 999, 0.3241, 0.3241, 0, 2, 1.5 ,1, noboot+big+isvan+avoidturns+truckfirefx+truckenginefx

You are using the WRONG right theme!

[ WIPs | Donate | 🌌 Join Mod Multiverse!]
Flashing LED lightbar in British configuration

Link to comment
Share on other sites

  • 3 weeks later...

I did a little experimenting and I found out that rather then editing the handling.dat I simply replaced the entry in the vehicle.dat file from STOCKADE to in my case PATRIOT. This made my noose stockade more stable, but not quite a car and by not changing the handling.dat the other stockade still handles like a stockade.

This also makes it very simple to change a specific vehicle to handle like another type of vehicle without changing all vehicles in that class.

Edited by PO190
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...