Digital Paint Discussion Board

Paintball 2: The Game => Server Discussion => Topic started by: wyczawski on November 13, 2007, 02:45:09 PM

Title: lockteams
Post by: wyczawski on November 13, 2007, 02:45:09 PM
Hi all,
I have a server, all configure corectly, but how I can lockteams?
lockteams is: if my clan is in red team i use LOCKTEAM and nobody can join to my team. I wana lock my team.
Txn 4 help.
Title: Re: lockteams
Post by: Eiii on November 13, 2007, 02:55:03 PM
I don't believe there is a way to lock teams, but you can always just kick people that join your team.

Oh, and set the default team for each new player to observer.
Title: Re: lockteams
Post by: KiLo on November 13, 2007, 03:01:47 PM
Oh, and set the default team for each new player to observer.

sv_autojoin 0
or in-game
cvar_set sv_autojoin 0
Title: Re: lockteams
Post by: XtremeBain on November 13, 2007, 03:18:11 PM
Lock teams isn't really that important, since there are plenty of match servers available through IRC and the web to reserve for organized matches or pick-up games.  The way DP is played on public servers (with people reconnecting to fix their score, or just disconnect after a few deaths, or don't feel like playing that map any more), lockteams wouldn't really work for public teams.  This game seriously needs auto-balance though...
Title: Re: lockteams
Post by: KiLo on November 13, 2007, 03:19:56 PM
This game seriously needs auto-balance though...

/me reiterates what the feature vote thread is for.
Title: Re: lockteams
Post by: KnacK on November 13, 2007, 03:24:45 PM
I already added that to the feature request list.
Title: Re: lockteams
Post by: XtremeBain on November 13, 2007, 03:28:14 PM
/me reiterates what the feature vote thread is for.

No point wasting the time people spend +1ing it in that thread and getting everyone else's hopes up.  I'm not contributing any new feature votes until a decent voting site/system is established and I can start using my botnet to rock the vote.
Title: Re: lockteams
Post by: Re on November 15, 2007, 05:12:18 AM
you can also make a player join a certain team if you have admin powers.

cmd forcejoin <player> <color>

example: cmd forcejoin Re red
Title: Re: lockteams
Post by: Edgecrusher on November 15, 2007, 06:14:11 AM
Or you can also download Zorch's menus and do it easily from there.

;)
Title: Re: lockteams
Post by: y00tz on November 15, 2007, 08:15:26 AM
Z's menus: http://dplogin.com/forums/index.php?topic=5169.0
Title: Re: lockteams
Post by: DaRkNeSS on November 17, 2007, 01:48:05 PM
DP pubs need some type of team balance system like Counter-Strike has.
Title: Re: lockteams
Post by: jitspoe on November 19, 2007, 06:05:25 PM
DP pubs need some type of team balance system like Counter-Strike has.

http://dplogin.com/forums/index.php?topic=5060.0

If you haven't already.
Title: Re: lockteams
Post by: vlpronj on June 20, 2008, 09:54:22 AM
OK, I know this is an old thread, but I use dp2 in a PC Lab for a day camp. It's confusing as all get-out for the kids when they start switching teams. I love the fact that I can force a specific player onto a team, but can I use a script to force all players at one time? Something like...

forcejoin 0 blue
forcejoin 1 blue
forcejoin 2 blue
forcejoin 3 yellow
forcejoin 4 yellow
forcejoin 5 yellow

??

Thanks in advance; I've made some maps that the campers love, but I don't think people over the age of 10 would be happy ignoring my mistakes, so there's no real point in offering them.
Title: Re: lockteams
Post by: jitspoe on June 20, 2008, 09:58:42 AM
You could put that in a config file, like "forcejoin.cfg", then type "exec forcjoin.cfg" at the console or bind it to a key.
Title: Re: lockteams
Post by: vlpronj on June 20, 2008, 01:27:56 PM
Thanks a ton - so far, it works, but only for the first FORCEJOIN command- is there a way to put multiple joins on one line, or am I missing something else?

Title: Re: lockteams
Post by: jitspoe on June 20, 2008, 01:37:36 PM
You can put multiple commands on one line using ";".  command 1;command 2; etc.
Title: Re: lockteams
Post by: XtremeBain on June 20, 2008, 01:38:13 PM
Thanks a ton - so far, it works, but only for the first FORCEJOIN command- is there a way to put multiple joins on one line, or am I missing something else?

I'm pretty sure this is because of the command-flood protection that was put into the game a long time ago.  Try putting a few `wait` commands in between to space them out a little.

i.e.:
forcejoin 0 blue
wait;wait;wait;wait;wait;wait
forcejoin 1 blue
wait;wait;wait;wait;wait;wait
forcejoin 2 red
wait;wait;wait;wait;wait;wait
....