Viewmodel
Jump to navigation
Jump to search
Viewmodel Definition
A viewmodel is a model typically a weapon which is hold in the players hands and can only be seen from first person view.
It doesn't interfere with the rest of the gameworld, you can think of it as an overlay on the specific player's screen. In multiplayer, both a player model and a world model (weapon) are rendered on other players screens instead for them to see.
Characteristics of Viewmodels
- A viewmodel is usually very detailed and uses high resolution textures.
- Backfaces of the model that the player isn't going to see are often deleted to increase the performance a little bit.
- Viewmodels have neither physical properties (like $surfaceprop) nor a collisionbox.
- Usually named with a v_ in front, where as it's world model starts with w_ - example: v_shotgun.mdl and w_shotgun.mdl