Change Player Model in Third Person

From Valve Developer Community
Jump to navigation Jump to search
English (en)Español (es)Translate (Translate)

For change the Player Model in Third Person you will need to do the follow:

  • Put a prop_physics in your map inside a Nodraw box with the model that you want to be the new Player Model (Example: models/humans/group01/male_01.mdl), this is for Precache the Model and its animations.
  • Now, add a point_clientcommand with the name "Console" inside the same box.
  • Finally add a "logic_auto" inside the same box, and create an Output with the following:

"My Output Named" - OnMapSpawn

"Target Entities Named" - console

"Via this Input" - Command

"With a parameter override of" - setmodel <Your Model Dir without "models/" and ".mdl" at the end> (Example: setmodel humans/group01/male_01)

And That's it!

For fix the player Animations you'll need to follow this tutorial: Fixing the player animation state (Single Player)

See also