Note: In this topic, I'll be representing vehicle speed in km/h, on a scale with the default Jeep max speed as 53/54 km/h.
seriously
for example, lets take a look at this vehicle
Turismo, by Phydeouxit accelerates to max speed in 3-4 seconds
that's good compared to others, but still bad
if this was a real vehicle, that would be around 10 seconds or more
i mean seriously
it's max speed is 89 km/h
that's not even double the speed of the Jeep!
compare a Jeep and a Turismo
a Turismo should be able to go at ~300 km/h
next up, engine brake
what the forget is up with that
if I am at max speed and release the accelerate button, I drop to zero in
3 secondswhat
that's slightly better compared to some vehicles (0.1 seconds) but still terrible
if this should be good at all that should be around 30 seconds or more
if I'm driving down a mountain and release the brake, I don't just stop and magically sit on the side of the mountain
I should
slide down itdecrease
engineBrake in your vehicle datablock and voila! you are now a slightly better person
in regards to the above, if you think "how am I supposed to stop then"
all vehicles have this magical thing called
a brake (although
some vehicles overwrite it for some dumb reason)
even if you fixed the above, the brake would be terrible in contrast
on almost all vehicles, the brake instantly stops your vehicle
that should be within half a second to three seconds
brakes aren't some magical thing that freeze your vehicle in place
literally every vehicle has dozens of problems
also, when making a vehicle, try taking a look at it
should it be incredibly fast?
should it be a petty street car?
should it be slow but strong like the Jeep or the Explorer?
then make it like that
don't make some generic, awkward thing
and for a short section: weight
please make the weight of your car better represent the model
a set of vehicle datablock variables which can do great thingsmass; essentially weight
maxWheelSpeed; max speed
engineTorque; essentially acceleration
engineBrake; how much it naturally brakes when not accelerating, please set this below 400
brakeTorque; how powerful the brakes are
an example of how things could be fixedthis code makes a few modifications to several vehicles
try enabling some of them on a server, execute this code (as the host), spawn one of them and drive around
// Bengs 190 D
bengsVehicle.engineBrake = 50;
bengsVehicle.engineTorque = 3500;
// Bicycle (Street)
streetBicycleArmor.runForce = 850;
streetBicycleArmor.maxForwardSpeed = 32;
streetBicycleArmor.maxBackwardSpeed = 8;
// Blocko Car
blockoCarVehicle.maxWheelSpeed = 30;
blockoCarVehicle.engineTorque = 4000;
blockoCarVehicle.engineBrake = 100;
blockoCarVehicle.brakeTorque = 4000;
blockoCarVehicle.mass = 200;
// Blocko Sedan
blockoSedanVehicle.engineTorque = 3500;
blockoSedanVehicle.engineBrake = 50;
blockoSedanVehicle.brakeTorque = 3600;
blockoSedanVehicle.mass = 680;
// Bug
bugVehicle.maxWheelSpeed = 25;
bugVehicle.engineTorque = 4000;
bugVehicle.brakeTorque = 2300;
// Cortez
cortezVehicle.engineBrake = 50;
cortezVehicle.engineTorque = 1600;
cortezVehicle.brakeTorque = 2000;
// Fordor Limbo (Sedan Stretch)
fordorSedanStretchVehicle.maxWheelSpeed = 13;
fordorSedanStretchVehicle.engineTorque = 4000;
fordorSedanStretchVehicle.engineBrake = 300;
fordorSedanStretchVehicle.brakeTorque = 3500;
fordorSedanStretchVehicle.mass = 800;
// Hatchback
modHatchVehicle.mass = 400;
modHatchVehicle.maxWheelSpeed = 33;
modHatchVehicle.engineTorque = 6700;
modHatchVehicle.engineBrake = 50;
modHatchVehicle.brakeTorque = 5000;
// Horse
horseArmor.jumpForce = 1000;
horseArmor.maxForwardSpeed = 16;
// Jeep
jeepVehicle.mass = 500;
jeepVehicle.maxWheelSpeed = 60;
jeepVehicle.engineTorque = 1000;
jeepVehicle.engineBrake = 100;
jeepVehicle.brakeTorque = 4000;
jeepSpring.length = 0.8;
// Microbus
microbusVehicle.maxWheelSpeed = 23;
microbusVehicle.engineTorque = 1000;
microbusVehicle.engineBrake = 300;
microbusVehicle.brakeTorque = 1000;
// Oldtimer
DKWVehicle.engineTorque = 1600;
DKWVehicle.engineBrake = 96;
DKWVehicle.brakeTorque = 1850;
DKWVehicle.mass = 450;
// Scooter
scooterVehicle.maxWheelSpeed = 30;
scooterVehicle.engineBrake = 75;
scooterVehicle.brakeTorque = 4000;
scooterVehicle.mass = 196;
// (Basic) Skateboard
bSkateboardVehicle.engineBrake = 64;
bSkateboardVehicle.mass = 280;
// Station Wagon
stationWagonVehicle.maxWheelSpeed = 28;
stationWagonVehicle.engineTorque = 2600;
stationWagonVehicle.engineBrake = 100;
stationWagonVehicle.brakeTorque = 3500;
// TinyCar
tinyCarVehicle.engineTorque = 4000;
tinyCarVehicle.engineBrake = 100;
tinyCarVehicle.brakeTorque = 3800;
// UrbanCar
urbanCarVehicle.maxWheelSpeed = 34.5;
urbanCarVehicle.engineTorque = 3700;
urbanCarVehicle.engineBrake = 86;
urbanCarVehicle.brakeTorque = 4800;
// Taxi
fordorSedanTaxiVehicle.engineTorque = 7500;
fordorSedanTaxiVehicle.engineBrake = 64;
fordorSedanTaxiVehicle.brakeTorque = 8000;
fordorSedanTaxiVehicle.mass = 1000;
// Police Car
fordorSedanPoliceVehicle.engineTorque = 7500;
fordorSedanPoliceVehicle.engineBrake = 64;
fordorSedanPoliceVehicle.brakeTorque = 8000;
fordorSedanPoliceVehicle.mass = 1000;
// Turismo
turismoVehicle.mass = 176.296;
turismoVehicle.maxWheelSpeed = 133.708;
turismoVehicle.engineTorque = 5200;
turismoVehicle.engineBrake = 800;
// Explorer - Offroad
gc_explorerOffroadVehicle.mass = 450;
gc_explorerOffroadVehicle.maxWheelSpeed = 75;
gc_explorerOffroadVehicle.engineTorque = 1600;
gc_explorerOffroadVehicle.engineBrake = 200;
// Tiny Car
tinyCarVehicle.engineTorque = 4000;
tinyCarVehicle.engineBrake = 128;
tinyCarVehicle.brakeTorque = 5200;
// Roadster
roadsterVehicle.mass = 1000;
roadstervehicle.engineBrake = 64;
roadsterVehicle.brakeTorque = 5000;
roadsterVehicle.maxWheelSpeed = 48;