Template:I BaseEntity/doc

From Valve Developer Community
Jump to: navigation, search

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.

Usage

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}}

Parameters

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.

Examples

Show info specific to a game Alien Swarm

This makes information relevant only to Alien Swarm be displayed.

{{I BaseEntity|as=1}}
will:


Show info for its base

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

{{I BaseEntity|base=1}}
will:


Show information for all games

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

{{I BaseEntity}}
will:



See Also