return;\r
}\r
\r
+ // when the predator starts swallowing, play his grab sound\r
+ if(!self.swallow_progress_pred)\r
+ PlayerSound(self, playersound_grab, CHAN_PAIN, VOICETYPE_PLAYERSOUND);\r
+\r
Vore_SwallowModel_Update(e, self);\r
\r
// increase the progress value until it reaches 1, then swallow the player\r
}\r
\r
.float regurgitatecolor_particles_tick;\r
-.float grabsound;\r
void Vore()\r
{\r
// main vore code, this is where it all happens\r
self.stat_canswallow = 1;\r
\r
if(self.BUTTON_ATCK)\r
- {\r
Vore_SwallowStep(prey);\r
-\r
- // when the predator starts swallowing, play the grab sound\r
- if(!self.grabsound)\r
- {\r
- PlayerSound(self, playersound_grab, CHAN_PAIN, VOICETYPE_PLAYERSOUND);\r
- self.grabsound = TRUE;\r
- }\r
- }\r
- else if(self.grabsound)\r
- self.grabsound = FALSE; // clear the grab sound\r
}\r
else if(prey != world)\r
self.stat_canswallow = -1;\r
\r
- 0.7 | 0.8: Add cubemap reflections for eX and trak5\r
\r
-- 0.7 | 0.8: Sound when someone is starting to swallow (like getting grabbed or something)\r
-\r
- 0.7 | 0.8: Maybe find better footstep sounds?\r
\r
- 0.7 | 0.8: Bots get stuck with eaten items sometimes.\r