Generic Keyvalues, Inputs and Outputs/Keyvalues: Difference between revisions
Jump to navigation
Jump to search
1416006136 (talk | contribs) mNo edit summary |
1416006136 (talk | contribs) (replaced all text to strings) |
||
Line 78: | Line 78: | ||
-->{{#ifeq: {{{brush| {{#ifeq: {{lc:{{str left|{{ROOTPAGENAME}}|4}} }} | func | 1 | 0 }} }}} |0||<!-- if pagename starts with "func" use {{{brush|1}}}, otherwise {{{brush|0}}} --> | -->{{#ifeq: {{{brush| {{#ifeq: {{lc:{{str left|{{ROOTPAGENAME}}|4}} }} | func | 1 | 0 }} }}} |0||<!-- if pagename starts with "func" use {{{brush|1}}}, otherwise {{{brush|0}}} --> | ||
{{KV|Collisions|intn=solid|choices| | {{KV|Collisions|intn=solid|choices|{{KV BaseEntity/strings|KeySolidDesc}}<!-- end Strings | ||
-->}}<!-- end KV --> | -->}}<!-- end KV --> | ||
<!-- "mins" and "maxs" used to be here, but the "Bounding Box" page already describes it --> | <!-- "mins" and "maxs" used to be here, but the "Bounding Box" page already describes it --> | ||
<!-- We should make a new page for "model index"? | <!-- We should make a new page for "model index"? | ||
{{KV|Model Index|intn=modelindex|short| | {{KV|Model Index|intn=modelindex|short|{{KV BaseEntity/strings|KeyModelindexDesc}}|nofgd=1}} | ||
--> | --> | ||
<br /> | <br /> | ||
Line 98: | Line 89: | ||
++ BASE ++ | ++ BASE ++ | ||
-->{{KV|[[targetname|Name]]|intn=targetname|string| | -->{{KV|[[targetname|Name]]|intn=targetname|string|{{KV BaseEntity/strings|KeyTargetnameDesc}}}} | ||
<!-- This probably have too little use cases, we'll have to see if someone objects. | <!-- This probably have too little use cases, we'll have to see if someone objects. | ||
{{KV|Global Entity Name|intn=globalname|string| | {{KV|Global Entity Name|intn=globalname|string|{{KV BaseEntity/strings|KeyGlobalnameDesc}}}} | ||
--> | --> | ||
{{KV|[[Parent]]|intn=parentname|targetname| | {{KV|[[Parent]]|intn=parentname|targetname|{{KV BaseEntity/strings|KeyParentnameDesc}}}} | ||
{{KV|[[Origin]] (X Y Z)|intn=origin|coordinates| | {{KV|[[Origin]] (X Y Z)|intn=origin|coordinates|{{KV BaseEntity/strings|KeyOriginDesc}}}} | ||
{{KV|[[Pitch Yaw Roll]] (X Y Z)|intn=angles|angle| | {{KV|[[Pitch Yaw Roll]] (X Y Z)|intn=angles|angle|{{KV BaseEntity/strings|KeyAnglesDesc}}}}<!-- | ||
This probably have too little use cases, we'll have to see if someone objects. Thankfully the page already describes its existence. | This probably have too little use cases, we'll have to see if someone objects. Thankfully the page already describes its existence. | ||
{{KV|[[ResponseContext|Response Contexts]]|intn=ResponseContext|string| | {{KV|[[ResponseContext|Response Contexts]]|intn=ResponseContext|string|{{KV BaseEntity/strings|KeyResponseContextDesc}}}} | ||
--> | --> | ||
{{KV|[[Classname]]|intn=classname|string|nofgd=1| | {{KV|[[Classname]]|intn=classname|string|nofgd=1|{{KV BaseEntity/strings|KeyClassnameDesc}}}} | ||
{{KV|[[Flag|Flags]]|intn=spawnflags|integer| | {{KV|[[Flag|Flags]]|intn=spawnflags|integer|{{KV BaseEntity/strings|KeyFlagsDesc}}|nofgd=1}} | ||
{{KV|[[Effect flags|Effects]]|intn=effects|int| | {{KV|[[Effect flags|Effects]]|intn=effects|int|{{KV BaseEntity/strings|KeyEffectsDesc}}|nofgd=1}}<!-- | ||
--><!--I'm not sure what the use cases of these 2 are, so ill hide them for now. Sourcemod scripters don't use "hammerid" often either | --><!--I'm not sure what the use cases of these 2 are, so ill hide them for now. Sourcemod scripters don't use "hammerid" often either | ||
{{KV|Local Time|intn=ltime|float| | {{KV|Local Time|intn=ltime|float|{{KV BaseEntity/strings|KeyLtimeDesc}}|nofgd=1}} | ||
{{KV|Next Think|intn=nextthink|float| | {{KV|Next Think|intn=nextthink|float|{{KV BaseEntity/strings|KeyNextthinkDesc}}|nofgd=1}} | ||
{{KV|Hammer ID|intn=hammerid|int| | {{KV|Hammer ID|intn=hammerid|int|{{KV BaseEntity/strings|KeyHammeridDesc}}|nofgd=1}} | ||
--><!-- | --><!-- | ||
Line 120: | Line 111: | ||
-->{{#ifexpr: {{{l4d2|0}}}. or not {{{base|0}}}. |<!-- hides only if L4D2 == 0 and BASE != 0 --> | -->{{#ifexpr: {{{l4d2|0}}}. or not {{{base|0}}}. |<!-- hides only if L4D2 == 0 and BASE != 0 --> | ||
{{KV|Entity Scripts|intn=vscripts|scriptlist| | {{KV|Entity Scripts|intn=vscripts|scriptlist|{{KV BaseEntity/strings|KeyVScriptsDesc}}|since=L4D2|also={{tf2}}}} | ||
{{KV|[[Entity_Scripts#Thinker_Functions|Think function]]|intn=thinkfunction|string| | {{KV|[[Entity_Scripts#Thinker_Functions|Think function]]|intn=thinkfunction|string|{{KV BaseEntity/strings|KeyThinkFunctionDesc}}|since=L4D2|also={{tf2}}}} | ||
{{KV|[[Lag Compensation]]|intn=LagCompensate|boolean| | {{KV|[[Lag Compensation]]|intn=LagCompensate|boolean|{{KV BaseEntity/strings|KeyLagCompensateDesc}}|nofgd=1|since=L4D2}}<!-- | ||
--><!-- Its 360, so it goes away | --><!-- Its 360, so it goes away | ||
{{KV|Disable for Xbox 360|intn=disableX360|bool| | {{KV|Disable for Xbox 360|intn=disableX360|bool|{{KV BaseEntity/strings|KeyDisableX360Desc}}|nofgd=1|since=L4D2}} | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#ifexpr: not {{{l4d2|0}}}. and not {{{base|0}}}. |<!-- hides if L4D2 != 0 or BASE != 0 --> | -->{{#ifexpr: not {{{l4d2|0}}}. and not {{{base|0}}}. |<!-- hides if L4D2 != 0 or BASE != 0 --> | ||
{{KV|Is Automatic-Aim Target|intn=is_autoaim_target|bool| | {{KV|Is Automatic-Aim Target|intn=is_autoaim_target|bool|{{KV BaseEntity/strings|KeyIs_autoaim_targetDesc}}|nofgd=1|since=CSGO}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||