i downloaded the ai pathfinding thing but cant find the scripts i need such as the pathfinder Edit: I also have and error for "Bounds" does not get a definition of getcorners or something
I think the component is actually called Pathfinding not Pathfinder. I may have misspoke. The error for Bounds not having getCorners is because you have to create a new script called BoundsExtensions. See the timestamp at 8:36 Also you can just copy the script from my GitHub: github.com/spikelyDev/coilhead-tutorial/blob/main/Assets/Scripts/Extensions/BoundsExtensions.cs
@@spikely. Could you also make another part to this with patrolling, killing the player, sound and/or animation? i recently started coding and cant find any tutorials for this and i really want to make a game like lethal company
Sure! The Bracken is very similar to the Coilhead code-wise. The main difference is in the Update function and how the Bracken reacts when players are looking and not looking at him. If a player is looking at the Bracken for too long , set that player as the target and attack him. If a player looks at him for just the right amount of time, the Bracken should get shy and quickly scurry away. Essentially you want to create behavior for each of the Bracken’s states (ex. Wandering, aggressive, scared) and switch between those states depending on how the players react to him as explained above. Hopefully this is enough information to lead you in the right direction. If not then I can do a quick video on it. And thanks for watching and commenting!
@@spikely. You just got a new subscriber! You explained it very well but I'll be happy if you make a video for it if you don't mind. because I'm a newbie programer and most of the time my scripts have several warnings or they're just too messed up, when I'm not following any tutorials
Thanks so much! I will definitely make a video on it soon then. And don’t worry about being a newbie. Everybody starts somewhere - no shame in watching tutorials to figure out how things are done! I still look up things all the time!
im your 40th subscriber :D
Thanks so much! Slowly but surely 🥲
Wow awesome tutorial! Thanks yt recommendation
Glad you liked it!
Underrated
@@GameBoyAlex Thanks, Alex!
i downloaded the ai pathfinding thing but cant find the scripts i need such as the pathfinder
Edit: I also have and error for "Bounds" does not get a definition of getcorners or something
I think the component is actually called Pathfinding not Pathfinder. I may have misspoke.
The error for Bounds not having getCorners is because you have to create a new script called BoundsExtensions. See the timestamp at 8:36
Also you can just copy the script from my GitHub: github.com/spikelyDev/coilhead-tutorial/blob/main/Assets/Scripts/Extensions/BoundsExtensions.cs
@@spikely. Thanks you this fixed everything
@@spikely. Could you also make another part to this with patrolling, killing the player, sound and/or animation? i recently started coding and cant find any tutorials for this and i really want to make a game like lethal company
Yep I can definitely do a part two for you!
@@spikely. thank you so much
Can you code the bracken please
Sure! The Bracken is very similar to the Coilhead code-wise. The main difference is in the Update function and how the Bracken reacts when players are looking and not looking at him.
If a player is looking at the Bracken for too long , set that player as the target and attack him.
If a player looks at him for just the right amount of time, the Bracken should get shy and quickly scurry away.
Essentially you want to create behavior for each of the Bracken’s states (ex. Wandering, aggressive, scared) and switch between those states depending on how the players react to him as explained above.
Hopefully this is enough information to lead you in the right direction. If not then I can do a quick video on it.
And thanks for watching and commenting!
@@spikely. You just got a new subscriber! You explained it very well but I'll be happy if you make a video for it if you don't mind. because I'm a newbie programer and most of the time my scripts have several warnings or they're just too messed up, when I'm not following any tutorials
Thanks so much! I will definitely make a video on it soon then.
And don’t worry about being a newbie. Everybody starts somewhere - no shame in watching tutorials to figure out how things are done! I still look up things all the time!
Part one for coding the Bracken just uploaded!
ua-cam.com/video/68hqUd8Ybvo/v-deo.html