2 seperate local sides?

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
Vyse
General
General
Posts: 776
Joined: Sun Aug 28, 2005 5:01 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

2 seperate local sides?

Post 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)
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

RE: 2 seperate local sides?

Post by Teancum »

As I recall Ep2 Geonosis XL had a total of 5 sides. Don't quote me on that tho.
Vyse
General
General
Posts: 776
Joined: Sun Aug 28, 2005 5:01 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post 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
Fiminopter
Sergeant Major
Sergeant Major
Posts: 221
Joined: Sat Apr 29, 2006 11:20 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: 2 seperate local sides?

Post 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.
xwingguy

RE: Re: 2 seperate local sides?

Post by xwingguy »

DUDE! Don't worry about it! the campaign scripts have as many as 6 sides. It's been done!
Post Reply