- Finish removal of sh_scialert

- Small change to default.cfg
- First try at sh_scirand
This commit is contained in:
Xylemon 2023-07-17 16:47:31 -07:00
parent d546b39546
commit d60382f8c9
2 changed files with 8 additions and 7 deletions

View file

@ -442,9 +442,8 @@ monster_scientist::Respawn(void)
if (g_chosen_mode == SHMODE_INVASION)
m_iAlliance = MAL_ALIEN;
/* scientists are always afraid in standard hunting
* and scialert mode */
if (autocvar_sh_scialert || g_chosen_mode == SHMODE_STANDARD || g_chosen_mode == SHMODE_MADNESS || g_chosen_mode == SHMODE_INVASION) {
/* scientists are always afraid in these modes */
if (g_chosen_mode == SHMODE_STANDARD || g_chosen_mode == SHMODE_MADNESS || g_chosen_mode == SHMODE_INVASION) {
m_iFlags |= MONSTER_FEAR;
}
@ -519,7 +518,12 @@ monster_scientist::Spawned(void)
m_talkUnfollow = "!SC_WAIT";
m_talkFollow = "!SC_OK";
m_talkStopFollow = "!SC_STOP";
if (cvar("sh_scirand") == 1) {
m_iBody = -1;
} else {
m_iBody = "";
}
model = "models/scientist.mdl";
base_mins = [-16,-16,0];

View file

@ -54,7 +54,4 @@ alias mp_fraglimit fraglimit
// video settings
seta gl_overbright 0
seta gl_ldr 1
seta r_lightmap_format rgb8
// keep compat with old cvar
alias sv_gamemode "sh_realistic $*" // sets the gamemode for Scientist Hunt; 0 - Standard Hunting, 1 - Stealth Hunting, 2 - Traditional Slaughter, 3 - Live in Fear, 4 - Madness,
seta r_lightmap_format rgb8