Page 1 of 1

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

Posted: Sat Apr 14, 2007 8:24 am
by Guepard
Is a supid question but how can I increase the unit's number and the max points numbers to win?

Thanks.

RE: Increase the unit

Posted: Sat Apr 14, 2007 9:48 am
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?

Posted: Sat Apr 14, 2007 2:34 pm
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.

Posted: Sat Apr 14, 2007 2:43 pm
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

Posted: Sat Apr 14, 2007 2:52 pm
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?

Posted: Sun Apr 15, 2007 12:25 am
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")

Posted: Sun Apr 15, 2007 1:02 am
by Penguin
you can have a max of 300 units per team