Page 1 of 1
2 seperate local sides?
Posted: Wed Jul 12, 2006 3:26 pm
by Vyse
Can I have a seperate Local team as team 4? Not sure if the game would handle it.
So it would look like this in the LUA
-- Local Stats
SetTeamName(4, "locals")
AddUnitClass(4, "zel_inf_boss", 1)
SetUnitCount(4, 1)
SetTeamAsEnemy(3,ATT)
SetTeamAsEnemy(3,DEF)
SetTeamAsEnemy(ATT,3)
SetTeamAsEnemy(DEF,3)
AddAIGoal(3, "Deathmatch", 100)
RE: 2 seperate local sides?
Posted: Wed Jul 12, 2006 3:33 pm
by Teancum
As I recall Ep2 Geonosis XL had a total of 5 sides. Don't quote me on that tho.
Posted: Wed Jul 12, 2006 3:43 pm
by Vyse
I just looked in the Geo XL LUA and it does have the 4th team but it's all commented out... I guess I'll just have to try it and see what happenes
Thanks
Re: 2 seperate local sides?
Posted: Wed Jul 12, 2006 4:17 pm
by Fiminopter
I know what your problem is. #1 you need to change all your 4's to 3's (or 3's to 4's depending on what number side it is). And #2 you can't have more unots on the battlefield than units possible.
Code: Select all
-- Local Stats
SetTeamName(3, "locals")
AddUnitClass(3, "zel_inf_boss", 1)
SetUnitCount(1, 1)
SetTeamAsEnemy(3,ATT)
SetTeamAsEnemy(3,DEF)
SetTeamAsEnemy(ATT,3)
SetTeamAsEnemy(DEF,3)
AddAIGoal(3, "Deathmatch", 1000)
There you go.
RE: Re: 2 seperate local sides?
Posted: Wed Jul 12, 2006 4:45 pm
by xwingguy
DUDE! Don't worry about it! the campaign scripts have as many as 6 sides. It's been done!