Page 1 of 1

Forcing players onto one side

Posted: Sun Oct 19, 2008 9:18 am
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.

Re: Forcing players onto one side

Posted: Sun Oct 19, 2008 9:25 am
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.

Re: Forcing players onto one side

Posted: Sun Oct 19, 2008 9:32 am
by PsYcH0_]-[aMsT3r
Oh cool thanks I knew it was something really basic lol.

Re: Forcing players onto one side

Posted: Mon Oct 20, 2008 8:33 pm
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.

Re: Forcing players onto one side

Posted: Thu Oct 23, 2008 11:22 pm
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.

Re: Forcing players onto one side

Posted: Fri Oct 24, 2008 10:44 am
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.