Total War: WARHAMMER II

Total War: WARHAMMER II

192 ratings
[FIXED IN AMETHYST UPDATE] Empire Skaven Ruins Bug Fix
   
Award
Favorite
Favorited
Unfavorite
Tags: mod, Graphical
File Size
Posted
224.437 KB
3 May, 2019 @ 7:49pm
1 Change Note ( view )
You need DLC to use this item.

Subscribe to download
[FIXED IN AMETHYST UPDATE] Empire Skaven Ruins Bug Fix

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 script\campaign\wh2_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.
63 Comments
Blodo  [author] 4 Dec, 2019 @ 10:11am 
see title, this bug has been fixed in a few patches ago so there will be no more updates. uninstall this mod.
RHYNO 3 Dec, 2019 @ 3:15pm 
update
Bohz 17 May, 2019 @ 1:46am 
@Blodo Thanks for your amazing mod... Could you now please alse fix the Amethyst Patch?
You know, we've had CA working on it, so.....
Archarius 16 May, 2019 @ 1:58pm 
Thank you for your mod :)
Blodo  [author] 16 May, 2019 @ 10:51am 
Please disable this mod if you updated your game to Amethyst Update, it fixed the bug.
Blodo  [author] 15 May, 2019 @ 11:12am 
That's great news. I'll get ready to decommission this mod for when the patch hits.
Murthor Oathstone 15 May, 2019 @ 8:06am 
This mod will be pointless tommorow, because the bug is getting fixed in the patch tommorow.
xXAlduin99 15 May, 2019 @ 6:53am 
so, is the function now fixed, or is it a "lazy fix"?
TwoDollarElvis 15 May, 2019 @ 6:40am 
@Corwyn No it isn't.
I just started a new Empire campaign and the bug is still present.
Corwyn 15 May, 2019 @ 5:53am 
Is it fixed with the new patch?