Adding more peoples

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
Silas
Captain
Captain
Posts: 481
Joined: Thu Oct 11, 2007 5:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Adding more peoples

Post by Silas »

How do you make it so you can have more than the 6 default different troopers in a conquest map?
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

Re: Adding more peoples

Post by trainmaster611 »

C:\BF2_ModTools\documentation -> BF2 Jedi Creation doc
User avatar
Silas
Captain
Captain
Posts: 481
Joined: Thu Oct 11, 2007 5:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: Adding more peoples

Post by Silas »

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
High General
Posts: 892
Joined: Sat Sep 02, 2006 6:47 pm
Projects :: Thinking...
Games I'm Playing :: Black Ops
Location: London
Contact:

Re: Adding more peoples

Post by wazmol »

okay:
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),
also:
AddUnitClass(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
hope that helps

Waz
User avatar
Silas
Captain
Captain
Posts: 481
Joined: Thu Oct 11, 2007 5:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: Adding more peoples

Post by Silas »

thanks. yeah, that did help me a lot
Post Reply