X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_console.pas;h=53e8656b6ca39ccc2d027731b5e1e037a01afe6b;hb=6107d1bd653921f093e4d2c81f2905f4e520f6d4;hp=b2194ba719e6e5127995bd8dc9453628556a1356;hpb=97d7d5426c082cb302d2e31b566b29ffe9521e72;p=d2df-sdl.git diff --git a/src/game/g_console.pas b/src/game/g_console.pas index b2194ba..53e8656 100644 --- a/src/game/g_console.pas +++ b/src/game/g_console.pas @@ -1071,6 +1071,8 @@ begin AddCommand('g_max_shells', GameCVars); AddCommand('g_max_gibs', GameCVars); AddCommand('g_max_corpses', GameCVars); + AddCommand('g_force_model', GameCVars); + AddCommand('g_force_model_name', GameCVars); AddCommand('g_gamemode', GameCVars); AddCommand('g_friendlyfire', GameCVars); AddCommand('g_friendly_hit_trace', GameCVars); @@ -2052,7 +2054,7 @@ begin g_Console_BindKey(IK_T, 'togglechat'); g_Console_BindKey(IK_Y, 'toggleteamchat'); g_Console_BindKey(IK_F11, 'screenshot'); - g_Console_BindKey(IK_TAB, '+p1_scores', '-p1_scores'); + g_Console_BindKey(IK_TAB, '+scores', '-scores'); g_Console_BindKey(IK_PAUSE, 'pause'); g_Console_BindKey(IK_F1, 'vote'); @@ -2186,11 +2188,13 @@ begin WriteLn(f, 'g_max_shells ', g_Shells_GetMax()); WriteLn(f, 'g_max_gibs ', g_Gibs_GetMax()); WriteLn(f, 'g_max_corpses ', g_Corpses_GetMax()); + WriteLn(f, 'g_force_model ', g_Force_Model_Get()); + WriteLn(f, 'g_force_model_name ', g_Forced_Model_GetName()); WriteLn(f, 'sv_intertime ', gDefInterTime); // gameplay settings WriteLn(f, 'g_gamemode ', gsGameMode); - WriteLn(f, 'g_scorelimit ', gsGoalLimit); + WriteLn(f, 'g_scorelimit ', gsScoreLimit); WriteLn(f, 'g_timelimit ', gsTimeLimit); WriteLn(f, 'g_maxlives ', gsMaxLives); WriteLn(f, 'g_item_respawn_time ', gsItemRespawnTime);