Increase the unit's number and the max points to win

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
Guepard

Increase the unit's number and the max points to win

Post by Guepard »

Is a supid question but how can I increase the unit's number and the max points numbers to win?

Thanks.
MasterYoda91

RE: Increase the unit

Post by MasterYoda91 »

Go into your maps LUA and in the Setupteams section there should be the unit, to the right of it there are 2 numbers, increase the one on the right. For the points do you mean the reinforcements for a team?
Guepard

Post by Guepard »

If I change this numbers change the numbers of people?

myTeamConfig = {
rep = {
team = REP,
units = 32,
reinforcements = -1,
pilot = { "rep_inf_ep3_pilot",26},
marine = { "rep_inf_ep3_marine",6},
},
cis = {
team = CIS,
units = 32,
reinforcements = -1,
pilot = { "cis_inf_pilot",26},
marine = { "cis_inf_marine",6},
}
}

And With max points to win I mean the number of points needed to win, the max in space is 300, but I see maps where this max change.
User avatar
phazon_elite
Rebel Colonel
Rebel Colonel
Posts: 597
Joined: Tue Jan 16, 2007 9:10 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: I'm sorry Link, I can't give the location. Come back when you're a little...mmmh...RICHER!
Contact:

Post by phazon_elite »

Oh, you're doing a space map. You have to increase that units = 32 parameter to a higher number to have a higher number is units.

example:
SetupTeams{
rep = {
team = REP,
units = 40,
reinforcements = -1,
pilot = { "rep_inf_ep3_pilot",26},
marine = { "rep_inf_ep3_marine",14},
},
cis = {
team = CIS,
units = 40,
reinforcements = -1,
pilot = { "cis_inf_pilot",26},
marine = { "cis_inf_marine",14},
}
}
So that's how you change unit numbers, but not max score.

If you wanted to do that, I think there's something in the assault LUA's that affect that. It also might be in the ObjectiveSpaceAssault.lua. I haven't done space maps yet, so I can't help you that much on it.

Hope it helped at least a little

- EP-000782
Guepard

Post by Guepard »

Thanks
But I put:

myTeamConfig = {
rep = {
team = REP,
units = 3000,
reinforcements = -1,
pilot = { "rep_inf_ep3_pilot",2500},
marine = { "rep_inf_ep3_marine",500},
},
cis = {
team = CIS,
units = 3000,
reinforcements = -1,
pilot = { "cis_inf_pilot",2500},
marine = { "cis_inf_marine",500},
}
}
and I don't see changes. :?

How can I increase the unit's number?
Abiter_b

Post by Abiter_b »

puttin in 300 units wont work and if u did put in that many it would crash anyway try some number like 100 also you need to put this line into your
***c_cmn.lua here

---------------------------------------------------------------------------
-- FUNCTION: ScriptInit
-- PURPOSE: This function is only run once
-- INPUT:
-- OUTPUT:
-- NOTES: The name, 'ScriptInit' is a chosen convention, and each
-- mission script must contain a version of this function, as
-- it is called from C to start the mission.
---------------------------------------------------------------------------
function ScriptInit()
-- Designers, this line *MUST* be first!

SetUberMode(1);

ReadDataFile("ingame.lvl")
Penguin
Jedi Admin
Jedi Admin
Posts: 2541
Joined: Sun Mar 05, 2006 12:00 am
Location: Australia

Post by Penguin »

you can have a max of 300 units per team
Post Reply