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)
tutorial
to find all tutorial mapsNote: 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 J
.
Video 2 : Look at the existing hat by taunting.
J
to see how the hat looks on you while you tauntESC
to exit preview modeWe 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.
TopHat_Mesh.FBX
and TopHat_Texture.TGA
located in ...\UnrealTournament\Content\RestrictedAssets\Tutorials\...
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 TopHat_Texture_Mat
Video 5 : Apply material to mesh
TopHat_Mesh
to edit itF
to focus on the meshWorldGridMaterial
by defaultTopHat_Texture_Mat
from the listIn 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.F
to focusSM_BeretCap
) and select the TopHat_Mesh
Now that we have made your changes to the Tutorial Hat
, you can test it out right in the editor window.
J
to see how you look in the new hatESC
to go back to editingBlueprints 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.
TutorialHat01
blueprint from the Content Browser.Burst into flames
and drag the mouse to connect the output from the taunt event to the input of the particle systemThe 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