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

  Рет қаралды 16,548

Code Things

Code Things

Күн бұрын

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

Пікірлер: 38
@stepovyk01
@stepovyk01 9 сағат бұрын
Your tutorial series are exactly what I have been looking for for years!!!
@bellator3762
@bellator3762 15 күн бұрын
Man your tutorials are the best I've seen on youtube which makes a true FPS template from the default third person template. These are so cool. Thank you for making these!
@gepards8
@gepards8 2 ай бұрын
Best video i can find about flashlight. good work bro.
@codethings
@codethings 2 ай бұрын
Thank you :)
@nadiryoussef3035
@nadiryoussef3035 18 күн бұрын
Love the tutorials that are straight to the point ! :D thanks bud
@CelixxuNails
@CelixxuNails 8 ай бұрын
I love your tutorials :)
@codethings
@codethings 8 ай бұрын
Thank you! 😊
@蔡奕霏
@蔡奕霏 Ай бұрын
Thank you so much for the lesson. Please teach me more about making horror games. : )
@duckness3242
@duckness3242 Ай бұрын
Thank you! Perhaps an idea for an upcoming video would be leaning around them cheeky corners
@braonain
@braonain 8 ай бұрын
Would you be able to do a tutorial where the flashlight is held in the characters hand?
@codethings
@codethings 8 ай бұрын
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 7 ай бұрын
yes please do! amazing tutorials btw@@codethings
@bjkokos4259
@bjkokos4259 6 күн бұрын
Got a sub from me. Thanks homie!
@KANAWA2025
@KANAWA2025 4 ай бұрын
all works fine and on ue 4 version , grand mercy!
@codethings
@codethings 4 ай бұрын
Glad to hear it!
@techwithprakharOFFICAL
@techwithprakharOFFICAL 7 ай бұрын
AMAZING tutorial!
@JoKa53
@JoKa53 4 ай бұрын
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 23 күн бұрын
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?
@yukseltekbas4991
@yukseltekbas4991 2 ай бұрын
I did ıts perfect but ı cant see the texture how can ı fix it
@dnavanith
@dnavanith 8 ай бұрын
New subscriber!
@codethings
@codethings 8 ай бұрын
Thank you so much! :))
@teloscyberman
@teloscyberman 5 ай бұрын
great video mate
@codethings
@codethings 5 ай бұрын
Thank you sir, means a lot!
@academictakumi7406
@academictakumi7406 2 ай бұрын
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.
@yukseltekbas4991
@yukseltekbas4991 Ай бұрын
how*?can you explain it
@RedditStoriese
@RedditStoriese 3 ай бұрын
i actually love your tutorials so much
@codethings
@codethings 3 ай бұрын
Thank you! :D
@RedditStoriese
@RedditStoriese 3 ай бұрын
@@codethings no problem
@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!
@droxam
@droxam 7 ай бұрын
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!
@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 Ай бұрын
Probably needed to set some kinda border and delay to the flashlight so that it lags behind you cursor
@c0nverge
@c0nverge Ай бұрын
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.
Make a Realistic Depth of Field System in Unreal Engine 5
9:17
Code Things
Рет қаралды 7 М.
How I Remade MW2 with Unreal Engine 5
12:37
reubs
Рет қаралды 3,1 МЛН
She's very CREATIVE💡💦 #camping #survival #bushcraft #outdoors #lifehack
00:26
How I Turned a Lolipop Into A New One 🤯🍭
00:19
Wian
Рет қаралды 10 МЛН
I made a horror game in one day
13:33
shawcat
Рет қаралды 6 МЛН
Epic's Unreal Optimization Disaster | Why Nanite Tanks Performance!
13:07
Threat Interactive
Рет қаралды 215 М.
How To Use MegaLights Tutorial - Unreal Engine 5.5
9:31
Smart Poly
Рет қаралды 21 М.
TRANSFORM To Different CHARACTER In Unreal Engine!
4:32
DevEdge • Abhay
Рет қаралды 17 М.
The BEST way to use Level Streaming in Unreal Engine 5
22:52
Code Things
Рет қаралды 12 М.
UE5 Speed Horror Level Design | Unreal Engine 5 Horror Game
11:51
How To Make a 3D Interaction Icon System in Unreal Engine 5
11:47
How to Make a Physics Door in Unreal Engine 5
7:42
Gorka Games
Рет қаралды 26 М.
10 Unreal Engine 5 PLUGINS I can't live without!
9:37
Cinecom.net
Рет қаралды 561 М.