X2CommunityCore / X2WOTCCommunityHighlander

https://steamcommunity.com/workshop/filedetails/?id=1134256495
MIT License
60 stars 68 forks source link

Allow mods to override the AI behavior trees #410

Open pledbrook opened 5 years ago

pledbrook commented 5 years ago

The X2AIBTBehaviorTree.Behaviors config array is currently private, which prevents mods from adding their own behaviour trees. Make the array public instead.

Iridar commented 3 years ago

PR responsible for closing this issue has been merged a long time ago, however this issue is not documented nor commented in the Highlander's code. I don't mind adding comments or docs for this, but not sure how to handle it, since it's a simple deprivatization. Guidance requested.