Adding more peoples
Moderator: Moderators
- Silas
- Captain

- Posts: 481
- Joined: Thu Oct 11, 2007 5:30 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Adding more peoples
How do you make it so you can have more than the 6 default different troopers in a conquest map?
- trainmaster611
- Sith Lord

- Posts: 1779
- Joined: Thu Aug 24, 2006 5:22 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Building a railway to Coruscant
- Contact:
Re: Adding more peoples
C:\BF2_ModTools\documentation -> BF2 Jedi Creation doc
- Silas
- Captain

- Posts: 481
- Joined: Thu Oct 11, 2007 5:30 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: Adding more peoples
i know how to switch what people you can use. What i meant is how do make it so each side has a choice of say, 8 troopers.
-
wazmol
- High General

- Posts: 892
- Joined: Sat Sep 02, 2006 6:47 pm
- Projects :: Thinking...
- Location: London
- Contact:
Re: Adding more peoples
okay:
Waz
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
Waz
- Silas
- Captain

- Posts: 481
- Joined: Thu Oct 11, 2007 5:30 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: Adding more peoples
thanks. yeah, that did help me a lot
