We are going to make a cosmetic item that can be worn by your UT character, a new hat that bursts into flame when you taunt.
In this process you will:
Launch the UT Editor (you can do this from the Launcher under Unreal Tournament → Create → Launch)
tutorialto find all tutorial maps
Selecting Content sometimes shows no items. Select Restricted Assets instead.
An easy way to preview the hat on your head is to play a taunt animation by pressing
Video 2 : Look at the existing hat by taunting.
Jto see how the hat looks on you while you taunt
ESCto exit preview mode
We want to change the beret into a top hat. We will start by importing a new hat mesh and texture for the hat. To learn more about making materials in UE4...
Video 3 : Import a new top hat mesh and texture.
You should see a top hat Static Mesh and a top hat Texture in your Content Browser.
In Unreal Engine, materials combine multiple textures and apply them to any surface. To apply our texture to the hat mesh, we must create a material.
Video 4 : Create a material that applies the imported texture to surfaces.
TopHat_Texture, and select Create Material from the dialogue box
Video 5 : Apply material to mesh
TopHat_Meshto edit it
Fto focus on the mesh
TopHat_Texture_Matfrom the list
In Unreal Engine, Blueprints combine art assets with logic to create visual effects and gameplay. We will modify the existing Blueprint to use our top hat assets instead of the beret.
Video 6 : Modify the hat Blueprint to use top hat assets.
TutorialHat01; double click the blueprint to edit it. Note: when looking for content, remember to clear all filters.
SM_BeretCap) and select the
Now that we have made your changes to the
Tutorial Hat, you can test it out right in the editor window.
Jto see how you look in the new hat
ESCto go back to editing
Blueprints do more than just assemble components together; they can also add logic. Let us add logic to make the top hat burst into flames when you taunt.
Video 8 : Add scripted behavior to your hat.
TutorialHat01blueprint from the Content Browser.
Burst into flamesand drag the mouse to connect the output from the taunt event to the input of the particle system
The top hat should now burst into flames whenever you dance. Hit play and then press
J once you are in game to taunt and check out the effect!
If you would like to go further, explore other gameplay scripts for your hat...
Finished with your flaming hat? Let's build a CTF Map to play on! Map Making Step 1: Gameplay