Model Last edited 4 months ago2024-06-12 01:46:02 UTC

You are viewing an older revision of this wiki page. The current revision may be more detailed and up-to-date. Click here to see the current revision of this page.
A model is a specific kind of visual element in the GoldSrc and Source engines. Stored in their own separate files, models are capable of greater detail and are more dynamic than brushes. Models are used widely throughout mapping, including enemies, items, viewmodels, decorations and other players.

Sometimes models are used simply to create finer details than brushwork alone is capable of. Source mapping in particular tends to make heavier use of models in this way.

Models are stored as .mdl files, and can have multiple textures, animations and bodies. You can view .mdl files and see their contents (animations, bodies, textures) with a model viewer such as Half-Life Asset Manager.
The GoldSource engine is actually pretty agnostic about models, and the same model entity key is used to reference all of brush entities, models, and sprites.

You can perform shenanigans such as using zhlt_usemodel to have a func_healthcharger use a .mdl model, or a func_train display a rotating sprite, which is otherwise statically oriented, by using avelocity.

Comments

You must log in to post a comment. You can login or register a new account.