View Single Post
Author Message
Mecha the Slag
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 06-08-2010 , 16:32   [TF2] Slice People In Half (1.31)
Reply With Quote #1

Ever thought it was weird that the Eyelander still cut horizontally on critical? Well, here's something for you. This literally cuts people in half.

Demonstration

Only works on:
Demoman
Pyro
Heavy
(this is because I have yet to finish the remaining models)

The slice is done on the following weapon kills:
Eyelander
Skullcutter
Fireaxe
Axtinguisher
Headtaker

ConVars
slice_version - Current version of the plugin
slice_chance (1.0) - Chance for the slice to happen. 1.0 = always, 0.0 = never
slice_icon (2) - 1: Always changes the slice icon to sawblade, 2: Only on sm_slice or sm_sliceme
slice_suicide (0) - If on, allows sm_sliceme suicides

Commands
sm_slice #target - slices the target [admin]
sm_sliceme - slices yourself [client]

Credits
Plugin by Mecha the Slag
Models and belonging textures by Valve, modified by Mecha the Slag
Meat texture by NeoDement

Updates
1.31
  • Fixed up code to have standards
  • Added support for the Headtaker
  • Removed Kukri from list
1.2
  • Fixed models not supporting blue team
  • Updated plugin to use new models
1.15
  • Added more properties to slice_icon
  • added sm_sliceme to allow clients to slice themselves
  • added slice_suicide to enable/disable sm_sliceme
1.1
  • Fixed a bug with slice_chance that would negate the effect
  • Added slice_icon
  • Added sm_slice #target
1.02
  • Added slice_chance
  • Fixed possible bug where slice would happen on unsupported classes
1.0
  • Release

Make sure to put the models and materials on the server.
Enjoy!
Attached Files
File Type: zip ModelsAndMaterials.zip (3.12 MB, 2733 views)
File Type: sp Get Plugin or Get Source (mw_slicepeopleinhalf.sp - 2975 views - 10.8 KB)
File Type: smx mw_slicepeopleinhalf.smx (8.4 KB, 1514 views)
__________________

Last edited by Mecha the Slag; 12-07-2010 at 13:50.
Mecha the Slag is offline