set g_balance_vore_regurgitate_force 600 "regurgitated players rocket out at this speed, in the direction the predator is facing (influenced by player scale difference)"\r
set g_balance_vore_regurgitate_predatorforce 450 "players are pushed back by this amount when regurgitating someone, opposite of the direction they are facing (influenced by player scale difference)"\r
set g_balance_vore_regurgitate_delay 0.5 "regurgitation delay"\r
+set g_balance_vore_regurgitate_death_silent 0 "when dead prey is digested to the maximum amount, remove them silently rather than throwing up the gibs"\r
set g_balance_vore_regurgitate_predator_punchangle 10 "your view gets tilted by this amount when regurgitating someone"\r
set g_balance_vore_regurgitate_predator_punchangle_item 4 "your view gets tilted by this amount when regurgitating an item"\r
set g_balance_vore_regurgitate_prey_punchvector 50 "your view gets lowered by this amount when getting regurgitated"\r
e.punchvector_z = -cvar("g_balance_vore_regurgitate_prey_punchvector");\r
\r
// if the prey has been fully digested, silently detach them\r
+ if(cvar("g_balance_vore_regurgitate_death_silent"))\r
if(e.deadflag != DEAD_NO && e.health <= cvar("g_balance_vore_digestion_limit"))\r
{\r
e.predator = world;\r
void PlayerGib(entity e, entity attacker)\r
{\r
if(e.stat_eaten)\r
- return; // you can't gib outside of the stomach\r
+ return; // you can't gib inside the stomach\r
\r
float gib_health;\r
gib_health = cvar("sv_gibhealth");\r
if(gib_health > 0) // someone is being stupid\r
gib_health = 0;\r
- if(cvar("g_healthsize")) // smaller bodies are more likely to gib, and vice versa\r
+ if(cvar("g_healthsize")) // smaller bodies are more likely to gib and vice versa\r
gib_health *= e.scale;\r
-\r
+dprint(strcat(ftos(e.modelindex), " ----------------\n"));\r
if (e.health <= gib_health && e.modelindex != 0)\r
{\r
// don't use any animations as a gib\r
\r
- 0.8: Turn the Grabber into an organic weapon, but keep metal parts like the fuel cases and weapon display\r
\r
-- 0.7: Regurgitate a player after he's been digested to minimum amount, rather than making him disappear (use a cvar)
\ No newline at end of file
+- 0.7: Regurgitate a player after he's been digested to minimum amount, rather than making him disappear (use a cvar)\r
+\r
+- 0.8: Colormod gibs when regurgitating them, although they are client side and the color cvars are server
\ No newline at end of file