How to set a max spawn value? [Solved]

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
eliminator
Second Lance Corporal
Second Lance Corporal
Posts: 118
Joined: Wed Aug 19, 2009 3:39 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: Germany

How to set a max spawn value? [Solved]

Post by eliminator »

Where can i set the max-spawn-value, eg jettrooper...
I think the lines in the lua
special = { "rep_inf_ep3_jettrooper",1, 4},
is only for the ai, right?
fiddler_on_the_roof
1st Lieutenant
1st Lieutenant
Posts: 460
Joined: Wed Nov 12, 2008 5:28 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: How to set a max spawn value?

Post by fiddler_on_the_roof »

the first # means that there has to be that many units as that unit at all times. the 2nd # is the max number for ai and human players
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Re: How to set a max spawn value?

Post by Aman/Pinguin »

fiddler_on_the_roof wrote:the 2nd # is the max number for ai and human players
Note: The second one can only affect players, if the unit has unlockpoints.
User avatar
eliminator
Second Lance Corporal
Second Lance Corporal
Posts: 118
Joined: Wed Aug 19, 2009 3:39 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: Germany

Re: How to set a max spawn value?

Post by eliminator »

oh ok, thanks for this help Aman/Pinguin, i knew that it mean the max unit count, but that i have to make pointstounlook i didn't know...
Thanks :D
Post Reply