[RELEASED] for UE4: Complete Sky and Weather System

Well, 's another problem:
The clouds are arranged in a neat and uniform distribution in the sky, and sometimes their height is the same, it is not natural enough to make people feel real.
How can the clouds be distributed more randomly?

Have you tried altering the settings in the shape section of a cloud keyframe? E.g. to add some variation to height, you could try decreasing the base layer+transition and increasing the upper density (you may also want to look at the cloudbase and layer height settings above these).

To try and make your cloud patterns look more random, you could try altering the Generation Noise settings in the 3d cloud layer (click 3D clouds on the left of the timeline).

QQ截图20161007090344.png
I tried several of the latest versions of the last few days in UE4.13, but the project is open to the following error, but with trueSKYUE4Plugin_4.13.0_4.1.322_x64 there is no error.

The plugin appears to be installing in the /DeployToContent/ folder; if you cut the contents of that and paste it into the normal TrueSkyPlugin directory, you should be set.

Thanks, I have opened the project. But when I launched the project the editor will appear error.


If I remove the plugin file, the project can be launched without error.What should I do?

Could you guys fix these warnings too please ?

29>I:\Projects\MyProject\UnrealEngine\Engine\Plugins\TrueSkyPlugin\Source\TrueSkyPlugin\Private\TrueSkyPlugin.cpp(2027): warning C4456: declaration of ‘i’ hides previous local declaration
29> I:\Projects\MyProject\UnrealEngine\Engine\Plugins\TrueSkyPlugin\Source\TrueSkyPlugin\Private\TrueSkyPlugin.cpp(1998): note: see declaration of ‘i’
29>I:\Projects\MyProject\UnrealEngine\Engine\Plugins\TrueSkyPlugin\Source\TrueSkyPlugin\Private\TrueSkyPlugin.cpp(2034): warning C4456: declaration of ‘i’ hides previous local declaration
29> I:\Projects\MyProject\UnrealEngine\Engine\Plugins\TrueSkyPlugin\Source\TrueSkyPlugin\Private\TrueSkyPlugin.cpp(1998): note: see declaration of ‘i’
29>I:\Projects\MyProject\UnrealEngine\Engine\Plugins\TrueSkyPlugin\Source\TrueSkyPlugin\Private\TrueSkyPlugin.cpp(2043): warning C4456: declaration of ‘i’ hides previous local declaration
29> I:\Projects\MyProject\UnrealEngine\Engine\Plugins\TrueSkyPlugin\Source\TrueSkyPlugin\Private\TrueSkyPlugin.cpp(1998): note: see declaration of ‘i’
29>I:\Projects\MyProject\UnrealEngine\Engine\Plugins\TrueSkyPlugin\Source\TrueSkyEditorPlugin\Private\TrueSkyEditorPlugin.cpp(971): warning C4458: declaration of ‘Instance’ hides class member
29> I:\Projects\MyProject\UnrealEngine\Engine\Plugins\TrueSkyPlugin\Source\TrueSkyEditorPlugin\Private\TrueSkyEditorPlugin.cpp(86): note: see declaration of ‘FTrueSkyEditorPlugin::Instance’
29>I:\Projects\MyProject\UnrealEngine\Engine\Plugins\TrueSkyPlugin\Source\TrueSkyPlugin\Private\TrueSkySequenceActor.cpp(402): warning C4459: declaration of ‘dir’ hides global declaration
29> I:\Projects\MyProject\UnrealEngine\Engine\Plugins\TrueSkyPlugin\Source\TrueSkyPlugin\Private\TrueSkySequenceActor.cpp(374): note: see declaration of ‘dir’
29>I:\Projects\MyProject\UnrealEngine\Engine\Plugins\TrueSkyPlugin\Source\TrueSkyPlugin\Private\TrueSkySequenceActor.cpp(403): warning C4459: declaration of ‘u’ hides global declaration
29> I:\Projects\MyProject\UnrealEngine\Engine\Plugins\TrueSkyPlugin\Source\TrueSkyPlugin\Private\TrueSkySequenceActor.cpp(374): note: see declaration of ‘u’
29>I:\Projects\MyProject\UnrealEngine\Engine\Plugins\TrueSkyPlugin\Source\TrueSkyPlugin\Private\TrueSkySequenceActor.cpp(407): warning C4459: declaration of ‘worldToSky’ hides global declaration
29> I:\Projects\MyProject\UnrealEngine\Engine\Plugins\TrueSkyPlugin\Source\TrueSkyPlugin\Private\TrueSkySequenceActor.cpp(375): note: see declaration of ‘worldToSky’
29>I:\Projects\MyProject\UnrealEngine\Engine\Plugins\TrueSkyPlugin\Source\TrueSkyPlugin\Private\TrueSkySequenceActor.cpp(418): warning C4459: declaration of ‘dir’ hides global declaration
29> I:\Projects\MyProject\UnrealEngine\Engine\Plugins\TrueSkyPlugin\Source\TrueSkyPlugin\Private\TrueSkySequenceActor.cpp(374): note: see declaration of ‘dir’
29>I:\Projects\MyProject\UnrealEngine\Engine\Plugins\TrueSkyPlugin\Source\TrueSkyPlugin\Private\TrueSkySequenceActor.cpp(432): warning C4459: declaration of ‘dir’ hides global declaration
29> I:\Projects\MyProject\UnrealEngine\Engine\Plugins\TrueSkyPlugin\Source\TrueSkyPlugin\Private\TrueSkySequenceActor.cpp(374): note: see declaration of ‘dir’

Is it running okay in the editor? Is it just when you build the project that you get errors? Or both?

Are these causing any problems for you or are they just warnings? I’ll take a look either way however as I haven’t noticed before.

Yes,it is okay in the editor. When I launched project in editor or package it will appear errors.

Messages while compiling I:\UE4\Epic Games\4.13\Engine\Intermediate\Build\BuildRules\UE4Rules.dll:
i:\UE4\Epic Games\4.13\Engine\Plugins\TrueSkyPlugin\Source\TrueSkyEditorPlugin\TrueSkyEditorPlugin.Build.cs(5,15) : error CS0101: �����ռ䡰UnrealBuildTool.Rules���Ѿ������ˡ�TrueSkyEditorPlugin���Ķ���
i:\UE4\Epic Games\4.13\Engine\Plugins\TrueSkyPlugin\Source\TrueSkyPlugin\TrueSkyPlugin.Build.cs(5,15) : error CS0101: �����ռ䡰UnrealBuildTool.Rules���Ѿ������ˡ�TrueSkyPlugin���Ķ���
ERROR: UnrealBuildTool encountered an error while compiling source files

Hi @

I recently tried both .374 and .375. I cannot build any project or open the engine. It says the dlls are missing for . I was able to delete the install folder in the engine and get .347 working again. Let me know if there is more info that might be helpful.

Thank you for the information. We will look into :slight_smile:

What is in your Engine/Plugins/TrueSkyPlugin folder?

Hi,

I’ve been playing around with for a while now and am quite happy with it, but there are a few things I can’t get to work properly. I’m using plugin version 4.1. Any help would be appreciated!

  1. Stars have an odd half-sphere shape. isn’t much of a problem with a “minimum star pixel size” of 1, but there are two stars that are always way too large. Setting the “minimum star pixel size” to 0 fixes the problem, but doesn’t produce very appealing results.


2. I added the M_LightFunction material to my sun light as described in the documentation, but the clouds still don’t cast shadows. Changing the shadow settings of my 3D Clouds layer didn’t help. Is there anything else I need to set up?

  1. I’m trying to achieve a stylized look with strong colors, especially during sunrise/sunset, but I just can’t find the right values to tweak. Changing the “Mie Coefficients” of the sky layer allowed me to adjust the color of the atmosphere to some degree, but it seems impossible to get the specific result I want. Plus, the lighting of the clouds always remains the same color either way. Is there another way to control the color of the sky and clouds?

Thanks in advance, and sorry for the wall of questions. :slight_smile:

Hey guys, I was wondering if there is an ETA on the cloud shadows not appearing?

So far version 294 is the most functional one for me but that means I’m stuck with 4.12.

Now, I have tried .384. The error reporting has changed. Please look at the following
---------------------------output log----------------------------------------
LogPlayLevel: Project.Build: ********** BUILD COMMAND STARTED **********
LogPlayLevel: Completed Launch On Stage: Build Task, Time: 1.046203
LogPlayLevel: CommandUtils.Run: Run: I:\UE4\Epic Games\4.13\Engine\Binaries\DotNET\UnrealBuildTool.exe test Win64 Development -Project=H:\UE4project est est.uproject H:\UE4project est est.uproject -remoteini=“H:\UE4project est” -noxge -generatemanifest -NoHotReload
LogPlayLevel: UnrealBuildTool: Performing full C++ include scan (building a new target)
LogPlayLevel: UnrealBuildTool: Messages while compiling I:\UE4\Epic Games\4.13\Engine\Intermediate\Build\BuildRules\UE4Rules.dll:
LogPlayLevel: UnrealBuildTool: i:\UE4\Epic Games\4.13\Engine\Plugins\TrueSkyPlugin\Source\TrueSkyEditorPlugin\TrueSkyEditorPlugin.Build.cs(86,13) : warning CS0618: ��UnrealBuildTool.ModuleRules.AddThirdPartyPrivateStaticDependencies(UnrealBuildTool.TargetInfo, params string])���ѹ�ʱ:��Use AddEngineThirdPartyPrivateStaticDependencies to add dependencies on Th
irdParty modules within the Engine Directory��
LogPlayLevel: UnrealBuildTool: i:\UE4\Epic Games\4.13\Engine\Plugins\TrueSkyPlugin\Source\TrueSkyPlugin\TrueSkyPlugin.Build.cs(83,5) : warning CS0618: ��UnrealBuildTool.ModuleRules.AddThirdPartyPrivateStaticDependencies(UnrealBuildTool.TargetInfo, params string])���ѹ�ʱ:��Use AddEngineThirdPartyPrivateStaticDependencies to add dependencies on ThirdParty modu
les within the Engine Directory��
LogPlayLevel: UnrealBuildTool: ERROR: Couldn’t find target rules file for target ‘-Project=H:\UE4project est est.uproject’ in rules assembly ‘UE4Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’.
LogPlayLevel: UnrealBuildTool: Location: I:\UE4\Epic Games\4.13\Engine\Intermediate\Build\BuildRules\UE4Rules.dll
LogPlayLevel: UnrealBuildTool: Target rules found:
LogPlayLevel: UnrealBuildTool: UE4Editor - I:\UE4\Epic Games\4.13\Engine\Source\UE4Editor.Target.cs
LogPlayLevel: UnrealBuildTool: UE4Game - I:\UE4\Epic Games\4.13\Engine\Source\UE4Game.Target.cs
LogPlayLevel: UnrealBuildTool: UnrealHeaderTool - I:\UE4\Epic Games\4.13\Engine\Source\Programs\UnrealHeaderTool\UnrealHeaderTool.Target.cs
LogPlayLevel: UnrealBuildTool:
LogPlayLevel: CommandUtils.Run: Run: Took 1.3468508s to run UnrealBuildTool.exe, ExitCode=5
LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): I:\UE4\Epic Games\4.13\Engine\Binaries\DotNET\UnrealBuildTool.exe test Win64 Development -Project=H:\UE4project est est.uproject H:\UE4project est est.uproject -remoteini=“H:\UE4project est” -noxge
-generatemanifest -NoHotReload. See logfile for details: ‘UnrealBuildTool-2016.10.16-23.27.19.txt’
---------------------------logfile----------------------------------------
ERROR: Couldn’t find target rules file for target ‘-Project=H:\UE4project est est.uproject’ in rules assembly ‘UE4Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’.
Location: I:\UE4\Epic Games\4.13\Engine\Intermediate\Build\BuildRules\UE4Rules.dll
Target rules found:
UE4Editor - I:\UE4\Epic Games\4.13\Engine\Source\UE4Editor.Target.cs
UE4Game - I:\UE4\Epic Games\4.13\Engine\Source\UE4Game.Target.cs
UnrealHeaderTool - I:\UE4\Epic Games\4.13\Engine\Source\Programs\UnrealHeaderTool\UnrealHeaderTool.Target.cs

Is there something wrong with the website? I am trying to buy a copy but it just continually takes me to the register page even when I am signed in already?

As a perforce user who hasn’t made other engine modifications, I’ve never had an using the github repo. But I’m not checking in anything at the engine level into my perforce depots - only projects.

That being said, I still choose to use the binary installers because it’s generally easier.

Hi all. We just bought for out game, but when is active we lose 25 fps. Any idea why?

I’m having issues with packaging as well, both 64 and 32 bit. I get the following output:


UATHelper: Packaging (Windows (64-bit)): Project.Build: ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: C:\Program Files (x86)\Epic Games\4.13\Engine\Binaries\DotNET\UnrealBuildTool.exe FS Win64 Development -Project=C:\...  C:\...  -remoteini="C:\..." -noxge -generatemanifest -NoHotReload
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Performing full C++ include scan (building a new target)
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Messages while compiling C:\Program Files (x86)\Epic Games\4.13\Engine\Intermediate\Build\BuildRules\UE4Rules.dll:
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: c:\Program Files (x86)\Epic Games\4.13\Engine\Plugins\TrueSkyPlugin\Source\TrueSkyEditorPlugin\TrueSkyEditorPlugin.Build.cs(5,15) : error CS0101: The namespace 'UnrealBuildTool.Rules' already contains a definition for 'TrueSkyEditorPlugin'
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: c:\Program Files (x86)\Epic Games\4.13\Engine\Plugins\TrueSkyPlugin\Source\TrueSkyPlugin\TrueSkyPlugin.Build.cs(5,15) : error CS0101: The namespace 'UnrealBuildTool.Rules' already contains a definition for 'TrueSkyPlugin'
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: ERROR: UnrealBuildTool encountered an error while compiling source files
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 0.5483438s to run UnrealBuildTool.exe, ExitCode=5
UATHelper: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): C:\Program Files (x86)\Epic Games\4.13\Engine\Binaries\DotNET\UnrealBuildTool.exe FS Win64 Development -Project=C:
UATHelper: Packaging (Windows (64-bit)): \...  C:\...  -remoteini="C:\..." -noxge -generatemanifest -NoHotReload. See logfile for details: 'UnrealBuildTool-2016.10.23-14.00.11.txt' 

Can you tell me why my rain and snow are green please ? It’s like the cubemap don’t work

Can you tell me why my rain and snow are green please ? It’s like the cubemap don’t work
[/QUOTE]

I have noticed as well in the latest version of the plugin. Rain is definitely green. I’ve found that the occurs when you are using a custom sky light and you are also using the cubemap texture. From the ‘Transparency’ section of the documentation:

Sure enough, using the cubemap texture with the skylight will turn your rain/snow green. Either using the default UE4 skylight or setting the ‘Rain Cubemap’ texture to null on the Sequence Actor will solve the.

On a totally different note, I am getting some very awful flickering throughout my entire scene that has made working with almost impossible. I made a short video of what I’m talking about, :

flickering happens both in the editor scene as well as during gameplay (in PIE, standalone, and even packaged builds). It will occasionally go away after an editor/game restart, and sometimes it goes away if I load a new map, and even occasionally goes away if I do nothing at all. But it always comes back.

As for yet another unrelated error… No matter how many different ways I’ve tried to disable or hide the Sequence Actor during runtime and stop it from rendering, I’ve had no success whatsoever. The ‘Visible’ bool that hides the Sequence in-editor does not work at runtime, the 'Set Actor Hidden In Game" node does nothing either, and there seems to be no other option to hide the sequence during runtime.

These are all in using the 4.1 binary. Any ideas on either of these issues?