Gallery
Documentation: Locomotion
Share
Explore

Adding New Abilities

In this tutorial you will learn how to add New Abilities to the Live Configurator

Save System Setup


Adding New Ability to the save system


Open BP_Saved_Presets
image.png
Add New Variable
image.png
Rename The variable to match with your ability name
image.png
Set It’s Default Value
image.png

User Interface Setup


UI : Designer Setup


Open UI_Live_Configurator
image.png
Select any Existing Ability And Left Click
image.png
On the Hierarchy tab you will see the ability highlighted
image.png
Click on the parent border of that ability Right Click > Duplicate
image.png
Now you can see that ability is duplicated
image.png
Click on The text and rename that to whatever you want (In The Example we name it Double Jump)
image.png

Hover your mouse to the new ability Checkbox and click
image.png
Rename your checkbox to match with your ability name
image.png

UI : Graph Setup


While the checkbox selected head to Graph Setup
image.png
Click On Check State Change
image.png
Drag the newly Created function to Check boxes
image.png

Add The following Nodes to your ability Button
image.png
Drag a wire from For Each Loop and Add it to Select > True
image.png
Scroll up to Switch on Int
image.png
Add New Pin to the array and get your new ability from the Save Object
image.png
Connect your new ability to that Pin
image.png
Now Add New Pin on Switch on Int
image.png
Drag that pin all the way to your new ability on the bottom
image.png
and plug it to the branch
image.png
Now Under My Blueprint Search for your new ability variable
image.png
drag it and get it’s reference
image.png
Get Set Checked State
image.png
Plug it like so
image.png
Now go back to Designer
image.png
Find the border parent of your new ability
image.png
Select that and head to the graph
image.png
drag that border and get it
image.png
Add that border to it’s parent collapse arrow
image.png
In the end of the graph save to game slot
image.png

Character Blueprint


Adding New Ability to Character Logic


Open Player Blueprint
image.png
Under My Blueprint Search For Load Bools function
image.png
Double Click to open that function And Drag the blue wire in the end
Get your new ability variable
image.png

Right Click and promote to variable
image.png
Then connect it to the graph like so
image.png

Testing The New Ability


i added Print strings to the new ability bool to test it’s functionality
image.png
Final Results!
Locomotion_ability_test.gif

Share
 
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.