Raised This Month: $32 Target: $400
 8% 

ZPS Displayer


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Sammy-ROCK!
Senior Member
Join Date: Jun 2008
Location: Near Mrs.Lag
Plugin ID:
987
Plugin Version:
1.9
Plugin Category:
General Purpose
Plugin Game:
Zombie Panic!
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Display things about ZPS in the client's screen.
    Old 07-07-2009 , 23:27   ZPS Displayer
    Reply With Quote #1

    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.
    Attached Files
    File Type: zip ZPSDisplayer.zip (17.9 KB, 1875 views)
    File Type: txt zpsdisplayer.phrases.txt (911 Bytes, 731 views)
    File Type: sp Get Plugin or Get Source (zpsdisplayer.sp - 1708 views - 21.5 KB)
    File Type: txt zpsinfectiontoolkit.txt (128 Bytes, 753 views)

    Last edited by psychonic; 03-23-2010 at 12:25. Reason: Reason: changed "game" field to newly created ZPS category
    Sammy-ROCK! is offline
    Chaos Llama
    Senior Member
    Join Date: Jul 2006
    Old 07-08-2009 , 01:54   Re: ZPS Displayer
    Reply With Quote #2

    Cool plugin.

    Does this increase server load?
    Chaos Llama is offline
    Harley
    Member
    Join Date: Aug 2006
    Old 07-08-2009 , 07:44   Re: ZPS Displayer
    Reply With Quote #3

    I have a prob

    L 07/08/2009 - 13:43:15: [SM] Native "HookEvent" reported: Game event "ambient_play" does not exist
    L 07/08/2009 - 13:43:15: [SM] Displaying call stack trace for plugin "zpsdisplayer.smx":
    L 07/08/2009 - 13:43:15: [SM] [0] Line 72, zpsdisplayer.sp::OnPluginStart()
    __________________
    Harley is offline
    Sammy-ROCK!
    Senior Member
    Join Date: Jun 2008
    Location: Near Mrs.Lag
    Old 07-08-2009 , 09:16   Re: ZPS Displayer
    Reply With Quote #4

    This is for the mod Zombie Panic Source only. There was no option of it so I had to leave at any.
    Sammy-ROCK! is offline
    Harley
    Member
    Join Date: Aug 2006
    Old 07-08-2009 , 09:50   Re: ZPS Displayer
    Reply With Quote #5

    Ups Sorry
    __________________
    Harley is offline
    FredJed223
    Senior Member
    Join Date: Feb 2008
    Old 07-08-2009 , 20:58   Re: ZPS Displayer
    Reply With Quote #6

    CAnt get this to work. Loads fine but i get the following error:

    L 07/08/2009 - 19:54:14: SourceMod error session started
    L 07/08/2009 - 19:54:14: Info (map "zpo_harvest") (file "errors_20090708.log")
    L 07/08/2009 - 19:54:14: [SM] Native "Format" reported: Client index 14 is invalid
    L 07/08/2009 - 19:54:14: [SM] Displaying call stack trace for plugin "zpsdisplayer.smx":
    L 07/08/2009 - 19:54:14: [SM] [0] Line 290, zpsdisplayer.sp::ReDisplayStats()
    L 07/08/2009 - 19:54:14: [SM] [1] Line 573, zpsdisplayer.sp::ClientDisplayTimer()
    L 07/08/2009 - 20:22:04: Error log file session closed.
    FredJed223 is offline
    Sammy-ROCK!
    Senior Member
    Join Date: Jun 2008
    Location: Near Mrs.Lag
    Old 07-08-2009 , 21:23   Re: ZPS Displayer
    Reply With Quote #7

    Fixed.
    Sammy-ROCK! is offline
    ulx
    SourceMod Donor
    Join Date: Sep 2006
    Old 07-09-2009 , 04:09   Re: ZPS Displayer
    Reply With Quote #8

    looks very cool - can you provide support for CS:S as well? So that at the end of each round the top 5 damager are shown at the top of the screen for some seconds?

    That would be great ...
    __________________
    ulx is offline
    Sammy-ROCK!
    Senior Member
    Join Date: Jun 2008
    Location: Near Mrs.Lag
    Old 07-22-2009 , 13:03   Re: ZPS Displayer
    Reply With Quote #9

    Probably. CS:S would be even easier and would me smother since it provides the dmg in the player_hurt event.
    Sammy-ROCK! is offline
    |PJ| Shorty
    Veteran Member
    Join Date: Aug 2005
    Location: Bavaria, Germany
    Old 07-22-2009 , 21:23   Re: ZPS Displayer
    Reply With Quote #10

    doesnīt work for me
    no errors, plugin runs but does nothing
    all with default settings
    __________________
    There are only 10 types of people in the world:
    Those who understand binary, and those who donīt.
    |PJ| Shorty is offline
    Send a message via ICQ to |PJ| Shorty Send a message via AIM to |PJ| Shorty Send a message via MSN to |PJ| Shorty Send a message via Yahoo to |PJ| Shorty Send a message via Skype™ to |PJ| Shorty
    Reply


    Thread Tools
    Display Modes

    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 19:31.


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