You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripting/srccoop_addon_difficulty.sp
+4-4
Original file line number
Diff line number
Diff line change
@@ -37,8 +37,8 @@ public void OnPluginStart()
37
37
InitSourceCoopAddon();
38
38
39
39
g_pConvarDifficulty=CreateConVar("sourcecoop_difficulty", "0", "Sets the difficulty - from 0 (base difficulty) and up.", _, true, 0.0);
40
-
g_pConvarDifficultyAuto=CreateConVar("sourcecoop_difficulty_auto", "2", "Sets automatic difficulty mode. -1 disables. 0 balances difficulty between min and max convars. Values above 0 set the difficulty increment per player, ignoring the min and max cvars.", _, true, -1.0);
41
-
g_pConvarDifficultyAutoMin=CreateConVar("sourcecoop_difficulty_auto_min", "1", "When automatic difficulty mode is set to 0, this is the difficulty at 1 player.", _, true, 0.0);
40
+
g_pConvarDifficultyAuto=CreateConVar("sourcecoop_difficulty_auto", "1", "Sets automatic difficulty mode. -1 disables. 0 balances difficulty between min and max convars. Values above 0 set the difficulty increment per player, ignoring the min and max cvars.", _, true, -1.0);
41
+
g_pConvarDifficultyAutoMin=CreateConVar("sourcecoop_difficulty_auto_min", "0", "When automatic difficulty mode is set to 0, this is the difficulty at 1 player.", _, true, 0.0);
42
42
g_pConvarDifficultyAutoMax=CreateConVar("sourcecoop_difficulty_auto_max", "20", "When automatic difficulty mode is set to 0, this is the difficulty at max players.", _, true, 0.0);
g_pConvarDifficultyIgnoreDamageTo=CreateConVar("sourcecoop_difficulty_ignoredmgto", "npc_headcrab;npc_barnacle;npc_puffballfungus", "List of classnames where player->npc damage is exempt from difficulty scaling. Separated by semicolon.");
@@ -118,7 +118,7 @@ public void Frame_PlayerChangeTeamPost()
0 commit comments