Hunter and Killer Spidertrons


Turn spidertrons into automatic biter killing machines

Tweaks
15 days ago
1.1 - 2.0
702
Combat

g Add delay for staying at home node or ammo need.

8 months ago
(updated 8 months ago)

Hi, I have been loving the mod so far, I just have one issue. Using bots, I like to store 5000 rockets with the spidertrons to allow them to stay out of base for longer working. However, currently the spidertrons go home for ammo and only stay to reload the ammo in the rocket launchers themselves. I was wondering if you could either add a tick timer for the time stayed at the home node to allow the spidertrons to reload fully, or the ability to add a requirement for ammo stored in the spidertron to allow it to leave from the home state.
EDIT - Looking at the mod description, it looks like this should fall under the loadout part. However, it seems like the spidertron does not wait. It seems like the spidertron will navigate home when out of ammo (dark blue). As it approaches the homepoint in the base, a logistic bot will bring it a requested item, causing the spidertron to go into idle mode (white). When it reaches the homepoint, it will switch to dark green (regroup)

21 days ago

Sorry for the long delay before answering.

The mod checks for the minimum value of all logistic request to be fulfilled as the sum of ammo + fuel + trunk. As long as you set 5000 rockets minimum, it should wait until at least 5000 rockets have been loaded.

With the changes to the logistics in Factorio 2, this code has been changed. If you still notice the problem with mod version 0.6.0, I would appreciate some feedback with more details on how to reproduce this problem.

15 days ago

Found it. This happens if a spider in "go home" mode is healed before the ammo is full. It's caused by using the inverse condition of deciding when to go home (health low or ammo == 0). This translates to "full health and ammo > 0" when deciding whether "go home" shall be cancelled.

Re-arm mode has its own condition (hull health and ammo > min) so it's not affected.

I'll think about it and include it in the next release.

15 days ago

Fixed in 0.6.3

New response