Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin

dod_swapteams

by strontiumdog · 2007-01-13 · 10 replies · 13275 views · 84 downloads

Read the thread (11 posts)

From the first post

A plugin to swap teams and respawn players with the same kind of weapon that they had.
rn
rnFor example, an American player with a Garand would be swapped over to an Axis player with a Kar. Or an Axis player with a MP40 could be swapped over to a Sten if the map was British.
rn
rnCommands
rnamx_swapteams
rnManually allows admins to swap teams
rn
rnCVARS
rnmp_autoswap_enabled <0 | 1>
rnAutomatically swaps teams at the end of each round. Can be configured on a map by map basis
rn
rnCredits
rnDiamond-Optic for determining map whether it's American or British
rnTatsuSaisei for correcting my code!

Files

dod_swapteams.sma Plugin Source 10 KB 84 dl Download Compile

The thread

All 11 posts from 9 people on dod_swapteams, kept as they were written.

strontiumdog
started this thread
Posts: 27
Threads: 6
Joined: Nov 2006
01-13-2007, 06:39 PM #1

A plugin to swap teams and respawn players with the same kind of weapon that they had. rnrnFor example, an American player with a Garand would be swapped over to an Axis player with a Kar. Or an Axis player with a MP40 could be swapped over to a Sten if the map was British.rnrnCommandsrnamx_swapteamsrnManually allows admins to swap teamsrnrnCVARSrnmp_autoswap_enabled <0 | 1>rnAutomatically swaps teams at the end of each round. Can be configured on a map by map basisrnrnCreditsrnDiamond-Optic for determining map whether it's American or BritishrnTatsuSaisei for correcting my code!

tegu
posted here
Posts: 191
Threads: 11
Joined: Aug 2006
01-14-2007, 09:13 PM #2

Cvars and commands please??

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
01-14-2007, 09:17 PM #3

no cvars.. just one command:n

amx_swapteams > swap all players teams
tegu
posted here
Posts: 191
Threads: 11
Joined: Aug 2006
01-14-2007, 09:18 PM #4
no cvars.. just one command:
rnrnrnWow! Ok, so by using the command amx_swapteams both teams completely swap??rnrnKick butt!

Wilson [29th ID]
posted here
Posts: 623
Threads: 57
Joined: Oct 2005
01-15-2007, 06:47 AM #5

Good idea for a plugin!

WARDOG
posted here
Posts: 141
Threads: 14
Joined: Jan 2006
01-07-2008, 10:12 PM #6

Is there a way to code this to auto switch at the end of a round, with added cvar support?

{DwP} 325th ABN
posted here
Posts: 231
Threads: 12
Joined: Aug 2006
01-08-2008, 02:26 AM #7

nice job will be using this one yes yes

strontiumdog
started this thread
Posts: 27
Threads: 6
Joined: Nov 2006
05-10-2009, 10:58 AM #8

Updated.nNow automatically swap teams at the end of each round.nnUse mp_autoswap_enabled <0 | 1> to set it up for every map in server.cfg or for each map individually, such as Avalanche...

I ismchissis
posted here
Posts: 1
Threads: 0
Joined: Oct 2009
10-20-2009, 05:16 AM #9

Hope everyone is doing well. I'm going to read through a ton of old posts now so I can catch up on what's going on around here.nnn__________________nSonnerie portable gratuit mp3 - Sonneries portable pour mobile - Telecharger sonneries portables gratuites

RichNagel
posted here
Posts: 49
Threads: 8
Joined: Jan 2012
06-04-2016, 08:33 PM #10

Sorry for digging up this old thread, but I was wondering if something was up with the forums? I can't seem to be able to download the source for this plugin. Clicking on the "Source" link displays a 1x1 pixel sized image (?).

PartsPro
posted here
Posts: 4
Threads: 0
Joined: Dec 2005
06-09-2016, 07:37 PM #11

same here I can't download the plugin or the source file

DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC