Hey, I'm editing some of the drivable cars in SHAR, nut struggling to find out what these terms mean:
- SetGasScale(num);
- SetSlipGasScale(num);
I'm not too sure what Gas Scale or Slip Gas Scale means (I'm in UK, don't know if it's a US thing). If I could get a bit of clarification, that would be great!
Thanks, cooln0250
I'm modding files, but want to know what this means.
Posted in The Simpsons: Hit & Run
Please login to contribute to the conversation.
cooln0250 Hey, I'm editing some of the drivable cars in SHAR, nut struggling to find out what these terms mean:
- SetGasScale(num);
- SetSlipGasScale(num);
I'm not too sure what Gas Scale or Slip G
This post has been removed.
cooln0250 Below is part of the code that I have only changed:
// Simpsons Family Sedan
SetMass(2000.0); ⬅ I would guess this is the weight of the vehicle???
SetGasScale(num);
Below is part of the code that I have only changed:
// Simpsons Family Sedan
SetMass(2000.0); ⬅ I would guess this is the weight of the vehicle???
SetGasScale(num); ⬅ I have no clue what this does
SetSlipGasScale(num); ⬅ I have no clue what this does
SetBrakeScale(40); ⬅ I would guess this is how hard the brakes are???
SetTopSpeedKmh(250.0); ⬅ I would guess this is the top speed of the car??
I have no clue as what the gas scale values do, but when I change them, the car goes flying in the air....
// Simpsons Family Sedan
SetMass(2000.0); ⬅ I would guess this is the weight of the vehicle???
SetGasScale(num); ⬅ I have no clue what this does
SetSlipGasScale(num); ⬅ I have no clue what this does
SetBrakeScale(40); ⬅ I would guess this is how hard the brakes are???
SetTopSpeedKmh(250.0); ⬅ I would guess this is the top speed of the car??
I have no clue as what the gas scale values do, but when I change them, the car goes flying in the air....
Addy SetMass(2000.0); ⬅ I would guess this is the weight of the vehicle???
Correct. It is also believed to be a factor in how strong the vehicle is (i.e. damage output).
SetBrakeScale(40); ⬅ I would guess
Correct. It is also believed to be a factor in how strong the vehicle is (i.e. damage output).SetMass(2000.0); ⬅ I would guess this is the weight of the vehicle???
Correct, I believe.SetBrakeScale(40); ⬅ I would guess this is how hard the brakes are???
Yes.SetTopSpeedKmh(250.0); ⬅ I would guess this is the top speed of the car??
Borb SetGasScale(num); has to do with the vehicle's acceleration, essentially higher numbers mean the vehicle accelerates more quickly.
SetSlipGasScale(num); also has to do with acceleration, I think
SetGasScale(num); has to do with the vehicle's acceleration, essentially higher numbers mean the vehicle accelerates more quickly.
SetSlipGasScale(num); also has to do with acceleration, I think this is used specifically when doing a burnout.
SetSlipGasScale(num); also has to do with acceleration, I think this is used specifically when doing a burnout.
cooln0250 Thank you @Homer and @DeepFriedBurger, I now know what I'm modding! :) The help has been greatly appreciated!! 😁
Thank you @Homer and @DeepFriedBurger, I now know what I'm modding! :) The help has been greatly appreciated!! 😁