// regurgitate effect\r
// used in: vore.qc: pointparticles(particleeffectnum("regurgitate"), e.predator.origin, '0 0 0', 1)\r
effect vore_regurgitate\r
-count 30\r
+count 5\r
type blood\r
tex 24 32\r
size 12 24\r
size 25 30\r
alpha 100 256 400\r
color 0x000000 0x408000\r
-originjitter 110 110 110\r
+originjitter 90 90 90\r
\r
// constant regurgitate effect\r
// used in: vore.qc: pointparticles(particleeffectnum("vore_regurgitate_constant"), self.origin, '0 0 0', 1);\r
effect vore_regurgitate_constant\r
-count 3\r
+count 2\r
type blood\r
tex 24 32\r
size 4 10\r
size 15 20\r
alpha 75 192 400\r
color 0x000000 0x408000\r
-originjitter 25 25 25\r
+originjitter 20 20 20\r
\r
// dirt ground effect\r
// used in: cl_physics.qc: pointparticles(particleeffectnum("ground_dirt"), self.origin, '0 0 0', 1);\r
// debris\r
effect ground_dirt\r
notunderwater\r
-count 5\r
+count 2\r
type alphastatic\r
tex 66 68\r
color 0x000000 0x886644\r
originjitter 20 20 5\r
// sparks\r
effect ground_metal\r
-count 10\r
+count 4\r
type spark\r
tex 41 41\r
color 0xFFCC22 0xFF4422\r
float WATERLEVEL_SUBMERGED = 3;\r
\r
float MAX_SHOT_DISTANCE = 32768;\r
+\r
+float PARTICLE_MULTIPLIER = 10;\r
if(trace_dphitq3surfaceflags & Q3SURFACEFLAG_METALSTEPS)\r
{\r
GlobalSound(globalsound_metalfall, CHAN_PLAYER, VOICETYPE_PLAYERSOUND, bound(0, VOL_BASE * (1 - playersize_micro(self)), 1));\r
- pointparticles(particleeffectnum("ground_metal"), self.origin, '0 0 0', self.scale);\r
+ pointparticles(particleeffectnum("ground_metal"), self.origin, '0 0 0', floor(self.scale * PARTICLE_MULTIPLIER));\r
}\r
else\r
{\r
GlobalSound(globalsound_fall, CHAN_PLAYER, VOICETYPE_PLAYERSOUND, bound(0, VOL_BASE * (1 - playersize_micro(self)), 1));\r
- pointparticles(particleeffectnum("ground_dirt"), self.origin, '0 0 0', self.scale);\r
+ pointparticles(particleeffectnum("ground_dirt"), self.origin, '0 0 0', floor(self.scale * PARTICLE_MULTIPLIER));\r
}\r
sound(self, CHAN_AUTO, "misc/macro_hitground.wav", bound(0, VOL_BASE * playersize_macro(self), 1), ATTN_NORM);\r
\r
// predator effects, some common to those in Vore_Regurgitate\r
PlayerSound(e.predator, playersound_regurgitate, CHAN_VOICE, VOICETYPE_PLAYERSOUND);\r
setanim(e.predator, e.predator.anim_pain1, FALSE, TRUE, TRUE); // looks good for swallowing / regurgitating\r
- pointparticles(particleeffectnum("vore_regurgitate"), e.predator.origin, '0 0 0', 1);\r
+ pointparticles(particleeffectnum("vore_regurgitate"), e.predator.origin, '0 0 0', floor(scalediff * PARTICLE_MULTIPLIER));\r
e.predator.punchangle_x = crandom() * cvar("g_balance_vore_regurgitate_predator_punchangle_item") * scalediff;\r
e.predator.punchangle_y = crandom() * cvar("g_balance_vore_regurgitate_predator_punchangle_item") * scalediff;\r
e.predator.punchangle_z = crandom() * cvar("g_balance_vore_regurgitate_predator_punchangle_item") * scalediff;\r
\r
PlayerSound(e.predator, playersound_regurgitate, CHAN_VOICE, VOICETYPE_PLAYERSOUND);\r
setanim(e.predator, e.predator.anim_pain1, FALSE, TRUE, TRUE); // looks good for swallowing / regurgitating\r
- pointparticles(particleeffectnum("vore_regurgitate"), e.predator.origin, '0 0 0', 1);\r
+ pointparticles(particleeffectnum("vore_regurgitate"), e.predator.origin, '0 0 0', floor(scalediff * PARTICLE_MULTIPLIER));\r
e.predator.punchangle_x = crandom() * cvar("g_balance_vore_regurgitate_predator_punchangle") * scalediff;\r
e.predator.punchangle_y = crandom() * cvar("g_balance_vore_regurgitate_predator_punchangle") * scalediff;\r
e.predator.punchangle_z = crandom() * cvar("g_balance_vore_regurgitate_predator_punchangle") * scalediff;\r
if(cvar("g_vore_regurgitatecolor_particles"))\r
if(self.regurgitatecolor_particles_tick < time)\r
{\r
- pointparticles(particleeffectnum("vore_regurgitate_constant"), self.origin, '0 0 0', 1);\r
+ pointparticles(particleeffectnum("vore_regurgitate_constant"), self.origin, '0 0 0', floor((cvar("g_healthsize") ? self.scale : 1) * PARTICLE_MULTIPLIER));\r
self.regurgitatecolor_particles_tick = time + cvar("g_vore_regurgitatecolor_particles") * vlen(self.colormod); // particle time depends on how dirty the player is\r
}\r
}\r
\r
- 0.7 | 0.8 BUG: Display digits still appear on the 3rd person weapon when a player dies and becomes gibbed\r
\r
-- 0.7: Regurgitate particle count obased on player size
\ No newline at end of file
+- 0.7: Bots should digest items even at 0 skill
\ No newline at end of file