Added monster_babygarg.

This commit is contained in:
Julian
2020-07-29 22:35:01 -03:00
parent 9602f862c9
commit 9df28b9d3f
8 changed files with 657 additions and 30 deletions

View File

@@ -160,6 +160,7 @@ monster_type_t monster_types[]=
"monster_shocktrooper", FALSE,
"monster_voltigore", FALSE,
"monster_baby_voltigore", FALSE,
"monster_babygarg", FALSE, // Sven Co-op Monsters
"info_node", FALSE, // Nodes
"info_node_air", FALSE,
"", FALSE
@@ -628,6 +629,7 @@ bool spawn_monster(int monster_type, Vector origin, Vector angles, int respawn_i
case 23: monsters[monster_index].pMonster = CreateClassPtr((CMStrooper *)NULL); break;
case 24: monsters[monster_index].pMonster = CreateClassPtr((CMVoltigore *)NULL); break;
case 25: monsters[monster_index].pMonster = CreateClassPtr((CMBabyVoltigore *)NULL); break;
case 26: monsters[monster_index].pMonster = CreateClassPtr((CMBabyGargantua *)NULL); break;
}
if (monsters[monster_index].pMonster == NULL)
@@ -1313,6 +1315,7 @@ void mmServerActivate( edict_t *pEdictList, int edictCount, int clientMax )
CMStrooper strooper;
CMVoltigore voltigore;
CMBabyVoltigore babyvoltigore;
CMBabyGargantua babygargantua;
g_psv_gravity = CVAR_GET_POINTER( "sv_gravity" );
@@ -1356,6 +1359,7 @@ void mmServerActivate( edict_t *pEdictList, int edictCount, int clientMax )
case 23: strooper.Precache(); break;
case 24: voltigore.Precache(); break;
case 25: babyvoltigore.Precache(); break;
case 26: babygargantua.Precache(); break;
}
}
}