Course Overview
Welcome to "Unreal Engine 5 C++: Advanced Action RPG"! The most comprehensive RPG course you'll ever find online. In this course, we'll employ industry-standard coding practices and data-oriented design to create AAA RPG combat experiences.
You'll learn how to use Gameplay Ability System to create a complex RPG combat experience and implement exciting features like a combo system with light and heavy attacks, directional rolling, hit reactions, blocking, parrying, target locking, special abilities with cooldowns, AI avoidance, advanced enemy AI with strafing and projectile attacks, an epic boss fight, and much more.
In the first section, we’ll set up our hero character for the gameplay ability system and proceed with input binding using native gameplay tags and data assets. Once our character can navigate the level, we’ll combine GAS with linked animation layers to create a melee combo system featuring light and heavy attacks. With these elements in place, we’ll introduce enemy characters, adding attributes, combat feedback, character death, and a robust UI notification system. You’ll also learn to use asynchronous loading for startup data and create a custom function library for handling damage.
Next, we’ll implement AI avoidance and strafing using a blend of Blueprint and C++ behavior tree nodes to craft advanced AI behaviors. We’ll incorporate the crowd following component for detour crowd avoidance and explore behavior tree node types and the environment query system to determine strafing locations.
With our enemies capable of dealing damage, we’ll refine our hero’s combat abilities by adding directional rolling, directional hit reactions, blocking, parrying, and target locking. You’ll learn to use motion warping for dynamic rolling distances and handle most of the heavy lifting in C++ for the target lock ability.
Following this, we’ll introduce a ranged enemy that shoots projectiles and retreats when approached. We’ll then add a boss character complete with a boss bar, powerful melee attacks, and the ability to summon other enemies. Once our combat system is fully functional, we’ll develop a survival game mode with enemy waves. We’ll create multiple widgets, including a win screen, lose screen, pause menu, and main menu. Finally, we’ll port everything to a real map for epic battles against our enemies.
This comprehensive RPG course is unmatched online. With detailed code changes provided in each lecture and a step-by-step approach, there’s no better time to create your dream RPG project. What are you waiting for? Join the course and start your RPG adventure today!
FAQ
FAQ area empty
Course curriculum
Chương 1 Introduction 6 bài · 23 phút
- Introduction Học thử 5:57
- Some Common Questions You May Have... Học thử
- Create a New C++ Project Học thử 3:30
-
Set Up Test Map 3:23
-
How to get help?
- Hard and Soft Reference Học thử 10:32
Chương 2 Set Up Hero Character 19 bài · 2 giờ 45 phút
-
Set Up Hero Character Section Overview 0:45
-
Basic Class Structure 7:09
-
Debug Helper 4:53
- Set Up Hero Camera Học thử 9:51
- Native Gameplay Tags Học thử 9:36
- Input Config Data Asset Học thử 10:29
-
Custom Enhanced Input Component 7:23
-
Binding Input 15:42
-
Character Anim Instance 12:56
-
Hero AnimBP 4:41
-
Hero Anim Instance 9:30
-
Gameplay Ability System 17:00
-
Ability Activation Policy 11:07
-
Set Up Weapon Class 8:48
-
Set Up Hero Weapon 8:33
-
Start Up Data 12:14
-
Synchronous Loading 13:09
-
Share Task: Share Your Progress
-
Section Wrap Up 1:41
Chương 3 Melee Combo System 25 bài · 4 giờ 7 phút
-
Melee Combo System Section Overview 1:49
-
Challenges Ahead 3:42
-
Pawn Extension Component 10:27
-
Register Spawned Weapon 17:13
-
Hero Gameplay Ability 10:34
-
Ability Input Action 8:31
-
Hero Ability Set 10:25
-
Binding Ability Input 8:58
-
Play Montage and Wait 7:29
-
Wait for Gameplay Event 12:00
-
Animation Layer Interface 10:56
-
Master Anim Layer 9:05
-
Link Anim Layer 10:36
-
Default Weapon Ability 18:15
-
Grant Weapon Ability 12:56
-
Handle Unequip Axe 14:29
-
Light Attack Ability 7:33
-
Combo Logic 14:08
-
Heavy Attack Ability 5:54
-
Heavy Attack Logic 8:28
-
Warrior Function Library 17:14
-
Jump To Finisher 8:13
-
Slow Motion and Sound FX 14:30
-
Share Task: Share Your Combo System
-
Section Wrap Up 3:49
Chương 4 Hero Combat 50 bài · 7 giờ 53 phút
-
Hero Combat Section Overview 2:05
-
Challenges Ahead 2:18
-
Set Up Enemy Character 11:55
-
Gruntling Guardian 10:28
-
Asynchronous Loading 14:37
-
Spawn Enemy Weapon 7:50
-
Attribute Set 7:07
-
Gameplay Effect 9:53
-
Apply Gameplay Effect To Self 5:48
-
Init Enemy Attributes 9:24
-
Pawn Combat Interface 19:57
-
Toggle Weapon Collision 8:11
-
On Weapon Begin Overlap 10:11
-
On Target Interacted 8:34
-
Notify Melee Hit 11:17
-
Set Up Attack Montages 8:24
-
Make Gameplay Effect Spec Handle 10:15
-
Hero Damage Info 12:03
-
Apply Effect Spec Handle To Target 9:16
-
Capture Relevant Attributes 9:14
-
Retrieve Hero Damage Info 11:37
-
Calculate Final Damage Done 15:05
-
Set Up Heavy Attacks For Damage 5:59
-
Modify Health Attribute 9:59
-
Hit React Ability 12:49
-
Trigger Hit React Ability 5:50
-
Material Hit FX 10:31
-
Hit Pause 7:35
-
Camera Shake 7:15
-
Hit React Sound 5:46
-
Gameplay Cues 10:02
-
Enemy Death Ability 16:30
-
BP Death Interface 7:10
-
Dissolve Material FX 11:52
-
Dissolve Niagara FX 11:00
-
Share Task: Share Your Progress
-
Pawn UI Component 12:41
-
Broadcast Value Change 13:09
-
Listen For Broadcasting 12:56
-
Enemy Init Created Widget 8:59
-
Template Widgets 11:55
-
Set Status Bar Fill Color 9:18
-
Template Icon Slot Widget 9:36
-
Hero Overlay Widget 13:09
-
Enemy Health Widget Component 12:42
-
Hide Enemy Health Bar 6:48
-
Update Weapon Icon 8:45
-
Final Tweaking 14:10
-
Share Task: Share Your Combat
-
Section Wrap Up 0:55
Chương 5 Enemy AI 34 bài · 5 giờ 29 phút
-
Enemy AI Section Overview 2:23
-
Preparing Enemy For Combat 5:06
-
Crowd Following Component 9:12
-
AI Perception 8:55
-
Generic Team ID 8:53
-
Behavior Tree 10:00
-
Configure AI Avoidance 18:47
-
Behavior Tree Node Types 10:43
-
Observer Aborts 11:34
-
Orient To Target Actor 20:08
-
Environment Query System 11:16
-
Custom Query Context 19:53
-
Toggle Strafing State 16:53
-
Calculate Direction 9:12
-
Strafing Blend Space 5:29
-
Compute Success Chance 9:12
-
Dot Product Test 8:27
-
Enemy Melee Ability 5:57
-
Activate Ability By Tag 11:14
-
Is Target Pawn Hostile 10:32
-
Notify Melee Hit 7:19
-
Make Enemy Damage Effect Spec Handle 9:32
-
Apply Enemy Damage 6:15
-
Motion Warping 8:15
-
Update Motion Warp Target 8:14
-
Construct Native BT Task 12:59
-
Rotate Enemy In Task 17:54
-
Melee Attack Branch 9:00
-
Does Actor Have Tag Decorator 8:54
-
Duration Gameplay Effect 8:23
-
Should Abort All Logic 9:16
-
Guardian Attack Sound FX 7:15
-
Share Task: Share Your AI
-
Section Wrap Up 1:28
Chương 6 Hero Combat Abilities 42 bài · 5 giờ 27 phút
-
Hero Combat Abilities Section Overview 2:33
-
Planning Ahead 1:46
-
Two-Key Input Action 10:18
-
Get Last Movement Input 10:24
-
Rolling Distance 8:28
-
Get Value At Level 6:43
-
Rolling Sound FX 3:27
-
Hero Hit React Ability 5:40
-
Trigger Hero Hit React 4:38
-
Hero Hit FX 6:24
-
Compute Hit React Direction 10:44
-
Hit React Tags 7:32
-
Switch On Gameplay Tags 6:18
-
Hit React Sound FX 2:26
-
Hero Block Ability 12:48
-
Add Gameplay Cue To Owner 13:59
-
Is Valid Block 10:47
-
Notify Successful Block 4:53
-
Handle Successful Block 9:37
-
Is Perfect Block 4:57
-
Notify Perfect Block 8:30
-
Initiate Counterattack 13:01
-
Share Task: Share Your Block Ability
-
Set Up Target Lock Ability 9:09
-
Toggle Target Lock 6:16
-
Get Available Targets 13:17
-
Get Nearest Target 9:16
-
Draw Target Lock Widget 9:39
-
Set Target Lock Widget Position 11:13
-
Execute Task On Tick 10:46
-
On Target Lock Tick 6:25
-
Orient To Target While Target Lock 8:42
-
Switch To Target Lock Poses 9:25
-
Target Lock Walk Speed 7:41
-
Switch Target Input Action 6:44
-
Target Lock Mapping Context 9:20
-
Notify Switch Target 8:25
-
Handle Switch Target 13:43
-
Hero Death 13:25
-
Tweaking Target Lock 5:06
-
Share Task: Share Your Target Lock Ability
-
Section Wrap Up 2:15
Chương 7 Ranged Enemy 19 bài · 2 giờ 14 phút
-
Ranged Enemy Section Overview 1:19
-
Ranged Enemy Starting Weapon 7:38
-
Glacer Starting Stats 4:27
-
Glacer Hit React 8:37
-
Ranged Behavior Tree 5:14
-
Find Shooting Position 8:12
-
Projectile Ability 8:28
-
Projectile Class 12:55
-
Spawning Projectile 7:54
-
On Projectile Hit 9:13
-
Handle Projectile Hit 12:38
-
Projectile Spec Handle 10:57
-
Make Projectile Spec Handle 2:59
-
Projectile Sound FX 6:52
-
Glacer Melee Ability 8:15
-
Unblockable Attack 9:35
-
Share Task: Share Your Ranged Enemy
-
Combat Test Map 8:02
-
Section Wrap Up 0:51
Chương 8 Boss Enemy 26 bài · 3 giờ 41 phút
-
Boss Enemy Section Overview 1:40
-
Set Up Boss Character 7:13
-
Giant Starting Stats 7:43
-
Boss Bar Widget 6:27
-
Draw Boss Bar To Screen 7:16
-
Giant Hit React 7:35
-
Giant Death 6:58
-
Remove Boss Bar 7:11
-
Giant Behavior Tree 3:17
-
Giant Melee Ability 14:30
-
Hand Collision Box 8:23
-
Post Edit Change Property 9:21
-
Toggle Box Collision 12:35
-
Giant Second Melee Ability 10:18
-
Giant Combo 14:35
-
Wait Spawn Enemies 12:35
-
Summon Ability 9:15
-
Listen For Gameplay Event 11:28
-
Async Load And Spawn Enemies 16:52
-
Fix Facing Rotation 6:19
-
Stop Spawning Enemies 5:16
-
Enemy Entry FX 5:39
-
Enemy Entry Montage 10:28
-
Check Current Health Percent 16:43
-
Share Task: Share Your Boss Fight
-
Section Wrap Up 1:46
Chương 9 Hero Special Abilities 50 bài · 6 giờ 20 phút
-
Hero Special Abilities Section Overview 1:56
-
Challenges Ahead 4:11
-
Rage Ability Tags 5:24
-
Rage Ability Blueprint 5:32
-
Rage Anim Montage 8:50
-
Rage Gameplay Cue 14:03
-
Activation Condition 10:55
-
Consume Rgae 8:36
-
Set Up Rage Slash 5:07
-
Spawn Rage Slash 12:47
-
On Rage Slash Begin Overlap 6:22
-
Rage Slash For All Attacks 7:57
-
Gain Rage 6:22
-
Special Weapon Ability Tags 8:28
-
Grant Special Weapon Ability 11:07
-
Light Ability Montage 8:47
-
Light Ability Damage 7:25
-
Cooldown Gameplay Effect 6:16
-
Ability Icon Widget 8:36
-
On Ability Icon Updated 8:04
-
Listen For Ability Icon Change 9:04
-
Notify Ability Cooldown 13:00
-
Custom Latent Action 10:51
-
Count Down Action Class 8:04
-
Construct Count Down Action 9:01
-
Count Down Logic 11:04
-
Update Cooldown 6:55
-
Resume Cooldown 10:18
-
Share Task: Share Your Ability Cooldown
-
Heavy Ability 6:46
-
Heavy Ability Montage 9:24
-
Heavy Ability Damage 8:47
-
Apply AOE Damage 6:34
-
Commit Ability Cooldown 4:31
-
Stone Class 8:04
-
BP Stone 4:15
-
Pick Up Ability 6:05
-
On Stone Begin Overlap 4:49
-
Collect Stones 13:23
-
Consume Stone Input 8:18
-
Consume Stones 8:56
-
On Stone Consumed 9:52
-
Input Key Widget 6:44
-
Broadcast Display Input Key 4:45
-
Listen For Display Input Key 5:55
-
Spawn Stone Ability 6:23
-
Spawn Stone Logic 13:14
-
Glacer Spawn Stone Chance 4:50
-
Share Task: Share Your Progress
-
Section Wrap Up 3:16
Chương 10 Survival Game Mode 20 bài · 2 giờ 43 phút
-
Survival Game Mode Section Overview 1:13
-
Game Mode Test Map 6:10
-
Survival Game Mode Class 9:30
-
Enemy Wave Spawner Table Row 7:33
-
Wave Progression Logic 11:35
-
Wave Count Down Widget 9:55
-
Drawing Wave Count Down Widget 7:12
-
Wave Info Widget 10:15
-
Pre Load Next Wave Enemies 15:45
-
Try Spawn Wave Enemies 19:17
-
On Enemy Destoryed 6:14
-
On Wave Completed 8:03
-
Playtesting Game Mode 9:05
-
Register Spawned Enemies 6:07
-
Notify Last Wave 7:38
-
On Player Died 4:22
-
Game Difficulty 9:35
-
Verify Game Difficulty 7:52
-
Share Task: Share Your Survival Game Mode
-
Section Wrap Up 5:28
Chương 11 In-Game Widgets 28 bài · 3 giờ 6 phút
-
In-Game Widgets Section Overview 1:48
-
Template Button Widget 2:52
-
Pause Menu Template Button 9:10
-
Lose Screen 7:24
-
Lose Screen Animation 7:51
-
Drawing Lose Screen 5:08
-
Warrior Game Instance 8:23
-
Get Game Level by Tag 7:59
-
Open Level 3:36
-
Toggle Input Mode 6:48
-
Win Screen Widget 3:36
-
Drawing Win Screen 5:06
-
Pause Menu Widget 5:24
-
Drawing Pause Menu 3:36
-
Main Menu Map 7:50
-
Main Menu Button Template 2:00
-
Main Menu Widget 10:03
-
Main Menu Animation and Logic 11:56
-
Options Menu Widget 8:19
-
Options Menu Logic 9:28
-
Save Game Object 4:16
-
Load and Save Game Difficulty 12:09
-
Game Mode Load Difficulty 6:07
-
Loading Screen 10:35
-
Survival Game Map 11:05
-
Background Music 11:06
-
Share Task: Share Your Progress
-
Section Wrap Up 2:43
Chương 12 Congratulations 2 bài · 2 phút
-
Where to go from here? 2:01
-
Continue your C++ journey...
Requirment
-
Some basic C++ experience with Unreal is required
Outcomes
-
Powerful melee combo system with light and heavy attacks
-
Make use of Gameplay Ability System to create engaging RPG combat experience
-
Advanced enemy AI using custom BTTask, BTTDecorator, BTService
-
Environment Query System for advanced AI behaviors
-
Directional hit react and rolling
-
Melee block and parry system
-
Special weapon abilities and rage ability with cost and cooldown
-
Robust UI notify system
-
Survival combat game mode that spawns enemies in waves
-
Main menu, pause menu, winning/losing screen plus a loading screen
-
Performant target lock system
-
Different types of enemy with melee and long-ranged abilities
-
Custom C++ ability task/latent action for combat
-
Best practices for using asynchronous and synchronous loading in BP and C++
-
Data-oriented combat stats design
-
Industry-standard code practices with easily extendable code structure
0 Student
6 Courses
0 review