View Single Post
Author Message
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Old 06-26-2008 , 00:05   [DODS] Swap Teams at Round End v1.0.200
Reply With Quote #1

This is in response to:
http://forums.alliedmods.net/showthread.php?t=72786

When a round is won, the teams are automatically swapped over. In other words, the Allies become Axis and vice versa.

Can be configured on a per map basis.

Installation
  • Copy sm_dod_swapteams.smx to addons/sourcemod/plugins
  • In the cfg folder, create cfg files for each of the maps you wish to run this plugin:
    e.g.
    Create a file called dod_jagd.cfg in the cfg folder
    Add sm_dod_swapteams 1 and save
    Each time Jagd is run, the teams will be swapped.

    or

    If you want to run this on every map, add
    sm_dod_swapteams 1
    to your server.cfg
Configuration
sv_dod_swapteams 0 | <1 .. >
default is off
Set to 1 to swap teams every round. Or set to 2 to swap teams every other round...


Changelog
Version 1.0.100
SourceMod release.

Version 1.0.101
+ Fixed players dying on team swap

Version 1.0.200
+ Added code by Psychocoder to swap teams after a certain number of rounds
Attached Files
File Type: sp Get Plugin or Get Source (sm_dod_swapteams.sp - 2622 views - 3.0 KB)
__________________
Plugins | TheVille
Zombie Mod for DoD:S - l4dod.theville.org

Last edited by strontiumdog; 05-20-2009 at 09:40.
strontiumdog is offline