Page 1 of 1

Increase Spawn for A Certian Class + Unit Count

Posted: Mon Aug 03, 2009 9:15 am
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?

Re: Increase Spawn for A Certian Class + Unit Count

Posted: Mon Aug 03, 2009 9:26 am
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.

Re: Increase Spawn for A Certian Class + Unit Count

Posted: Mon Aug 03, 2009 9:27 am
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.

Re: Increase Spawn for A Certian Class + Unit Count

Posted: Mon Aug 03, 2009 9:27 am
by Par3210
lol better fix the quotes Xav :lol:

Re: Increase Spawn for A Certian Class + Unit Count

Posted: Mon Aug 03, 2009 9:29 am
by RC-1309
got it :thumbs: thnx..

and one more thing... do you guys know the limit before things become "unstable"

Re: Increase Spawn for A Certian Class + Unit Count

Posted: Mon Aug 03, 2009 9:30 am
by Par3210
over 32

Re: Increase Spawn for A Certian Class + Unit Count

Posted: Mon Aug 03, 2009 9:31 am
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.

Re: Increase Spawn for A Certian Class + Unit Count

Posted: Mon Aug 03, 2009 9:31 am
by RC-1309
cool thnx

Re: Increase Spawn for A Certian Class + Unit Count

Posted: Mon Aug 03, 2009 9:31 am
by Par3210
oh :oops:

Re: Increase Spawn for A Certian Class + Unit Count

Posted: Mon Aug 03, 2009 3:32 pm
by RC-1309
wait.... so more... or less than 32...

Re: Increase Spawn for A Certian Class + Unit Count

Posted: Mon Aug 03, 2009 3:33 pm
by Xavious
What, the limit? Read my previous post.

Re: Increase Spawn for A Certian Class + Unit Count

Posted: Mon Aug 03, 2009 4:40 pm
by RC-1309
oh.. oops :oops:

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

***SUPER NOOB QUESTION***

Re: Increase Spawn for A Certian Class + Unit Count

Posted: Mon Aug 03, 2009 4:44 pm
by Xavious
Left nav bar, under "The Files," is the Submit Files link.