+ // modified volume, used for attenuated (non-radio) voices\r
+ vol = VOL_BASEVOICE;\r
+ if(self.stat_eaten && cvar("g_vore_soundocclusion")) // reduce sound volume for prey, to simulate stomach culling\r
+ vol *= cvar("g_vore_soundocclusion");\r
+ if(cvar("g_healthsize") && cvar("g_healthsize_soundfactor")) // amplify or reduce sound volume based on the size of the player\r
+ {\r
+ vol /= 2; // volume being greater than 1 causes stuff to brake, so it must be 0.5 at normal scale\r
+ vol *= (self.scale * cvar("g_healthsize_soundfactor"));\r
+ }\r
+ vol = bound(0, vol, 1);\r
+\r