Difference between revisions of "Kill Notify Plugin"
| Line 20: | Line 20: | ||
== Setup == | == Setup == | ||
| − | This plugin does not require any special configs or setup to use. Simply move the plugin files to the correct folders into "~/addons/sourcemod/" of your ZPS game directory | + | This plugin does not require any special configs or setup to use (outside of Sourcemod/Metamod of course). Simply move the plugin files to the correct folders into "~/addons/sourcemod/" of your ZPS game directory and it should start working automatically. |
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 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! | ||
Revision as of 10:50, 29 October 2016
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:
Setup
This plugin does not require any special configs or setup to use (outside of Sourcemod/Metamod of course). Simply move the plugin files to the correct folders into "~/addons/sourcemod/" of your ZPS game directory and it should start working automatically.
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!