Disable car damage?

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
goobie
Inserter
Inserter
Posts: 20
Joined: Wed May 24, 2017 7:44 pm
Contact:

Disable car damage?

Post by goobie »

Hi all

I've seen some MP maps where the vehicle doesn't take any damage when it hits things - and doesn't deal any damage to buildings or players. I can't figure out how this is done, i saved one MP map with this and disabled all the custom LUA and it still worked. It must be something inside level.dat

I can't see anything in the map gen settings about this, I did some googling but couldn't find anything... Anyone know?
User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2905
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: Disable car damage?

Post by darkfrei »

Heavy wagon https://mods.factorio.com/mods/darkfrei/HeavyWagon
This entity has low impact damage, ca. 1%.
You can set to the car and player's armor 100% resist to impact too.

You can also use disabled friendly fire/damage as in multiplayer.

Code: Select all

/c game.player.force.friendly_fire = false
goobie
Inserter
Inserter
Posts: 20
Joined: Wed May 24, 2017 7:44 pm
Contact:

Re: Disable car damage?

Post by goobie »

Ah perfect! Thanks ;)
Post Reply

Return to “Gameplay Help”