T-pose NPC

I copied this from the NPC shop tutorial and the NPC is stuck in a t-pose. I thought that it was a model problem so I tried a few and I couldn’t stop it T-posing, anyone know what is wrong? Thanks

function ENT:Initialize()
self:SetModel( “models/player/group01/Male_07.mdl” ) – Sets the model of the NPC.
self:SetHullType( HULL_HUMAN ) – Sets the hull type, used for movement calculations amongst other things.
self:SetHullSizeNormal( )
self:SetSolid( SOLID_BBOX ) – This entity uses a solid bounding box for collisions.
self:CapabilitiesAdd( CAP_ANIMATEDFACE | CAP_TURN_HEAD ) – Adds what the NPC is allowed to do ( It cannot move in this case ).
self:SetUseType( SIMPLE_USE ) – Makes the ENT.Use hook only get called once at every use.

self:SetMaxYawSpeed( 90 ) --Sets the angle by which an NPC can rotate at once.


Your using a player model, not a npc model, try with models/barney.mdl to test

Ok thanks. You wouldn’t happen to know what the GMan model is ? :smile:


Thanks. Is there a list of these anywhere, if not does anyone know the model for the rebel NPC?

Look in your Q Menu?