self.healthvalue = ReadShort();\r
if(sf & 16)\r
self.armorvalue = ReadShort();\r
+ if(sf & 32)\r
+ self.eaten = ReadByte();\r
\r
entcs_receiver[self.sv_entnum] = self;\r
self.entremove = Ent_RemoveEntCS;\r
return;
if(getstati(STAT_VORE_EATEN) && cvar("cl_vore_stomachmodel") >= 1 && !cvar("chase_active"))
return;
+ if(ent.eaten)
+ return;
float sameteam;
if(teamplay && (GetPlayerColor(player_localentnum - 1) == GetPlayerColor(ent.sv_entnum - 1)))
{
e.healthvalue = entcs.healthvalue;
e.armorvalue = entcs.armorvalue;
+ e.eaten = entcs.eaten;
}
else
{
e.healthvalue = 2342;
e.armorvalue = 0;
+ e.eaten = 0;
}
e.origin = getplayerorigin(i);
.float healthvalue;
.float armorvalue;
+.float eaten;
return FALSE;\r
if(other == o)\r
return FALSE;\r
- if(o.stat_eaten)\r
- return FALSE;\r
return TRUE;\r
}\r
\r
WriteShort(MSG_ENTITY, self.health);\r
if(sf & 16)\r
WriteShort(MSG_ENTITY, self.armorvalue);\r
+ if(sf & 32)\r
+ WriteByte(MSG_ENTITY, self.stat_eaten);\r
return TRUE;\r
};\r
\r
self.armorvalue = o.armorvalue;\r
self.SendFlags |= 16;\r
}\r
+ if(o.stat_eaten != self.stat_eaten)\r
+ {\r
+ self.stat_eaten = o.stat_eaten;\r
+ self.SendFlags |= 32;\r
+ }\r
};\r
\r
entity attach_entcs()\r
\r
- If holding the alt fire button while reloading, the grabber would fire the hook (and take ammo) after reload, but the hook would not spawn.\r
\r
+- Fix floating player names showing for prey, which was both wrong and caused overlapping.\r
+\r
Features:\r
\r
- There is no longer a player swallow limit. Players have a stomach capacity (for predators) and a mass (for prey), both based on player scale. As long as your mass is not exceeded, you can keep swallowing players. This affects your weight and overall player capacity based on player size as well. eg: You might be able to eat only one large player, three tiny players, or two normal sized players at the same time. Stomach size will also reflect your capacity, not the player count, being bigger or smaller based on the prey inside and their size compared to yours. By default, a macro can swallow up to 15 mircos and a micro up to 1 macro.\r
\r
- 0.7 | 0.8: The stomach gurgle sound duration does not match the pitch properly\r
\r
-- 0.7 | 0.8 BUG: Names still show for eaten players.\r
+- 0.8: Maybe shownames can work for neighboring prey?\r
\r
-- 0.8: Make menu song depend on menu skin?\r
+- 0.8: Make menu song depend on the menu skin?\r
\r
- 0.7 | 0.8: Always play the eating animations when the fire button is down? OR play an error sound saying "there is nothing to vore"\r
\r