Skip to content

Commit

Permalink
Restore Old Event Rates (#509)
Browse files Browse the repository at this point in the history
# Description
This restores the basic/survival event rates to how they were before
before #486 (however, it keeps the CVars created in it).

- 5-25 minutes for basic instead of 15-35
- 4-12 minutes for survival instead of 20-45

---

# Why
The PR made it so that survival rounds actually have less events than
extended - that is considering that survival rounds are supposed to be
troublesome and filled with events while extended ones are supposed to
be a chill alternative.

Other forks don't bother with editing CVars every 5 minutes, so this
"opportunity to configure their experience" was never addressed. Based
on the feedback I've received from other players, the change was rather
negative.

From my personal experience, survival rounds became an extended
extended, where during a 2-hour shift you can get a grand total of one
power outage and two mice infestations, and nothing else at all.

---

# Changelog

:cl:
- tweak: Events should now occur as frequently as before. Note: server
owner can configure the frequency on their server manually.

Signed-off-by: Mnemotechnican <[email protected]>
  • Loading branch information
Mnemotechnician committed Jul 5, 2024
1 parent c4f7700 commit aaee45a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Content.Shared/CCVar/CCVars.cs
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,14 @@ public sealed class CCVars : CVars
/// Close to how long you expect a round to last, so you'll probably have to tweak this on downstreams.
/// </summary>
public static readonly CVarDef<float>
EventsRampingAverageEndTime = CVarDef.Create("events.ramping_average_end_time", 120f, CVar.ARCHIVE | CVar.SERVERONLY);
EventsRampingAverageEndTime = CVarDef.Create("events.ramping_average_end_time", 40f, CVar.ARCHIVE | CVar.SERVERONLY);

/// <summary>
/// Average ending chaos modifier for the ramping event scheduler.
/// Max chaos chosen for a round will deviate from this
/// </summary>
public static readonly CVarDef<float>
EventsRampingAverageChaos = CVarDef.Create("events.ramping_average_chaos", 4f, CVar.ARCHIVE | CVar.SERVERONLY);
EventsRampingAverageChaos = CVarDef.Create("events.ramping_average_chaos", 6f, CVar.ARCHIVE | CVar.SERVERONLY);

/*
* Game
Expand Down Expand Up @@ -176,26 +176,26 @@ public sealed class CCVars : CVars
/// <summary>
/// Minimum time between Basic station events in seconds
/// </summary>
public static readonly CVarDef<int> // 15 Minutes
GameEventsBasicMinimumTime = CVarDef.Create("game.events_basic_minimum_time", 900, CVar.SERVERONLY);
public static readonly CVarDef<int> // 5 Minutes
GameEventsBasicMinimumTime = CVarDef.Create("game.events_basic_minimum_time", 300, CVar.SERVERONLY);

/// <summary>
/// Maximum time between Basic station events in seconds
/// </summary>
public static readonly CVarDef<int> // 35 Minutes
GameEventsBasicMaximumTime = CVarDef.Create("game.events_basic_maximum_time", 2100, CVar.SERVERONLY);
public static readonly CVarDef<int> // 25 Minutes
GameEventsBasicMaximumTime = CVarDef.Create("game.events_basic_maximum_time", 1500, CVar.SERVERONLY);

/// <summary>
/// Minimum time between Ramping station events in seconds
/// </summary>
public static readonly CVarDef<int> // 20 Minutes
GameEventsRampingMinimumTime = CVarDef.Create("game.events_ramping_minimum_time", 1200, CVar.SERVERONLY);
public static readonly CVarDef<int> // 4 Minutes
GameEventsRampingMinimumTime = CVarDef.Create("game.events_ramping_minimum_time", 240, CVar.SERVERONLY);

/// <summary>
/// Maximum time between Ramping station events in seconds
/// </summary>
public static readonly CVarDef<int> // 45 Minutes
GameEventsRampingMaximumTime = CVarDef.Create("game.events_ramping_maximum_time", 2700, CVar.SERVERONLY);
public static readonly CVarDef<int> // 12 Minutes
GameEventsRampingMaximumTime = CVarDef.Create("game.events_ramping_maximum_time", 720, CVar.SERVERONLY);

/// <summary>
///
Expand Down

0 comments on commit aaee45a

Please sign in to comment.