Ace Swapteams V3 Updated 02 Jan 2008

This script will simply swap teams after ever x number of rounds (you can configure how many rounds).
You can swap humans and / or bots (optional).
It will message the server clearly so that players know what is going on.
Players keep their score (optional).
It plays a bell on the final round before swapping, during swapping and on the 1st of a new set of rounds (optional).
If a player types "rounds" they will see the round info.
Team scores can now optionally be swapped - Thanks to Einlanzers for the score corelib addition.

Requirements:

Event Scripts v1.2 or higher
Mani Admin (1.2 + for seamless teamswapping)

INSTALLATION:

Download the .rar file


      Extract the folders exactly as they are in the rar file.


.http://forums.eventscripts.com/addons/eventscripts/ace_swapteams/es_ace_swapteams.txt

      Edit the configuration options in the file es_ace_swapteams.txt to your liking



      Add the line


es_load ace_swapteams

      to your autoexec.cfg



      Restart Server


    No more listening to people whining about not liking THAT team



Please make sure you are not admin immune to being swapped!

Here are the editable parameters
Code:

// SWAP TEAM SCORES WHEN SWAPPING TEAMS (0= NO / 1 = YES)
es_xsetinfo ts_score_var 1
// SWAP ALL PLAYERS, HUMANS ONLY, BOTS ONLY? (0 = ALL 1 = HUMAN ONLY 2 = BOTS ONLY)
es_xsetinfo aswap_type 0
// CHANGE THIS VALUE TO NUMBER OF ROUNDS TO PLAY BEFORE SWAPPING
es_xsetinfo swap_var 15
// CHANGE THIS VALUE TO HOW MANY ROUND BEFORE SWAP YOU WANT TO START ANNOUNCING IN CHAT
// EXAMPLE 0 WILL ANNOUNCE EVERY ROUND 3 WILL ANNOUNCE THE LAST 3 ROUNDS BEFORE SWAPPING
es_xsetinfo announce_var 3
// PLAY SOUNDS (RINGS A BELL ON ROUND BEFORE SWAP AND FIRST ROUND 1= YES 0 = NO)
es_xsetinfo sound_on_swap 1
// RESET SCORES AND MONEY AT TEAM SWAP (1 = YES 0 = NO DEFAULT = NO)
// IF YOU USE THIS IT IS POINTLESS HAVING SWAP TEAM SCORES ON :-)
es_xsetinfo reset_on_swap 0
// CHANGE MAP AFTER HOW MANY SWAPS (0 = never change map - unless map time is over of course)
es_xset change_after_swaps 0
//
// DO NOT EDIT BELOW THIS LINE
//


This script now replaces all older versions. DO NOT USE WITH OLDER VERSION OF ACE SWAPTEAMS. I fully recommend everyone using the older version to update now. You must also be using Event Scripts Version 1.0.0.000 or higher.


Orignal From: Ace Swapteams V3 Updated 02 Jan 2008

No comments

Not a single link is allowed to submit in comment :o