[RDH]Zerted wrote:The SetupTeams labels are a little more then just names. When you're playing metagames (Campaign maps) and you buy a new unit, the game stores which one you bought (soldier, assault, sniper, etc...). It enables only those units in metagame maps. So if you just drop your map into Galactic Conquest and then the player buys the sniper unit, whatever unit you have stored as the sniper will be the one that gets enabled ingame.
If you store a metagame state before the map loads (from the last map or from within the map selection screen), the game will automatically attempt to load it then next time the SetupTeams section is run. You can use this to enable/disable the map's units, but only across map loads.
Ok, so it basically gives the game a way to differentiate units, at least scripting wise.
@AQT: That's what I thought. I also gave a unit with the UnitType = "pilot" a repair weapon that actually heals unit health instead of buildings and objects. The AI would still run around with this 'repair' weapon despite the fact that there would be no ally in sight and even if he was under fire.
I'm gonna mess around with the unittypes and see if anything comes up that is noticeably apparent.
EDIT
After an hour and a half of stalking AI with freecam and tweaking their ODFs, I
think I've found some behavior patterns for the trooper and assault.
The trooper units tend to be in the lead. They will be the ones that most actively pursue the objective (which was cp capturing when I was watching them). The assault units are noticeably more conservative. You will more frequently find them ducking into Cover nodes and they are a bit more passive in pursuing the objective. They seem to do more loafing and wandering. It might be my imagination, but it seems that when there is an assault unittype present and a trooper unittype present, the assaults tend to let the troopers lead and they'll be slightly behind them. However, if there are no troopers present, the assaults will head for their objective anyway.
I've been intently studying the support unittype, and frankly, this one really has me stumped. I
think there's something different about them but I can't quite put my finger on exactly what it is. Anybody have a clue?