Runtime Spline Builder

Create Spline Meshes at Runtime. Excellent for placing walls, paths or fences in an RTS game.

Category:
Tags: , , , , , , , , , , ,

Description

This tool allows you to create spline meshes while the game is running.

Excellent for placing walls, paths or fences in an RTS game.

——————————————-

Update March 2022 // Version 2

New:

Important to know:

If there are any problems with the new version or if you have any general questions, please feel free to write me!

Official Discord Server is now Online !

——————————————-

The position of the next spline point is always determined by the mouse. Everything else can be determined by calling the corresponding events.

Preview Video

PLEASE NOTE:

This is a very basic tool. Intended to be extended, changed and improved by you for your project!

Ideal for beginners who want to learn how to use splines in the running game.

Installation instructions:

– Open the Runtime Spline Builder Project

– Start the “TestArea” level and follow the instructions to get a feel for what the tool can do.

– Familiarize yourself with all important blueprints and widgets (the code is extensively commented)

– Migrate the “Exovision” folder (found in Content Explorer) to your own project

– add the “SplineBuilderComponent” to your own character.

To be found under: Exovision -> RuntimeSplineBuilder -> Blueprints

– Open the “ExampleCharacter”! There you will find all events that are available for the “SplineBuilderComponent”.

-Follow the instructions that you find there.

-for RTS Games take a look at the RTS Example Widget

Important:

In order for material and collision to work in the packed game, two things must be done:

1. open the material you want to use for your SplineMeshes. In the “Details” window, under “Usage”,

look for the option “Used with Spline Meshes”. Set it to True!

2. Open the StaticMesh you want to use for your SplineMesh.

In the “Details” window find the option “Allow CPUAccess”. Set it to True as well!

This must be done for each material and static mesh used for a SplineMesh!

This Tool is NOT for Editor purposes! Only to create spline meshes during the running game.

Technical Details

Supported Engine Versions

4.26 – 4.27, 5.0 – 5.3