Page 1 of 1
Allow fuels to affect a vehicles friction
Posted: Wed Aug 21, 2024 12:11 am
by MrSmoothieHuman
TL:DR
Allow items with a fuel_value to affect the friction of a vehicle.
WHAT/WHY?
I think that giving item prototypes a “fuel_friction_multiplier”, that would affect how long it takes a car or tank to slow down when driving could be an interesting mechanic. It’d allow for more nuance while driving (and let players not have to hold down the W key for ages while driving); and give modders more means to create more diverse fuels, i know for a fact that i’d love to give some of my fuels “hands free driving”.
It’d also mean that scripting in things like drifting would either be unneeded because it can be pulled off with the API, or a lot less difficult to pull off.
Re: Allow fuels to affect a vehicles friction
Posted: Wed Aug 21, 2024 7:00 am
by curiosity
Why not set it on the vehicle? If that's not an option, changing vehicle friction seems as simple as putting a sticker on it.
Re: Allow fuels to affect a vehicles friction
Posted: Wed Aug 21, 2024 12:50 pm
by MrSmoothieHuman
curiosity wrote: ↑Wed Aug 21, 2024 7:00 am
Why not set it on the vehicle? If that's not an option, changing vehicle friction seems as simple as putting a sticker on it.
But then it cant be changed without affecting how the entire vehicle behaves, while with a fuel its completely optional wether a player/modder wants to have a car that acts how it does normally, or have one that slows down extremely quickly or extremely slowly.
Also i didnt know you could achieve a similar result with stickers? (i've only scratched the surface with stickers tbh), but it'd be a lot more intuitive to do it with the fuel itself.