ZPS Displayer V1.9
Hi. I've made a plugin to increase the gameplay of ZPS. The idea was to increase the options of team work and stress at ZPS. With the damage display you really know how you are doing this round and how much hp the person who killed you had(if you hit him/her). If your a zombie you can wait and attack humans when an infected person is about to turn. If your infected you can prepare a trick to your friends knowing exactly when you are turning. You can really know who did good in the round no matter if someone stole your frag. All the features in this plugin have a convar for management meaning you can really customize it. If you have any suggestions or any bug report I'd like to know. Enjoy.
Updates
1.9:
Changed player validation system. Last error fixed.
1.8:
Increased Round's Top cap. The ConVar "zpsdisplayer_top" now holds how many peoples will show in the top at once. Still 0 disables.
Fixed errors.
1.7:
Fixed errors.
Added real time Ranking Display.
Auto rebuilds "cfg\sourcemod\zpsdisplayer.cfg" when a new version is detected.
New ConVar: "zpsdisplayer_rankingindmg".
1.6:
Fixed Spectate bug.
Improved system.
1.5:
Fixed UpdateDelay wrong default value.
Improved system.
ScreenShots:
Damage Display At top + Infected Countdown at bottom.
[IMG]http://img200.**************/img200/4306/zpscabinb50000.jpg[/IMG]
When you spectate someone you can view his/her damages to.
[IMG]http://img190.**************/img190/5430/zpscabinb50002.jpg[/IMG]
Round's Top View
[IMG]http://img81.**************/img81/7412/zpscabinb50004.jpg[/IMG]
ConVar List:
Code:
ConVar's Name - Value - Description
zpsdisplayer_topx - -1.0 - X Pos of top display.
zpsdisplayer_topy - 0.1 - Y Pos of top display.
zpsdisplayer_bottomx - -1.0 - X Pos of bottom display.
zpsdisplayer_bottomy - 0.9 - Y Pos of bottom display.
zpsdisplayer_infected - 1 - Display Infected Survivors's countdown to Zombies, Spectators and the infected person (Not survivors team).
zpsdisplayer_damage - 1 - Display damage to attacker when someone gets hurt by someone else.
zpsdisplayer_top - 24 - Display round's top players based on damage when round ends. Value means the maximum players that are going to be displayed.
zpsdisplayer_update_delay - 1.0 - Minimum delay before updating damage stats.
zpsdisplayer_top_delay - 0.0 - Delay before removing top players display. 0 to remove on begin of next round.
zpsdisplayer_damage_delay - 10.0 - Delay before removing old hits from damage display.
zpsdisplayer_colors_r - 218.0 - Red value in text displayed.
zpsdisplayer_colors_g - 165.0 - Green value in text displayed.
zpsdisplayer_colors_b - 32.0 - Blue value in text displayed.
zpsdisplayer_colors_a - 255.0 - Alpha value in text displayed.
zpsdisplayer_rankingindmg - 1 - Displays the current rank and how much until next in the Damage Display.
zpsdisplayer_version - 1.8 - Version of ZPS Displayer plugin.
Notes: When Updating this plugin please restart your server. This plugin rewrites the configuration file when a different version is detected. Unlucky it's not possible to overwrite a convar's descrition and default value. The only way is restarting the server so the plugin would create the convar again. That means that while you don't restart your server after updating this plugin will keep on recreating the config file on every map change.
Round Tops' location can't be edited. It has a logic since puttin to much info in a single hud will glitch.
This plugin requires the "zpsinfectiontoolkit" gamedata to successfully work with all the features (Infection countdown).
This plugin requires the "zpsdisplayer.phrases" translation file to work.
The smx version of the plugin was compiled on SM 1.2.0. If your version is lower use the .sp file and compile in your scripting folder.
Whenever you update to a newer version the plugin will rebuild "cfg\sourcemod\zpsdisplayer.cfg".
Credits:
NBK - Sammy-ROCK! (Coder of the plugin, me)
Lapoxickle (Helped to get the Round's Top Players to work. Without his help I wouldn't have finished it yet)
NBK servers. For beta testing.