Unreal Engine 5 Tutorial - Quest System Part 3: Quest Givers

  Рет қаралды 15,552

Ryan Laley

Ryan Laley

Күн бұрын

Пікірлер: 89
@shifugurugaming
@shifugurugaming Жыл бұрын
Another method for Third Person: - (Remove GetCameraManager Node) - Change to LineTrace node to SphereTraceByChannel - GetActorLocation = Start - (GetActorForwardVector * 100) + GetActorLocation = End - Radius = 20 - GetOwner -> Make Array = Actors to Ignore
@pottz91
@pottz91 6 ай бұрын
does not work.. halp me
@blacksage81
@blacksage81 5 ай бұрын
Thank you! I had a gut feeling that was the move to make, I had to swap out the line trace for sphere.
@mrh8984
@mrh8984 4 ай бұрын
@@blacksage81 @sonny5974 whats the meaning of a Sphere line trace vs Line?
@mrh8984
@mrh8984 4 ай бұрын
Awesome this worked!
@motazturk
@motazturk Жыл бұрын
For Those Following the Tutorial with a ThirdPerson Blueprint, Just change the Line trace to a Sphere trace, the start and end should be as Follows: Get Actor Location + (Get Actor Forward Vector X 150) Radius about 120 Trace Channel Camera That way you will interact with the Actor/NPC in a 120 Units Radius that is 150 Units in front of you
@uchihakidd9026
@uchihakidd9026 Жыл бұрын
Thanks a bunch! I finally got it to work!
@itzyaboytunez4182
@itzyaboytunez4182 Жыл бұрын
This didn't work for me because the radius was too large, but I implemented an alternative solution using box colliders for the interface after playing around abit with it.
@rasbe7210
@rasbe7210 Жыл бұрын
oh my god thank yo
@KenLinx
@KenLinx Жыл бұрын
If this still doesn't work, also replace 'Get Player Camera Manager' with 'Get Player Character' and set the multiply value to 0 instead of 150.
@charles8059
@charles8059 10 ай бұрын
Thank you!!!!
@seeRK108
@seeRK108 6 ай бұрын
1 if u cant see the Print string quest in thirdperson so just increase(GetActorForwardVector * 5000) it will work but it is not the best way 2 just change the Linetrace to SphereTrace It will work
@voryszlo
@voryszlo Жыл бұрын
the easiest. add 2 scene component to the character's BP. first to the center character's BP. the second at a distance with which we want to interact. 1 get world location to the beginning. 2 get world location to the end and that's it.
@nathanmiller8818
@nathanmiller8818 2 ай бұрын
Anyone that has used is prior interact system: Simply add a new function to your interface (I called mine quest interact) make sure it has the Quest ID output and input! then under the npc or other item you want to have the quest give them the quest giver component (and of course your character still needs the quest log component. After that double click interact with (on the npc etc..) to create the event, call in the quest interact, for the quest ID you will grab the quest giver component, grab the quest row name then have it as the quest ID, and the quest giver component as the target. Now click the quest interact and attach the ID quest to the quest ID and boom! Everything else is the same except under the quest giver component, under interact with you want to call in the quest interact (leave everything blankc and fill it out under it like he does above. This should all work as it does and not break your previous interact with function.
@arthurmarquis764
@arthurmarquis764 9 ай бұрын
@Ryan Laley how about using the new input action system instead of the depreciated? How can I do that?
@MaksymilianWawrzyniak
@MaksymilianWawrzyniak 2 ай бұрын
Just add new Input Action eg. "IA_Interact" set as a bool with only one state "Triggered" - then add this action to your Input Mapping Context and set up the key you like eg. "E" - then in Player Blueprint add event "EnhancedInputAction IA_Interact" instead of "InputAction Interact"
@rasbe7210
@rasbe7210 Жыл бұрын
Thank you for your video! I learned a lot. :]
@dawidpiejko9917
@dawidpiejko9917 10 ай бұрын
Hi, one important question, what should I do if I have one Interaction Interface from your equipment and pick up series? Just add input ObjectiveID to it?
@imwheeliebad
@imwheeliebad Жыл бұрын
UPDATE ON THE THIRDPERSON ISSIE: after redoing the line trace blueprint it seems to work fine :)
@ergingoksu9567
@ergingoksu9567 Жыл бұрын
do you know a solution on 2d topdown
@imwheeliebad
@imwheeliebad Жыл бұрын
@@ergingoksu9567 Sorry, been doing 3rd person so haven't dug into top down mechanics.
@epeli9915
@epeli9915 Жыл бұрын
and how you did it?
@imwheeliebad
@imwheeliebad Жыл бұрын
@@epeli9915 Just like in the video...Deleted the Line Trace node and redid it the exact same way, now it works ;)
@agst7095
@agst7095 Жыл бұрын
@@epeli9915 I fixed this issue by increasing the multiply number in the InteractTrace function to something higher than 200.
@danzalotX
@danzalotX Жыл бұрын
he said that the quest giver component can be used differently than having an NPC. Such as a timer based thing or event based thing... I'm trying to make a tutorial in the beginning of the level. does anyone know how it can be implemented that way? i was thinking perhaps trigger boxes when entering a room, and give the box the quest giver component? or is there other ways of doing this? i'd appreciate some ideas. thanks :)
@jakespencer917
@jakespencer917 5 ай бұрын
Really thinking there should have been an interactable main BP for your different series that you branched out of for this, items and equipment.
@TheOfficialAgNO3
@TheOfficialAgNO3 Жыл бұрын
Hmm.. Sadly this isn't working for third person at the moment. Is it the line trace by channel set to camera? Visibility doesn't work for me either. Any suggestions Ryan? Would really love to continue this tutorial, it's great.
@imwheeliebad
@imwheeliebad Жыл бұрын
Did you find a solution?
@dergamegamer8176
@dergamegamer8176 Жыл бұрын
I have now the same problem. When someone find a solution. Feel free to share :)
@jesperrasmussen2058
@jesperrasmussen2058 Жыл бұрын
@@dergamegamer8176 Did you solve it?
@jesperrasmussen2058
@jesperrasmussen2058 Жыл бұрын
Did you solve it? im stuck :( sadly no help here in the comments
@motazturk
@motazturk Жыл бұрын
so i just did a normal line trace but instead of camera i did from player mesh with 200 multiplier! not as pretty but works
@TrocarQueen105
@TrocarQueen105 5 ай бұрын
I'm using a VR template, and wondering if this tutorial still applies? I'm at a similar block as found in the comments, but all seem to say they're working in third person vs the first person in the video. Will update if I find my answer in my research. This video series has been fantastic.
@matthewcheung4296
@matthewcheung4296 6 күн бұрын
Even in first person gamemode it's not really working for me. Followed every step and also followed someones instruction with the new input mapping
@Ehlemdej
@Ehlemdej Жыл бұрын
Could you please update or explain how to do the interact input in UE 5.1? I tried to do it while following your other video about this change, but since it's not made for this quest series, I can't seem to make it work now and I'm stuck 🤷🏻‍♂
@Ehlemdej
@Ehlemdej Жыл бұрын
Update: I guess I did make it work. Somehow I have to look a bit up, so that my camera gets very close (zoomed in on questgiver). Only then it will interact with the questgiver. I guess it has something to do with third person mode. Since this tutorial is first person and doesn't have this issue
@TheShadowCamel
@TheShadowCamel Жыл бұрын
@@Ehlemdej Did you find a way to make it work better? I know there is a different way to do it with Collision capsules as seen in his previous videos. They were about UE4 quest systems that he made 4 years ago.
@TheShadowCamel
@TheShadowCamel Жыл бұрын
@First Last You get videos earlier if you are a supporter on patreon. 😎
@imwheeliebad
@imwheeliebad Жыл бұрын
Not sure it is related to the input changes, something to do with ThirdPerrson vs. First i think
@HadesRage93
@HadesRage93 Жыл бұрын
To fix this Get the Camera Boom Get its world location plug it into start then plug it into the top Add input node and plug into the End for 3rd Person Tracing. The reason being the Camera Boom is at the center of the Default third person Character.
@theshtshowlive
@theshtshowlive Жыл бұрын
My question here is: Since I already have an interaction system in my project, can I just create a new Function in that interface or would it be better to create a new interface to receive quests when interacting?
@deliciousagony
@deliciousagony Жыл бұрын
Yes that is what I did. Just added it to my existing function
@lylejoslyn2638
@lylejoslyn2638 Жыл бұрын
@@deliciousagony So when I added it to my existing interface it turned my interact with into a function compared to an event, how did you fix this?
@deliciousagony
@deliciousagony Жыл бұрын
@@lylejoslyn2638 for me it just works. I have combined this quest system with the interaction system from Michael Pattinson. I am thinking to make a video about it on my channel later on
@pterafier
@pterafier 5 ай бұрын
@@lylejoslyn2638 just copy paste your event code into the function
@StopItRyan
@StopItRyan Жыл бұрын
Method for line trace for third person character I used: Get Player Character Get Forward Vector (Root Component) [rest as normal in tutorial]
@grimmthemisfit9168
@grimmthemisfit9168 Жыл бұрын
hey I was trying your method when I realized that I can't connect Get Player Character into the line trace, nor the forward vector, maybe I picked the wrong thing but I'm not sure :,)
@rarisninja461
@rarisninja461 2 ай бұрын
does implement interface dosent show up for me
@descendantsonline221
@descendantsonline221 Жыл бұрын
I came to the same conclusion , it simply wasnt working. after running in circles for a bit the 200 distance needed to be doubled and it works now.
@teodorfredriksson
@teodorfredriksson Ай бұрын
Ok so i've rewatched the videos 1-3, and i've tried all the examples below. Is anyone else still experiencing trouble with interacting? More specifically, that no message is being shown when trying to interact with the NPC. I have tried: -switching to sphere trace -changing from player camera manager to get player character (not the pure function, but the game function) -changed the radius to a variety of values -changed the multiply/add value to a variety of values -changed trace channel to camera -actors to ignore -->make array Any tips?
@ilithyia7445
@ilithyia7445 26 күн бұрын
same here :(
@matthewcheung4296
@matthewcheung4296 5 күн бұрын
Havent got a clue on how to fix this either :-
@activisteady3451
@activisteady3451 Жыл бұрын
how do i get break fquestdetails in third person
@giacomofumagalli8532
@giacomofumagalli8532 Жыл бұрын
Hi everyone, I dont get why it doesnt work on third person, anyone tried to make it work on third? Thank you
@WaHBz86
@WaHBz86 Жыл бұрын
Does anyone know how to get this working with ThirdPerson? I've tried a bunch of things, including some of the suggestions in the comments, but no luck on my part.
@KenLinx
@KenLinx Жыл бұрын
Here's what I did: Replace 'Get Player Camera Manager' with 'Get Player Character', then replace 'Line Trace By Channel' with 'Sphere Trace By Channel', set the radius to 90, set trace channel to camera, and set the inputs and outputs to the same as what was shown in the video. Then, finally, set the multiply value with 'Get Actor Forward Vector' to '0'.
@puffpuppy420
@puffpuppy420 9 ай бұрын
@@KenLinx first of all THANK YOU! This worked for me, however now its pulling three quests instead of just one. Any idea why?
@KenLinx
@KenLinx 9 ай бұрын
@@puffpuppy420 I didn't have that problem so I don't know how to fix it. Maybe double check that you've followed all the instructions correctly? Sorry I can't be of much help; I haven't touched this system in months.
@puffpuppy420
@puffpuppy420 9 ай бұрын
@@KenLinx no worries! It was my inputs (because we are using the enhanced system now I had to do a bit of guesswork) BUT I figured it out. Thank you!!!
@KenLinx
@KenLinx 9 ай бұрын
@@puffpuppy420 I'm glad you were able to resolve your issue, but what's enhanced system? Did an Unreal Engine update change something?
@BlazeGamesUK
@BlazeGamesUK Жыл бұрын
For anyone doing 2d, I did a sphere trace but this wouldn't work for some reason, so I did line trace and it worked. Just in case it helps anyone!
@RagbroGaming
@RagbroGaming 5 ай бұрын
I dont know what im doing wrong but i dont get it to work :(
@robvan6274
@robvan6274 9 ай бұрын
Yeah ive hit a roadblock. Ive attempted every single fix within the comments and none worked. I tried using the actor location, ive tried using the spring arm.
@pottz91
@pottz91 6 ай бұрын
same
@jakespencer917
@jakespencer917 5 ай бұрын
with what? Confused what you are attempting to do here. Using 3rd person or 1st person? Assuming it is the trace.
@anthonytaylor7362
@anthonytaylor7362 11 ай бұрын
This playlist order is out of it.
@katiekaliber
@katiekaliber Жыл бұрын
Somehow it prints the quest 5 times for me every time i interact. Anyone got an idea of what is happening?
@Ekelmonsterchasti
@Ekelmonsterchasti 10 ай бұрын
I have the same problem today, but I found a solution: I'm working with "EnhancedInputAction" and used "Triggered" first. Changed it to “Started” and now it works. So its maybe just your input action from your player character :)
@arthurmarquis764
@arthurmarquis764 9 ай бұрын
This is old so may not help you but the next guy maybe. Check that you are coming off the right pin when pressing the key. Try triggered instead of pressed or whatever else you might be using.
@jakespencer917
@jakespencer917 5 ай бұрын
mine is doing the same, and I am not 100% sure why. going to continue tutorial and see if fixed but that is an odd bug.
@zjaranyjoe7456
@zjaranyjoe7456 4 ай бұрын
What if I dont need those trace cuz I have dialog with npc and want give quest just at the end of that?
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 11 МЛН
Farmer narrowly escapes tiger attack
00:20
CTV News
Рет қаралды 14 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 16 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 33 МЛН
Unreal Engine 5 Tutorial - Quest System Part 6: Quest Objectives
10:53
Introducing EasyRain for Unreal Engine 5
12:40
William Faucher
Рет қаралды 125 М.
Unreal Engine 5 Tutorial - Quest System Part 5: Quest Log
26:33
Ryan Laley
Рет қаралды 12 М.
7 DEVS Make a GAME without COMMUNICATING! (centipede edition)
17:16
Blackthornprod
Рет қаралды 1,2 МЛН
Why Unreal Engine 5.5 is a BIG Deal
12:11
Unreal Sensei
Рет қаралды 1,4 МЛН
I Remade Avatar Water VFX in 100 Hours
11:38
ErikDoesVFX
Рет қаралды 2,2 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 11 МЛН