Skip to content

8. Advanced Tips

ImmortalRDI edited this page Nov 25, 2023 · 3 revisions
Index

A Few Useful Tips

Here, I'm going to tell you about a few tricks that I've learned over the course of my creations for custom visual effects.


Regex Commands

For Regex commands, as far as I know, you will need VSCode to execute regex commands. The basic function of a regex is to use the search function when you want to locate variable information of a specific type.

To begin, you'll want to press ctrl+f to open the search feature in VSCode. There, you'll see a button that looks like a tiny square with an asterisk above it, like so:

Regex1

Then, you'll want to make sure it's on by clicking it, and it'll look like so:

Regex2.

Here, you will input your regex command to find a set of values. I'll include the regex I discovered and/or made in the 9. Useful Resources section.


Effects Within Effects

You read that right, you can add a vfx inside an Effect Component, and I'm about to tell you how.

Earlier, we discussed Attach VFX, and I promised to go over this particular topic in more detail. Well, here we are. Two of the Effect Component Properties you'll find are


<node id="Property">
	<attribute id="AttributeName" type="FixedString" value="Spawn Fx" />
	<attribute id="FullName" type="FixedString" value="Particle.Behavior.Particle Death.Spawn Fx" />
	<attribute id="Type" type="uint8" value="10" />
	<attribute id="Value" type="FixedString" value="&lt;click to select effect&gt;" />
</node>

And


<node id="Property">
	<attribute id="AttributeName" type="FixedString" value="Attached Fx" />
	<attribute id="FullName" type="FixedString" value="Particle.Appearance.Attached Fx" />
	<attribute id="Type" type="uint8" value="10" />
	<attribute id="Value" type="FixedString" value="&lt;click to select effect&gt;" />
</node>

These are designed to have additional VFX sync with the Effect Component they are attached to.

The first, Particle.Behavior.Particle Death.Spawn Fx will play the attached vfx when the particle reaches the end of it's Lifetime.

The second, Particle.Appearance.Attached Fx is designed to play in tandem with the Effect Component. For instance, if you want to create a random lightning storm, but have Light flashing and sounds for each bolt, this is where you'd attach the additional VFX.

Notice

In the case of attaching VFX, you will use the Effect Name found in the Merged File.


Clone this wiki locally