Forcing players onto one side

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
PsYcH0_]-[aMsT3r
2nd Lieutenant
2nd Lieutenant
Posts: 405
Joined: Fri Jan 25, 2008 3:11 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: Location Location.

Forcing players onto one side

Post by PsYcH0_]-[aMsT3r »

Is it possible to just have one playable side in a map? Because I want to just have one side and change the -1 point to 0 so it's like a FFA match.
NullCommando
Jedi
Jedi
Posts: 1010
Joined: Sat Dec 01, 2007 12:29 pm
Games I'm Playing :: Destiny
xbox live or psn: NullCommando
Location: Earth

Re: Forcing players onto one side

Post by NullCommando »

Add this to your .lua:

Code: Select all

ForceHumansOntoTeam1()
Not sure if you can force a player on to the 2nd team, haven't tried yet.
PsYcH0_]-[aMsT3r
2nd Lieutenant
2nd Lieutenant
Posts: 405
Joined: Fri Jan 25, 2008 3:11 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: Location Location.

Re: Forcing players onto one side

Post by PsYcH0_]-[aMsT3r »

Oh cool thanks I knew it was something really basic lol.
woner11
Sith
Sith
Posts: 1361
Joined: Tue Sep 18, 2007 10:17 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: The lost world of pickels
Contact:

Re: Forcing players onto one side

Post by woner11 »

NullCommando wrote:Not sure if you can force a player on to the 2nd team, haven't tried yet.
Why would you want to? Just set whatever team you want them to be to team 1.
Grymm
Private Recruit
Posts: 25
Joined: Fri Aug 15, 2008 1:11 am

Re: Forcing players onto one side

Post by Grymm »

To change the -1 point for teamkills to +1 can be done in the ingame.lvl. I am still trying to figure out how to make the teamkills positive enemy kills.
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:

Re: Forcing players onto one side

Post by [RDH]Zerted »

Grymm wrote:To change the -1 point for teamkills to +1 can be done in the ingame.lvl.
Meaning override the retail ingame.lvl like you do when adding load screens, but include points.lua (I forget if you can just toss it into mission.lvl instead). You could also copy all the code from points.lua and stick it in your map's script after it reads the standard ingame.lvl.
Post Reply