How to make the Most Realistic Flashlight in Unreal Engine 5! (First Person Horror Character)

Поделиться
HTML-код
  • Опубликовано: 26 сен 2024
  • Support Me & Get These Files Here: / codethings
    CodeThings Community Discord: / discord
    In this tutorial, we'll be building upon our existing true first-person setup and adding a Flashlight system with blueprints. If you missed the previous tutorial, don't worry, I've got you covered with a card link to catch up. If you learned something new and like the content please consider liking and subscribing for more! Anyway, hope you enjoy learning how to make a flashlight in ue5!
    Also if you have any other tutorial ideas you would like to see, add them in the comments below!
    #horrorgaming #unrealengine #unrealengine5 #gamedev #coding #programming #codethings #games #learning #scary #flashlight #ue5

Комментарии • 34

  • @蔡奕霏
    @蔡奕霏 Месяц назад

    Thank you so much for the lesson. Please teach me more about making horror games. : )

  • @duckness3242
    @duckness3242 29 дней назад

    Thank you! Perhaps an idea for an upcoming video would be leaning around them cheeky corners

  • @techwithprakharOFFICAL
    @techwithprakharOFFICAL 6 месяцев назад +2

    AMAZING tutorial!

  • @RedditStoriese
    @RedditStoriese 2 месяца назад +1

    i actually love your tutorials so much

  • @KANAWA2025
    @KANAWA2025 3 месяца назад +4

    all works fine and on ue 4 version , grand mercy!

  • @yukseltekbas4991
    @yukseltekbas4991 Месяц назад

    I did ıts perfect but ı cant see the texture how can ı fix it

  • @khemalwichaksy7987
    @khemalwichaksy7987 Месяц назад

    hey, i wonder if i can sorta activate the "flashlight" logic once i obtain it, lets say i put the flashlight on the table so the player can obtain it, and once it is obtained, the logic for the flashlight runs or something like that. i hope you get what i mean :) awesome tutorial by the way!

    • @alphashow5046
      @alphashow5046 Месяц назад

      you probably have to create a flashlight bp, like a weapon, but instead of firing logic, you implement flashlight logic. You can find a lot of weapon tutorials on youtube

    • @khemalwichaksy7987
      @khemalwichaksy7987 Месяц назад

      @@alphashow5046 thanks, i'll give it a try!

  • @teloscyberman
    @teloscyberman 4 месяца назад +1

    great video mate

    • @codethings
      @codethings  4 месяца назад

      Thank you sir, means a lot!

  • @simonb1009
    @simonb1009 Месяц назад

    How to implement a flashlight that will move separately from the camera? I mean the flashlight moves on the screen before right up to the screen borders, and the camera turns only if the flashlight goes beyond the borders. I hope that I explained it correctly, this often happens in horror games and it seems to me that it is quite realistic and not as boring as a spotlight tied to the camera.

    • @catac1ysm13
      @catac1ysm13 28 дней назад +1

      Probably needed to set some kinda border and delay to the flashlight so that it lags behind you cursor

    • @c0nverge
      @c0nverge 26 дней назад +1

      Same as this but instead of adding camera rotation lag to the flashlight add it to the player camera hape that worked cus I didn't test it yet but lmk if it works
      Edit: After some trial and error I found out how, First add the camera to a spring arm instead of mesh and add the camera as a child. Then, set the camera rotation lag to 3(works fine for me) and DO NOT FORGET TO UNCHECK pawn control rotation of camera and check the same on the spring arm and VOILA ez realistic flashlight.

  • @droxam
    @droxam 6 месяцев назад +1

    Yo amazing tutorial btw link for sounds please?

    • @codethings
      @codethings  6 месяцев назад

      Tysm! I don’t have the link specifically but they’re are easily accessible sound effects on freesounds.org I believe!

  • @academictakumi7406
    @academictakumi7406 Месяц назад

    Flashlight works fine, but flashlight material does not seem to be working even though I use the exact same material that you use. And the light function is correctly applied with a new material.

  • @dnavanith
    @dnavanith 7 месяцев назад +1

    New subscriber!

    • @codethings
      @codethings  7 месяцев назад

      Thank you so much! :))

  • @braonain
    @braonain 8 месяцев назад +3

    Would you be able to do a tutorial where the flashlight is held in the characters hand?

    • @codethings
      @codethings  8 месяцев назад +4

      That’s not my first priority as of right now bc I just released this tutorial BUT I would like to make this tutorial eventually on the channel :) if you do wanna see that, you should subscribe bc It definitely will be made

    • @timmythepogman
      @timmythepogman 6 месяцев назад +1

      yes please do! amazing tutorials btw@@codethings

  • @gepards8
    @gepards8 Месяц назад +3

    Best video i can find about flashlight. good work bro.

  • @JoKa53
    @JoKa53 3 месяца назад +1

    The basic run animations for the unreal character model will result in shadows of the hands being shown moving. I personally find this rather distracting and wanted to remove it or at least mitigate it. What would suggest as a solution for it? I wanted to keep the light source closer to the body to imitate it being held in the hand, but this is why the shadows are caused.
    Thanks for the video!

    • @AdamBarkerThe
      @AdamBarkerThe 3 месяца назад

      I’m not home at the moment and not sure if you figured it out but you have to turn off one of the shadow settings for the flashlight.

    • @joegonz
      @joegonz 4 дня назад

      The solution I found to this problem was to change the light channel for the player. Select the player mesh in the blueprint and in the details panel type in lighting channels and put that player on channel 1. Channel 0 is the default channel for all objects, so if you keep the light on 0 it will ignore the player but work on everything else.

  • @luky7587
    @luky7587 Месяц назад

    can you make a tutorial where you explain how to add the 3D model of the flashlight and the animation of the hand?

  • @CelixxuNails
    @CelixxuNails 8 месяцев назад +2

    I love your tutorials :)