AI scripts - Help for a new modder

The place to discuss scripting and game modifications for X4: Foundations.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

fire_monkeh
Posts: 10
Joined: Fri, 19. Mar 21, 18:20

AI scripts - Help for a new modder

Post by fire_monkeh »

Hey! So I have decided to try and write a script to do something as a default AI behaviour and have unpacked the game files and been looking through mods XML for similar AI scripts but I am seeing references to interrupts and handlers and could really use some documentation or an explanation of how to structure this beyond just the examples I have available and copying their structure. I have a fair bit of experience programming/scripting in my job but not done scripting/modding in this game, I looked in the forum for resources relevant to AI scripts but didn't find quite what I was looking for so any pointers would be appreciated.

Thanks :)

Return to “X4: Foundations - Scripts and Modding”