Template:KV Model: Difference between revisions
Jump to navigation
Jump to search
(The default is about the entity's model, not the KV value itself) |
m (Improved formatting) |
||
| Line 7: | Line 7: | ||
| 2 = model | | 2 = model | ||
| 3 = | | 3 = | ||
{{#if:{{{spawn model|}}} | |||
| This entity's model is set to '''<code style="user-select:all">{{{spawn model}}}</code>''' on spawn, so specifying this keyvalue will have no effect. | | This entity's model is set to '''<code style="user-select:all">{{{spawn model}}}</code>''' on spawn, so specifying this keyvalue will have no effect. | ||
| In-game 3D representation of the entity to display. This is the path to a [[MDL]] relative to the game's root directory. (128 character limit) | | In-game 3D representation of the entity to display. This is the path to a [[MDL]] relative to the game's root directory. (128 character limit) | ||
}}<!-- | |||
-->{{#if:{{{default model|}}} | |||
| <br>If no model is specified, it defaults to '''<code style="user-select:all">{{{default model}}}</code>'''. | |||
}} | }} | ||
:{{See also|[[Model entity/Generic Keyvalues, Inputs and Outputs|Generic Keyvalues, Inputs and Outputs that all model entities have available]]}} | :{{See also|[[Model entity/Generic Keyvalues, Inputs and Outputs|Generic Keyvalues, Inputs and Outputs that all model entities have available]]}} | ||
}}</onlyinclude> | }}</onlyinclude> | ||
Revision as of 17:24, 23 November 2025
This is a draft template page. It is a work in progress open to editing by anyone.
Remember to check for any notes left by the tagger at this article's talk page.
Remember to check for any notes left by the tagger at this article's talk page.
See also: {{studio rendering note}}, for CBaseAnimating entities which set model explicitly or via a different KV
- World Model (model) <model path>
- In-game 3D representation of the entity to display. This is the path to a MDL relative to the game's root directory. (128 character limit)
Variants
{{KV Model|spawn model=models/rocket_raccoon.mdl}}
- World Model (model) <model path> !FGD
- This entity's model is set to
models/rocket_raccoon.mdlon spawn, so specifying this keyvalue will have no effect.
{{KV Model|default model=models/faith_connors.mdl}}
- World Model (model) <model path>
- In-game 3D representation of the entity to display. This is the path to a MDL relative to the game's root directory. (128 character limit)
If no model is specified, it defaults tomodels/faith_connors.mdl.