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

WarriorMod


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
MistaGee
Senior Member
Join Date: Aug 2004
Location: Germany (Fulda)
Plugin ID:
237
Plugin Version:
2.1.10
Plugin Category:
Server Management
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Clanwar manager handling restarts, score counting, teamchanges, demo recording and config loading.
    Old 12-24-2007 , 07:12   WarriorMod
    Reply With Quote #1

    This plugin is a complete rewrite of my original MM:Source plugin, that's why version numbering starts at 2.

    Features:
    • Admin menu integration (Bug: does not appear after sm plugin reload...)
    • Warmup rounds with $16k cash
    • Vote after Warmup: Continue Warmup / Knife / Live
    • config loading, depending on how many players are connected (defaults to ESL config, but can be anything you like - see cVars)
    • kicking/banning a complete team
    • auto mapchange after war, if war_next_map is set
    • Setting Maxrounds/Nextmap via Menu or commands
    • automatic SrcTV demo recording (optional), demos fulfill SteamBans submission requirements if sbsrc >= 4.0.0 installed
    • 3 restarts
    • Knife round (optional): Weapons are stripped from players at round start, winner team gets to vote "stay or leave". The plugin reacts accordingly, going live either immediately or after the teams have been changed.
    • Live mode: Score and Rounds are counted, Stats displayed during freezetime
    • After the first half has been played: Teams are automatically changed, Live is restarted
    • second half: team score is counted again
    • after the second half has been played: Final score is displayed, plugin resets itself.
    • Asking "ready?" before the clanwar starts
    • multilanguage support
    • Team name detection
    • Naming recorded demos according to the detected team names, map name and date/time.
    • Storing results in a MySQL table
      If a database config named warriormod exists this one is used. If not, default is tried - if that doesn't exist either, this functionality is disabled.
    cVars:
    • war_version
      Displays the current WarriorMod version.
    • war_rounds (12)
      How many rounds to play. Defaults to 12, but can be any number you want.
    • war_rounds_wu (5)
      How many rounds to play during WarmUp phase. The actual number played can vary from that, as players can vote for warmup to be extended.
    • war_fadetoblack (0)
      ESL configs set fadetoblack to 1. If you don't like this, set this cVar to 0, and fadetoblack will be turned off; set to 1, and it will always be turned on; set to -1 and it will be left unchanged.
    • war_pausable (0)
      Same as fadetoblack for sv_pausable.
    • war_record (1)
      Set to 1 if you want a SrcTV demo to be recorded. The file name will name both teams, the map played, and a timestamp.
    • war_config
      Specifies the config you want to be executed. %s will be replaced by e.g. 3on3.
    • war_config_end
      Config file to be execed when the war is over or the plugin is reset.
      Note: %s will not be replaced here.
    • war_next_map
      Map to be loaded when the current war is finished. If empty, map won't be changed.
    • war_vote
      If 1, the plugin will vote for "Ready?" before knifing / live gaming starts.
    • war_finish (1)
      If 0, the war stops after one team reached a score of MR+1.
    • war_showmoney (0)
      Show money of your team mates in the status panel?
    • war_suddendeath (1)
      On draw, should a sudden death round be played?
    Config file: cfg/sourcemod/warriormod.cfg
    If it doesn't exist, it will be auto generated using the default values for the cVars.


    Admin Commands (Adminlevel: Custom1):
    • war_knife
      Starts a war with a knife round.
    • war_live
      Starts a war, skipping knife round.
    • war_reset
      Resets the plugin, deleting all scores and finishing the demo.
    • war_maxrounds
      Sets or displays maxrounds.
    • war_nextmap
      Sets or displays nextmap.
    • war_warmup
      Starts a warmup round.
    • war_live_end / war_knife_end:
      Like war_live/knife, but wait until round end.
    I might still add some features in the future, but the major part of the plugin works as intended and is ready for use. I've played a couple of real clanwars with it, it works as far as I know - if you find any bugs, please let me know.


    Changes:
    2.1.10:
    • Status panel doesn't block 1-5 keys anymore
    • turn off friendly fire in sudden death
    • Only allow vest to be bought in knife round
    • re-run sb_status when a player joins during the war
    2.1.9:
    • After a not so nice cheating incident, the recorded SrcTV demos now fulfill SteamBans submission requirements. Too bad the guy that gave me the idea won't "profit" from this.
    2.1.8:
    • Bugfix: Stripping weapons in Knife Round actually works - I stripped too early before, Terrs still had the bomb
    • Bugfix: Switching to knives works correctly, people won't spawn without a weapon at hand (even though that was somehow cool )
    • Sudden Death implemented: On Draw, everyone spawns with 1 HP and an M249, bomb is stripped, buying is restricted - last man standing wins.
    2.1.7:
    • New panel is shown while restarts are performed
    • Spectators don't get panels but simple chat messages, this way SrcTV will show status info in the demos and to connected clients
    2.1.6-2:
    • Round counting bug fixed when second half is restarted
    2.1.5:
    • Bugfix: only their own cash was shown to a player
    • Startmoney will be changed back to the old value instead of 800 after warmup
    • fixed a compile warning
    2.1.4:
    • war_knife/live_end
    • war_showmoney
    • war_finish
    • Status panel format updated
    2.1.2:
    • CVar war_version is no longer included in the auto-created config files.
    2.1.1:
    • Bugfix - Typo: "Team sizes not equal" message wasn't shown, so the plugin wouldn't start a war in this case
    2.1.0:
    • first full-featured version
    • storing results to MySQL
    2.0.14:
    • team name detection
    • demo naming
    2.0.13:
    • multilanguage support
    2.0.12:
    • startmoney being set to 800 after warmup
    • some minor changes to the menu
    2.0.11:
    • "Ready?" votes
    • automatic teamchange
    • Warmup settings integrated into admin menu
    2.0.10:
    only a testing version, no official release

    2.0.9:
    • cvar war_config_end: Is executed by war_reset and after the war ended.
    • Warmup rounds
    • Chat messages, when WU/Knife/Live are initiated
    Enjoy,
    MistaGee

    PS: Be sure to also check out the updated version by Snake60 in this thread.
    Attached Files
    File Type: sp Get Plugin or Get Source (warriormod.sp - 5750 views - 49.0 KB)
    File Type: txt warriormod.phrases.txt (4.8 KB, 3669 views)
    __________________
    Ich hab nie behauptet dass ich kein Genie bin!
    Mumble-Django: A web interface for Mumble

    Last edited by MistaGee; 10-16-2011 at 16:56. Reason: version 2.1.8
    MistaGee is offline
    Send a message via ICQ to MistaGee
     



    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 04:24.


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