Engine News 6/18

Hi !

This is a preview of features that we are implementing in a future binary release and is available on GitHub now for source users.

Engine News

New Features
**
Rendering**
**
Sky Light GI
**
Static and Stationary Sky Lights have one bounce of diffuse GI computed by Lightmass now. You can use IndirectLightingIntensity on the sky light to control how bright the bounce lighting is.

Just like all Stationary lights, if you change the color or intensity at runtime, it only applies to the direct lighting, since the bounce lighting is baked into the lightmap.
*
Original*

img1.jpg&stc=1

With GI*

img2.jpg&stc=1

**
Blueprints**
**
Data & Curve Table Support
**
Evaluate Curve Table Row will return you the output value for Row Name at XY:

img3.jpg&stc=1

**
Get Data Table Row** will return you a Row struct that can be broken into its individual component variables:

img4.jpg&stc=1

**
Expand Enum As Execs for Output Pins**

Previously you had to have the function return a bool, and then check the bool with a branch like so:

img5.jpg&stc=1

Now you can just create an enum, have one as an output parameter for your function, and mark that output parameter it as ExpandEnumAsExecs in the UFunction metadata:

img6.jpg&stc=1

Now you just have to remember in the definition of your function to set the output enum value to the correct type, and it will just work, like so:

img7.jpg&stc=1

**
Expand Enum As Execs** has also existed in the past for function inputs, for example Move Component To uses them:

img8.jpg&stc=1

**
Static Mesh Editor**
**
Static Mesh Collision Primitives**

The Static Mesh editor now supports adding multiple collision primitives of differing types, allowing for the quick creation of a custom collision setup, and modifications to existing collision to fix any issues affecting gameplay.
This can be used to make it easier to shoot through or traverse more complex geometry, as well as place blockers when you do not want to user to be able to. For example:

&stc=1

&stc=1

The Static Mesh editor now supports Capsule/Sphyl collision geometry too.
It attempts to calculate the correct axis it should align itself with, along with the best fit for the mesh. For example, Shape_NarrowCapsule:

&stc=1

All the collision primitives can be selected with the mouse and moved, rotated, and scaled with the editor widget (Spacebar and W,E,R keys toggle manipulation type).
Collision primitives can also be multi selected (Ctrl+LMB), focused (F key), duplicated (Alt+drag) and deleted (delete key) if they are no longer needed - all of which should be transactional.

Misc.
**
Editor**

  •      New Icons For Behavior Trees.
    
  •       Added Editor-only functions to allow nodes to override their in-editor icon display.
    
  •       Added Blueprint icon to show which nodes use Blueprint for their logic.
    
  •      Moved the project locations array into the game .ini for launcher created projects.
    
  •      Added a comment explaining why **CachedAutoWrapTextWidth** was cached in **OnPaint() **rather than **Tick()**.
    
  •      Removed all animation classes from **EnginePrivate.h** and edited their files to include only their dependencies.
    

**
Persona**

  •      Altered animation import to detect and scale existing animation curves on import and reimport to avoid keys becoming inaccessible.
    

**

Automation**

  •      User can now toggle Track history which will monitor subsequent tests and store a log in Saved/Automation/Logs.  -           We track and show up to 5 by default, this is configurable between 1 and 10.
    

"Static Mesh Collision Primitives

The Static Mesh editor now supports adding multiple collision primitives of differing types, allowing for the quick creation of a custom collision setup, and modifications to existing collision to fix any issues affecting gameplay.
This can be used to make it easier to shoot through or traverse more complex geometry, as well as place blockers when you do not want to user to be able to."

This is incredible, thanks!

Can I put in a request for Switch on String to allow you to enter the value for each input, rather than having it default to 0 1 2 ?

Would be really useful!

Please, update the prequisites for latest-preview.

The SkyLight update is very good!

Hope that one bounce will be added to dynamic only pass as well!

That extra bounce looks amazingly good.

Pray tell, what is a typical use-case for curve tables, and how would the actual table data be created?

Is there a way to easily get the latest dependency files too? The latest preview release doesn’t seem to have all of the right third party libraries for the master branch. (on osx, the compiler errored when it couldn’t find xmp.h)

Huh, how do these tables work? Is there any documentation on what they can do and what they are for?

[=;79271]
That extra bounce looks amazingly good.

Pray tell, what is a typical use-case for curve tables, and how would the actual table data be created?
[/]

You create them in spreadsheet. Possible use is for example scaling damage based on level, or amount of xp needed to level up.

[=;79413]

[/]

Ah, thank you very much.

[= ;78923]

**
Static Mesh Editor**
**
Static Mesh Collision Primitives**

The Static Mesh editor now supports adding multiple collision primitives of differing types, allowing for the quick creation of a custom collision setup, and modifications to existing collision to fix any issues affecting gameplay.
This can be used to make it easier to shoot through or traverse more complex geometry, as well as place blockers when you do not want to user to be able to. For example:

All the collision primitives can be selected with the mouse and moved, rotated, and scaled with the editor widget (Spacebar and W,E,R keys toggle manipulation type).
Collision primitives can also be multi selected (Ctrl+LMB), focused (F key), duplicated (Alt+drag) and deleted (delete key) if they are no longer needed - all of which should be transactional.

[/]

This is awesome!

I was having some real trouble fitting the current collision shapes around a door such that it’s easy to open close while attached to a joint - I ended up having to make the doorway huge to accommodate the collision shape.

This will let me make much tighter shapes for collision, without having to go into 3DS Max or Blender (not an artist, so I try and avoid that whenever possible).

Thanks! This feature is a life saver.