Course Highlights
  • Connecting players across the internet with matchmaking sessions
  • Creating a plugin to convert any Unreal Engine project to multiplayer
  • Program multiplayer matchmaking in Unreal Engine
  • Learn replication techniques for fast-paced, competitive shooter games
  • Optimize network code by minimizing bandwidth and maximizing performance
  • Lag compensation techniques for multiplayer including client-side prediction and server-side rewind
  • Multiple weapons including pistols, SMGs, assault rifles, shotguns, sniper rifles, rocket launcher, grenade launchers, and throwing grenades
  • Pickups including shields, health, speed buffs, jump buffs, and ammo pickups
  • Crouching, aiming, jumping, strafing, reloading, and throwing, all in multiplayer
  • Working HUD with health and shield bars, ammo count, score and defeats, and game timers
  • Custom game modes, custom match states, and use of the core classes used in multiplayer
  • Learn how the Game Mode, Game State, Player State, Player Controller, Pawn, Character, and Actor classes work in multiplayer
  • Create your own subsystem to manage online sessions
  • Learn about the Unreal Engine Online Subsystem and use it to program multiplayer games using any online service such as Steam
  • Display announcements including: Who eliminated who, who won the game, winning teams, countdown timers
  • Custom Match States: Fly around in the warmup stage, display winners in the cooldown stage
Curriculum

2 Topics
Introduction
About this Course

27 Topics
Multiplayer Concepts
Testing Multiplayer
LAN Connection
Online Subsystem
Online Sessions
Configure For Steam
Accessing the Online Subsystem
Creating a Session
Setup for Joining Game Sessions
Steam Regions
Joining the Session
Creating a Plugin
Creating our Own Subsystem
Session Interface Delegates
The Menu Class
Accessing our Subsystem
Notes on OnLevelRemovedFromWorld
Create Session
Callbacks to our Subsystem Functions
More Subsystem Delegates
Session Settings
Join Sessions from the Menu
Tracking Incoming Players
Optional Challenge: Implement StartSession
Path to Lobby
Polishing the Menu Subsystem
Quiz on the Multiplayer Sessions Subsystem

16 Topics
On Unreal Engine Versions
Project Creation
What to Add to DefaultEngine.ini
Testing an Online Session
Find a Test Partner!
Assets
Retargeting Animations in Unreal Engine 5
Retargeting Animations
Blaster Character
Camera and Spring Arm
Character Movement
Animation Blueprint
Seamless Travel and Lobby
Network Role
Optional Challenge: Show the Player Name
Quiz on Network Role and Seamless Travel

26 Topics
Weapon Class
Pickup Widget
Variable Replication
Equipping Weapons
Remote Procedure Calls
Equipped Animation Pose
Crouching
Aiming
Running Blendspace
Leaning and Strafing
Idle and Jumps
Crouch Walking
Aim Walking
Aim Offsets
Applying Aim Offsets
Pitch in Multiplayer
Using our Aim Offsets
FABRIK IK
Turning in Place
Rotate Root Bone
Net Update Frequency
Crouch Unequipped
Rotating Running Animations
Footstep and Jump Sounds
Quiz on the Weapon Section
Optional Challenge: Crouch Footstep Sounds

13 Topics
Projectile Weapon Class
Fire Montage
Fire Weapon Effects
Fire Effects in Multiplayer
The Hit Target
Spawning the Projectile
Projectile Movement Component
Projectile Tracer
Replicating the Hit Target
Projectile Hit Events
Bullet Shells
Shell Physics
Quiz on Firing Weapons

16 Topics
Optional Challenge: Add random rotation to the bullet shells
Blaster HUD and Player Controller
Drawing the Crosshairs
Crosshair Spread
Correcting the Weapon Rotation
Zoom While Aiming
Shrink Crosshairs when Aiming
Change Crosshairs Color
Extending the Trace Start
Hitting the Character
Smooth Rotation for Proxies
Optional Challenge: Shrink crosshairs when aiming at another player
Automatic Fire
Testing the Game
Quiz on Weapon Aim Mechanics
Optional Challenge: Different Hit Particles

17 Topics
Game Framework
Health
Update Health in the HUD
Damage
Blaster Game Mode
Elim Animation
Respawning
Dissolve Material
Dissolving the Character
Dissolving with Curves
Disable Movement when Elimmed
Elim Bot
On Possess
Blaster Player State
Defeats
Optional Challenge: Display a Message in the HUD when Defeated
Quiz on Health and Player Stats

12 Topics
Weapon Ammo
Can Fire
Carried Ammo
Displaying Carried Ammo
Reloading
Reloading Combat State
Allowing Weapon Fire
Updating Ammo
Reload Effects
Auto Reload
Optional Challenge: Show the Weapon Type in the HUD for the Equipped Weapon
Quiz on Ammo

12 Topics
Game Timer
Syncing Client and Server Time
Match State
On Match State Set
Warmup Timer
Updating Warmup Time
Custom Match States
Cooldown Announcement
Restart Game
Blaster Game State
Optional Challenge: Blinking Countdown Text
Quiz on Match States

26 Topics
Rocket Projectiles
Rocket Trails
Spawning Rocket Trails
Rocket Movement Component
Hit Scan Weapons
Beam Particles
Submachine Gun
Strap Physics
Shotgun
Weapon Scatter
Sniper Rifle
Sniper Scope
Grenade Launcher
Projectile Grenades
Reload Animations
Shotgun Reload
Weapon Outline Effect
Grenade Throw Montage
Weapon Attachment while Throwing Grenades
Grenade Assets
Showing the Attached Grenade
Spawning Grenades
Grenades in Multiplayer
Grenades in the HUD
Optional Challenge: Create a new Weapon!
Quiz on Different Weapon Types

18 Topics
Pickup Class
Ammo Pickups
Buff Component
Health Pickup
Healing the Character
Speed Buffs
Jump Buffs
Shield Bar
Updating the Shield
Shield Buffs
Pickup Spawn Point
Adding Spawn Points to the Level
Spawn Default Weapon
Secondary Weapon
Swap Weapons
Drop the Secondary Weapon
Optional Challenge: Custom Pickup!
Quiz on Pickups

37 Topics
Lag Compensation Concepts
High Ping Warning
Local Fire Effects
Show the Widget Locally
Replicating Scatter
Replicating Shotgun Scatter
Shotgun Fire RPCs
Client-Side Prediction
Client-Side Predicting Ammo
Client-Side Predicting Aiming
Client-Side Predicting Reloading
Server-Side Rewind
Lag Compensation Component
Hit Boxes
Frame Package
Saving a Frame Package
Frame History
Rewinding Time
Interp Between Frames
Confirming the Hit
Score Request
Server-Side Rewind for Shotguns
Confirming Shotgun Hits
Shotgun Score Request
Requesting a Shotgun Hit
Predict Projectile Path
Post Edit Change Property
Spawning Projectiles Locally
Hit Box Collision Type
Projectile Server-Side Rewind
Projectile Score Request
Limiting Server-Side Rewind
Swap Weapon Animation
Wrapping up Lag Compensation
Cheating and Validation
Optional Challenge: Use the Frame History in a Creative Way!
Quiz on Lag Compensation

12 Topics
Return to Main Menu
Leaving the Game
Player Bookkeeping
Gaining The Lead
Spawning the Crown
Elim Announcements
Dynamic Elim Announcements
Head Shots
Projectile Head Shots
Head Shots for Server-Side Rewind
Optional Challenge: Player Chat!
Quiz on More Multiplayer Features

10 Topics
Teams
Teams Game Mode
Team Colors
Setting Team Colors
Preventing Friendly Fire
Team Scores
Updating Team Scores
Teams Cooldown Announcement
Optional Challenge: More Teams!
Quiz on Teams

13 Topics
Capture the Flag
Holding the Flag
Picking up the Flag
Burdening the Flag Bearer
Dropping the Flag
Team Flags
Team Player Starts
Capture the Flag Game Mode
Select Match Type
Accessing our Subsystem
Teams and Capture the Flag Maps
Optional Challenge: Custom Match Type!
Quiz on Capture the Flag

2 Topics
Congratulations
Bonus Lecture

  Write a Review

Unreal Engine 5 C++ Multiplayer Shooter

Go to Paid Course