Allow fuels to affect a vehicles friction

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
MrSmoothieHuman
Inserter
Inserter
Posts: 40
Joined: Sat Aug 05, 2023 1:20 am
Contact:

Allow fuels to affect a vehicles friction

Post 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.
coder? i hardly know her!
curiosity
Filter Inserter
Filter Inserter
Posts: 470
Joined: Wed Sep 11, 2019 4:13 pm
Contact:

Re: Allow fuels to affect a vehicles friction

Post 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.
MrSmoothieHuman
Inserter
Inserter
Posts: 40
Joined: Sat Aug 05, 2023 1:20 am
Contact:

Re: Allow fuels to affect a vehicles friction

Post 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.
coder? i hardly know her!
Post Reply

Return to “Modding interface requests”