Mechanicus (Rebuild)

by Morton

For the glory of the machine god. A character skin that brings the glory of the Omnissiah to an unexploited world. (now with a color mask!, also works with character selectors)

Tweaks
1 year, 2 months ago
1.1 - 2.0
24.1K

g Crash on launch with only this mod enabled

17 days ago

I'm getting the following crash when launching the game:

Failed to load mods: Error while loading entity prototype "character-corpse" (character-corpse): Invalid pictures index: 0, expected value in the range of 1 to 1. in property tree at ROOT.character-corpse.character-corpse
Modifications: Base mod › Mechanicus (Rebuild)

This does not occur with only the dependency of CharacterModHelper enabled (and not this one). CMH has had some more recent updates, which may have broken this mod's behavior.

14 days ago
(updated 14 days ago)

Same for me

12 days ago
(updated 12 days ago)

It's an issue with Character mod helper specifically, I also have the same crash

It looks like when CMH was updated on the 28th jan (ironically to fix this same issue with other mods) that it broke this one with the same errors it fixed elsewhere.

I've skimmed the code, while I'm not familiar with the codebase for this game it looks like python, and the error message indicates that there's a problem with the definitions of where the graphics for the character mod is in the code base (ie, the images are fine, but the definitions for where those images are being loaded aren't)

The only thing throwing me off is that the error message above is odd, because arrays in python don't start or have a range of 1 to 1, it should be 0 to whatever the upper limit is in the array

11 days ago
(updated 11 days ago)

The creator of CMH has bugfixed it, update the following in the CMH mod:

It should work again if you change line 121 of file images.lua from

local last_pic = #corpse_data.pictures

to

local last_pic = table_size(corpse_data.pictures)

New response