Is there a way to apply the shallow water slowing effect to vehicles on tiles other than water?

Place to get help with not working mods / modding interface.
User avatar
Maoman
Inserter
Inserter
Posts: 20
Joined: Sat Nov 12, 2016 10:55 am
Contact:

Is there a way to apply the shallow water slowing effect to vehicles on tiles other than water?

Post by Maoman »

I'm trying to make two vehicles, one that's real fast on pavement but terrible offroad, and one that's slower on pavement but isn't slowed down at all offroad. The second one's easy, just set the terrain_friction_modifier to like 0.1. However, the first vehicle is not being slowed nearly enough, even with the modifier set to 1.0, the highest it will allow. So I want to have any tile other than the various pavements apply the shallow water slowing effect to the vehicle. Is this doable?
Osmo
Long Handed Inserter
Long Handed Inserter
Posts: 86
Joined: Wed Oct 23, 2024 12:08 pm
Contact:

Re: Is there a way to apply the shallow water slowing effect to vehicles on tiles other than water?

Post by Osmo »

I don't think there is anything special about shallow water, you can just set vehicle_friction_modifier on every tile that can't be placed from an item
User avatar
Maoman
Inserter
Inserter
Posts: 20
Joined: Sat Nov 12, 2016 10:55 am
Contact:

Re: Is there a way to apply the shallow water slowing effect to vehicles on tiles other than water?

Post by Maoman »

Oh, can I set that one higher than 1, as high as I need it? That's perfect then.
Post Reply

Return to “Modding help”