// Set the weight (number of troops), and then initialize the armor.
retVal.setWeight(stateMenPerSquad);
retVal.refreshLocations();
retVal.autoSetInternal();
retVal.setArmorType(stateArmorType);
for (int x = 1; x < retVal.locations(); x++) {
retVal.initializeArmor(stateArmorValue, x);
}
// Set the tech base.
if (stateTechBase == TECH_BASE_IS) {