No Animation for Combine Models
Jump to navigation
Jump to search
If you have created a mod based on HL2:MP, you may have this issue. Combine players will appear to other players as a simple combine model with his arms out to his side, with no walking animation, nor any other type of animation. When they walk around, they simply appear to glide along the ground. You may need to disable client side model changing in your gameinfo.txt to prevent players from picking a non-working model.
Fix
Open hl2mp_player.cpp
Find:
Q_snprintf( szReturnString, sizeof (szReturnString ), "cl_playermodel models/Combine_Soldier.mdl\n" );
Replace with:
Q_snprintf( szReturnString, sizeof (szReturnString ), "cl_playermodel models/Police.mdl\n" ); //COMBINE MODEL FIX
Find:
szModelName = "models/Combine_Soldier.mdl";
Replace with:
szModelName = "models/Police.mdl"; //COMBINE MODEL FIX
Find:
pszCurrentModelName = "models/Combine_Soldier.mdl";
Replace with:
pszCurrentModelName = "models/Police.mdl"; //COMBINE MODEL FIX
Find (Second occurrence):
szModelName = "models/Combine_Soldier.mdl";
Replace with:
szModelName = "models/Police.mdl"; //COMBINE MODEL FIX