This is an AI library for the GZDoom engine that allows for the (Relatively) easy creation of Doom NPCs with sophisticated AI. The library serves both the purpose of making my mods compatible with each other, and also for other modders to use. It is vaguely modelled after GMod's VJ Base addon, e.g how it includes multiple base NPC types.
While GZDoom has the functionality to extend or replace Doom's original stupid AI, there is no simple way to go about it. And every implementation varies from mod to mod. With every modder having to reinvent the wheel for their projects.
The KAI's purpose is to allow for an easier way for modders to make intelligent NPCs in GZDoom. By coming built-in with a ton of virtual and non-virtual functions, mixins, base NPC classes to inherit new actors from, features, etc. Due to its' nature as library. It allows for all the basic AI code to be consolidated in one place. Which also brings additional benefits, like NPCs from 2 different mods to be able to interact with each other without the need for special patches. Even mods that do not have the KAI as a dependancy can have some level of compatibility with the mod, without the mod NEEDING to be loaded alongside the library.
The wiki for the library can be found here, containing information on classes, functions, variables, and other code structures, along with guides in the future.
For the time being, you can check for info on how to use the library here, as I have not yet begun writing guides for it.
But generally, I'd recommend using the latest stock version (This repositories' master branch) like I do for my own mods that use it, for maximum compatibility with other KAI-based mods. However, you can still make your own version of the library and directly merge it to your project, like how most GZDoom libraries are used for some reason.
Currently, the library is still in early alpha. And might be a bit biased towards still having mostly vehicle code.
More code for other base NPC types will be added in the future. The base humanoid NPC in particular will be updated as I work on my Smart Marine mod.
Still very much a work in progress, so most of what you see is subject to change.