Results 1 to 3 of 3

Thread: Minor factions ship duplication fix

  1. #1

    Default Minor factions ship duplication fix

    This patch fixes duplicated ship rosters for minor factions.

    If you tried using an all-factions-unlocked startpos, you might have noticed that some factions (for instance, Portugal) have 2 kinds of each ship in their roster. This is because faction-specific ships are erroneously associated with military groups - and military groups represent groups of factions rather than individual factions.

    Major factions are not affected by this bug because each of their ships is explicitly replaced by their faction-specific ship afterwards, while minor factions keep having access to both generic and faction-specific ships of their military group.

    To fix it one should simply remove all faction-specific ship records from military groups association - all the ships are already present in the table with faction-specific permissions. That makes major factions keep using their specific ships, while minor factions are left with generic ships. This behavior is most probably intended, judging by how CA handled line infantry and other European land units in the very same files.

    To install the patch put ship_duplication_fix.pack file into your game's data directory and create a user.empire_script.txt file in C:\Users\[User Name]\AppData\Roaming\The Creative Assembly\Empire\scripts and add the following line to it:
    Code:
    mod ship_duplication_fix.pack;
    The mod changes units_to_exclusive_faction_permissions and units_to_groupings_military_permissions and may cause conflicts with other mods if they change the same tables.

    UPDATE: Fixed Russian heavy 1st rate.

    Download here.
    Last edited by ilia_r_s; September 05, 2022 at 01:48 AM.

  2. #2

    Default Re: Minor factions ship duplication fix

    thank you, I have been looking for a long time to fix this error.

  3. #3

    Default Re: Minor factions ship duplication fix

    You're welcome!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •