Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Modding Releases & Resources
  3. [ZM] Origins Permasnow (TEST)

[ZM] Origins Permasnow (TEST)

Scheduled Pinned Locked Moved BO2 Modding Releases & Resources
2 Posts 2 Posters 339 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Coronavirus-19undefined Offline
    Coronavirus-19undefined Offline
    Coronavirus-19
    wrote last edited by Coronavirus-19
    #1

    Permanent Snow after Round 1!

    This mod is for anyone that wants the Ice Staff on an earlier round.

    Any issues please state them in the comments!

    Files: Plutonium/storage/t6/scripts/zm/zm_tomb

    Raw Code:

    init()
    {
        level thread force_snow_weather();
    }
    
    force_snow_weather()
    {
        // Wait for Origins weather controller to start
        wait 5;
    
        // Stop Origins from cycling weather
        level.weather_cycle_enabled = false;
        level.weather_state = "snow";
    
        setDvar("weather", "snow");
        setDvar("weather_state", "snow");
    
        // Loop to keep overriding anything the game tries to change
        while (1)
        {
            level.weather_state = "snow";
            setDvar("weather", "snow");
            setDvar("weather_state", "snow");
            wait 5;
        }
    }
    
    
    1 Reply Last reply
    1
    • spc.1undefined Offline
      spc.1undefined Offline
      spc.1
      wrote last edited by
      #2

      Sounds awesome I'll try it out when I get home.

      1 Reply Last reply
      1
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Donate