Generic Keyvalues, Inputs and Outputs/Inputs: Difference between revisions
(SetTeam input; properly uses ParserFunctions, customizable with 'setteam_dont_put_nofgd', documentation edited, and some other stuff I probably missed) |
m (weoops left in developer stuff, removed it) |
||
Line 20: | Line 20: | ||
[[Category:Input Templates|Global]] | [[Category:Input Templates|Global]] | ||
---- | ---- | ||
{{I BaseEntity | {{I BaseEntity}} | ||
</noinclude><!-- | </noinclude><!-- | ||
--><includeonly>{{minititle|Base}} | --><includeonly>{{minititle|Base}} |
Revision as of 04:22, 11 April 2021
This template is our holder for all inputs assigned through CBaseEntity. The template has a very specific syntax that you must follow to apply properly, because new games have added new features throughout the years. See Help:Templates for more info on named parameters. No parameters: display inputs for ALL games.
{{I BaseEntity}}
Base: display inputs that have only existed since whatever game added the class (most have existed since HL2, the first Source game).
{{I BaseEntity|base=1}}
Game as a parameter: display the inputs that base
displays, AND inputs that were added to the class, by the specified game. You can specify as many games as needed. You must specify ALL the games you want to include (e.g. l4d2
will not automatically include l4d
inputs as well).
{{I BaseEntity|l4d2=1}}
All parameters for this template:
base
- (Use if the entity was available before L4D2.)l4d2
portal2
prel4d
- (DEPRECATED 9/28/18: This parameter existed to hide DispatchEffect for games (ones before l4d) that did not have it. There's many cases of similar inputs and keyvalues that aren't in absolutely everything, and making similar parameters for all of those simply isn't worth the trouble, especially considering having to comb through every existing use of those templates. Parameter is totally removed from code and affects nothing.)tf2
- AlterSetTeam
input to show TF2 specific information. Usetf2=setteam_dont_put_nofgd
to remove the !FGD tag.

For full documentation on this family of templates, see FGD Template Prototype. Still confused on something? Ask for help before editing this template.

CBaseEntity
inputs are not covered here. See the talk page.