Author Topic: lockteams  (Read 3262 times)

wyczawski

  • PGP
  • Posts: 1
lockteams
« 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.

Eiii

  • Autococker
  • Posts: 4595
Re: lockteams
« Reply #1 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.

KiLo

  • Autococker
  • Posts: 2086
Re: lockteams
« Reply #2 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

XtremeBain

  • Developer
  • Autococker
  • Posts: 1470
Re: lockteams
« Reply #3 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...

KiLo

  • Autococker
  • Posts: 2086
Re: lockteams
« Reply #4 on: November 13, 2007, 03:19:56 PM »
This game seriously needs auto-balance though...

* KiLo reiterates what the feature vote thread is for.

KnacK

  • Global Moderator
  • Autococker
  • Posts: 3039
Re: lockteams
« Reply #5 on: November 13, 2007, 03:24:45 PM »
I already added that to the feature request list.

XtremeBain

  • Developer
  • Autococker
  • Posts: 1470
Re: lockteams
« Reply #6 on: November 13, 2007, 03:28:14 PM »
* KiLo 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.

Re

  • VM-68
  • Posts: 114
Re: lockteams
« Reply #7 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

Edgecrusher

  • Autococker
  • Posts: 815
Re: lockteams
« Reply #8 on: November 15, 2007, 06:14:11 AM »
Or you can also download Zorch's menus and do it easily from there.

;)

y00tz

  • Autococker
  • Posts: 2742
Re: lockteams
« Reply #9 on: November 15, 2007, 08:15:26 AM »

DaRkNeSS

  • Autococker
  • Posts: 622
Re: lockteams
« Reply #10 on: November 17, 2007, 01:48:05 PM »
DP pubs need some type of team balance system like Counter-Strike has.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: lockteams
« Reply #11 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.

vlpronj

  • PGP
  • Posts: 2
Re: lockteams
« Reply #12 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.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: lockteams
« Reply #13 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.

vlpronj

  • PGP
  • Posts: 2
Re: lockteams
« Reply #14 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?


jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: lockteams
« Reply #15 on: June 20, 2008, 01:37:36 PM »
You can put multiple commands on one line using ";".  command 1;command 2; etc.

XtremeBain

  • Developer
  • Autococker
  • Posts: 1470
Re: lockteams
« Reply #16 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
....