[L4D] RageMeter
5 Attachment(s)
L4D RageMeter ...formerly L4D RageCampaign Description This is a FUN and "simple" plugin which keeps track of all users that enter and leave the server during a round and campaign. It allows for people to leave and rejoin within the same round and takes account accordingly (rage quitters are considered those that don't return within the same round). It also counts sourcemod kicks and ingame vote kicks separately from quits. Without any CVar's configured, by default, the plugin will output to chat when players are put into the server instructing them on its use(happens when the client is placed in the server). Running counts are kept for Current Rages Per Minute(RPM), current round, last round, the best round, kicks, as well as the entire campaign. The console command sm_rage (!rage) is used to display a panel with counts when running in silent mode as well as with chat messages turned on. Sounds are turned on by default. This plugin properly resets the count when voting sends everyone back to the lobby or changes the campaign. It also resets at the end of the Campaign and DOES NOT count when people leave after a round has ended or before the next round has started (BY DEFAULT - but you can change this). Installation copy l4d_ragemeter.smx to addons/sourcemod/plugins/ Commands sm_rage (!rage): Displays panel with rages per minute(rpm), running counts kept for each round, last round, the best round, kicks, as well as the entire campaign. CVAR=DefaultValue //Description l4d_ragemeter_debug=0 //Debug logging l4d_ragemeter_silent=1 //Determines whether or not to send general count notices to all players l4d_ragemeter_log=0 //Determines whether or not to send general count notices to SM logs l4d_ragemeter_kicked=1 //Determines whether or not to notify on kicked clients l4d_ragemeter_freshmeat=0 //Determines whether or not to notify on new clients l4d_ragemeter_connect_ad=1 //Determines whether or not to inform clients of plugin on putinserver event(only works when l4d_ragemeter_silent=1) l4d_ragemeter_rpm=1 //Determines whether or not to display rages per minute l4d_ragemeter_auth_type=1 //Count based on Names(0) or SteamID's(1) l4d_ragemeter_reset_type=0 //Reset on Round End(0) or Round Start(1) l4d_ragemeter_rpm_calc_time=60.0 //How often to recalculate the rpm value when no one has quit l4d_ragemeter_play_sounds=15 //Play notification sounds: add each together to get the combination you want: 0=Off,1=Rage,2=Kick,4=Rejoin,8=FreshMeat l4d_ragemeter_fresh_sound="UI/helpful_event_1.wav" //Plays to everyone when new players join l4d_ragemeter_rejoin_sound="UI/holdout_medal.wav" //Plays to everyone when a player rejoins l4d_ragemeter_rage_sound="UI/critical_event_1.wav" //Plays to everyone when players quit l4d_ragemeter_kick_sound="player/survivor/voice/TeenGirl/WorldAirport05NPC07.wav" //Plays to everyone when players are kicked Versioning Code:
1. Store best round, best campaign, and total quit stats in sql lite or text file with reset option for admins. 2. Implement a player level vote to forgive quitting. 3. Implement an admin level command to forgive quitting for one user at a time. 4. Implement admin level feature checks--make certain or all output only available to admins 5. Separate RoundStart and RoundEnd notices into their own ConVars. 6. Move to multi-language with phrases for all ingame notices. 7. User display preferences with admin preferences also available ToDo's Completed 1. Change plugin name to RageMeter 2. Implement a finale check to allow people to quit after the last group of survivors are rescued and before the campaign officially ends. 3. Check for L4D player vote kicks and add them to the kick count rather than the quit count. 4. Switch to PrintToChat and cut down on text in output. 5. Added sound to player connection events 6. Added timer to rpm calculation 7. Added option to count between rounds as part of the last round (delays lastRound/bestRound stats) |
Re: Darkness' [L4D] Rage Campaign
Eh the game for the plugin description, should be Left 4 Dead lol.
Looks interesting :) |
Re: Darkness' [L4D] Rage Campaign
That's what I get for having to resubmit my thread...lol
|
Re: [L4D] Rage Campaign
works fine but it doesnt seem to create a cfg for configuration.
|
Re: [L4D] Rage Campaign
Quote:
|
Re: [L4D] Rage Campaign
Adding AutoExecConfig, HookConVarChange, and CVAR_FLAGS.
--Done. Going to start working on the ToDo's. |
Re: [L4D] Rage Campaign
I only need FCVAR_NOTIFY on public cvar's right?
|
Re: [L4D] RageMeter
A lot of updates...please tell me what you think:)
|
Re: [L4D] RageMeter
You must fill in description and version in topic header. Otherwise it cant be approved. Just a tip.
|
Re: [L4D] RageMeter
It seems that the forum decided to reset those values as they were there when I posted originally and during subsequent updates last night...adding them again. Had a lot of trouble with service unavailable messages in the middle of updating.
|
All times are GMT -4. The time now is 06:49. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.