Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[WIP][BETA] Random Weather and Time

Featured Replies

If you are like me, you are probably loading the same savegame every time, which means you'll always have the same weather and time (and the default GTA V weather cycle is very slow).

One way to have some variety is using a trainer to change this, but for me it felt like cheating, as I was choosing what I want.

 

That's why I wrote a small script to set random weather and time on startup ... and then added a few more features.

 

Feature list:

  • Random weather on start
    • List of available weather types configurable
  • Random date/time on start
    • Completely random or configurable times
  • Weather forecast
    • Can be enabled/disabled
  • Weather events (short rain showers or thunderstorms, optionally also snow)
    • Partially configurable
      • enable/disable
      • min/max time between events
      • allow/disallow snow
    • Consists of 4 stages with custom transition speed (based on wind speed)
      1. Preparation (set random wind speed, show weather alert)
      2. Intro (transition to overcast)
      3. Event (transition to event weather)
      4. Outro (transition to exit weather, schedule next event)

 

Requirements:

  • Community Script Hook V .NET

 

Installation:

  • Copy both the .dll and .ini file from the zip file into your scripts folder
  • Open the .ini file with a text editor and set everything to your liking

 

Notes/Know issues:

  • Initial welcome message and weather forecast not showing, when LSPDFR is automatically loading on start
  • If you have any issues, please check the RandomWeatherAndTime.log from your GTA V main folder and attach it if there are any errors

 

 

I'm release this as a beta now, because I'm back to work since today and will have less time to test everything. Any feedback is very welcome!

RandomWeatherAndTime.zip

On 7/29/2019 at 7:08 PM, Bogi said:

If you are like me, you are probably loading the same savegame every time, which means you'll always have the same weather and time (and the default GTA V weather cycle is very slow).

One way to have some variety is using a trainer to change this, but for me it felt like cheating, as I was choosing what I want.

 

That's why I wrote a small script to set random weather and time on startup ... and then added a few more features.

 

Feature list:

  • Random weather on start
    • List of available weather types configurable
  • Random date/time on start
    • Completely random or configurable times
  • Weather forecast
    • Can be enabled/disabled
  • Weather events (short rain showers or thunderstorms, optionally also snow)
    • Partially configurable
      • enable/disable
      • min/max time between events
      • allow/disallow snow
    • Consists of 4 stages with custom transition speed (based on wind speed)
      1. Preparation (set random wind speed, show weather alert)
      2. Intro (transition to overcast)
      3. Event (transition to event weather)
      4. Outro (transition to exit weather, schedule next event)

 

Requirements:

  • Community Script Hook V .NET

 

Installation:

  • Copy both the .dll and .ini file from the zip file into your scripts folder
  • Open the .ini file with a text editor and set everything to your liking

 

Notes/Know issues:

  • Initial welcome message and weather forecast not showing, when LSPDFR is automatically loading on start
  • If you have any issues, please check the RandomWeatherAndTime.log from your GTA V main folder and attach it if there are any errors

 

 

I'm release this as a beta now, because I'm back to work since today and will have less time to test everything. Any feedback is very welcome!

RandomWeatherAndTime.zip 8.04 kB · 4 downloads

Hi....downloaded this last night, seems to be very well made, with no signs of bugs or crashes so far. Has a variety of weather systems that come and go throughout, as well as regular updates through 'Life Invader', which I thought was really good, almost like a weather bulletin. Only thing to say is weather seems to be more raining and storms that anything else, but admittedly have only tried this mod twice so far, so will continue using and see how it goes. 

  • 2 years later...

Hi, the script was working fine until the last gta V update. Here is the contents of my .log file if that helps.
Thanks in advance.

 

 

8/11/2021 6:44:42 PM : Random Weather and Time initialized
8/11/2021 6:44:42 PM : System.ArgumentOutOfRangeException: Month must be between one and twelve.
Parameter name: month
   at System.Globalization.GregorianCalendar.GetDaysInMonth(Int32 year, Int32 month, Int32 era)
   at GTA.World.get_CurrentDate()
   at Randomize.Time.SetStartTime()
   at Randomize.RandomWeatherAndTime..ctor()

REQUIRED

Edited by lucienpm

  • 1 year later...

I've been using this script for a long time and really enjoy it however around a week ago I began to suffer heavy performance loss (on a high end system) and spent several days trying to find the culprit. I finally discovered today that it was this script causing the problem and have been forced to remove it. Are there any further updates planned for it?

 

This was my most recent log before it was removed:

 

Quote

06/12/2022 14:04:30 : Random Weather and Time initialized
06/12/2022 14:04:30 : Game time set to 06/12/2022 12:02:00
06/12/2022 14:04:30 : Weather set to Neutral
06/12/2022 14:04:30 : System.ArgumentOutOfRangeException: Month must be between one and twelve.
Parameter name: month
   at System.Globalization.GregorianCalendar.GetDaysInMonth(Int32 year, Int32 month, Int32 era)
   at GTA.World.get_CurrentDate()
   at Randomize.Weather.ScheduleNextEvent()
   at Randomize.RandomWeatherAndTime..ctor()

 

Edited by MythicalMonkey

Random Weather and Time when i turned it on RealDate = true, RandomDate = false.

 

w System.Globalization.GregorianCalendar.GetDaysInMonth(Int32 year, Int32 month, Int32 era)
   w GTA.World.get_CurrentDate()
   w Randomize.Weather.ScheduleNextEvent()
   w Randomize.RandomWeatherAndTime..ctor()

  • 11 months later...
  • 1 month later...
  • 7 months later...

@Bogi

Works fine, however there should be an option to set weather chances. I like a bit rain but thats more than in UK...

And maybe a smoother transition, the weather changes are from one moment to the other, it´s a bit weird.

And you got a funny location (Austria/Germany) 😂

Life has no happy end.

It´s always the death...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.