This article's documentation is for the "GoldSrc" engine. Click here for more information.
This article's documentation is for anything that uses the Source engine. Click here for more information.

Bodyque: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
No edit summary
Line 1: Line 1:
{{ent not in fgd|nolink=1|because=it is automatically generated by the game}}
{{ent not in fgd|nolink=1|because=it is automatically generated by the game}}
{{this is a|point entity|game=Half-Life|name=bodyque}} Four are created when a map loads. They are used as a 'queue' for corpses in multiplayer games. This will hold the four most recently killed corpses from players, and when a fifth corpse spawns, the oldest is eliminated. This entity is in [[Source]] as well, but does not do anything. It's advised to not put these directly into a map.
{{this is a|point entity|engine=GoldSrc|engine1=Source|name=bodyque|except=Black Mesa}}  
==={{GoldSrc|4}}===
Four are created when a map loads. They are used as a 'queue' for corpses in multiplayer games. This will hold the four most recently killed corpses from players, and when a fifth corpse spawns, the oldest is eliminated.  
==={{Source|4}}===
This entity does not do anything. It's advised to not put these directly into a map.


{{code class|CCorpse|hl2_gamerules.cpp}} (For Source)
{{code class|CCorpse|hl2_gamerules.cpp}} (For Source)

Revision as of 14:19, 8 September 2024

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map because it is automatically generated by the game.

bodyque is a point entity available in all GoldSrc GoldSrc and Source Source games except Black Mesa Black Mesa.

GoldSrc GoldSrc

Four are created when a map loads. They are used as a 'queue' for corpses in multiplayer games. This will hold the four most recently killed corpses from players, and when a fifth corpse spawns, the oldest is eliminated.

Source Source

This entity does not do anything. It's advised to not put these directly into a map.

C++ In code, it is represented by theCCorpseclass, defined in thehl2_gamerules.cppfile.

(For Source)