Bodyque: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (Classifying as model entity)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{TabsBar|main=gs|base=Bodyque}}
{{CD|CCorpse|file1=hl2_gamerules.cpp}}
{{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|engine=GoldSrc|engine1=Source|name=bodyque|except=Black Mesa}}
{{this is a|model entity|name=bodyque|game=Half-Life: Source|game1=Half-Life 2 series|game2=Portal series}} This entity does not do anything, being leftover from {{goldsrc|2}}. It's advised to not put these directly into a map.
==={{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)

Latest revision as of 04:30, 19 May 2025

C++ Class hierarchy
CCorpse
CBaseAnimating
CBaseEntity
C++ hl2_gamerules.cpp
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 model entity available in Half-Life: Source Half-Life: Source, Half-Life 2 series Half-Life 2 series, and Portal series Portal series. This entity does not do anything, being leftover from GoldSrc GoldSrc. It's advised to not put these directly into a map.