Generic Keyvalues, Inputs and Outputs/Keyvalues: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Remove unused "new" formatting)
Line 8: Line 8:
{{KV|end}}
{{KV|end}}


<includeonly><onlyinclude>{{#ifeq:{{{new|0}}}|0||<!-- if new != 0
<includeonly><onlyinclude>
 
-->{{KV|new=1|targetname|string|src=Base|[[targetname|Name]]|{{KV BaseEntity/strings|KeyTargetnameDesc}}}}
 
{{KV|new=1|parentname|targetname|src=Base|[[Parent]]|{{KV BaseEntity/strings|KeyParentnameDesc}}}}
 
{{KV|new=1|origin|coordinates|src=Base|[[Origin]] (X Y Z)|{{KV BaseEntity/strings|KeyOriginDesc}}}}
 
{{KV|new=1|angles|angle|src=Base|[[Pitch Yaw Roll]] (X Y Z)|value=0 0 0|{{KV BaseEntity/strings|KeyAnglesDesc}}}}
 
{{KV|new=1|classname|string|src=Base|[[Classname]]|nofgd=1|{{KV BaseEntity/strings|KeyClassnameDesc}}}}
 
{{#ifeq:{{{brush| {{#ifeq:{{lc:{{str left|{{ROOTPAGENAME}}|4}} }}|func|1|0}} }}}|0||<!-- if pagename starts with "func", use {{{brush|1}}}, otherwise {{{brush|0}}} -->
{{KV|new=1|solid|choices|src=Base|Collisions|value=Use VPhysics|rawValue={{Code|6}}|{{KV BaseEntity/strings|KeySolidDesc}}}}
}}
 
{{KV|new=1|spawnflags|flags|src=Base|[[Spawnflags]]|value={{{spawnflags|}}}|nofgd=1|{{KV BaseEntity/strings|KeyFlagsDesc}}}}
 
{{KV|new=1|effects|flags|src=Base|[[Effect flags|Effects]]|nofgd=1|{{KV BaseEntity/strings|KeyEffectsDesc}}}}
{{#ifeq:{{{l4d2|0}}}|0||<!-- if l4d2 != 0
 
-->{{KV|new=1|vscripts|scriptlist|src=Base|Entity Scripts|since=L4D2|also={{tf2}}|{{KV BaseEntity/strings|KeyVScriptsDesc}}}}
 
{{KV|new=1|thinkfunction|string|src=Base|[[Entity_Scripts#Thinker_Functions|Think function]]|since=L4D2|{{KV BaseEntity/strings|KeyThinkFunctionDesc}}}}
 
{{KV|new=1|LagCompensate|boolean|src=Base|[[Lag Compensation]]|nofgd=1|since=L4D2|{{KV BaseEntity/strings|KeyLagCompensateDesc}}}}<!--
 
-->}}<!--
 
-->{{#ifeq:{{{base|0}}}|0|<!-- if base == 0
 
-->{{KV|new=1|vscripts|scriptlist|src=Base|Entity Scripts|since=L4D2|also={{tf2}}|{{KV BaseEntity/strings|KeyVScriptsDesc}}}}
 
{{KV|new=1|thinkfunction|string|src=Base|[[Entity_Scripts#Thinker_Functions|Think function]]|{{KV BaseEntity/strings|KeyThinkFunctionDesc}}|since=L4D2|also={{tf2}}}}
 
{{KV|new=1|LagCompensate|boolean|src=Base|[[Lag Compensation]]|{{KV BaseEntity/strings|KeyLagCompensateDesc}}|nofgd=1|since=L4D2}}
 
{{KV|new=1|is_autoaim_target|bool|src=Base|Is Automatic-Aim Target|{{KV BaseEntity/strings|KeyIs_autoaim_targetDesc}}|nofgd=1|since=CSGO}}
}}<!-- endif base == 0
-->}}<!-- endif new != 0
 
 
 
 
==================================================================
Regular version starts here:
==================================================================
 
-->{{#ifeq:{{{new|0}}}|0|<!-- if new == 0


-->{{ScrollBox|title=Base|noscroll={{{noscroll|1}}}|<!--
-->{{ScrollBox|title=Base|noscroll={{{noscroll|1}}}|<!--
Line 110: Line 62:


-->}}<!-- end ScrollBox
-->}}<!-- end ScrollBox
-->}}<!-- end ifeq new == 0


--></onlyinclude></includeonly>
--></onlyinclude></includeonly>

Revision as of 13:10, 15 May 2024

English (en)中文 (zh)Translate (Translate)
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Icon-translate.png Available doc translations
Info.png
The Generic Keyvalues, Inputs and Outputs/Keyvalues/doc documentation page does not exist.
English documentation will be displayed instead, which you can translate using Google Translate (or similar software). If there is nothing after this message, most likely the documentation does not exist even in English.
Generic Keyvalues, Inputs and Outputs/Keyvalues/doc

Tests

start ([todo internal name (i)])


end ([todo internal name (i)])