Jump to content

Arousing Weather mod blocker


Recommended Posts

Posted

Hi, So I got into creating a new weather mod in addition to Climates of Tamriel

 

It adds new weather type with pinkish colour which overrides all actors arousal to maximum. That means it can lead to some crazy weather effects, especially on the ground amongst the denizens of Skyrim :)).

 

 

I am now facing a blocking problem. I have to create an update to arousal slaFrameworkScr script and add exception detecting my new weather.

 

I was hoping to be able to identify it from

 

Weather currentWeather = Weather.GetCurrentWeather()

 

currentWeather.GetFormID() returns current ID based on my load order, which is ok for me, but not if I want to release to someone else

 

currentWeather.GetName() returns nothing and I hoped it would return form name, which I could compare to hardcoded string

 

is there any other way of identifying my weather form by some generic attribute I can compare??? Fog attribute or something

post-524237-0-16301200-1462053816_thumb.jpg

post-524237-0-70744400-1462053820_thumb.jpg

post-524237-0-18477600-1462053826_thumb.jpg

Posted

The best way to do this is to use GetFormFromFile:

Weather yourCustomWeather = Game.GetFormFromFile(0xABC, "YourModName.esp") as Weather

If ( yourCustomWeather != None )
    If ( Weather.GetCurrentWeather() == yourCustomWeather )
        ;do arousal things
    EndIf
EndIf

In the GetFormFromFile call, replace ABC with the formID of your custom weather (minus the first two digits), and change the .ESP name to the correct one.

Posted

The best way to do this is to use GetFormFromFile:

Weather yourCustomWeather = Game.GetFormFromFile(0xABC, "YourModName.esp") as Weather

If ( yourCustomWeather != None )
    If ( Weather.GetCurrentWeather() == yourCustomWeather )
        ;do arousal things
    EndIf
EndIf

In the GetFormFromFile call, replace ABC with the formID of your custom weather (minus the first two digits), and change the .ESP name to the correct one.

 

That looks like a cleaner sollution, I will work it into the code in the future.

 

At the moment, I did this:

Weather currentWeather = Weather.GetCurrentWeather()

if (currentWeather.GetFogDistance(false,0) == 121.000000)
  newRank = 100
EndIf

While 121 is as far as I checked in CoT specific only for my weather type.

Posted

This is actually an interesting idea, I don't think I've ever seen anyone suggest it before...

 

What can you edit with a weather record? If I remember my tes5edit it shouldn't be hard to add things like quiet moans carried on the wind, or occasional flecks of floating pink snow...

 

Damn this sounds interesting. I may have to try making my own if I ever get back to skyrim. Of course knowing me I'll probably go off the deep end and have a weather that makes little images of busty lesbians float around or something.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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