Difference between revisions of "Kill Notify Plugin"
| Line 19: | Line 19: | ||
To install the plugin, simply download the files, unzip them, and then copy the addons folder into your game server's main directory. This will add ALL of the files into your game's "addons/sourcemod" directories. If asked to merge folders, click yes. If asked to overwrite, click yes. There is no special configuration files or cvars for this plugin, it works right out of the box. This was made to work in ZPS, but can be modified to work for other games as well. | To install the plugin, simply download the files, unzip them, and then copy the addons folder into your game server's main directory. This will add ALL of the files into your game's "addons/sourcemod" directories. If asked to merge folders, click yes. If asked to overwrite, click yes. There is no special configuration files or cvars for this plugin, it works right out of the box. This was made to work in ZPS, but can be modified to work for other games as well. | ||
| − | + | This guide also assumes you are using Sourcemod/Metamod, so if you haven't installed those, do so before adding the plugin files to your server! This version of the plugin was compiled on SM 1.7.3, so it should work for Sourcemod 1.7.3 or later. If you need this for an older/specialized version of Sourcemod, you may want to compile the plugin (script files are included) for your version of Sourcemod. | |
| − | This | ||
| − | |||
| − | This version of the plugin was compiled on SM 1.7.3, so it should work for Sourcemod 1.7.3 or later. If you need this for an older/specialized version of Sourcemod, you may want to compile the plugin (script files are included) for your version of Sourcemod. | ||
All of this is provided "as is". While this plugin should not cause harm, any harm caused by the plugin, user handling, or anything else Vertigo Gaming and all associated coders are not responsible for it. Use at your own risk! | All of this is provided "as is". While this plugin should not cause harm, any harm caused by the plugin, user handling, or anything else Vertigo Gaming and all associated coders are not responsible for it. Use at your own risk! | ||
Latest revision as of 14:38, 1 April 2017
This ZPS plugin tells who was killed by whom, with what weapon (if any), and what team they belonged to when they died. This plugin is more of a fun plugin that a server owner can use to show player deaths.
How It Works
The plugin creates a hook to watch for all player deaths and will, depending on how they died, display a message to all users in chat with the player that killed them, the weapon that was used (if it was a zombie kill, it will only show that a player killed another player and not display a weapon), and the team that killed them will have their colors displayed. This is the color coding:
- Human players are displayed as Blue.
- Zombie players are displayed as Green.
The weapon name that was used to kill the player is displayed unless it is a zombie who killed the player (as they only have one weapon: their hands). Generally, most weapon names are straight forward, but some weapons, like the Remmy or IED are known as different names in their weapon files, so they had to be parsed in order to display a proper name.
This plugins also used the Colors include for the colors it used. Because ZPS is still on Source 2007, the color palate is limited and can only display certain colors. In the future, this may be updated to include more colors.
Code and Plugin Download
Below is the download link and code for the plugin:
How To Install Plugin
To install the plugin, simply download the files, unzip them, and then copy the addons folder into your game server's main directory. This will add ALL of the files into your game's "addons/sourcemod" directories. If asked to merge folders, click yes. If asked to overwrite, click yes. There is no special configuration files or cvars for this plugin, it works right out of the box. This was made to work in ZPS, but can be modified to work for other games as well.
This guide also assumes you are using Sourcemod/Metamod, so if you haven't installed those, do so before adding the plugin files to your server! This version of the plugin was compiled on SM 1.7.3, so it should work for Sourcemod 1.7.3 or later. If you need this for an older/specialized version of Sourcemod, you may want to compile the plugin (script files are included) for your version of Sourcemod.
All of this is provided "as is". While this plugin should not cause harm, any harm caused by the plugin, user handling, or anything else Vertigo Gaming and all associated coders are not responsible for it. Use at your own risk!