[Solved] Biter walking (not max/attack) speed.

Place to get help with not working mods / modding interface.
Post Reply
Kingdud
Long Handed Inserter
Long Handed Inserter
Posts: 76
Joined: Sat Dec 16, 2017 3:23 am
Contact:

[Solved] Biter walking (not max/attack) speed.

Post by Kingdud »

What I mean is:

Code: Select all

data.raw.unit["behemoth-spitter"].movement_speed = 1.0
If I set that to 1.0, the biters can move at 216KM/h. But they don't, until they see my defensive wall and move from 'walk slowly twoard base' mode to 'attack mode!'. So...how do I get the biters to hurry the **** up to my base wall? I'd love for them to bee-line at 200km/h all the way from spawner to my turrets. How do I make that happen?
Last edited by Kingdud on Sun Sep 06, 2020 9:26 pm, edited 1 time in total.

Kingdud
Long Handed Inserter
Long Handed Inserter
Posts: 76
Joined: Sat Dec 16, 2017 3:23 am
Contact:

Re: Biter walking (not max/attack) speed.

Post by Kingdud »

Turns out I was wrong. The movement_speed does actually affect their walking speed. But factorio pathing glitches out at anything great than the walking speed of a spitter. If you double spitters to walk as fast as biters, pathing frequently encounters a 'pause' step during pathing, but the group keeps moving and eventually despawns because of it. The fix is to use the Rampant mod. It does pathing one little chunk at a time, and gets around the problem that way.

Post Reply

Return to “Modding help”