Forcing players onto one side
Moderator: Moderators
-
PsYcH0_]-[aMsT3r
- 2nd Lieutenant

- Posts: 405
- Joined: Fri Jan 25, 2008 3:11 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Location Location.
Forcing players onto one side
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

- Posts: 1010
- Joined: Sat Dec 01, 2007 12:29 pm
- xbox live or psn: NullCommando
- Location: Earth
Re: Forcing players onto one side
Add this to your .lua:
Not sure if you can force a player on to the 2nd team, haven't tried yet.
Code: Select all
ForceHumansOntoTeam1()-
PsYcH0_]-[aMsT3r
- 2nd Lieutenant

- Posts: 405
- Joined: Fri Jan 25, 2008 3:11 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Location Location.
Re: Forcing players onto one side
Oh cool thanks I knew it was something really basic lol.
-
woner11
- Sith

- Posts: 1361
- Joined: Tue Sep 18, 2007 10:17 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: The lost world of pickels
- Contact:
Re: Forcing players onto one side
Why would you want to? Just set whatever team you want them to be to team 1.NullCommando wrote:Not sure if you can force a player on to the 2nd team, haven't tried yet.
-
Grymm
- Private Recruit
- Posts: 25
- Joined: Fri Aug 15, 2008 1:11 am
Re: Forcing players onto one side
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.
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: Forcing players onto one side
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.Grymm wrote:To change the -1 point for teamkills to +1 can be done in the ingame.lvl.
