More than 2 playable 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
wazmol
High General
High General
Posts: 892
Joined: Sat Sep 02, 2006 6:47 pm
Projects :: Thinking...
Games I'm Playing :: Black Ops
Location: London
Contact:

More than 2 playable sides?

Post by wazmol »

i have tried searching the forums on this but, how would i get 3 sides to play as? i want it to be republic vs. cis vs. mandalorians (which i have created).

i know that you can add a team well i think lol but how would i make it playable with the other two (that was really confusing wasnt it).

example would to be able to, when the map loads and you can click on either for example Republic or CIS could you make it so you can click on Mandalorians aswell?


thanks guys
PieDude797

RE: more than 2 sides?

Post by PieDude797 »

Well, I'm not exactly sure if you can do this, but I have been having some trouble of my own on this subject. Except, I'm trying to take away a team. I only need one for my map. Oh, and, for those of you who know the map i'm making, that's why I havn't talked about it or brought the topic back up, There's a huge delay with this. Anyway, I know you can re-name the sides, just not sure if you can add or delete them...
wazmol
High General
High General
Posts: 892
Joined: Sat Sep 02, 2006 6:47 pm
Projects :: Thinking...
Games I'm Playing :: Black Ops
Location: London
Contact:

RE: more than 2 sides?

Post by wazmol »

okay thanks,

does anyone else no if this is possible?
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: more than 2 sides?

Post by Teancum »

Unfortunately, the whole game is built around having two playable sides. [RDH]Zerted was working on having a third side playable, but I don't think it was going to work the way he needed it to.

As for only having one side playable, try putting ForceHumansOntoTeam1() in your ScriptPostLoad() section.
wazmol
High General
High General
Posts: 892
Joined: Sat Sep 02, 2006 6:47 pm
Projects :: Thinking...
Games I'm Playing :: Black Ops
Location: London
Contact:

RE: more than 2 sides?

Post by wazmol »

awww ok thats a bummer, o well Tean' you can lock this topic or delete.

thanks
PieDude797

Post by PieDude797 »

Well, I have an idea, how about, you just move all of the people to one side, and rename them both. Then, you can use the other side for your other charactors.
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 »

ScriptCB_SetGameRules("campaign") can be put into ScriptPostLoad() to make only the first team playable as well.
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 3+ playable sides, but stat tracking will track all humans as if they where on the two normal teams. You would have to force random human players to be on the extra teams, you cannot just make a button for them to click (you could add a goto 3rd team region on the map). Also, the extra team human players would reset to the default team 1 or 2 whenever they die, so you would have to keep force team swaping them whenever they respawn.

Things get wierd with the stat tracking. The players never really leave team 1 or team 2, just the player's unit. Ingame, the unit is on the 3rd team, but everything that unit does is linked back to the player which is still on team 1 or team 2. Confused yet? When the unit kills an enemy but that enemy is a friend of the player's team (not the unit's team) the kill would be counted as a TK.

3+ playable teams would only work on servers not booting TKs. It is possible to change the server's config through a map's Lua and tell the server to stop tracking Tks. However, all my testing on it shows the settings change on the loading of the next map not the current map, so reconfiguring the server isn't really helpful to any single map. Unless you want to force to server to restart its current map, but I think people will get mad if they always have to load the map twice before they could play it.

So in short, yes maps can fake 3+ human playable teams, you must randomly move people to the extra teams, or you mush add a bunch of regions into the map to allow people to move to the extra teams after the map has already started. The server must be configured not to boot TKing players, and anyone in the server will have to get used to a 3rd of their kills being TKs even when they where attacking enemies.

Edit: Any ideas on when/if the Wiki will be back up? It takes a while typing all this out each time soneone asks.
Qdin
Old School Staff
Posts: 2059
Joined: Wed Feb 23, 2005 9:54 am
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 Qdin »

so true... :)

But I think you still manage to make the BEST explanations regarding these topics, Zerted! :D

I hope you don't mind me locking this? :)

tell me if there's anythign you wanna add or some reason to unlock it :)
Post Reply