Suggestion General Please expose/explain AI Behavior weight calculations

Currently viewing this thread:

Jance

Recruit
WBWF&SNWVC
Several modders (including myself) are interested in changing weapon prioritization methods and other AI-related behaviors. As far as we know, these methods that interpret the provided (very vaguely named) weights are contained within the engine binaries and are inaccessible to modders.

We are interested in knowing what the weights passed into this engine method actually do:
C#:
[EngineMethod("set_all_ai_behavior_params", false)]
void SetAllAIBehaviorParams(
  UIntPtr agentPointer,
  HumanAIComponent.BehaviorValues[] behaviorParams);

Ideally, it would be nice if everything AI-decision making related was exposed so we could have infantry prioritize spears over swords for example.
 
Top Bottom