I am currently working on a mod that will drastically change the way the AI behaves. One of the most important things in this mod is making sure that the AI does not target the player when it initially spawns. I have looked through numerous classes related to various AI functions (a lot of which look like they will be useful later), and from what I understand so far (and this is only after a cursory look), each zed has a KFAIController which is then registered with the KFAIDirector. I have not seen where the KFAIDirector is actually implemented.
Largely I am wondering if it is possible to access the main AI loop (or whether is part of the code that has not been provided), and whether the initial behavior of the zeds can be changed so that they do not target the player? I believe it really should not even need access to the main loop, but instead would belong in an init() or constructor...
Largely I am wondering if it is possible to access the main AI loop (or whether is part of the code that has not been provided), and whether the initial behavior of the zeds can be changed so that they do not target the player? I believe it really should not even need access to the main loop, but instead would belong in an init() or constructor...