Infantry as minelayers

Need some help setting up barracks for reloading ammopool

Information and discussion for custom maps and mods.
Post Reply
Yoghurt
Posts: 24
Joined: Wed Apr 07, 2021 11:49 am

Infantry as minelayers

Post by Yoghurt »

Hello everyone,

I'm trying to get my minigunners to reload their mines at the barracks.
I need some help setting up the code for the barracks, so that infantry enter the barracks to reload the ammopool. (Is this doable in yaml? I have zero experience with LUA)

Thanks in advance

abcdefg30
Posts: 643
Joined: Mon Aug 18, 2014 6:00 pm

Re: Infantry as minelayers

Post by abcdefg30 »

Hi,
I fear having actors reload inside a building is not possible (maybe there is a magic way to make this work by using cargo conditions and self reloading, but I don't know). So that would need some experimenting. An easy solution that should work would be copying what the service depot does and making infantry reload on one of the bib cells in front of the building.

Peroult597
Posts: 3
Joined: Fri Feb 01, 2019 3:28 pm

Re: Infantry as minelayers

Post by Peroult597 »

Sounds like a cool mod, can I ask, which maps are using inf as minelayers? I'd love to have a shot of that.

Post Reply