Thanks to weegee for his code in Tartarus. Now this mod's made even better with customizable spawn teams. :)

(pretty much the same so, copy-pasted-ish from Tartarus)

1.Add your new faction ID and number here.

	self.Factions = {CLONE = 1, DUMMY = 2 , RONIN = 3 , BEARS = 4 , BLAME = 5 , MYFCT = 6};


2.Add your faction module to the list.

	self.Modules[self.Factions.MYFCT] = "Undead.rte";


3.Define weapon, dropship, rockets and actor sets for your faction.
(If your faction doesn't have its own dropships or rockets, define them as nil.)


	self.WeaponSets[self.Factions.MYFCT] = {"Blunderpop", "Blunderbuzz"}
	self.ActorSets[self.Factions.MYFCT] = {"Skeleton" , "Zombie Medium"};
	self.DropShipSets[self.Factions.MYFCT] = nil;
	self.RocketSets[self.Factions.MYFCT] = nil;

(If your faction DOES have its own, then please define them.)

	self.DropShipSets[self.Factions.DUMMY] = { "Drop Ship" };
	self.RocketSets[self.Factions.DUMMY] = { "Rocklet" };

5.Select the factions for the current round.

	self.FriendsRed = self.Factions.CLONE;
	self.FriendsGreen = self.Factions.DUMMY;
	self.FriendsBlue = self.Factions.RONIN;
	self.FriendsYellow = self.Factions.ROBOT;
	self.FriendsNeutral = self.Factions.BRWNC;

6. Double check weapon, actor and module spelling.
[Note:You don't need to reload CC after editing this script, just restart the mission.]







Some extras:
Pressing 1 toggles spawning Red Teams.
Pressing 2 toggles spawning Green Teams.
Pressing 3 toggles spawning Blue Teams.
Pressing 4 toggles spawning Yellow Teams.
Pressing 5 toggles spawning Neutral Teams.

Mid-game Faction Change is actually allowed. Just open console and type the friends you want to change. (see Number 5)
