Advertisement
ReverendV92

Simple Weather Default Config (Original)

Sep 12th, 2022 (edited)
1,209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 9.99 KB | None | 0 0
  1. --------------------------------------------------
  2. --------------------------------------------------
  3. -- Simple Weather
  4. -- https://steamcommunity.com/sharedfiles/filedetails/?id=531458635
  5. --
  6. -- disseminate - SimpleWeather
  7. -- V92 - Updates, Workshop
  8. --------------------------------------------------
  9. --------------------------------------------------
  10. -- Save to: lua/simpleweather_config.lua
  11. --------------------------------------------------
  12. --------------------------------------------------
  13.  
  14. -- Weather settings
  15.  
  16. SW.AutoWeatherEnabled       = true  -- Enable auto-weather (i.e. automatically cycling between weather) (true/false).
  17. SW.AutoMinTimeStartWeather  = 1     -- Minimum time in hours before weather begins.
  18. SW.AutoMaxTimeStartWeather  = 3     -- Maximum time in hours before weather begins.
  19. SW.AutoMinTimeStopWeather   = 0.2   -- Minimum time in hours before weather stops.
  20. SW.AutoMaxTimeStopWeather   = 1     -- Maximum time in hours before weather stops.
  21. SW.AutoWeatherTypes         = {
  22.     -- "acidrain" ,
  23.     -- "blizzard" ,
  24.     "fog" ,
  25.     -- "lightning" ,
  26.     -- "meteor" ,
  27.     "rain" ,
  28.     -- "sandstorm" ,
  29.     -- "smog" ,
  30.     -- "snow" ,
  31.     "storm" ,
  32. }; -- What weather to automatically start.
  33.  
  34. SW.MapBlacklist = { -- What maps to not run the addon on.
  35.     "rp_bad_map_name_here",
  36.     "gm_another_bad_map",
  37.     "map_that_you_dont_want_sw_on" ,
  38.  
  39.     -- A short list I know of to get you started -V92
  40.     -- Ideally, keep them alphabetical to preserve your sanity.
  41.     "act_airport" , -- Indoor
  42.     "act_city" , -- Night
  43.     "act_corp" , -- Night
  44.     "act_crash" , -- Rain
  45.     "act_metro" , -- Indoor
  46.     "act_plaza" , -- Indoor
  47.     "act_rails" , -- Indoor
  48.     "act_snowmax" , -- Snow
  49.     "ahl2_amuse" , -- Night
  50.     "ahl2_canalwar" , -- Night
  51.     "ahl2_icetown" , -- Snow
  52.     "ancientdust_thc16c2" , -- Indoor
  53.     "credits" , -- Special
  54.     "d1_town_04" , -- Indoor
  55.     "d3_citadel_02" , -- Indoor
  56.     "d3_citadel_03" , -- Indoor
  57.     "d3_citadel_04" , -- Indoor
  58.     "d3_citadel_05" , -- Indoor
  59.     "de_crookcounty" , -- Fog
  60.     "de_shanty_v3_fix" , -- Rain
  61.     "de_vangogh_s" , -- Special
  62.     "dod_colmar" , -- Snow
  63.     "dod_wn71" , -- Special
  64.     "dm_agoge_b2" , -- Night
  65.     "dm_arctic_vendetta_sun_v3" , -- Snow
  66.     "dm_arctic_vendetta_snow_v3" , -- Night
  67.     "dm_zeus_redux" , -- Night
  68.     "ep1_c17_00" , -- Indoor
  69.     "ep1_c17_00a" , -- Indoor
  70.     "ep1_citadel_01" , -- Indoor
  71.     "ep1_citadel_02" , -- Indoor
  72.     "ep1_citadel_02b" , -- Indoor
  73.     "ep1_citadel_03" , -- Indoor
  74.     "ep1_citadel_04" , -- Indoor
  75.     "ep2_outland_02" , -- Indoor
  76.     "ep2_outland_03" , -- Indoor
  77.     "ep2_outland_04" , -- Indoor
  78.     "gm_arid_valley_v2_night" , -- Night
  79.     "gm_arena_submerge" , -- Indoor
  80.     "gm_black" , -- Special
  81.     "gm_black_v2" , -- Special
  82.     "gm_black_v2_reflective" , -- Special
  83.     "gm_black_v3" , -- Special
  84.     "gm_black_v3_reflective" , -- Special
  85.     "gm_black_v3_colourable" , -- Special
  86.     "gm_blackmesasigma_night" , -- Night
  87.     "gm_downtown" , -- Night
  88.     "gm_dddustbowl_night" , -- Night
  89.     "gm_dddustbowl2night" , -- Night
  90.     "gm_excess_island_night" , -- Night
  91.     "gm_galactic_rc1" , -- Special
  92.     "gm_geekroom_v2" , -- Indoor
  93.     "gm_greenland" , -- Indoor
  94.     "gm_floatingworlds_ii_night" , -- Night
  95.     "gm_holygarden" , -- Night
  96.     "gm_holygarden_cataclysm" , -- Night
  97.     "gm_longentrepot" , -- Indoor
  98.     "gm_mallparking" , -- Indoor
  99.     "gm_skylife_v1" , -- Night
  100.     "gm_stormfront" , -- Rain
  101.     "gm_sunsetgulch_night" , -- Night
  102.     "gm_traincity_v2_rain" , -- Rain
  103.     "gm_traincity_v2_night" , -- Night
  104.     "fs_gs-teamspeak" , -- Indoor
  105.     "fs_shining" , -- Indoor
  106.     "haj_vinoridge" , -- Night
  107.     "holo_wreck_v3" , -- Special
  108.     "intro" , -- Special
  109.     "proxy_museum" , -- Special
  110.     "rp_cc_caves_01" , -- Indoor
  111.     "rp_ineu_pass_v1b_night" , -- Night
  112.     "rp_junglestorm" , -- Night
  113.     "rp_necro_torrington_v2" , -- Night
  114.     "rp_necro_urban_v1" , -- Snow
  115.     "rp_necro_urban_v2" , -- Snow
  116.     "rp_necro_urban_v3a" , -- Rain
  117.     "rp_necro_urban_v3b" , -- Rain
  118.     "rp_wildwest_sup" , -- Night
  119.     "steamclub_v1" , -- Indoor
  120.     "tetsu0_comp33" , -- Night
  121.     "trp_coastal-sub-facility_v2" , -- Night
  122.     "v92_airship" , -- Indoor
  123.     "v92_auditorium" , -- Indoor
  124.     "v92_basementdweller" , -- Indoor
  125.     "v92_brainarchives" , -- Indoor
  126.     "v92_cyberapartment" , -- Indoor
  127.     "v92_cyberapartment_blue" , -- Indoor
  128.     "v92_cyberapartment_green" , -- Indoor
  129.     "v92_ratloft" , -- Indoor
  130.     "v92_steptest" , -- Special
  131.     "v92_toysoldiers" , -- Indoor
  132.     "v92_toyhouse_night" , -- Indoor
  133. }
  134.  
  135. SW.AlwaysOutside            = false -- Should players be considered outside at all times (ie. if you want snow in an indoor map)? (true/false)
  136.  
  137. SW.RainOnScreen             = true  -- Show rain on screen (true/false).
  138. SW.RainOnScreenMinSize      = 20    -- Minimum size of the raindrops on screen.
  139. SW.RainOnScreenMaxSize      = 40    -- Maximum size of the raindrops on screen.
  140. SW.VehicleRaindrops         = false -- Show rain on screen when in vehicles (true/false).
  141.  
  142. SW.RainSplashes             = true  -- Make rain splash particle effect (true/false).
  143. SW.RainSmoke                = true  -- Make rain steam particle effect (true/false).
  144.  
  145. SW.ThunderMinDelay          = 10    -- Minimum delay in seconds to cause lightning/thunder while stormy.
  146. SW.ThunderMaxDelay          = 30    -- Maximum delay in seconds to cause lightning/thunder while stormy.
  147. SW.LightningEnabled         = true  -- Enable lightning flashes (true/false).
  148.  
  149. SW.ColormodEnabled          = true  -- Enable colormod when it's cloudy (true/false).
  150. SW.ColormodIndoors          = true  -- Enable colormod when there's a roof over your head (true/false).
  151.  
  152. SW.VolumeMultiplier         = 1     -- Volume (0-1) sounds should play at. Change it if the rain's too loud!
  153.  
  154. SW.FogDayDensity            = 1     -- Fog max density (0-1) during the day.
  155. SW.FogNightDensity          = 0.4   -- Fog max density (0-1) during the night.
  156. SW.FogIndoors               = false -- Enable fog when you have a roof over your head (true/false).
  157. SW.FogSpeed                 = 0.01  -- Speed at which fog appears and disappears (default 0.01). Decrease to make fog changes slower.
  158.  
  159.  
  160. -- Day/Night settings
  161.  
  162. SW.StartTime                = 10    -- What time to start at on server launch (0-24).
  163.  
  164. SW.Realtime                 = false -- Should time pass according to the server's time. (true/false)
  165. SW.RealtimeOffset           = 0     -- If realtime is on, add this many timezones. For example, if the server was GMT and you set this to -5, it'd be EST ingame.
  166. SW.DayTimeMul               = 0.01  -- Multiplier of time during the day. Make this bigger for time to go faster, and smaller for time to go slower.
  167. SW.NightTimeMul             = 0.02  -- Multiplier of time during the night. Make this bigger for time to go faster, and smaller for time to go slower.
  168.  
  169. SW.StaticTime               = false -- If it's a number, keep time here (ie. 0 would make it always night, 12 would make it always noon). If false, time progresses.
  170.  
  171. SW.UpdateLighting           = true  -- Enable map lighting updates (true/false). Turn this off if the map's a night map already!
  172. SW.UpdateSun                = true  -- Enable sun moving through the sky (true/false).
  173. SW.UpdateSkybox             = true  -- Enable the skybox to change color through the day (true/false).
  174. SW.UpdateFog                = true  -- Turn off fog at night. Prevents weird light fog at night - turn it off if weird stuff happens.
  175. SW.FireOutputs              = true  -- Enable any map-based effects, like lampposts turning off and on (true/false).
  176.  
  177. SW.StaticPropLighting       = false -- Enable static prop lighting. If true, you get better quality lighting, but lag bumps on the client on big maps.
  178.  
  179. SW.ClientUpdateDelay        = 1     -- Delay in seconds between updating the time on the client.
  180. SW.SunUpdateDelay           = 1     -- Delay in seconds between updating the sun position. Setting this to a smaller number will allow smoother sun movement, but doing this also causes lag.
  181. SW.SkyUpdateDelay           = 0.1   -- Delay in seconds between updating the sky colors. Setting this to a smaller number will allow smoother transitions, but doing this also causes lag.
  182.  
  183. SW.MaxDarkness              = "b"   -- Maximum darkness level during night. Increase to add light. "a" is darkest, "z" is lightest (a-z).
  184. SW.MaxLightness             = "y"   -- Maximum lightness level at noon on a clear day. Decrease to decrease light. "a" is darkest, "z" is lightest (a-z).
  185. SW.MaxLightnessStorm        = "j"   -- Maximum lightness level at noon on a stormy day. Decrease to decrease light. "a" is darkest, "z" is lightest (a-z).
  186.  
  187. SW.StarRotateSpeed          = 0.01  -- How fast to rotate the stars at night. Make this smaller for slower rotation (0-1).
  188.  
  189. -- Clock HUD
  190.  
  191. SW.ShouldDrawClock          = true  -- Should draw clock at all
  192. SW.ClockTop                 = false -- Show HUD at top of screen instead of bottom
  193. SW.Clock24                  = false -- 24 hour clock
  194.  
  195. -- Misc settings
  196.  
  197. SW.ChatCommand              = "!weatheroptions" -- Chat command to use to open client config window.
  198. SW.DisplayAtStart           = true -- Show info on opening config when a player joins the server
  199.  
  200. SW.ULXPermission            = { "admin", "superadmin", "owner" }    -- Group(s) to give ULX permissions by default, if using ULX
  201.  
  202. -- Particle configuration settings
  203. -- Messing with this can make some weather work incorrectly... Be sure to make a backup if you change these!
  204.  
  205. SW.MaxParticles             = 7000  -- Maximum number of particles to create at any one time.
  206.  
  207. SW.RainRadius               = 500   -- Radius of rain effect.
  208. SW.RainCount                = 20    -- Amount of particles in rain effect. Make this smaller to increase performance.
  209. SW.RainDieTime              = 3     -- Time in seconds until rain vanishes.
  210.  
  211. SW.StormRadius              = 500   -- Radius of storm effect.
  212. SW.StormCount               = 120   -- Amount of particles in storm effect. Make this smaller to increase performance.
  213. SW.StormDieTime             = 1     -- Time in seconds until rain vanishes.
  214.  
  215. SW.RainHeightMax            = 300   -- Maximum height to make rain.
  216.  
  217. SW.SnowRadius               = 1200  -- Radius of snow effect.
  218. SW.SnowCount                = 20    -- Amount of particles in snow effect. Make this smaller to increase performance.
  219. SW.SnowDieTime              = 5     -- Time in seconds until snow vanishes.
  220.  
  221. SW.SnowHeightMax            = 200   -- Maximum height to make snow.
  222.  
  223. SW.BlizzardRadius           = 1000  -- Radius of blizzard effect.
  224. SW.BlizzardCount            = 30    -- Amount of particles in blizzard effect. Make this smaller to increase performance.
  225. SW.BlizzardDieTime          = 2     -- Time in seconds until blizzard vanishes.
  226. SW.BlizzardHeightMax        = 100   -- Maximum height to make blizzard snow.
  227.  
  228. SW.LeaveSnowOnGround        = true  -- Leave snow on the ground (true/false).
  229.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement