Member-only story

Rebel Ramparts: Enhanced Commands, A.I. ๐Ÿ’ป Enemy Detection, and Raycasting ๐Ÿ‘€ (Dev Log #3)

Alexander Whipp ๐ŸŽฎ๐Ÿ’ป
5 min readNov 18, 2023

--

Another week, another set of features closer for this Freedom Fighters multiplayer clone in Unreal Engine 5 called Rebel Ramparts!

In the last blog, I set out to set the groundwork for A.I. and team-based gameplay which now continues into week 2. This week the game now has a:

  • Revamped command structure, empowering both individual and batch commands to your A.I. troops
  • A.I. now detects enemies and players within line of sight.
  • A seamless fix ensuring players join distinct teams.
  • An enhanced debugging experience to assist with A.I. development.

Features

Feature 1: Enhanced Commands for Improved Strategy

Similar to the original, players have the option to command recruits individually or in groups. This flexibility provides greater freedom to position their teams across various operational areas, such as defending a bunker or participating in a siege. Ultimately, this enhancement empowers commanders to fine-tune their strategies, enabling dynamic adaptation to the ever-changing battlefield.

The process is straightforward:

  1. Follow Command: Hold โ€œF,โ€ and all your recruits will converge on your position. Press โ€œFโ€ to have only one of them rotate back.
  2. Scout Command: Hold โ€œQ,โ€ and all your recruits will converge on your desired location. Press โ€œQโ€ to send out only one of them.
Showing individual commands and batched commands.

Whether youโ€™re coordinating a precise assault or orchestrating a strategic retreat, the improved command system ensures youโ€™re in complete control. The goal will be to enable these commands to be remapped to different keys in the future.

Feature 2: A.I. Enemy Detection

To initiate combat scenarios, the A.I. must possess the ability to track enemy players and other A.I. Now, whenever another enemy pawn comes within visual contact, the A.I. will start tracking them until they remain out of line of sight for a specified duration.

--

--

Alexander Whipp ๐ŸŽฎ๐Ÿ’ป
Alexander Whipp ๐ŸŽฎ๐Ÿ’ป

Written by Alexander Whipp ๐ŸŽฎ๐Ÿ’ป

Jack-of-all-trades developer with too many passion projects, but an exciting drive to "eventually" get them done.

No responses yet

Write a response