I’ve been back and forth with different weather plugins and would like to try again. I read something a few pages back about randomly making weather or atleast control the transitions better. I believe it was Pjtors on page 78.
Any update on ? Would be great
Hi,
As I mentioned in a previous thread, that can be achieved by using one sequence and querying different values and setting them. You could also have several sequences and swap them during gameplay (with game time/real time interpolation mode). I think I’ve posted a few pictures back then with a simple system to create .
Did have a look at your earlier post, very clear but I want to test something different and I’m not sure how to accomplish .
Before making a lot of variables for the ‘random’ weather, I want to try to make a lot of different cloudkeyframes with different values and let the Blueprint randomly pick one, wait till it has completed the transition. And after a random time (between 2 values) pick a new or the same cloudkeyframe and so on. Also, the transition between the cloudkeyframes has to be smooth and can/should be really long.
I know is more Blueprint related then Trueksy but hé
I got far but don’t know how to continue.
I would do by only having 1 cloud keyframe in the sequence. Then you could create a custom system that after some time, would slowly change a parameter (lets say the cloudiness). The core of system would be:
Layer = 1 for 3D clouds, Layer = 2 for 2D clouds. Then you can use the *"Set Cloud Keyframe " to change something. If you want to do smoothly, you would need to create a small system that will interpolate from the current value to the desired one. I really like option as gives you a lot of control.
You can also have multiple sequence assets, each one with predefined settings and swap them during the game.
Thx for the fast reply. Yeah was my first approach and I do like option but I’m afraid that sometimes the combination of values will result in weird not realistic looking clouds.
because I want more change then just the cloudiness. Probably can solve by saying if cloudiness and cloudbase are between certain values then use these settings between… for all the other stuff but to me sounds like going backward. (but must admin that i’m kinda new to the blueprints but following all kinds of tutorials) That’s why I was thinking of making lots of different cloudkeyframe setups and let them randomly change in each other and then maybe look for small variations would be an easier approach.
Or what is the downfall of approach?
The other option you mentioned I think is also nice. So then I could make lots of different seq. assets with different settings. But is it possible to smooth the transition of ? Or will it be instant?
And I can’t seem to find how to choose which sequence it should use. the Updatesequence does not see my sequences. Also I don’t want to press a button to change the seq. assets. I want the engine to choose when and into what at random (or random between certain values)
Edit: I think I found how to call for the different sequences
Edit 2: but with using a key to change the sequences and it is instant. Probably no way of slowly transferring between, right?
Hi[USER=“125614”][/USER]
You should take a look at: .simul.co/unrealengine/Clouds.html . There are a lot of settings you can tweak from blueprint. You dont need to randomize it, you can start from a base keyframe with settings you like. Yeah you can have smooth interpolation, but you need to change the interpolation mode (by default its set to fixed). Anyway I would recomend you to take a look at the doc, there are lots tips on how to do certain things
[USER=“1210893”][/USER] ,
Yeah have been going over it but and there is a lot of info. But I don’t completely understand with that how I get what I want. Maybe I’m also a bit impatient
Smoothing the interpolation seems to have done the trick for smoothing out the transfer between sequences. But still looks more like a fade then actually clouds and settings transfer.
Will try what you said earlier. 1 cloudkeyframe and change different setting over time with blueprint. you also said: “If you want to do smoothly, you would need to create a small system that will interpolate from the current value to the desired one”. Thats the thing i ran into now. From the first value it goes to zero and then to the new ‘random’ value. And then againa goes to zero and a new random value. Have to find a way that it reads out current value and then smooth out the ride to the next value and loop . Will go over later today. If I don’t get it, I’ll be back
No worries You can query pretty much all the values with Get* methods or you could also store in your blueprint a set of current values so you dont need to ask .
so I set it up the way you described and it works. But I like to try out the option of switching between sequences. The only problem there was that it first goes to a clear sky or transparent and then goes to the new sequence. Is there a way to avoid and it just looks at the different values and slowly transfers to these?
Also, I was wondering if it is possible to have 2 3D layers somehow? I’m not that worried about performance at the moment.
no worries about the delayed answer. So i tried to replicate the result of ‘a third state’ but now it seems to work normal :rolleyes: Not sure what I did different.
Now I make a sequence with 1 keyframe on the sky, 3d clouds and 2d clouds. Set my settings. Duplicate it and set it to different settings. way I don’t the weird backward plays and can make loads of setups and then see if i can randomize settings on top of that.
And its a really simple setup for now
@nacho_simul Hit another problem. I made more changes in the different sequences and now when it start to switch between two sequences it goes fast forward or backward.
It seems like the clouds are set on a location and because in seq. 1 the clouds move with the wind then when it changes to seq.2 it wants to reset the cloud movement so it goes backwards. The rest of the changes seem to work fine. Is a problem i can work around?
Edit: removed the windspeed in all sequences and indeed the problem is the wind. With no wind the sequences transfer perfectly. But with wind it wants to ‘reset’ the location or something. So how do I work around ?
Used setup, maybe something is of ? When it changes to the same sequences it works. For a small moment the wind movements stops and then continues where it was. But when in changes to a different sequence it goes backwards.
Hi, I think thats a known with the the wind affecting the clouds + interpolating between two sequences. The problem is, the active sequence will start adding to the wind offset but the inactive one will stay at offset 0. We need to work on a fix for .
Ah thx for pointing out the problem. Any idea how long fix will take and if it’s something that is being worked on as we speak? is key for my project
Also saw a water option in the trueskysequenceactor. I remember that said a while back that that is something you guys are working on. A Ocean that works one-on-one with . How far are you guys with ? I’m asking because for my project I need an ocean.
So far I used Neocean. I talked to the maker and he claimed that you guys had asked for the plugin. (to test with , I pressume). One of the problems I have if I use the BP_lightstudio of Neocean the sun does not show. But if i don’t use it the water does not look as good. Have you guys tested out his ocean? Sadly he didn’t try it with
Hi, I investigated the problem yesterday and I know a way of fixing it, however, I couldn’t repro it on my tests. @** **could you make a small repro project for me showing the clouds going “backwards”?
Our water is being actively developed and we will have a version soon for the public :). And yes, we would like to keep compatibility with other environmental systems like Neocean, but we couldnt check it out yet.
Will do, where or how can I send the project? I could send a dropbox link or something. As for the clouds going ‘backwards’. It’s of course how I described it. Your description of the offset is probably more correct But nice that you have found a fix! Hope it works
For the ocean. Can’t wait to see what you guys are making If it looks anything like your skies it will be For now neocean will do the job but it has his problems