}\r
\r
.float grabber_length;\r
+.float grabber_sendbeam;\r
\r
void RemoveGrabber(entity pl)\r
{\r
}\r
}\r
\r
- makevectors(self.angles_x * '-1 0 0' + self.angles_y * '0 1 0');\r
- te_beam(self.owner, WarpZone_RefSys_TransformOrigin(self, self.owner, self.origin) + v_forward * (-9), org);\r
+ if(self.grabber_sendbeam < time) // don't kill the bandwidth by sending this each frame\r
+ {\r
+ makevectors(self.angles_x * '-1 0 0' + self.angles_y * '0 1 0');\r
+ te_beam(self.owner, WarpZone_RefSys_TransformOrigin(self, self.owner, self.origin) + v_forward * (-9), org);\r
+ self.grabber_sendbeam = time + cvar("sys_ticrate");\r
+ }\r
}\r
\r
void GrabberTouch (void)\r
entity beam;\r
\r
beam = spawn();\r
- beam.ticrate = 0.1; //cvar("sys_ticrate");\r
+ beam.ticrate = cvar("sys_ticrate");\r
setmodel(beam,"models/turrets/phaser_beam.md3");\r
beam.effects = EF_LOWPRECISION;\r
beam.solid = SOLID_NOT;\r
self.fireflag = 1;\r
\r
beam.attack_finished_single = self.attack_finished_single;\r
- self.attack_finished_single = time; // + cvar("sys_ticrate");\r
+ self.attack_finished_single = time + cvar("sys_ticrate");\r
\r
setattachment(beam,self.tur_head,"tag_fire");\r
\r
\r
- Fix swallowing not working in multiplayer, due to the predator's angles not being updated properly. This also fixes jittering in bot matches, that has always eixsted in VT.\r
\r
-- Fix Grabber reload being constantly re-triggered in multiplayer, if reloading with players in your stomach\r
+- Fix Grabber reload being constantly re-triggered in multiplayer, if reloading with players in your stomach.\r
\r
-- Fix the view weapon model not animating in multiplayer, if having players in your stomach\r
+- Fix the view weapon model not animating in multiplayer, if having players in your stomach.\r
\r
- Fix exterior weapon model blinking and attempting to be attached to the stomach model for predators\r
\r
+- Limit how often the Grabber's beam effect is sent (lightning bolt from the weapon to the linked hook). It was being sent each frame, choking the network in multiplayer.\r
+\r
- Tweak Grabber fuel usage and the fuel system, improving some things and fixing minor bugs.\r
\r
- Disable GLSL color control by default, as it seems to be the cause for some video card issues. This MIGHT fix the white screen problem some people have been reporting, as well as the game crashing between map changes.\r