DecapiNation
Don't lose your head!
Description
Here is a little bit of fun. DecapiNation provides headless models and heads for CS:S and some code to decapitate players when headshot, knifed or gren'd.
The fun part is that you do not immediately die when decapitated. Blood spurts from your neck as you lose blood and health. Your Point Of View changes to that of your head model (wherever that may be!).
I have designed this with LDuke's excellent Grabber:SM plugin (
http://forums.alliedmods.net/showthr...hlight=grabber) in mind. DecapiNation should be installed alongside it. With this combination, you can pick up peoples heads and move them around. Their POV follows the head and yes you can _re-attach_ the head thereby saving the player and stemming the blood flow! (Note that this is not a required dependency, without Grabber you just cant re-attach heads, nor can you carry your own

).
YouTube Link
http://au.youtube.com/watch?v=s2zM7EGYUfk
CVARS
name: sm_decapination_enabled
default: 1
help: Enable or disable this plugin.
name: sm_decapination_spurtinterval
default: 0.4
help: Time in seconds between neck blood spurts.
name: sm_decapination_bloodloss
default: 1
help: Health lost for each blood spurt
name: sm_decapination_aimtolerance
default: 10
help: Tolerance factor for replacing heads using Grabber plugin by LDuke.
name: sm_decapination_spurtsound
default: player/footsteps/grass3.wav
help: Sound for neck blood spurts.
name: sm_decapination_checkinterval
default: 1.0
help: Time in seconds between check head/body positions for re-animation.
Known Issues
- I haven't LOD'd all the models - its a PITA
- The view of the players own body when decapitated is not simulated. Therefore the weapon model does not show, cartridges eject from your head and the muzzle flash will also be attached to your head!
- Occassionally the dark borders you get as spectator do not disappear when the next round starts.
Credits
.robot model editing, plugin coding
munch ideas
warfare ideas
EVERYONE ON SOURCEMOD I stole code from all of you