Page 1 of 1

Turrets that deploy combat robots

Posted: Mon Oct 21, 2019 5:47 pm
by Inglonias
This is a request that feels pretty simple to me, though I've never written factorio mods. Maybe its one of those things thats easier said than done. A turret/roboport that can deploy a small number of the vanilla combat robots out to a certain range from themselves. Sort of a defense focused roboport type thing. Bonus points if its literally just a roboport network for combat bots.

Re: Turrets that deploy combat robots

Posted: Mon Oct 21, 2019 6:10 pm
by Cribbit
I'm 99% sure this exists.

Re: Turrets that deploy combat robots

Posted: Tue Oct 22, 2019 4:45 pm
by Deadlock989
Rampant Arsenal does this with "capsule turrets".

The catch is that turrets can only fire ammo types (beams etc are an ammo type internally). Capsules however are not ammo: an item cannot simultaneously be a capsule and ammo. So if the turrets are player-placeable, your mod needs recipes to convert capsules into "capsule ammo", so all your capsules are basically duplicated on the menu - this specialist ammo then creates the robot entities instead of an explosion or damage etc.

Also, the turret has no "follower count" limit, so it just keeps making robots until it runs of "ammo". Depending on the lifetime of the robots concerned, that could be a lot of robots on the screen.

Roboports with combat robots in them won't happen without support from the C++ engine.