Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/ASTRA228b/Gorilla-Time-V2/llms.txt

Use this file to discover all available pages before exploring further.

Gorilla Time V2 exposes two buttons in the overlay window — Start Rain and Stop Rain — that directly modify Gorilla Tag’s internal weather system. Both buttons write to the weatherCycle array on BetterDayNightManager.instance, which is the same manager responsible for the game’s day-night transitions. Because the write happens immediately when you press the button, you can switch the weather state at any point during a session without reloading the scene.

How the weather buttons work

Gorilla Tag stores its weather schedule in a weatherCycle array. Each element in the array is a WeatherType enum value. Gorilla Time V2 iterates over the array and overwrites every entry:
  • Start Rain sets each entry to (WeatherType)1, which corresponds to WeatherType.Rain.
  • Stop Rain sets each entry to (WeatherType)0, which corresponds to WeatherType.None.
Both methods include a null check on the manager and the array before iterating, so pressing either button when the manager has not yet initialized is handled gracefully without throwing an exception.

Source code

private void StartRain()
{
    var manager = BetterDayNightManager.instance;
    if (manager == null || manager.weatherCycle == null)
        return;
    for (int Yes = 1; Yes < manager.weatherCycle.Length; Yes++)
    {
        manager.weatherCycle[Yes] = (WeatherType)1;
    }
}

private void StopRain()
{
    var manager = BetterDayNightManager.instance;
    if (manager == null || manager.weatherCycle == null)
        return;
    for (int No = 1; No < manager.weatherCycle.Length; No++)
    {
        manager.weatherCycle[No] = (WeatherType)0;
    }
}
Both loops start at index 1, not 0. Index 0 of the weatherCycle array is left untouched. This matches the original plugin code exactly.

Starting and stopping rain

1

Open the overlay

Press T to open the Gorilla Time V2 window.
2

Click Start Rain

Click the Start Rain button. The plugin immediately iterates the weatherCycle array and sets every entry (from index 1 onward) to WeatherType.Rain.
3

Wait for the cycle to update

The weather change may not be visible the instant you press the button. The game reads from weatherCycle on its own schedule, so rain typically appears within the next weather cycle tick.
4

Click Stop Rain to clear

Click Stop Rain to set all entries back to WeatherType.None. Rain will stop once the game processes the updated cycle.
Weather changes are not applied every frame like the time override — they are a one-shot write to the weatherCycle array. The game reads that array on its own internal schedule, so there may be a brief delay between pressing the button and seeing the weather change in game.
If BetterDayNightManager.instance or its weatherCycle array is null when you press either button, the method returns immediately without doing anything. No error is thrown. This can happen if the manager has not finished initializing when the button is pressed.
Combine Start Rain with the Night time setting for a dark, rainy atmosphere. See Controlling time of day for details on locking the game to nighttime.

GUI overview

See every control in the overlay and how the window is styled

Controlling time of day

Lock the game to Morning, Day, Evening, Night, and more

Build docs developers (and LLMs) love