Those working on this mod do so in their own free time and for no pay.
Show your support for them by enabling ads on this site!

Author Topic: AI ships in defensive battle no longer retreat to their stations - Changed how?  (Read 2063 times)

0 Members and 3 Guests are viewing this topic.

November 21, 2020, 02:53:58 PM

Offline Quee

  • Recruit
  • *
  • Posts: 1
  • Approval: +0/-0
    • View Profile
Hello everybody,

I was wondering if you could help me understand something.
In a lot of mods (and the vanilla game i think), if you attack an enemy planet, in the space battle, the defending ships will all turn around and retreat to their space station. This makes it possible to jump in right behind them an win pretty easily, which also makes for somewhat uncinematic, non-tense battles.
This used to be the behavior in old versions of Thrawn's Revenge (i.e. ICW21), too. But it seems like this no longer is the case in current ones.

I was hoping to add this behavior to another mod (The New Jedi Order Compilation in case that matters) , and maybe even make this change for the base game (as something of a mini-mod), but I couldn't find documentation of how this was done for your EaW mods.

How was this done? How would I change this myself / copy the changes you did?

I have no intentions of redistributing your work, but would love to know how this works.
Thanks a lot, and have a nice day!

December 14, 2020, 02:11:05 PMReply #1

Offline Corey

  • Mod Leader
  • Administrator
  • Emperor
  • *****
  • Posts: 7,520
  • Approval: +410/-80
  • Dream Crusher
    • View Profile
It basically meant rewriting some of the AI. If you look at the AI files, you'll see the behaviours for it.
I also have a YouTube channel where I talk about mod development and gaming, do tutorials, and Let's Plays. If you like the content, consider supporting it on Patreon


 

Those working on this mod do so in their own free time and for no pay.
Show your support for them by enabling ads on this site!