origin_apply_y *= v_forward_y; // position depends on the predator's rotation\r
head.view_ofs = PL_PREY_VIEW_OFS + origin_apply * cvar("g_vore_neighborprey_distance");\r
\r
+ // change prey height based on scale\r
+ float prey_height;\r
+ prey_height = (head.scale - self.scale) * cvar("g_healthsize_vore_pos");\r
+ head.view_ofs_z += prey_height;\r
+\r
position_counter += 1;\r
}\r
}\r
v_forward = oldforward;\r
v_right = oldright;\r
v_up = oldup;\r
-\r
- /*float prey_height;\r
- if(self.fakeprey)\r
- prey_height = (self.scale - self.fakepredator.scale) * cvar("g_healthsize_vore_pos");\r
- else\r
- prey_height = (self.scale - self.predator.scale) * cvar("g_healthsize_vore_pos");\r
- self.view_ofs_z += prey_height;*/\r
}\r
\r
.float gurgle_oldstomachload;\r