Real-Time Damage Display 1.1
Description
This plugin will display the damage dealt as you attack, with a slide animation upward.
The slide animation is enabled by default but can be disabled.
This plugin is great for training to learn what kind of damage you deal as you play.
CVARs
realtimedamage_enabled [Default: 1] (
1 - On, 0 - Off)
NEW CVARS
realtimedamage_default [Default: 1] (
1 - On, 0 - Off)
realtimedamage_slide [Default: 1] (
1 - On, 0 - Off --> realtimedamage_animate in v1.0)
realtimedamage_triggers (
Default: "showdamage displaydamage")
realtimedamage_default cvar sets the default display mode for any new players to the server (provided realtimedamage_enabled is On).
This allows an admin to enable the plugin, but have it default to "Off" unless a player specifically turns it on for themself. (This is to accomodate the plug-in being enabled on a server but not be forced to display to those who might get annoyed by it)
realtimedamage_triggers cvar allows you to have custom say hooks for the plugin to be enabled/disabled by the players (for themselves only, of course). This is useful if you want to have shorter commands, or a multitude of commands that will enable/disable the Display for a user.
N.B. This CVAR only takes effect after you RELOAD the plugin (or restart server)
sm plugins reload # (where # is the plugin number from "sm plugins list")
example: realtimedamage_triggers "show damage"
If a player says any of
!show
/show
!damage
/damage
the display will be toggled on/off for that player
Changelog
August 04, 2009
- Version 1.1 released today, attached as realtimedamage.sp
- Old version still attached as realtimedamage1.0.sp
- Changed name of CVAR realtimedamage_animate to realtimedamage_slide
- Fixed bugs with some damage showing as negatives
- Added new functionality through 2 new cvars
- realtimedamage_triggers
- realtimedamage_default
Installation
Put the smx file into your Plugins folder
Screenshot
[IMG]http://img43.**************/img43/7615/plgoldrush0002b.jpg[/IMG]
Older version : realtimedamage1.0.sp
Latest version: realtimedamage.sp