My problem this time is adding new player models to HL2DM.
I've gone into hl2mp_player.cpp and made this change...
- Code: Select all
const char *g_ppszRandomCitizenModels[] =
{
"models/player/gman_blue.mdl",
"models/player/gman_red.mdl",
};
const char *g_ppszRandomCombineModels[] =
{
"",
};
Adding two new playermodels- Red and Blue G-Men. I then replaced all instances of combine_soldier.mdl with gman_blue.mdl. In-game, you spawn as blue G-Man. However, you can only become the red one with cl_playermodel- In other words, picking gman_red through the console asks you to wait 5 seconds. After 5 seconds, you can attempt to change again. However, it simply does nothing. It even does this on the menu. When you pick it before you're even in a game it asks for a 5 second wait. Do I need to add gman_red elsewhere? How have I gone wrong?






