- Finish removal of sh_scialert
- Small change to default.cfg - First try at sh_scirand
This commit is contained in:
parent
d546b39546
commit
d60382f8c9
2 changed files with 8 additions and 7 deletions
|
@ -442,9 +442,8 @@ monster_scientist::Respawn(void)
|
||||||
if (g_chosen_mode == SHMODE_INVASION)
|
if (g_chosen_mode == SHMODE_INVASION)
|
||||||
m_iAlliance = MAL_ALIEN;
|
m_iAlliance = MAL_ALIEN;
|
||||||
|
|
||||||
/* scientists are always afraid in standard hunting
|
/* scientists are always afraid in these modes */
|
||||||
* and scialert mode */
|
if (g_chosen_mode == SHMODE_STANDARD || g_chosen_mode == SHMODE_MADNESS || g_chosen_mode == SHMODE_INVASION) {
|
||||||
if (autocvar_sh_scialert || g_chosen_mode == SHMODE_STANDARD || g_chosen_mode == SHMODE_MADNESS || g_chosen_mode == SHMODE_INVASION) {
|
|
||||||
m_iFlags |= MONSTER_FEAR;
|
m_iFlags |= MONSTER_FEAR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -519,7 +518,12 @@ monster_scientist::Spawned(void)
|
||||||
m_talkUnfollow = "!SC_WAIT";
|
m_talkUnfollow = "!SC_WAIT";
|
||||||
m_talkFollow = "!SC_OK";
|
m_talkFollow = "!SC_OK";
|
||||||
m_talkStopFollow = "!SC_STOP";
|
m_talkStopFollow = "!SC_STOP";
|
||||||
|
|
||||||
|
if (cvar("sh_scirand") == 1) {
|
||||||
m_iBody = -1;
|
m_iBody = -1;
|
||||||
|
} else {
|
||||||
|
m_iBody = "";
|
||||||
|
}
|
||||||
|
|
||||||
model = "models/scientist.mdl";
|
model = "models/scientist.mdl";
|
||||||
base_mins = [-16,-16,0];
|
base_mins = [-16,-16,0];
|
||||||
|
|
|
@ -54,7 +54,4 @@ alias mp_fraglimit fraglimit
|
||||||
// video settings
|
// video settings
|
||||||
seta gl_overbright 0
|
seta gl_overbright 0
|
||||||
seta gl_ldr 1
|
seta gl_ldr 1
|
||||||
seta r_lightmap_format rgb8
|
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,
|
|
Loading…
Reference in a new issue