Downloads: ship_duplication_fix.pack

ship_duplication_fix.pack

Rate this File
Uploaded by ilia_r_s - August 31, 2022
Author Author ilia_r_s
File Size File Size 10.4 KB
Downloads Downloads 237
+ Download
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.

Images

None

Comments

There are no comments yet.