Garry's Mod

Garry's Mod

Not enough ratings
[TTT2] gWeather Support [ADDON]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
Addon Tags: Fun, Roleplay, Scenic
File Size
Posted
Updated
11.082 KB
7 Mar @ 7:48am
13 Apr @ 6:13am
4 Change Notes ( view )

Subscribe to download
[TTT2] gWeather Support [ADDON]

Description
Great, first traitors, now we're stuck in a sandstorm? What's next, acid rain?

You have to use TTT2 in order to use this addon. Additionally using ULX for TTT2 is recommended. Report bugs concerning this addon here[github.com].

DISCLAIMER! This is an unofficial addon, I do not have any ties to gWeather. I just enjoyed the mod and wanted to create a fun addon that brought it to TTT2! No assets were used in the creation of this addon, it's just pure code!

Discord: https://discord.gg/9njYXGY
Source: https://github.com/milkwxter/TTT2gWeatherSupport



Anyways, this addon will add tons of new weathers to your TTT2 matches (41 different weathers to be exact). Certain weathers will promote new kinds of gameplay, so watch as your players adapt and create new strategies.

Snow and dust storms might take over a round, leaving people confused about what is happening far away since they can't see far. Can a traitorous player use this to his advantage and kill people in what used to be open areas?

What about a hurricane? One round a hurricane might spawn, flinging props around and making it hard to move outside. A traitor could catch someone moving from one building to the next with a sniper rifle since they will be slowed down by the winds!

Sometimes the round will happen as normal, as simple clouds roll in, giving everyone a nice break from the crazy weather!




Convars are variables that are introduced to allow server owners to customize the gameplay without changing the code.

I have implemented all the base gWeather convars and my two custom convars into the admin F1 menu under the Server Addons menu. There are also buttons to remove the weather from the round (resetting it to the map default) and another button to add a new weather (only one weather at a time though).

# percent chance each round to have a random weather ttt2_cv_gweather_chance [0.0..1.0] (default 1.0) # the maximum tier of weather that can spawn. higher tiers = crazier weather ttt2_cv_gweather_max_tier[1..6] (default 6)

--
Credits
milkwater: Coding
Jimmywells, Lessrian, Hectic, & dr dope: gWeather
4 Comments
Nicko 13 Apr @ 12:49pm 
Awesome, thanks so much!
milkwater  [author] 13 Apr @ 6:16am 
Nicko, I have identified the issue and fixed it.

Thank you for the bug report! I can confirm it will work properly now!
Nicko 12 Apr @ 10:48pm 
Hey, I really like the addon, but it seems like the gweather chance command is not working. I'm getting weather effects every round despite the percent.
MrXonte 7 Mar @ 8:26am 
awesome!