Jump to content

[LE] Advice with Change Weather Script


SigilHunter

Recommended Posts

I'm about at my wits end, I'm planning a decent sized Dungeon with a bunch of custom assets within a custom Worldspace, which will involve going into and out of "interior" buildings. My plan was to change the "exterior" weather, to a special one designed to replicate a dark interior, allowing players to seamlessly navigate interior and exterior portions of the dungeon. I modified Xilante's Weather clipping script, but I can't seem to get it to fire even after setting up my weathers and trigger volume. I've tried everything I can think of. Modifying parameters locally on a fresh trigger volume, changing the names of my custom weathers, fiddling with the trigger type. All to no avail, It just never seems to start . I've included my modified version if someone who knows Papyrus better than me could take a look.

 

 

 

EDIT: Figured out what was wrong, script works fine, but I had incorrectly set the Precipitation type in my custom weather under the Precipitation tab. For anyone else who might have this issue, the Precipitation type set in the CK (Snow is 3, Rain is 2, Cloudy is 1, Clear is 0, and -1 is used for odd cases that aren't any of those.) must match the number set at Weather.GetCurrentWeather().GetClassification() == # where # is the number of the corresponding type you set for your custom weather.

Edited by SigilHunter
Link to comment
Share on other sites

  • 4 weeks later...

I'm about at my wits end, I'm planning a decent sized Dungeon with a bunch of custom assets within a custom Worldspace, which will involve going into and out of "interior" buildings. My plan was to change the "exterior" weather, to a special one designed to replicate a dark interior, allowing players to seamlessly navigate interior and exterior portions of the dungeon. I modified Xilante's Weather clipping script, but I can't seem to get it to fire even after setting up my weathers and trigger volume. I've tried everything I can think of. Modifying parameters locally on a fresh trigger volume, changing the names of my custom weathers, fiddling with the trigger type. All to no avail, It just never seems to start . I've included my modified version if someone who knows Papyrus better than me could take a look.attachicon.gif SH_ArchstoneBlade.zip

 

 

 

EDIT: Figured out what was wrong, script works fine, but I had incorrectly set the Precipitation type in my custom weather under the Precipitation tab. For anyone else who might have this issue, the Precipitation type set in the CK (Snow is 3, Rain is 2, Cloudy is 1, Clear is 0, and -1 is used for odd cases that aren't any of those.) must match the number set at Weather.GetCurrentWeather().GetClassification() == # where # is the number of the corresponding type you set for your custom weather.

Could you possibly explain the script you used? I'm wanting to use trigger boxes to change the weather conditions as the player moves through my custom worldspace, but I'm really new to scripting and have no idea where to start.

 

Thanks!

Edited by MesaSolar
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...