Type: Team Project
Engine: Unreal Engine 4.18.3
Team size: N/A Solo project
Hunter game prototype where the player plays the role of a young native American on his first hunting trip. As the player, you need to help the other hunters with their quota.
Since this was a solo project I did pretty much everything. The stuff I didn’t make where the forest assets the animals, trees, and rocks I bought those from https://www.cgtrader.com. Below is the collapse headers you can see what I did do/made.
The shooting mechanic isn’t over complicated. You can only shoot when you are aiming simple bool check to see if the player is aiming the aim button needs to behold down when you press the aim button the character draws an arrow. On release the arrow is put back in the quivers holding the shoot button will put more power in the arrow.
The animals have 2 parts to their behavior, wandering & fight-or-flight. The hunters only have a wandering behavior with an interrupt to look at the player when talked too.Wandering behavior picks a random location in the radius of its spawn location. Move to a location on arrive play a delay animation eating, looking around, laying down with random delay between 2 values. When the animation is complete repeate the wandering branch.
Fight or flight behavior branch checks if the animal is an aggressive animal or not. If they are and see the player they run to the player within range play attack animation. So if they are not and pick the flight sub-branch well they run away. I picked the vector between the animal and the player used that direction and alter it with a random int between -30 & 30 in the yaw axis make a new vector with that direction and an X amount for the length. Use that point to run too. Repeat that at least 3 times before going back to wandering.
Dialog / Quests
- Quest correct
- Quest Wrong
The first time talking with a hunter it always picks the first from the quest correct and will be the actual quest. How many boars he still needs for his quota for example.
If the player talks again with an animal other than he asked for pick a line from Quest wrong. Talk with the hunter without holding any animal or if the quest is complete it will pick from the general text pool.
I have built 2 types for the quests simple quota hunting animals and a find type.
I parented the animal to a socket on his back and tried to ragdoll was little more difficult than I anticipated so I only made the neck of the animal’s ragdoll as I was running out of time
So, for the bigger animals, I needed a stretcher to carry them out. Implementing I had two problems that I didn’t think of beforehand
One was the problem was rotation point
The second problem was the pitch of the rig which one should have anticipated.