engine: server: define new "_sv_override_scientist_mdl" cvar for Uplink's scientist model.

This commit is contained in:
Andrey Akhmichin 2024-02-16 04:33:06 +05:00 committed by Alibek Omarov
parent 2c0d6e06be
commit d517b9717a

View File

@ -75,6 +75,7 @@ CVAR_DEFINE_AUTO( skill, "1", 0, "skill level in singleplayer game" );
CVAR_DEFINE_AUTO( temp1, "0", 0, "temporary cvar that used by some mods" );
CVAR_DEFINE_AUTO( listipcfgfile, "listip.cfg", 0, "name of listip.cfg file" );
CVAR_DEFINE_AUTO( mapchangecfgfile, "", 0, "name of map change configuration file" );
CVAR_DEFINE_AUTO( _sv_override_scientist_mdl, "", 0, "override default scientist model (specially for HL25 Uplink maps)" );
// physic-related variables
CVAR_DEFINE_AUTO( sv_gravity, "800", FCVAR_MOVEVARS, "world gravity value" );
@ -948,6 +949,7 @@ void SV_Init( void )
Cvar_RegisterVariable( &bannedcfgfile );
Cvar_RegisterVariable( &listipcfgfile );
Cvar_RegisterVariable( &mapchangecfgfile );
Cvar_RegisterVariable( &_sv_override_scientist_mdl );
Cvar_RegisterVariable( &sv_voiceenable );
Cvar_RegisterVariable( &sv_voicequality );