Turret using Fluid as ammunition

Place to get help with not working mods / modding interface.
User avatar
Krayt
Long Handed Inserter
Long Handed Inserter
Posts: 92
Joined: Fri Aug 14, 2015 8:47 am
Contact:

Turret using Fluid as ammunition

Post by Krayt »

Hello,

As I am fairly new to modding and modding factorio I only created a few small modifications.
After successfully creating a Flamethrower Turret in 0.12.26, which uses regular flame-thrower-ammo in item form, I wanted to create a larger on using a custom Fluid (flame-thrower-fluid) as ammunition.
So far I set everything up to hopefully work in the end, but I ran into a problem, I have not been able to solve.
Pipes won't connect to my big-flame-thrower-turret. I chose an assembling-machine-3 as base of the turret with the Gatling Gun model on top.
The FluidBoxes area I copied from the section of the assembling-machine-3 for the dimensions to match.

I would be really interested in a way to solve the problem. I am not sure if it is possible without creating an own function, though.

This is the excerpt of the turrets.lua file, which is in my understanding the file, which needs changes in order to solve the problem.
excerpt of turrets.lua
Greetings,
Krayt
Post Reply

Return to “Modding help”