Written for Hidden:Source Beta 4b
Code:
/*
* Hidden:SourceMod - Physics vs Pistols
*
* Description:
* Enabled Physics Vs Pistols mode where primary weapons are removed and the knife does not damage.
*
* Cvars:
* hsm_pvp 0/1: enable or disable Physics vs Pistols mode.
* hsm_pvp_knifedmg 0~37: set's the amount of damage the hidden's knife does.
*
* Changelog:
* v2.0.1
* Added a console variable to set the amount of damage each knife hit actually does.
* v2.0
* Stripped most of the stuff that wasn't working.
* Now purely physics versus pistols. No options etc.
* v1.0.0
* Initial release.
*
* Known Issues:
* v2.0
* This version is actually just a tweaked version of the PigShove plugin. While I did stripe out the underlaying shove mechanisms, the act of Pigsticking someone does impart some momentum on the target so if you run both plugins, your pig-sticks may have some interesting side-effects. If you remove PigShove then you lose the vertical boosting that plugin adds to shoves.
*
* Contact:
* Paegus: [email protected]
* SourceMod: http://www.sourcemod.net > Community > Forums > SourceMod
* Hidden:Source: http://www.hidden-source.com > Forums > Server Admins
*/
The updated version is called hsm_pvp as it is strickly "Physics Vs Pistols" as opposed to a configurable "Physics Vs Whatever", but at least it works again right?