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

From Valve Developer Community
Jump to navigation Jump to search
m (Submodels don't show up in hammer)
(Source 2013 has modelscale, and it's in the FGD.)
Line 32: Line 32:
{{#if:{{{l4d|}}}{{{l4d2|}}}
{{#if:{{{l4d|}}}{{{l4d2|}}}
|
|
|{{KV|new=1|modelscale|float|src=BaseAnimating|Model Scale|value=1.0|nofgd=1|since=EP2|not={{portal}} {{l4dseries}} {{src13}}|A multiplier for the size of the model. Negative values are accepted. Does not alter the physics collisions in most cases, however.{{Warning|Negative or extremely high values can cause crashes!}}}}
|{{KV|new=1|modelscale|float|src=BaseAnimating|Model Scale|value=1.0|since=EP2|A multiplier for the size of the model. Negative values are accepted. Does not alter the physics collisions in most cases, however.{{Warning|Negative or extremely high values can cause crashes!}}{{note|Scale may not appear in {{hammer4|2}}, but will appear in-game (tested in {{dods}}).}}}}
}}
}}


Line 145: Line 145:
<!-- We should make a new page for "model index"? -->
<!-- We should make a new page for "model index"? -->
{{KV|Model Index|intn=modelindex|short|Given the number index from dumping the <code>cl_precacheinfo modelprecache</code> table, sets entity model to the index. {{ModernWarning|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 the index. {{ModernWarning|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}}
{{#if: {{{l4d|}}}{{{l4d2|}}}||{{KV|Model Scale|intn=modelscale|float|A multiplier for the size of the model. Negative values are accepted. Does not alter the physics collisions in most cases, however.{{ModernWarning|Negative or extremely high values can cause crashes!}}|nofgd=1|since=EP2|not={{portal}} {{l4dseries}} {{src13}}}} }}
{{#if: {{{l4d|}}}{{{l4d2|}}}||{{KV|Model Scale|intn=modelscale|float|A multiplier for the size of the model. Negative values are accepted. Does not alter the physics collisions in most cases, however.{{ModernWarning|Negative or extremely high values can cause crashes!}}{{note|Scale may not appear in {{hammer4|2}}, but will appear in-game (tested in {{dods}}).}}|since=EP2}}
{{#if: {{{base|}}} | {{KV DXLevelChoice}} }}
{{#if: {{{base|}}} | {{KV DXLevelChoice}} }}
<!--
<!--

Revision as of 18:11, 23 July 2023

English (en)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 Model entity/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.
Model entity/Generic Keyvalues, Inputs and Outputs/Keyvalues/doc

Tests

start ([todo internal name (i)])
Note.pngNote:Content moved to Rendering and studio model related KIO/Keyvalues for continuation of page history
end ([todo internal name (i)])