Greetings Reneer (great master of Oblivion guard wrangling!)
Funny how we both pop up with this RAIN TENT issue once again after many months at the exact same time. If I qualify then I guess great minds think alike (or maybe the gods of chance are just having a chuckle).
My system works for any shelter that is made correctly even shelter from other mods and all small tents. No need for room for any thing but the PC. I have been working on my system for years (I started trying to do this when I released my first version of the Hypothermia mod. There may still be old thread on this. How long do they keep old threads?) My problem has always been 3 things:
- Primarily that the mod was suppose to be a Temperature mod not a tent rain fix mod so I did not focus my attention at that issue as mush as I have on other projects.
- Second that I need a way to “cut a hole” in the rain effect. I tired many ways that always seem to not work for various reasons. Although I have hope for my latest idea of using a magic effect that looks like rain. After playing with the Rain Nif last night I think this has the best chance to eventually work for my purposes.
- Last that my shelter testing probe was too slow. When the PC moved around too quickly the probe would often not see the PC and think it was because the PC was under shelter even when they were not.
OBSE finally solved that last issue for me, but then you started working on your Tent rain fix mod so once again I put this project on the back burner. You may remember the last popular thread in the mods forums on this Rain tent issue months ago where I said as much.
After a while you seem to drop the project, and I did not want to use invisible NPC as you were doing so when I finally got around to working on my new release of Hypothermia mod (to include “hyperthermia”) I decided I had to pull the trigger on my rain shelter system.
To my surprise my system worked very well, for ANY shelter as long as it has collision.
You see the secret to my system is not to use LOS with invisible NPC watching the player but instead to use a “rain cloud” activator that sits over top of the player and shoots a ultra fast probe spell at the player every once in a while when rain in the game has started.
The way I am doing it proved to have little to no impact on frame rate. It works extremely well for what I am doing, which is determining if the player is getting wet from rain or not.
My system is not specifically designed to work for stopping the rain from coming through the tents, so their may be little details that may need to be worked out for that. But I am guessing that would be minimal or not really any trouble at all.
But if my system will work for your mod then maybe we need to combine what we are doing because it would be a shame for players to have to run TWO different systems to see if the player is under shelter or not even thought we are using that information for two different goals.
I do not expect you to throw away your system completely as I would not do that either with my system. I have worked way too long and hard on my system and it is fine tuned for my mods purposeless. But if you can give me 2 variables in your mod to do the following I will give the players a choice to either run your detection or just use my detection system.
Then if they chose my system I will change the first variable in your mod to stop your detection system. Then when my system detects shelter it will change the second variable in your system (both off and on) to kick in your mods rain fix effects for shelter.
Effectively your mod will still be needed to do the RAIN through the tent visual “fix”. But then this way the player is not forced to run two different shelter detection systems
if they choose not to.
Or, if you just want to use my system in your mod you are welcome to (credit for it would be nice) and we will just let people run both. As long as there is not a big impact on the players CPU then it is not worse than how players run several Location Hit systems at one time because they are combing several combat mods together in their game.
I actually just released a new version of my Rain mod, which works a treat better than earlier versions. It might not work for small tents (not sure) but it certainly works when walking around the Imperial City Marketplace.