Competitive Plugin Code
Status: Beta
Brought to you by:
mongoose7001
File | Date | Author | Commit |
---|---|---|---|
BuildInstructions.txt | 2008-10-14 | mongoose7001 | [r21] |
CompetitivePlugin.cpp | 2008-10-12 | mongoose7001 | [r18] Beta 1.0, Working overtime |
CompetitivePlugin.h | 2008-10-12 | mongoose7001 | [r18] Beta 1.0, Working overtime |
CompetitivePlugin.sln | 2008-09-05 | Alex | [r2] |
CompetitivePlugin.vcproj | 2008-10-12 | mongoose7001 | [r18] Beta 1.0, Working overtime |
CompetitivePlugin_convar.cpp | 2008-09-16 | mongoose7001 | [r16] |
InstallGuide.txt | 2008-10-14 | mongoose7001 | [r21] |
MRecipientFilter.cpp | 2008-09-05 | Alex | [r1] |
MRecipientFilter.h | 2008-09-05 | Alex | [r1] |
README.txt | 2008-10-13 | mongoose7001 | [r20] |
iserverplugin.h | 2008-09-13 | mongoose7001 | [r14] Added cvar checking functionality (on connect),... |
README.txt Competitive Plugin BETA 1.0 by Alex O'Konski (hoodedmongoose1@yahoo.com) This plugin automates the process of playing a competitive game of counter-strike. The interface provided to the players and the server is outlined in this document. The full source code can be obtained from: https://sourceforge.net/projects/competitiveplug/ The current state of the game will be reflected by a message sent to every player at the beginning of each round, in the upper-left hand corner of the screen. In either the 'pregame' or 'half time' phase, players can signal that they are ready by typing '.ready', and signal they are not ready by typing '.notready'. Players can see a list of exactly who is ready and not ready by typing '.status'. When all players are ready, the game is automatically started. The rest of the behavior is best explained by describing each cvar added by the game. All the cvars added by Competitive Plugin have a cp_ prefix. cp_numplayers - The number of players needed ready for the game to start. changeable at any time. cp_reset - Set to 1 to reset the plugin completely, 2 to reset but keep scores and remember what half it is. If the plugin ever gets into a weird state, cp_reset 1 is your best bet to fix it. cp_maxrounds - Number of rounds per half. If the game is currently in progress, it will be restarted. cp_maxroundsot - Number of rounds per overtime half. Currently restarts the game when changed (hopefully this will be changed in the future). cp_lo3cfg - Name of desired lo3 config file. This will get executed at each half. If left blank, a simple mp_restartgame 1 will be executed instead. cp_lo3otcfg - Name of desired lo3 overtime config file. This will get executed at each overtime half. If left blank, a simple mp_restartgame 1 will be executed instead. cp_pregamecfg - Name of desired pregame config file. It is assumed it contains some sort of restart. If left blank, mp_startmoney will be changed to 16000, and mp_freezetime to 0 at the start of freezetime. cp_forcestart - Set to 1 to force the start of the half (works for overtime too). cp_overtime - Use this to put the game into overtime mode. This will set both team scores to cp_maxrounds. cp_league - Valid settings: cal. When set to 'cal', all of the cvars will be changed to conform to cal settings. As of the time of this writing, these are: cp_numplayers 10 cp_maxrounds 12 cp_maxroundsot 3 cp_lo3cfg lo3cal.cfg cp_lo3otcfg lo3cal_ot.cfg