Page 1 of 1

Water Cannon

Posted: Mon Aug 12, 2024 5:37 am
by Dogmai
TL;DR
Flamethrower but for water.

What ?
A flamethrower but for water, using water cannisters.
Why ?
Only you can stop forest fires.

Re: Water Cannon

Posted: Mon Aug 12, 2024 6:59 am
by boskid
No.

Its not an interesting use case and it would make FireFlame to be a lot more complex because it would have to be a military target for turrets to see them.

Re: Water Cannon

Posted: Mon Aug 12, 2024 7:11 am
by Stringweasel
You can use this mod if you want
https://mods.factorio.com/mod/WaterTurret

Re: Water Cannon

Posted: Mon Aug 12, 2024 12:58 pm
by Pi-C
boskid wrote:
Mon Aug 12, 2024 6:59 am
... it would make FireFlame to be a lot more complex because it would have to be a military target for turrets to see them.
It's even more difficult than this!
Stringweasel wrote:
Mon Aug 12, 2024 7:11 am
You can use this mod if you want
https://mods.factorio.com/mod/WaterTurret
Unfortunately, there are some problems with that mod that I couldn't solve yet.

My mod already changes FireFlame so that it will spawn an invisible dummy when a fire is created. The dummies are military targets (IIRC), and I've used attack/ignore masks so that no turrets except the water turrets will attack them. The real problem is about the GunPrototype (as used by LuaPlayer::character, ArtilleryTurretPrototype, ArtilleryWagonPrototype, and, perhaps, SpiderVehiclePrototype) of things that fire automatically, without player invervention. For instance, the gun on your artillery turrets may wreck your own base by attacking fire dummies, and your PLD might target the fire (which is immune to that kind of damage) instead of enemies that it actually could hurt.

Do you have any idea how to cope with that?

Re: Water Cannon

Posted: Tue Aug 13, 2024 1:28 am
by Dogmai
boskid wrote:
Mon Aug 12, 2024 6:59 am
No.

Its not an interesting use case and it would make FireFlame to be a lot more complex because it would have to be a military target for turrets to see them.
Haha, oh my god mate, I meant the handheld flamethrower for putting out forest fires.

I never even thought of it that way - using a turret, but hey, it could be cool on Vulcanus fighting fire based enemies.

Re: Water Cannon

Posted: Tue Aug 13, 2024 8:06 am
by Stringweasel
Dogmai wrote:
Tue Aug 13, 2024 1:28 am
I meant the handheld flamethrower for putting out forest fires.
In that case you can try https://mods.factorio.com/mod/extinguisher :D