Welcome to The Few Good Men

Thanks for visiting our club and having a look around, there is a lot to see. Why not consider becoming a member?

1st scenario design: AI questions




I'm at the point in a scenario where I'm setting up the victory conditions and AI plans. This is a loose-ish conversion of an ASL scenario ("Ad Hoc at Chef-du-Pont"). The Allied force, U.S. Airborne approaching from the northwest and northeast, has to exit off a road on the south edge of the map so it can secure an important bridge (off-map). The German forces are more or less in the centre of the map.

The first question is pretty simple; how do I set up different starting locations for units, particularly defenders? I thought that the different AI plans would take care of this, but they only appear to concern actions, rather than positioning. Is it even possible to have AI defenders in a variety of defensive setups?

The second question is more complicated. The original ASL scenario's victory conditions state that the Americans win if they exit 1 or more squads at that point, but that if the German player exits y squads from tha same point, then the American player must exit y + .5 squads. My first thought was to simply discard that part of it and just make the fight for a couple of key points in the village and near the bridge exit, but from my reading I reckon I could have the exit point as a trigger that would start the Germans falling back toward the bridge when the first U.S. unit touched it. This might make for a more interesting fight, with the Germans "realising" that the Americans have got through or around them, and displacing to bolster the bridge's defences, and the American player needing to decide which forces to exit and which to leave as a rearguard/exit block to prevent the German player from getting his forces off. It could even play out as a running gunfight with multiple units from both sides head for the exit at the same time.

With this in mind I set up AI groups and unit objective groups and set the unit objective groups as "Destroy All" objectives. Then I created an AI plan (the only one) that would trigger when the exit zone was touched by a U.S. unit. When I tested it, though, I could never get more than one German group to head for the bridge; the rest just sit there in their starting locations doing nothing. The trigger was set correctly and to be activated any time between 00:00 and 40:00. I've tried this a number of times but always got the same result. Either no groups move or only one does.

I also have an problem whereby the "Wait for" option often doesn't show, and neither does the time limits for starting/ending the order.

Any input would be appreciated!

TIA, etc


That makes sense and thanks.

I've updated that thread with a couple of things I learned today. :)