Fix Alien Grunt's TraceAttack method.

Fix extra cfg file crashing the server.
Added custom blood color for monsters.
This commit is contained in:
Giegue
2023-04-24 13:17:49 -03:00
parent 1d8a6768aa
commit e1e2a48f89
27 changed files with 65 additions and 33 deletions

View File

@@ -308,7 +308,7 @@ void CMController :: Spawn()
pev->solid = SOLID_SLIDEBOX;
pev->movetype = MOVETYPE_FLY;
pev->flags |= FL_FLY;
m_bloodColor = BLOOD_COLOR_GREEN;
m_bloodColor = !m_bloodColor ? BLOOD_COLOR_YELLOW : m_bloodColor;
pev->health = gSkillData.controllerHealth;
pev->view_ofs = Vector( 0, 0, -2 );// position of the eyes relative to monster's origin.
m_flFieldOfView = VIEW_FIELD_FULL;// indicates the width of this monster's forward view cone ( as a dotproduct result )