set g_vore_keepdeadprey 1 "If enabled, prey remains in the stomach after dying, else the predator throws up their dead body. 0 = disabled, 1 = enabled, anything between = probability"\r
\r
set g_healthsize 100 "Players who are low on health shrink and become smaller, value specifies health at which the player has default size"\r
+set g_healthsize_movementfactor 0.5 "Amount by which player size affects jumping and running"\r
set g_healthsize_min 25 "Player size may not drop below this amount of health"\r
set g_healthsize_max 200 "Player size may not grow past this amount of health"\r
\r
\r
mjumpheight = cvar("sv_jumpvelocity");\r
if(self.scale) // we are smaller or larger, so we jump lower or higher\r
- mjumpheight *= self.scale;\r
+ mjumpheight *= (1 - cvar("g_healthsize_movementfactor")) + cvar("g_healthsize_movementfactor") * self.scale; \r
if (self.waterlevel >= WATERLEVEL_SWIMMING)\r
{\r
if (self.watertype == CONTENT_WATER)\r
accelqw = -accelqw;\r
\r
if(self.scale) // we are smaller or larger, so we run slower or faster\r
- wishspeed *= self.scale;\r
+ wishspeed *= (1 - cvar("g_healthsize_movementfactor")) + cvar("g_healthsize_movementfactor") * self.scale; \r
\r
if(cvar("sv_gameplayfix_q2airaccelerate"))\r
wishspeed0 = wishspeed;\r