Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Content

This is episode 34 of third-person shooter series based on Unreal Advanced Locomotion System. Here, we are going to do some improvements to the behavior tree based AI system of the characters. Following points will be discussed and implemented in this session.    - Increasing the mobility of the AI characters when they are engaged in battle.  - Selecting movement mode (crouch, run, sprint, walk ) according to the situation  - Prevent locking onto dead enemies - prevent firing of dropped guns  - General AI improvements

CodeLikeMe Third-Person shooter series: https://www.youtube.com/playlist?list=PLKLABJGyKV-CmWAXXeuUTer0iI0kSG1W4

.

project files

https://www.patreon.com/posts/63654325

Files

Previews only

Unreal Engine Battle Simulation - AI Improvements (ALS #34)

Project Files: https://www.patreon.com/posts/62932614. This is episode 34 of third-person shooter series based on Unreal Advanced Locomotion System. Here, we are going to do some improvements to the behavior tree based AI system of the characters. Following points will be discussed and implemented in this session. - Increasing the mobility of the AI characters when they are engaged in battle. - Selecting movement mode (crouch, run, sprint, walk ) according to the situation - Prevent locking onto dead enemies - prevent firing of dropped guns - General AI improvements Advanced locomotion system: https://www.unrealengine.com/marketplace/en-US/product/advanced-locomotion-system-v1 CodeLikeMe Third-Person shooter series: https://www.youtube.com/playlist?list=PLKLABJGyKV-CmWAXXeuUTer0iI0kSG1W4 ► 👇 𝐒𝐮𝐩𝐩𝐨𝐫𝐭 𝐓𝐡𝐞 𝐂𝐡𝐚𝐧𝐧𝐞𝐥 // 𝐁𝐞𝐜𝐨𝐦𝐞 𝐀 𝐏𝐚𝐭𝐫𝐨𝐧! https://www.patreon.com/codelikeme ►Patrons will have access to project files of all the stuff I do in the channel and other extra benefits Join this channel to get access to perks: https://www.youtube.com/channel/UClb6Jh9EBV7a_Nm52Ipll_Q/join Like my facebook page for more content : https://www.facebook.com/gamedevelopersclub/ Follow me on twitter : https://twitter.com/CodeLikeMe2 Follow me on reddit : https://www.reddit.com/user/codelikeme #CodeLikeMe #unrealengine #ue4 #indiegamedev

Comments

DjSadhu

Maybe it is something I did, but the last version where the Patrolling NPC patrols, is OneDrive_2022-02-20. After that it fails to start walking. Could you check if this patrol function still works in later project versions?

CodeLikeMe

sure, I'll check and get back. recently i noticed sometimes the navmesh is not generated. had to reload the map. check if the navmesh is properly generated. when you press P, you should see that in green

CodeLikeMe

Hi, I just tested and patrolling is working. I created a new map called ALS_test in the Levels folder. there is a patrol NPC. in the default map, there are no patrolling enemies. They engage in fight right after start

DjSadhu

Thanks for checking! Could my map be too complex? How/where is this navmesh built? My map is like a big city with lots of buildings.

CodeLikeMe

Well, that depends on where you actually needs navmeshes. You can put navmesh bounds volume only on streets

DjSadhu

Thank you, it's working now! The navmesh wasn't updated at all 😅 Now I crunched out a huge green navmesh for the entire city and they are on patrol as we speak :)