Adding more than 2 teams on the field

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
hellknight666

Adding more than 2 teams on the field

Post by hellknight666 »

How would I add like more than 2 teams to the battlefield? I mean like gamorrean guards vs cis vs republic vs geonosians. Is it some script? If so could you please show me, thanks in advance!
Also I don't mean they have to be playable teams, I just mean adding them on the field for the purpose of more enemys.
Last edited by hellknight666 on Sun Jun 24, 2007 7:33 pm, edited 1 time in total.
Taivyx
2008 Best Games Related Avatar
Posts: 1706
Joined: Thu Jun 07, 2007 3:34 pm
Projects :: Terra Strife - discontinued
Games I'm Playing :: none
xbox live or psn: No gamertag set
Contact:

RE: Adding more than 2 teams o the field

Post by Taivyx »

I think Zerted's trying that, don't know much else
EGG_GUTS
Master Bounty Hunter
Master Bounty Hunter
Posts: 1626
Joined: Thu Dec 07, 2006 7:38 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: CANADA!

Post by EGG_GUTS »

So there playable? Or just as locals? Like You can be Rep Vs Cis and have all 4 on the field. Here's the local Tut

http://www.gametoast.com/index.php?name ... pic&t=6088
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

Post by Teancum »

Yeah, you can only have two playable teams. The whole game is built around that concept. You can have AI controlled teams on top of that however.
hellknight666

Post by hellknight666 »

Ok, I understand how to do local sides now. But is there an easier way of defining enemys for the local side, I want it to hate all enemys. I know how to make local sides have an enemy and such but is there a simple way such as: SetTeamAsEnemy(3,ALL) and it will hate all other sides? Something like that.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Post by Maveritchell »

hellknight666 wrote:Ok, I understand how to do local sides now. But is there an easier way of defining enemys for the local side, I want it to hate all enemys. I know how to make local sides have an enemy and such but is there a simple way such as: SetTeamAsEnemy(3,ALL) and it will hate all other sides? Something like that.
No, because "SetTeamAsEnemy(3,ALL)" sets it as enemies to the Alliance, not all teams. There's no shortcut, you need to type out every SetTeamAsEnemy line.
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Post by [RDH]Zerted »

You can have more than 2 human playable teams, but player's scores are tracked as if they where on the 2 main teams. You cannot create another side selection screen. You can randomly move players to the other teams when they spawn, or you can put a few, limited units (like gamorrean guards) on each team's selection screen and whenever someone spawns as a guard, you move them to the extra teams.

You don't need to type evey SetTeamAsEnemy line, you can just copy/paste it. You could even put it in a loop.
Post Reply