Increase Spawn for A Certian Class + Unit Count

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
RC-1309
Private Second Class
Posts: 63
Joined: Fri Jul 31, 2009 5:19 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: Miami, FL

Increase Spawn for A Certian Class + Unit Count

Post by RC-1309 »

i want to have more of one unit spawn than the other ones... i went to the scripts and wanted to know...

in ***c_con.lua in this section did i understand everything right.....


units = 20 means the the total rep/cis AI on the field
reinforcements = 150 means how many units must be killed to win

(does the 9, 25/ 1,4 mean the ration that they spawn as??... so if i want more rep_inf_ep3_rocketeer i would put 3, 4/ 4,5... etc.. correct??)

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},
--------------------------------------------------------------------------------------------
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},

},
cis = {
team = CIS,
units = 20,
reinforcements = 150,
soldier = { "cis_inf_rifleman",9, 25},
assault = { "cis_inf_rocketeer",1, 4},
engineer = { "cis_inf_engineer",1, 4},
sniper = { "cis_inf_sniper",1, 4},
officer = {"cis_inf_officer",1, 4},
special = { "cis_inf_droideka",1, 4},
--------------------------------------------------------------------------------

+++++++++++++would i have to change these things also in ***c_con.lua.bak too?
User avatar
Par3210
Jedi
Jedi
Posts: 1033
Joined: Sun Jun 14, 2009 10:31 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Owning people in SWBF2
Contact:

Re: Increase Spawn for A Certian Class + Unit Count

Post by Par3210 »

the 9,25 means :
the 9 means the least amount of dudes allowed to spawn on the battlefield
25 is the max
Change them to whatever you want but don't put it too high or it will be not online compatible.
And you don't have to change it in the baks. You shouldn't even open the baks.
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

Re: Increase Spawn for A Certian Class + Unit Count

Post by Xavious »

RC-1309 wrote:(does the 9, 25/ 1,4 mean the ration that they spawn as??... so if i want more rep_inf_ep3_rocketeer i would put 3, 4/ 4,5... etc.. correct??)
The first number is the minimum of bots that can spawn as that unit, and the second number is the maximum.

RC-1309 wrote:+++++++++++++would i have to change these things also in ***c_con.lua.bak too?
No. The lua.bak files are not read by the game. They simply serve as backup files. If you have a working lua, you can paste it in there. That way, if you have a problem you can't figure out, you have an earlier version you can revert back to.
User avatar
Par3210
Jedi
Jedi
Posts: 1033
Joined: Sun Jun 14, 2009 10:31 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Owning people in SWBF2
Contact:

Re: Increase Spawn for A Certian Class + Unit Count

Post by Par3210 »

lol better fix the quotes Xav :lol:
User avatar
RC-1309
Private Second Class
Posts: 63
Joined: Fri Jul 31, 2009 5:19 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: Miami, FL

Re: Increase Spawn for A Certian Class + Unit Count

Post by RC-1309 »

got it :thumbs: thnx..

and one more thing... do you guys know the limit before things become "unstable"
User avatar
Par3210
Jedi
Jedi
Posts: 1033
Joined: Sun Jun 14, 2009 10:31 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Owning people in SWBF2
Contact:

Re: Increase Spawn for A Certian Class + Unit Count

Post by Par3210 »

over 32
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

Re: Increase Spawn for A Certian Class + Unit Count

Post by Xavious »

Around 120+ units per side will make it unstable for multiplayer, and about 300+ per side will likely make it unstable for single player.

EDIT:
Par3210 wrote:over 32
False.
Last edited by Xavious on Mon Aug 03, 2009 3:33 pm, edited 2 times in total.
User avatar
RC-1309
Private Second Class
Posts: 63
Joined: Fri Jul 31, 2009 5:19 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: Miami, FL

Re: Increase Spawn for A Certian Class + Unit Count

Post by RC-1309 »

cool thnx
User avatar
Par3210
Jedi
Jedi
Posts: 1033
Joined: Sun Jun 14, 2009 10:31 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Owning people in SWBF2
Contact:

Re: Increase Spawn for A Certian Class + Unit Count

Post by Par3210 »

oh :oops:
User avatar
RC-1309
Private Second Class
Posts: 63
Joined: Fri Jul 31, 2009 5:19 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: Miami, FL

Re: Increase Spawn for A Certian Class + Unit Count

Post by RC-1309 »

wait.... so more... or less than 32...
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

Re: Increase Spawn for A Certian Class + Unit Count

Post by Xavious »

What, the limit? Read my previous post.
User avatar
RC-1309
Private Second Class
Posts: 63
Joined: Fri Jul 31, 2009 5:19 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: Miami, FL

Re: Increase Spawn for A Certian Class + Unit Count

Post by RC-1309 »

oh.. oops :oops:

btw... how do you upload to http://starwarsbattlefront.filefront.com??

***SUPER NOOB QUESTION***
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

Re: Increase Spawn for A Certian Class + Unit Count

Post by Xavious »

Left nav bar, under "The Files," is the Submit Files link.
Post Reply