Template:KV Model: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
| 1 = World Model
| 1 = World Model
| 2 = model
| 2 = model
| 3 = In-game 3D representation of the entity to display. This is the path to an [[MDL]] relative to the game's root directory. (128 character limit)
| 3 = 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:{{{spawn model|}}}|This entity's model is set to: '''<code style="user-select:all">{{{spawn model}}}</code>''' on spawn so specifying this keyvalue might have no effect.}}
:{{#if:{{{spawn model|}}}|This entity's model is set to: '''<code style="user-select:all">{{{spawn model}}}</code>''' on spawn so specifying this keyvalue might have no effect.}}
:{{#if:{{{default model|}}}|If no model specified this defaults to '''<code style="user-select:all">{{{default model}}}</code>'''}}
:{{#if:{{{default model|}}}|If no model specified this defaults to '''<code style="user-select:all">{{{default model}}}</code>'''}}

Revision as of 12:40, 19 May 2025

Icon-under construction-blue.png
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.
World Model (model) <model path>[ Edit ]
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)


{{KV Model|spawn model=models/rocket_raccoon.mdl}}

World Model (model) <model path> !FGD[ Edit ]
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)
This entity's model is set to: models/rocket_raccoon.mdl on spawn so specifying this keyvalue might have no effect.


{{KV Model|default model=models/faith_connors.mdl}}

World Model (model) <model path>[ Edit ]
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 specified this defaults to models/faith_connors.mdl