Page 1 of 1

Infantry as minelayers

Posted: Mon Dec 12, 2022 10:56 am
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

Re: Infantry as minelayers

Posted: Mon Dec 12, 2022 11:09 pm
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.

Re: Infantry as minelayers

Posted: Tue Jan 03, 2023 9:31 am
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.