[FIXED IN AMETHYST UPDATE] Empire Skaven Ruins Bug Fix

If you liked this item, please rate it up on Steam Workshop page.

Author: Blodo

Last revision: 4 May, 2019 at 02:49 UTC

File size: 219.14 KB

On Steam Workshop

Description:

IMPORTANT: The Amethyst Update fixed this bug. You should disable this mod if you updated your game, otherwise it is very likely that your game will be unstable.

While this mod is now redundant, I will leave it up for people who have opted not to update their games yet through the beta system.

NOTE ON SAVE GAMES: If you disabled this mod you’ll find that your save games are in red and the "load game" button is greyed out. Double clicking on the save game will load it anyway. Everything should be fine from that point on.

————————————————————–

This mod fixes the graphical glitch that appears after starting a new campaign that replaces all empire settlements with Skaven nuclear ruins. It does this by removing a portion of script code that replaces Mordheim ruins with Skaven nuclear ruins at the start of the game, as well as the portion that substitutes normal ruins with Skaven nuclear ruins on settlements that get blown up with a Doomsphere.

It is a very simple bypass for a GAME ENGINE problem that cannot be truly fixed until CA release a patch.

It does NOT work on existing save games, you must start a new campaign.

It is NOT compatible with any mod that touches the new Under Empire scripts.

————————————————————–
For modders who want to tackle the problem:
————————————————————–
It exists in scriptcampaignwh2_dlc12_under_empire.lua on line 262 and 263, as well as possibly also on lines 155-156 and 661-662. This mod resolves it by commenting out lines that make the game replace the city models in that script, both the Mordheim ruins replacement as well as the ruins replacement after using a Doomsphere. These ruins will now show up as normal ruins, rather than Skaven nuclear ruins as was originally intended by CA.

A better fix would’ve been to iterate through the city models to check if they are even ruins and whether they belong to the right owner (i.e. not Skaven) and then try to replace their models back. This should happen at the end of every campaign map reload (so when returning from battle mode for example) as that’s when the bug shows up. This is not a problem with the lua script as far as I can tell from reading the code, so it must be an engine issue.

Steps to reproduce bug:
1. start as Karl Franz, attack the secessionist army in battle mode (not autoresolve)
2. once the battle loads you can just quit back to the campaign map
3. now minor empire cities will have their model changed to skaven ruins

Hopefully CA will fix this or the Community Bugfix Mod will add this to their list of fixes soon. If not, just use this mod until something happens.

————————————————————–

Thanks to Vandy for answering my questions on the Modding Discord while I looked at this.

Download
Required DLC:

These DLC should be installed in order to use this item.


Total War: WARHAMMER II - The Prophet & The Warlock