Code:
/*
*===============================================================================
* Bloody Knife v0.2.1
* Created by Dontask-jello
* http://www.jello-net.com
* For AMXX 1.71
* 6/22/2006 10:45:33 AM
*===============================================================================
* Description:
* This plugin integrates two new models into Counter-Strike 1.6. Upon
* connection to the server, a clients knife is set to the first model, that
* does not contain blood. Once a client deals damage, a sound is played and
* the players knife becomes bloody. When this client dies, his knife will be
* no longer be bloody.
*===============================================================================
* Cvars: (Default values preceed others)
* bk_enabled <1|0> : Enables/Disables all plugin functionality.
* bk_rndreset <0|1> : Resets everyones knife to a non-bloody knife at round
* end when set to 1.
*===============================================================================
* Required Modules:
* Engine
*===============================================================================
* Credits:
* Weapon skin by TriggerJunky
*===============================================================================
* Change Log:
* Key (+ added | - removed | f fixed | r refactored)
*
* v0.1
* + : Initial release
* v0.2
* + : The chucky doll laugh sounds when your knife becomes bloody
* v0.2.1
* f : Clients no longer have bloody enabled by chance upon connect due to
* connecting in another clients previous slot that had the flag
*===============================================================================
* To Do:
* Fix the models to be compatible with the shield by either reworking the
* current ones or finding new ones
*===============================================================================
* Known Bugs:
* The models are not compatible with the shield
*===============================================================================
*/
Place
chucky_knife.mdl and
chucky_knifewob.mdl in
<GAMEDIR>/models
Place
chucky.wav in
<GAMEDIR>/sound/misc