Modular Turrets

by wodzu93

Adds 8 (15 counting variations) new turrets for dealing with alien menace, as well as other military-related items. Good compliment to mods that add new biter types, like Rampant or Natural Evolution.

Content
8 days ago
0.15 - 2.0
39.9K
Combat

g Modular Turrets on Trains?

6 years ago

Would it be possible to make a turret train car and install turrets onto the train car?

6 years ago

Unfortunately, no. Trains only accept artillery type weapons. It could be done by giving a wagon equipment grid, but only Thermal Lasers could be used that way, as equipment weapons can't be fed with ammo in current Factorio version, only with energy.

6 years ago

that's kind of what I was thinking of :) having a train car that has a actual turret grafix on it would be awesome too even if it is just lasers

5 years ago
(updated 5 years ago)

In factorio 0.16 the heavy tank mod does have an equipment that requires the insertion of fuel into it - I imagine doing the same with ammunition would not be hard.
On the technical side, you could always set the input energy limit to 0 and only add energy to the equipment when consuming bullets from the inventory (or an integrated slot) via a control.lua script.

The animation side might be harder to implement - does factorio allow a post-data phase modification of sprites? If not, you'd probably need a ghost entity that is position synced to the train and renders above it for every possible turret, and create or destroy them in equipment change events.

5 years ago

There is a mod that's similar to this concept. Could probably serve as a point of inspiration/integration. https://mods.factorio.com/mod/Armored-train

New response