View Single Post
Author Message
paegus
Senior Member
Join Date: Nov 2004
Location: Extreme low earth orbit
Old 10-14-2008 , 06:17   [Hidden:Source] Physics Vs
Reply With Quote #1

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?
Attached Files
File Type: sp Get Plugin or Get Source (hsm_physv.sp - 1698 views - 16.0 KB)
File Type: sp Get Plugin or Get Source (hsm_pvp.sp - 888 views - 4.5 KB)
__________________
Live and learn or die and teach by example.
Plugins Mine | Hidden:SourceMod

Last edited by paegus; 09-30-2012 at 12:06. Reason: Reason: changed "game" field to newly created category "The Hidden"
paegus is offline