I’m working on a network game and I would like to use AI bots to act as player. I would start multiple clients and use a bot to replace the player in each of these clients.
I notice that there is some engine code that expects a PlayerController (UPlayer for example). To respect that code, I created my own PlayerController and I’m successfully instantiated a BehaviorTree to run the player stub behavior logic.
However, there is quite a load of code in the AIModule which requires the owner to be an AIController. Not to mention all the handling of the navigation system that is achieve in the AIController.
I don’t really see a clean way of achieving this. I could probably use multiple inheritances, but I feel it’s going to be painful to maintain. Any suggestions?