Manually Enhance™ your own weather cycles! CET menu that allows you to customize weather cycles, including the ability to disable any states you don't want... Compatible with env mods or vanilla weather... Supports custom modded weather states (script auto-detects them)...
Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou must get permission from me before you are allowed to modify my files to improve it
Conversion permissionYou are not allowed to convert this file to work on other games under any circumstances
Asset use permissionYou must get permission from me before you are allowed to use any of the assets in this file
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are not allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
Major thanks to u/Psiberx for Codeware and Cron Thanks to the CET dev team
Donation Points system
This mod is opted-in to receive Donation Points
Changelogs
Version 2.0-main
Added the 'Hours' tab from the 2.0-experimental version (that is now archived) into the main mod file. This allows you to set allowed times of day for cycling into each weather state. Still somewhat experimental, but I think I got enough error handling in place to handle any issues that could've arisen otherwise...
Added a toggle to enable/disable the weather cycling... This also allows resetting the mod if it messes up for some reason (such as reloading all mods in CET overlay)...
Version 1.8
Added a message in the overlay window any time the menu is unavailable so you know that it is unavailble but the script not broken... Also added a message pop-up in game for the first time the menu ever becomes available (this will only ever show once the very first time)...
Version 1.7
Fixed a number of issues, including crashes to desktop in the prologue (the script will no longer workfor a new game until after you meet with Dexter in his limo, and exit his vehicle)... Also fixed issues with the weather not cycling again after loading a different savegame, dying, or returning to main menu (after the script starts swapping initially)... Weather cycling will now continue through these (and other similar) events...
Version 1.6
Mod will now correctly set weather states again... Missed removing a space character from the weather state names in the previous update...
Version 1.4
Added ability for the script to get a list of all weather states automatically that are available in the game, whether vanilla or from an "Env" mod... Due to this change, the 'custom' folder for loading custom states from json files is no longer supported (as it is no longer needed)... The script will still save all settings, even if the available states change (from swapping env mods)...
Version 1.3
Added ability to select the current file to load custom weather states from, using a drop-down list in the CET overlay... The script will automatically detect any json files in the 'custom' folder and add them as selections in the drop-down list... Note that the script will revert any saved values to default whenever you select a different file... This is intended to be used to load only the custom states from a specific env mod while ignoring other lists (files)...
Version 1.2
Added 'blacklists' for each weather state, so you can disallow cycling from them to any other states/themselves... By default, all blacklists are empty (all states are allowed to cycle to any other state), but there are new checkboxes (in collapsible sub-menus) in the CET overlay window to set theseblacklists up...
These blacklists auto-generate for all states (as empty), including any added custom states...
Version 1.1
Now shuffles the weather states each game launch and after setting each state to make everything more random (launch used to not be random at all)
Requires Codeware (v1.9.1 or higher) and CET (v1.32.2 or higher)
Note: The CET overlay menu will not be available until you are fully loaded into a saved game, or for new games, it will be unavailable until after you meet with Dex and exit his limo... The menu will also be unavailable any time you return to the main menu (until you load into a game again)...
What does this mod do?
It gives you a menu in CET overlay that allows you to set up custom (randomized) weather cycles
As of v1.4, it auto-detects all weather states in the env (whether vanilla or modded) and adds sliders to the menu for them... You no longer need to add custom states yourself!
It allows you to set the minimum and maximum durations for each weather state, in game hours
It also allows you to set the chance/probability for each state (setting this to 0 disables the state)
Lastly, it allows you to set the transition duration for each state (in real life seconds, up to 300, which is 5 minutes)
As of v1.3, you can now set up blacklists (in the overlay menu) for each state, to disallow a state from cycling into other states
How do I add custom weather states?
You don't need to anymore in v1.4+! The script will now get the list of states from the env file (whether modded or vanilla env)
Installation:
Extract to main CP77 install folder or install with Vortex
Uninstallation:
Delete the "Customizable Weather Cycles" folder from your [CP77>bin>x64>plugins>CET>mods] folder
Known Issues:
Reloading all mods in CET overlay while in-game will break the script, requiring a game restart or a return to main menu in order to fix... You can reload all mods from the main menu safely, though...
Returning to main menu from a game can slightly mess up the cycles, but nothing major (it's because the game time is is not the same in the main menu as it is in-game)...
No other known issues as of yet... Please report any that you find...
Compatibility:
Though not technically incompatible, I do not suggest to use this with my "Force Weather States" mod (really, just not "Force On Launch" feature of it)...
This will override forcing weather with mods like my Forced Weather States or Weathermancer/AMM... You can still use them to force weather temporarily, but this will override it when it's time for it to cycle the weather again...