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_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
// part of an ugly hack for the menu audio sliders to work with the cutsound feature\r
seta menu_volume 0.5\r
}\r
else\r
{\r
- self.scale = cvar("g_healthsize") / self.health;\r
+ self.scale = cvar("g_healthsize") / bound(cvar("g_healthsize_min"), self.health, cvar("g_healthsize_max"));\r
\r
// The following code sets the bounding box to match the player's size.\r
// It is currently disabled because of issues with engine movement prediction (cl_movement).\r