Lyra Custom Gamemode Tutorial | Unreal Engine 5

Sdílet
Vložit
  • čas přidán 8. 07. 2024
  • In this video I will show you how you can create a custom gamemode in the Lyra Starter Game in Unreal Engine 5. I will walk you through step by step how to create a Free For All gamemode. I also talk about all of the different classes that you will need to modify when creating a custom gamemode.
    Make sure to subscribe and click the notification bell if you want to see more lyra tutorials! Currently working on a Battle Royale Gamemode tutorial.
    LINKS:
    ---------------------------------------------------------------------------
    My Courses: smartpoly.teachable.com
    Survival Game Course: smartpoly.teachable.com/p/unr...
    Channel Membership: www.youtube.com/@SmartPoly/join
    Support Me on PATREON: / smartpoly
    Buy My Complete Projects: smartpoly.gumroad.com
    Donate: www.buymeacoffee.com/smartpoly
    ---------------------------------------------------------------------------
    MY PC SPECS & AFFILIATE LINKS
    ---------------------------------------------------------------------------
    Mouse: amzn.to/46WMdjN
    Keyboard: amzn.to/3M11SpV
    Laptop: amzn.to/3M7kjJQ
    CPU: amzn.to/3tKTK6E
    RAM: amzn.to/45yvWjW
    GPU: amzn.to/3rUGMmm
    SSD 2TB: amzn.to/46QcGPS
    SSD 4TB: amzn.to/46T10f9
    Primary Monitor 4K: amzn.to/3RZxqk5
    Secondary Monitor 1080p: amzn.to/3M6X16V
    Microphone: amzn.to/3S0aLnx
    Audio: amzn.to/3S5z5Vm
    Headset: amzn.to/45BeWJP
    TIMESTAMPS:
    00:00 - 0:30 - Intro
    0:35 - 5:15 - How Gamemodes Work
    5:20 - 12:54 - Create Our FFA Gamemode
    13:00 - 17:30 - Bug Fixes and Changes
    17:35 - 20:00 - Add It to the Menu
    20:05 - 21:30 - My Battle Royale Gamemode

Komentáře • 75

  • @LFA_GM
    @LFA_GM Před 2 lety

    Thank you for this video, very informative. It is good to see a complete workflow explaining all the data assets needed. Thanks.

  • @AKIMB0Studio
    @AKIMB0Studio Před 2 lety +2

    Loving these videos keep it up🔥🔥

  • @Nileverse7
    @Nileverse7 Před 2 lety +5

    Excellent tutorial, it will be nice to complete the tutorial with editing the UI to display the match score and the wining player

  • @TheIndieDev
    @TheIndieDev Před 2 lety +7

    Would be cool to see a multiplayer skin selector on Lyra. As well as CTF and Search and Destroy. I think those would be right up your ally and it will help peeps

  • @Balives
    @Balives Před 2 lety

    Keep. Them. Coming!

  • @germangonzalezg6250
    @germangonzalezg6250 Před 2 lety

    Thank you, Sir!

  • @jiekii
    @jiekii Před rokem

    Great tutorial, Lyra doesn't seem to be a novice template for novices!!

  • @GorkaGames
    @GorkaGames Před 2 lety +1

    Excellent video! Where could we change the default weapon selected? To have a rifle instead of a pistol at the start for example.

  • @dadlord689
    @dadlord689 Před 2 lety +8

    Game Experiences are data assets. And you should list them in project settings for UE to know where and what they are. It is in Assets Manger subcategory of Game settings -> Primary Asset Type to Scan : here you have to lable a type of assets and list all possible paths to such assets. Otherwise editor won't find them for you to select reference to one in selection field.

    • @randypaquette619
      @randypaquette619 Před 2 lety

      He should pin this comment. Thanks for the help!

    • @ResurrectedRap
      @ResurrectedRap Před rokem

      even better, create a game feature plugin and use the asset manager in the plugin data file

  • @DuneGames
    @DuneGames Před rokem +1

    Nice demonstration. I'd like to see a version of this that does it as a Game Feature Plugin, so the base Lyra isn't modified such that if you update Lyra (if they come out with a new version) you wouldn't break anything, and your code would be modular.

  • @jiekii
    @jiekii Před rokem

    I look forward to updating the options of how to add game settings and how to get the parameters of game settings again. I can donate to you

  • @fuyuan822
    @fuyuan822 Před 2 lety

    Great video! Super clear and helpful. Hope there will be a tutorial about coop PvE mode that features a Boss fight

    • @jiekii
      @jiekii Před rokem

      I think so too, ha ha

  • @eternasky
    @eternasky Před 2 lety

    Awesome stuff, I wonder if you'll be able to do a tutorial on manipulating the UI so certain attributes are hidden or new ones can be created etc.

  • @btarg1
    @btarg1 Před 2 lety

    Can't wait for a remake of The Hidden in UE5!

  • @allikorushavi723
    @allikorushavi723 Před rokem

    Cool👍❤❤👍

  • @abgvex
    @abgvex Před 2 lety +2

    You should do a video on adding team selection prior to joining game.

  • @RobTheAlchemist
    @RobTheAlchemist Před rokem

    A custom metahuman editor would be an awesome lyra tutorial

  • @bruceoberleitner3031
    @bruceoberleitner3031 Před 2 lety

    Hi,
    This is a wonderful tutorial. I've used it to build a "Deathmatch" mode for my game. One Question. When I hit the "Tab" key to display the scoring screen, the only score I see is my own. Do you have any information on how to change that UI to display the scores of everyone in a match. Thanks

  • @insanestudios9643
    @insanestudios9643 Před 2 lety +1

    I noticed that when retargeting a ue4 character to the Lyra character everything retargets well but the weapons dont align with the hand's at all its as if it were floating with an offset. Have you found a fix for this?

  • @WizzKidxKOx
    @WizzKidxKOx Před 2 lety +1

    I was just looking for how to add a new level to the project settings with a new game mode.
    Will update once I finish the vid

    • @WizzKidxKOx
      @WizzKidxKOx Před 2 lety

      For me there was a UI glitch.
      In my duplicated game mode, the dropdown for the level asset just wasn't populating my custom level.
      Closing and restarting the editor from yesterday to today fixed it.
      Watching this video gave me full context that it wasn't a problem on my end, thanks!

  • @tomas-dn9px
    @tomas-dn9px Před 2 lety +1

    can you please do a video on how to install it because i keep getting eorrs when packaging the game

  • @flowerthencrranger3854
    @flowerthencrranger3854 Před 2 lety +1

    I’m trying to do a Battlefield inspired conquest gamemode, however, I’m facing problems with the scoring system, especially, it just locks both teams at 999 points, and removes the control point features.
    Any ideas what the problem might be?

  • @aleemmohammed7794
    @aleemmohammed7794 Před 2 lety

    Great video, I've been searching for content that shows how to modify lyra. I would like to have a single player mode with creatures that can attack the player. What's the best way to modify the existing bots to make a creature that attacks the player or how do you creature an new creature bot that could attack the player?

  • @LulzSec777
    @LulzSec777 Před 9 měsíci

    Maybe do a video on how to select diff times for the match? or hopw to change the time count down

  • @timsblends1483
    @timsblends1483 Před 2 lety

    Do you know how to specifically set a particular character to a specific team - I want to create monster class but can't seem to make them attack my monster

  • @Zero-ig6jq
    @Zero-ig6jq Před 2 lety +9

    Hello, you can record a lesson on how to make a character initially unarmed, but so that when you press a button, for example, "T", he picks up a weapon with an action animation

    • @Bladiriel
      @Bladiriel Před 2 lety +2

      Yeah i need too !

    • @Bladiriel
      @Bladiriel Před 2 lety +1

      I found this, all animation are loaded from B_WeaponInstance_Base.

    • @user-tp5yb4hr4w
      @user-tp5yb4hr4w Před 2 lety

      I wouldn't mind doing something like this for a living, yeah sure sometimes it can be boring and tedious, but it's also very stable and relaxing.
      I'm I can already tell by this tool and how it works, that it's far better than a lot of other tools I've used in the past.
      I guess the thing I don't necessarily like are the NPCs, though I do wonder if the variety can be better, I don't like that they explode in design of Legos.
      I was very impressed by the reveal trailer of this tool, I saw it for the first time a few weeks ago, and it was amazing how you could build a scene and literally play on that scene with the same tool that you build it with.
      And other games you have to use their creation tool and save the program, then turn on and launch the game and load yourself to that area in order to test it out, this program seems to allow you to do it seamlessly and you don't need to remember special COC locations from the look of it.
      It looks incredibly advanced compared to tools such as skyrim's creation engine, the engine is very buggy and crashes all the time which forces you to save all the time on almost every step you make, this unreal engine 5, seems to be the most amazing tool that could ever be used in a game.

  • @PersonalAccountIndeed

    11:37 I understand that teams will be assigned based on the order, top to bottom. However, is there a way to instead make your own custom allocation where the teams aren't automatically balanced/assigned in-order? I'd like to have three teams, and where the distribution isn't an even 1/3 split between the three teams but instead more like 4:2:1 (A seven-person game would be 4 on Team A, 2 on Team B and 1 on Team C.)

  • @gonzalomorales1593
    @gonzalomorales1593 Před 2 lety

    Hello, what a good job, could you please integrate ballistic fx into lyra starter game?

  • @mine_raidz1514
    @mine_raidz1514 Před 2 lety

    could u make a video on how to make a search n destroy gamemode, and or showing how to add new characters in like new models and gun models, maybe how to add in a sniper

  • @amyraso
    @amyraso Před 2 lety

    🔥🍕❤️

  • @alanodonnell3955
    @alanodonnell3955 Před 2 lety

    Any chance you could do a video finishing the Ui / score// show the winner, and look at a capture the flag game?

  • @ardademirhan6303
    @ardademirhan6303 Před 2 lety

    can you please add lyra character some additional skills in a video. maybe throwing bombs etc.

  • @rustycool1444
    @rustycool1444 Před 2 lety +4

    Excellent video!!! Could you please do one so we can use it as a first person shooter instead of third person?

    • @retnuhlous
      @retnuhlous Před 2 lety +2

      Or just to change this game to first person

    • @steveradford663
      @steveradford663 Před 10 měsíci

      look in HeroData_ShooterGame > Camera > Default Camera Mode > -- change to CM_FirstPerson === Viola

  • @chatz_stergios
    @chatz_stergios Před 2 lety +1

    Could you make a gamemode that will not spawn friendly ai's but only enemies??? Like a single player game mode?????

  • @1EagleTutoriais
    @1EagleTutoriais Před rokem

    Would it be easy to make a wave swarm game with Lyra?

  • @Axel.Peters
    @Axel.Peters Před rokem

    Good tutorial, but if not mistaken, all adaptations will be lost with an official Lyra update since you worked in the shooter core plugin folder. What I miss is a clear and simple way of following up with that, but don't lose your content - so to speak, staying independent of the original Lyra source by having your own Game Feature Plugin.

    • @steveradford663
      @steveradford663 Před 10 měsíci

      The create Plugin in Cpp will only work in UE5.3 -- out in full soon. at the moment still dont work.

  • @jps5980
    @jps5980 Před rokem

    How can I make my own Ballistic shields and add movement similar to Rainbow six Siege

  • @Drakh-Arys
    @Drakh-Arys Před rokem

    how to make a round system match (with victory end game) ?

  • @hangzheng4971
    @hangzheng4971 Před 2 lety

    Very cool!!! Didn't know you can modify it like that. Do you think you can make one for single player with enemies in the game?

    • @SmartPoly
      @SmartPoly  Před 2 lety

      just add the bot spawner component

    • @steveradford663
      @steveradford663 Před 10 měsíci

      Dont play in single player - it will mess with your head when you realize no game out there that makes $ is in Single mode ---- Lyra is multi player -- do all your work in multiplayer - spend the time and dont look back == Ive been coding since mid 1980's - dont take the short cuts spend the time and mental energy in Multiplayer

  • @asswine12
    @asswine12 Před rokem

    how to make 1 team use a different skeletal mesh than the other team?

  • @Ficnal
    @Ficnal Před 2 lety

    please can you show us how to make bomb plating mod !

  • @diher57
    @diher57 Před rokem +1

    Is there a chance to show us a cooperative game mode creation ... players vs bots? Or a custom bot spawner ? Thanks, nice tutorials

    • @Reinstall
      @Reinstall Před rokem

      Yeah, was there any update to this?

  • @TobeyMarshall5486
    @TobeyMarshall5486 Před rokem

    How to make some blueprint match is ended return to main menu ue5

  • @snaf3649
    @snaf3649 Před 2 lety

    Do you know how to make so all bots will spawn on enemy team? By default every other bot is on my team

  • @retnuhlous
    @retnuhlous Před 2 lety

    I just need a small tut to make the character first person while still seeing the legs

  • @LulzSec777
    @LulzSec777 Před 9 měsíci

    Can you just add the battle royal gfame mode to you project that you already have?

    • @cutecutebethoven
      @cutecutebethoven Před 8 měsíci

      Only if its a lyra project

    • @LulzSec777
      @LulzSec777 Před 8 měsíci

      yeah i have a lyra how would one go about adding this to a lyra project they already have. @@cutecutebethoven

  • @thevegaspro3072
    @thevegaspro3072 Před 2 lety

    Привет хороший видео урок , ты случайно не знаешь как создать спектатор режим после смерти без респавна, спасибо!

  • @cutecutebethoven
    @cutecutebethoven Před 8 měsíci

    How do you make it so random people can join the world

  • @gwpyt734
    @gwpyt734 Před 2 lety

    I want this project how to buy this project tell me 🥺😭

    • @SmartPoly
      @SmartPoly  Před 2 lety +3

      you can download it free from the unreal engine marketplace

  •  Před 2 lety

    i have the nameplate error when i'm trying to play it with bots, can you help me why?

    • @SmartPoly
      @SmartPoly  Před 2 lety

      are you playing with 2 players?

    •  Před 2 lety

      @@SmartPoly i got the same error with 1 or 2 or 3 AI players (plus me, the only human player)

  • @DevPatel-fg3su
    @DevPatel-fg3su Před 2 lety +2

    Hey, I'm 15 years old and want to get into game development and programming. I have very basic coding knowledge but want to learn C++ and UE5. I know very basic Java and nothing else. What do you reccomend, I do and what of tutorials should I try?

    • @CommanderColson
      @CommanderColson Před 2 lety +1

      Something that has really helped me is picking out a specific idea, and just doing everything I can to learn how to make that idea work.
      For instance, if I wanted to make an idea based of CoD Zombies, I’d need:
      1. An AI character that pursues the player and damages them when in range.
      2. Doorways that the AI character must open in order to pursue the player. The player can then close these doorways in an attempt to delay the AI Character.
      3. A way for the player to ‘shoot’ the AI character (simple gun mechanic).
      4. A timer that counts up, and records the players ‘high score’ which is dependent on how long they survived.
      That all of course is a super boiled down simplified version of CoD zombies, but that is how the mode works at its core. With that core idea in mind, you can make a list of items to research one by one.
      Go find tutorials on how to code a timer the counts up.
      Find tutorials that help give the player a basic shooting mechanic.
      Follow a tutorial on how to code a door that the AI can open, and the player can close.
      If you learn those basic elements, you can begin to apply them as different things for different games. The functionality of a door could be a literal door in one game, or a massive swinging obstacle that the player has to dodge in another.
      That’s what’s worked for me, it may or may not work for you, the best thing you can do is just try different things/tutorials and eventually you will find what works for you. Practice will never make you worse at something lol. Good luck!

  • @3BEEZ
    @3BEEZ Před rokem

    Stopped watching when you skipped over the FFA scoring BP, will this be covered in another video that I can jump to otherwise (for me at least) there's no point watching any further. Thanks in advance

  • @ashwinj9879
    @ashwinj9879 Před 9 měsíci

    my main UI screen crashes ue 5 :c
    Assertion failed: AssetClass [File:D:\build\++UE5\Sync\LocalBuilds\Lyra\Windows\Source\LyraGame\GameModes\LyraExperienceManagerComponent.cpp] [Line: 61]
    UnrealEditor_LyraGame!ALyraGameMode::HandleMatchAssignmentIfNotExpectingOne() [D:\build\++UE5\Sync\LocalBuilds\Lyra\Windows\Source\LyraGame\GameModes\LyraGameMode.cpp:164]
    UnrealEditor_LyraGame!TBaseUObjectMethodDelegateInstance::Execute() [D:\build\++UE5\Sync\LocalInstall\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:650]
    UnrealEditor_Engine