Raised This Month: $51 Target: $400
 12% 

Auto Swap Team


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Experto
Member
Join Date: Jan 2008
Location: Brasil
Plugin ID:
2185
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Unapprover:
    Reason for Unapproving:
    Authors request. Repost at http://forums.alliedmods.net/showthread.php?t=148239
    Old 01-22-2011 , 23:07   Auto Swap Team
    Reply With Quote #1

    English - by Google

    This plugin does the automatic exchange of teams according to the options selected.
    While most of the plugins to exchange only works with teams setting number of rounds, with the Auto Swap Team is possible to configure the automatic exchange of four different ways, restart the money, clean deaths, clean points and restart the weapons according to the team. You can also make admins immune to automatic exchange and sounds and warning messages to the players.

    The types of automatic exchange are:
    1 = PER TIME: Changing the teams to reach half the allotted time for the map (CVAR mp_timelimit);
    2 = NR BY THE ROUNDS: Switch the teams when one reaches half the maximum stipulated rounds for the map (CVAR mp_maxrounds);
    BY NR = 3 Wins: Switching teams after one reaches half the maximum allowed for victories map (CVAR mp_winlimit);
    4 = BY SCORE: Switching teams when a player reaches half the maximum points allowed for the map (CVAR mp_fraglimit).

    The plugin supports Internationalization, allowing your message to be translated into any foreign language, making their use more friendly to players.
    For convenience, the Auto Swap Team automatically creates a configuration file in the folder settings SourceMod (cfg / SourceMod) once it is installed.
    You can also configure a sound to be played on the alert for changing the automatic exchange value of the variable sm_autoswapteam_sound_file.




    Português-BR

    Este plugin faz a troca automática de times de acordo com as opções selecionadas.
    Enquanto que a maioria dos plugins de troca de times funciona apenas com configuração de quantidade de rodadas, com o Auto Swap Team é possível configurar a troca automática de 4 formas diferentes, reiniciar o dinheiro, zerar as mortes, zeras os pontos e reiniciar as armas de acordo com o time. Também é possível tornar os admins imunes à troca automática e emitir sons e mensagens de aviso para os jogadores.
    Os tipos de troca automática são:
    1 = POR TEMPO: Troca os times ao atingir a metade do tempo estipulado para o mapa (CVAR mp_timelimit);
    2 = POR NR DE RODADAS: Troca os times quando um deles atingir a metade do máximo de rodadas estipuladas para o mapa (CVAR mp_maxrounds);
    3 = POR NR DE VITORIAS: Troca os times após um deles atingir a metade do máximo de vitórias permitidas para o mapa (CVAR mp_winlimit);
    4 = POR PONTUACAO: Troca os times quando um jogador atingir a metade do máximo de pontos permitidos para o mapa (CVAR mp_fraglimit).

    O plugin Auto Swap Team suporta Internacionalização, permitindo que suas mensagens sejam traduzidas para qualquer língua estrangeira, tornando sua utilização mais amigável para os jogadores.
    Para facilitar, o Auto Swap Team cria automaticamente um arquivo de configuração na pasta de configurações do sourcemod (cfg/sourcemod) assim que ele é instalado.
    Também é possível configurar o som que será tocado no alerta de troca automática alterando o valor da variável sm_autoswapteam_sound_file.




    autoswapteam.cfg:
    Code:
    // This file was auto-generated by SourceMod (v1.3.7-dev)
    // ConVars for plugin "autoswapteam.smx"
     
    // Admins sao imunes ao Auto Swap? [0 = NAO, 1 = SIM]
    // -
    // Default: "0"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    sm_autoswapteam_admin_immune "0"
    // Mensagem de aviso? [0 = NAO, 1 = SIM]
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    sm_autoswapteam_advert "1"
    // Liga/Desliga o Auto Swap Team. [0 = Desligado, 1 = Ligado]
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    sm_autoswapteam_enable "1"
    // Tocar som? [0 = NAO, 1 = SIM]
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    sm_autoswapteam_playsound "1"
    // Zerar Dinheiro? [0 = NAO, 1 = SIM]
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    sm_autoswapteam_resetcash "0"
    // Zerar Mortes? [0 = NAO, 1 = SIM]
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    sm_autoswapteam_resetdead "0"
    // Zerar Pontuacao? [0 = NAO, 1 = SIM]
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    sm_autoswapteam_resetfrag "0"
    // Remover Armas? [0 = NAO, 1 = SIM]
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    sm_autoswapteam_resetweapon "0"
    // Define acao para o score. [0 = MANTER, 1 = ZERAR, 2 = TROCAR]
    // -
    // Default: "2"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    sm_autoswapteam_scoretype "2"
    // Endereco do arquivo de som
    // -
    // Default: "ambient/misc/brass_bell_C.wav"
    sm_autoswapteam_sound_file "ambient/misc/brass_bell_C.wav"
    // Define o tipo do Auto Swap. [1 = TEMPO, 2 = NR DE RODADAS, 3 = NR DE VITORIAS, 4 = PONTUACAO]
    // -
    // Default: "1"
    // Minimum: "1.000000"
    // Maximum: "4.000000"
    sm_autoswapteam_type "1"


    This plugin was based on plugins "Swap Team" (v. 1.0.0) and "CSS Auto Swap Teams" (v. 2.3.1).
    Este plugin foi baseado nos plugins "Swap Team" (v. 1.0.0) e "CSS Auto Swap Teams" (v. 2.3.1).
    Experto is offline
    Experto
    Member
    Join Date: Jan 2008
    Location: Brasil
    Old 01-22-2011 , 23:09   Re: Auto Swap Team
    Reply With Quote #2

    Please, delete this!

    The correct is: http://forums.alliedmods.net/showthread.php?t=148239

    Last edited by Experto; 01-23-2011 at 09:23.
    Experto is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 14:55.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode