Change Player Model in Third Person: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "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 P...")
 
m (clean up, added orphan tag)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Orphan|date=January 2024}}
{{lang|Change Player Model in Third Person}}
For change the Player Model in Third Person you will need to do the follow:
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.
* 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.
* Now, add a point_clientcommand with the name "Console" inside the same box.
* Finally add a "logic_auto" inside the same box, and create a Output with the following:
* Finally add a "logic_auto" inside the same box, and create an Output with the following:


"My Output Named" - OnMapSpawn
"My Output Named" - OnMapSpawn
Line 12: Line 15:


"With a parameter override of" - setmodel <Your Model Dir without "models/" and ".mdl" at the end> (Example: setmodel humans/group01/male_01)
"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!
And That's it!
Line 18: Line 20:
For fix the player Animations you'll need to follow this tutorial: [[Fixing the player animation state (Single Player)]]
For fix the player Animations you'll need to follow this tutorial: [[Fixing the player animation state (Single Player)]]


--[[User:Fer5567|Fer5567]] 18:33, 4 July 2013 (PDT)
== See also ==
*[[Third-person camera]]


[[Category:Programming]]
[[Category:Programming]]
== See also ==
*[[Third-person camera]]

Latest revision as of 22:37, 21 January 2024

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