Viewmodel: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(see also: Creating Viewmodels)
(Feel free to add more, I just wanted to start this off somewhere.)
Line 1: Line 1:
{{stub}}
==Viewmodel Definition==
A definition for viewmodel should be here. It should also have information about viewmodel behavior.
 
[[Image:hl2-1.jpg|frame|The shotgun is a typical viewmodel]]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 [[Creating Characters|player model]] and a [[World Models|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''
 


==See also==
==See also==
*[[Creating Viewmodels]]
*[[Creating Viewmodels]]
*[[World Models|Creating Worldmodels]]


[[Category:Glossary]]
[[Category:Glossary]]

Revision as of 06:37, 6 March 2006

Viewmodel Definition

The shotgun is a typical viewmodel

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


See also