NPC coordination and role system

Introduction

Hi everyone! I have been brainstorming about a new NPC / AI system that would help NPCs not get too spread out and would also have some combat use.(honestly nobody likes NPCs wandering all over the place)
This system would also help NPCs coordinate and cooperate in a variety of tasks.

Info

The main purpose is that the NPCs do not keep getting too spread out from each other.
Additional features are:
every NPC would have a squad and a class/role assigned to them.
The role would determine in what this npc is specialized in.
there would be an optional leader in each squad, and maybe even some sort of specialist NPCs too.
some examples are:

roles
  • Squadleader
    He commands the squad and has the ability to call reinforcements
  • Rifleman
    basic rifleman nothing special
  • Sniper/Marksman
    He would have a long ranged weapon
  • Rocketeer
    He would have some kind of rocket propelled weapon

You would also be able to add, remove and customize every role.
This system would be open-sourced and would be easily adaptable.

Reason

I have never encountered nor heard of projects on roblox that focus on giving NPCs some improvement on working with its fellow NPCs, most of the time projects are focused on handling large amounts of them and do not consider if they work together in a efficient way. I’ll give you two example’s:

  1. This one is very focused on handling massive amount’s of NPCs, the NPCs no not interact with each other in any way.
    Justice, the awesome NPC system

  2. This one only focuses on the core components of a npc. No consideration of teamwork.
    Ez NPC | MMO NPC System Handler

Help

All you see above is my imagination going to work and carefull planning,
However I need your help.
I quite frankly have the worst scripting skills in history.
I have everything ready, except this small list

Things to help with
  • NPCs wandering off
  • calling reinforcements

(edit)If you want to help with the development of this project you can contact me, thats all, have a lovely day!

I’m afraid I can only help you (probably) solve your second problem with the reinforcements.
If I were you I would give the commander unit a special value, then when the unit would call reinforcements the game would get the coordinates (X,Y,Z values) of that commander unit and form a path for the reinforcements to those values. (also I’m not gay)

1 Like

Thank you for your valuable insight, this will help me quite a lot!

1 Like