Predicted viewmodel: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Classifying as model entity)
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{ent not in fgd|codeonly=1}}
{{Ent not in fgd|codeonly=1}}
{{Preserved entity}}
{{CD|CPredictedViewModel|file1=1}}
{{CD|CPredictedViewModel|file1=1}}
{{this is a|point entity|name=predicted_viewmodel|game=bms12|game1=hl2dm|game2=portal2|game3=css|game4=l4ds|game5=hldms}} This entity is basically copy of {{ent|viewmodel}} entity, but has [[prediction]].  
{{This is a|model entity|name=predicted_viewmodel|game=Half-Life 2: Deathmatch|game1=Portal 2|game2=Counter-Strike: Source|game3=Left 4 Dead series|game4=Half-Life Deathmatch: Source}} It is also available in {{bms12|4}}. This entity is basically a copy of the {{ent|viewmodel}} entity, but has [[prediction]]. All inputs are shared with [[CBaseAnimating]].
{{PreservedEnt|}}


== See also ==
== See also ==

Latest revision as of 04:33, 19 May 2025

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map because it can only be configured through code.
Recycle-warning.png
This is a preserved entity in Counter-Strike: SourceHalf-Life 2: DeathmatchLeft 4 DeadLeft 4 Dead 2Alien SwarmAlien Swarm: Reactive DropPortal 2Counter-Strike: Global Offensive
If the game has round restart mechanics this entity may not behave as expected.
C++ Class hierarchy
CPredictedViewModel
CBaseViewModel
CBaseAnimating
CBaseEntity
C++ predicted_viewmodel.cpp

predicted_viewmodel is a model entity available in Half-Life 2: Deathmatch Half-Life 2: Deathmatch, Portal 2 Portal 2, Counter-Strike: Source Counter-Strike: Source, Left 4 Dead seriesLeft 4 Dead series Left 4 Dead series, and Half-Life Deathmatch: Source Half-Life Deathmatch: Source. It is also available in Black Mesa (mod) Black Mesa (mod). This entity is basically a copy of the viewmodel entity, but has prediction. All inputs are shared with CBaseAnimating.

See also