Adding more peoples
Posted: Mon Nov 05, 2007 11:00 pm
How do you make it so you can have more than the 6 default different troopers in a conquest map?
also:SetupTeams{
rep = {
team = REP,
units = 20,
reinforcements = 150,
soldier = { "rep_inf_ep3_rifleman",9, 25},
assault = { "rep_inf_ep3_rocketeer",1, 4},
engineer = { "rep_inf_ep3_engineer",1, 4},
sniper = { "rep_inf_ep3_sniper",1, 4},
officer = {"rep_inf_ep3_officer",1, 4},
special = { "rep_inf_ep3_jettrooper",1, 4},
AddUnitClass(REP,"UNIT NAME",1, 4),
hope that helpsAddUnitClass(REP,"UNIT NAME",1, 4), this is a short explanation of what this does, for example: The REP bit can either be CIS REP IMP OR ALL depending on there side, the "UNIT NAME" bit would be for example rep_inf_ep2_rifleman like the above ones.
how ever makesure you are calling for your unit in this part of the lua:
ReadDataFile("dc:SIDE\\rep.lvl",
NOTE: dc: means your own rep files from your worlds side folder