Land units out of ammo, need home base

Take command of air and naval assets from post-WW2 to the near future in tactical and operational scale, complete with historical and hypothetical scenarios and an integrated scenario editor.

Moderator: MOD_Command

Post Reply
Whicker
Posts: 664
Joined: Tue Jun 19, 2018 9:54 pm

Land units out of ammo, need home base

Post by Whicker »

Been playing with the land units some more (tanks and such) and while they are not the main part of the game they can do some interesting things so I like them in some scenarios.

One problem I am having is that on the AI side they run out of ammo and then just circle around. They don't seem to be able to have a home base so they don't withdraw when they run out. I tried to assign one a base with lua and it doesn't work. Also can't do it manually. If they could have a home base then it seems like they could withdraw when they are out of their primary weapon. Also could rtb if their mission is over.

I can see a way that I could check their ammo via lua, but that looks too complicated, and even then I would still need to figure out what to do with them. I do think they would resupply if they were grouped with an ammo truck or ammo pad that had their type of ammo.

I would see their home base as a barracks with an ammo pad/bunker. Once they rtb to the base then they could resupply. I guess that gets messy then as they would be more like AC at a base.
User avatar
SeaQueen
Posts: 1338
Joined: Sat Apr 14, 2007 4:20 am
Location: Washington D.C.

RE: Land units out of ammo, need home base

Post by SeaQueen »

There is an under-used unit in the game for "ammo trucks." Add whatever munitions you need to a magazine on them and position them where you need. If you group the tanks with the ammo trucks, they'll reload from the trucks.
Whicker
Posts: 664
Joined: Tue Jun 19, 2018 9:54 pm

RE: Land units out of ammo, need home base

Post by Whicker »

yep, aware of that. Not always convenient to do, context of what I am working on is an AI cargo mission, so grouping would be difficult to handle. Even then I would like to be able to tell them to return to an area after some action.
rmunie0613
Posts: 202
Joined: Tue Jan 02, 2018 7:41 pm

RE: Land units out of ammo, need home base

Post by rmunie0613 »

Ypu are also able to actually give the land units a magazine (munitions,empty) and give it weapons which they carry with them to reload.
User avatar
tjhkkr
Posts: 2428
Joined: Wed Jun 02, 2010 11:15 pm
Contact:

RE: Land units out of ammo, need home base

Post by tjhkkr »

I like the Ammo trucks, because it gives a target that can singlehandedly halt an advancing column... though I confess that I escort such units with all the AA/SAMs of the time... as any army would do...
Remember that the evil which is now in the world will become yet more powerful, and that it is not evil which conquers evil, but only love -- Olga Romanov.
Post Reply

Return to “Command: Modern Operations series”