Template:I BaseEntity

From Valve Developer Community
Revision as of 05:22, 27 August 2021 by 1416006136 (talk | contribs) (Added Template:Lang)
Jump to: navigation, search
English Русский 简体中文

Template icon Template documentation[view] [edit] [history] [purge]

Info holder of all relevant inputs inheriting theCBaseEntity C++ class. Template parameters are vital in displaying the appropiate info, because new games have added new features throughout the years. See Help:Templates for more info on named parameters.

Not allCBaseEntityinputs are not covered here. But you can see them all at the Uncovered Keyvalues page.

Note.png Note: If you want to edit something on this template, please make sure you edit it in both places. Per-game keyvalues are duplicated, for technical reasons. Also see FGD Template Prototype.


These must be used in a specific syntax! - ALL parameters must be given a value of 1, like:as=1. Only one game parameter can be used at once.

{{I BaseEntity|as=1}}


If you leave the parameter field empty (using no arguments), the template will automatically fallback to displaying keyvalues from the current default game.

All parameters for this template:

  • base- Shows only information relevant to when it was initially added for the first time
  • l4d2- Include info specific to Left 4 Dead 2 (VScripts)
  • as- [CURRENT DEFAULT] Include info specific to Alien Swarm (SetLocalOrigin and SetLocalAngles)

Show Deprecated:  

Refer to the Examples section for samples.


Show info specific to a game Alien Swarm

This makes information relevant only to Alien Swarm be displayed.

{{I BaseEntity|as=1}}


Show info for its base

Information relevant only to base engine are displayed. (Source 2013Source 2013 / <Source><Source><Source>)

{{I BaseEntity|base=1}}


Show information for all games

Shows every game information for this key that this template can display.

{{I BaseEntity}}


See Also