VFX – Part 2: Creating Resources
This is Part 2 of the VFX tutorial. In most cases, for an effect to be usable in the game, you need to create a resource pointing to the compiled file of your effect. In this part of the tutorial, we'll create a folder structure, and import the effect we created in Part 1.
Resource Manager
In the Editor, open the Resource Manager by clicking the crayon box icon in the main toolbar.

ⓘ Your Resource Manager and your local folder aren’t related. You could be in the Editor making a different structure to what you are doing in your local folder.
Creating a Structure
Navigate to the folder of your mod where you want your resource to reside. You will find your own mod at the bottom of the list of folders in the Resource Manager. In this tutorial, our mod is called Test_Documentation
, so the folder that was created by default has the same name and is where our files will be placed.
We recommend creating new folders and packages following a particular structure in your mod. To do this, select the main folder of your mod and press the Create a folder button (the folder icon with a +
) on the top-left of the folder panel. You can give it the name you desire, but for the purposes of this tutorial, we will follow the same structure as the main project – the one in the Shared folder – and call this new folder Assets
.

From there, we will create a folder called Effects
inside the Assets folder. This will be the main VFX-related folder for the effects, the material resource, and more. Continue to add folder pathing as follows: Assets > Effects > Effects > Spells > Prepare > Arcane.

Folders can’t directly contain resources. For this, we need to create packages. Select the Arcane folder, create a new package with the 3rd button from the top-left, and name it Paladin
.

Your structure should now look like this:

We can now move on to creating the resource.
ⓘ Packages that stay empty will disappear the next time you boot the Editor. Folder and package names aren’t limited to being used only once. You could have multiple "Paladin" packages, for example.
Creating Resources
Select the new Paladin package created using the steps above and press the Add Resource button. A new window will open. There, select the resource type Effect.

Effect resources are made from a compiled version of the effects. By default, the Editor will open right before the Effects_Banks folder where you will find the effects you compiled.
ⓘ The path of your compiled effect should look something like:
\Data\Public\<YourMod>\Assets\Effects\Effects_Banks\
Navigate through the folder and locate the effect VFX_Prepare_Paladin_Test_01 created in Part 1. Select it and press Open.

A new window named Rename/Move will then open. Since we selected the Paladin package before clicking on the Add Resource button, the Project (i.e. your mod) and Package should correspond correctly. If they do not, manually select them.
The name of the resource will be, by default, the same as the name of your effect. The name of your resource should always correspond to the name of your effect file. The former is dependent on the latter. If it is changed and used, you might see an error saying that it can’t find the effect.

ⓘ Unlike other types of assets, you can’t have two or more VFX resources pointing to the same source file. This will trigger an error. If you want the same effect twice, it is best to create a new effect and save it under another name.
If you followed all of the above steps, you should have a new effect resource in the Paladin package of your VFX_Prepare_Paladin_Test_01 effect. It should look like this:

Conclusion of Part 2
You've now created a resource, and the effect is ready for use! In Part 3 of this tutorial, we will see how to assign an effect to a new spell.