Problems with AI
Author: Khumoyun Rustamov
Posted on 2/16/2023
For our project, codename: Element Clash, I was put in charge of the Artificial Intelligence systems ranging from simple enemies to bosses. However, so far I have only begun working on a minion enemy AI. I tried to get the AI to simply roam around the map, which turned out to be relatively easy. It was simply a MoveTo function with a GetRandomLocationInRadius function inserted to the location which was running in a loop with EventBegin play connecting to a custom event. The real issue arose when I tried to get the AI to recognize player and chase him. I went about it in a blueprint way. I set it up such that the AI would always be aware of the player's position and subtract distance from it. During the process of trying this, I forgot one key thing, compile, save, and test. By not doing this I found myself stuck after 2 hours of work because now my AI is doing nothing. I could not figure out where I broke it so I had to revert and try again. With a lot of staring at the screen, I figured out that the AI must have a pawnSensing component or else it would be like telling a blind man to follow someone when he sees them. Without fixing this issue I wouldn't be able to proceed to proceed to combat of the AI, so it would essentially render the game unplayable at its core. After 5 hours of hard work and tears, I was able to finally let my team know that they can Get Latest on Perforce, which, I have to tell you, was the best feeling ever. Stay tuned for more updates to come.
Get Element Clash
Element Clash
Element Clash, save your legacy!
Status | Released |
Authors | DJMyers16, MaxMatusR, willj003, B0SS0770 |
Genre | Adventure, Action |
Tags | Action-Adventure, Action RPG, demo, Low-poly, Magic, Monsters, Singleplayer, Third Person |
More posts
- End of the RoadMay 26, 2023
- Sooo stupid...May 18, 2023
- Flash Darn ItMay 12, 2023
- The beginning of the EndMay 05, 2023
- Slow day at the office...Apr 29, 2023
- Some things are that easyApr 21, 2023
- Math for Experience - Dustin MyersApr 14, 2023
- Research EVERYTHINGApr 11, 2023
- Growing a Skill Tree - Dustin MyersMar 18, 2023
- To shoot or not to ShootMar 11, 2023
Leave a comment
Log in with itch.io to leave a comment.