env_model
The best way to load fairly static .mdl files that do not need a script.
Properties
- model modelname
- Model with path (msc is treated as the root).
- body submodelindex
- Submodel to display * currently seems bugged
- sequency integer
- Animation sequence to play
- framerate float
- Animation speed to use (1 = normal frame rate, 0.5 = half frame rate, 1.5= 150% frame rate)
- rendercolor RRR BBB GGG
- renderfx [1-16]
- rendermode [1-5]
- Rendering properties, see: Half-Life Rendering Properties
- dmg 0|1
- When set to 0, model is non-solid.
- mins
- max
- Not entirely sure how these two work, but they have something to do with the model's bounding box, I think. I'd leave them at their defaults.
- angles PITCH YAW ROLL
- As per usual, the direction the model will face
- targetname targetname
- You can use this targetname to affect this model with other entities,