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

From Valve Developer Community
Jump to navigation Jump to search
(Made scrolling optional with parameter 'noscroll'.)
(Put "Brush" section in the ScrollBox and removed its extra-minititle (I thought less headlines might look cleaner). Trying automatic brush entity recognition (pagename starts with "func").)
Line 1: Line 1:
{{lang|Template:KV BaseEntity}}
{{lang|Template:KV BaseEntity}}
<onlyinclude><includeonly><!--
<onlyinclude><includeonly><!--
-->{{ScrollBox
|title=Base
|noscroll={{{noscroll|}}}
|<!--


   ++ BRUSH ++
   ++ BRUSH ++


-->{{#if:{{{brush|}}}|
-->{{#if:{{{brush|   {{#ifeq: {{str left|{{ROOTPAGENAME}}|4}} | func | 1 | }}   }}}|
{{minititle|Brush}}
{{KV|Collisions|intn=solid|choices|Method of collision for this entity. {{ExpandBox|
{{KV|Collisions|intn=solid|choices|Method of collision for this entity. {{ExpandBox|
:*0: None
:*0: None
Line 19: Line 23:
{{KV|Model Index|intn=modelindex|short|Given the number index from dumping the<code>cl_precacheinfo modelprecache</code>table, sets entity model to of the index. {{warning|If an entity has animations that ''will be'' played, then the set model also must have its own sequences, else the game crashes.}}|nofgd=1}}
{{KV|Model Index|intn=modelindex|short|Given the number index from dumping the<code>cl_precacheinfo modelprecache</code>table, sets entity model to of the index. {{warning|If an entity has animations that ''will be'' played, then the set model also must have its own sequences, else the game crashes.}}|nofgd=1}}
-->
-->
| }}<!--
<br />
| }}<!-- END #IF


   ++ Base ++
   ++ BASE ++


-->{{ScrollBox
-->{{KV|[[targetname|Name]]|intn=targetname|string|The name that other entities use to refer to this entity.}}
|title=Base
|noscroll={{{noscroll|}}}
|
{{KV|[[targetname|Name]]|intn=targetname|string|The name that other entities use to refer to this entity.}}
<!-- 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| When the player transitions to a new map, entities in the new map with matching globalnames will have their previous map's states copied over to it.}}
{{KV|Global Entity Name|intn=globalname|string| When the player transitions to a new map, entities in the new map with matching globalnames will have their previous map's states copied over to it.}}

Revision as of 11:42, 19 January 2022

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