Page 2 of 2

Re: Snow and Rain, fully working

Posted: Sun Oct 29, 2017 1:10 pm
by JackGriffin
Terraniux wrote:Can this be used in a reversed way? Instead of falling down, they go up?
Sure, I already made it. It's the centerpiece room in the contest map. You know, the one you voted on, played, and reviewed? Yeah, that one.

Image

I joke. See? Winky face added :tu: Seriously all you need to do is adjust the falling speed of the rain to a negative number. It will rise then by that speed and behave the same way. This was literally the first thing I wanted to do with it as an effect so I understand what you mean. In the Mansion map it is coded as a separate rain actor set since I had to have specific falling speed for the upside down rain. Since this was different than the default falling rain and I was spawning and destroying the rain actors I had to code it with a set of altered defaults.

If you want this in your own map just place the Rain Actor on the ground/spot where you want the rain to start. Look at the variable for "WindVelocity". It will be

Code: Select all

WindVelocity=(X=5,Y=5,Z=-300)
Change it to

Code: Select all

WindVelocity=(X=5,Y=5,Z=600)
and this will cause the rain to fall upwards at a fair clip. Adjust the Z to your liking. More Z is faster falling upwards, less Z will slow the rise.

@Nog: There's actually a lot of things I was considering creating for this as a set of "plug-in" modules depending on the reception. The base effect I just wanted to be bone simple and anyone can use very easily. That's the issue with most weather effects, they have way too much going on and mappers don't want to take an evening to test seven different setting variables to just create rain. With this you place an actor then hit play and it's raining where you want it to rain.

If this is actually used by mappers I'll make some plug-in effects I've already been playing with. I've worked on rain that drips down a window if it strikes it at an angle (windy rain storm), puddles that grow and merge over time, snow that starts to coat the ground/bsp (winter wonderland) and then can blow in drifts if it gets too thick. There's a bunch of ideas I've had for a more immersive environment.

Re: Snow and Rain, fully working

Posted: Mon Oct 30, 2017 7:59 pm
by Dizzy
Is this similar to the PrecipitationGenerator actor? Or does it do something different?

Re: Snow and Rain, fully working

Posted: Mon Oct 30, 2017 10:37 pm
by JackGriffin
No, this creates a basket of rain/snow and recycles them over and over.

Re: Snow and Rain, fully working

Posted: Tue Oct 31, 2017 12:15 am
by Dizzy
JackGriffin wrote:No, this creates a basket of rain/snow and recycles them over and over.
Is that better for performance than randomly spawning stuff?

Re: Snow and Rain, fully working

Posted: Tue Oct 31, 2017 3:41 am
by JackGriffin
Way better. Any time you can recycle an actor, especially one that is going to be instanced over and over, you should. That's been part of the problem with some of the past attempts at weather. They spawn drops that just fall once and destroy. Those don't really get cleaned up until the server does garbage collection when unloading during map changeover. Eventually the server takes a hit as those arrays get huge with wasted actors.

Re: Snow and Rain, fully working

Posted: Sat Aug 28, 2021 7:50 pm
by Matts
JackGriffin wrote: Sat Oct 14, 2017 2:14 am Now that the contest is closed I'm going to start sharing some of the things that are both part of paper and I's entry as well as some of the things I learned as I was trying to accomplish what's in the map proper.

One of the missing things in UT was good, working, fixed, online ready snow and rain. I looked at all the released weather mods and all of them had some sort of issue(s). Some looked great but didn't work online. Some worked online but were made in a way that wasted resources and the longer they ran the more it impacted the server. I wanted effects that could be specifically placed (not zone weather) that looked right but also was coded correctly. Well, here you go:
RainForUT.zip
SnowForUT.zip

To use just open the mod in editor and place the SnowActor or RainActor wherever you want the weather effect. Once placed you'll see configurations that will allow you to tweak to your desired level. The actors can be map placed like normal but they are also capable of being tied to something that moves. I fully plan on using these with my Ice and Nature Dragons to give a roaming weather effect that moves along with the monsters as they do their thing.

Enjoy!
I get an error when I try to run the map. Any suggestions on how to make it work?

https://imgur.com/0c7KGF7

Re: Snow and Rain, fully working

Posted: Sat Aug 28, 2021 8:50 pm
by UnrealGGecko
Best to know what UT version you're using and did you have any mutators running.

Re: Snow and Rain, fully working

Posted: Sat Aug 28, 2021 10:16 pm
by Matts
UnrealGGecko wrote: Sat Aug 28, 2021 8:50 pm Best to know what UT version you're using and did you have any mutators running.
I am running the official ut patch 436 (nodelta). No mutators.

Re: Snow and Rain, fully working

Posted: Sun Aug 29, 2021 7:55 am
by sektor2111
If you are using original D3D render take in account that it has flaws. It's not mandatory to change it but... you won't run all sort things in that stage. I'm using it only for testing certain new textures which I might do in MyLevel-s, either way my common renders are D3D9 (often used) and OpenGL - without precaching activated.

Re: Snow and Rain, fully working

Posted: Sun Aug 29, 2021 1:25 pm
by Feralidragon
Or... just upgrade to 469, which already comes with updated renderers.

Re: Snow and Rain, fully working

Posted: Sun Aug 29, 2021 9:47 pm
by Matts
Got d3d10 and it works. Unfortunately the 469 messes up on my computer, so I have to stick to the last official patch.

Amazing work @JackGriffin! And thanks all for the prompt replies.