1
DF Modding / Re: Need help debugging custom creature - game crashes upon loading [fixed]
« on: October 17, 2021, 03:09:25 pm »
I failed to define/load tissues properly.
As you can see under Creature in the original post, I wrote the following:
Whereas I should have written the following:
In other words, I forgot to insert the <template>s [USE_TISSUE_TEMPLATE|<token>|<template>]s.
Failing to define/load a tissue causes an error as follows:
"<CREATURE>:<CASTE>:<bodypart>, layer n: Tissue <x> was not found, using first tissue instead"
The errors continue for every body part.
If no tissues are defined/loaded, the creature will cause CTD. Presumably it's because there's no "default" tissue for the game to fall back on, there has to be at least one defined in the creature file.
I'm sorry for making this thread and solving the issue overnight, I just wasn't looking in the right place. Like you said though, maybe my example will be of some help to someone in the future... Define/load your tissue templates!
As you can see under Creature in the original post, I wrote the following:
Spoiler (click to show/hide)
Whereas I should have written the following:
Spoiler (click to show/hide)
In other words, I forgot to insert the <template>s [USE_TISSUE_TEMPLATE|<token>|<template>]s.
Failing to define/load a tissue causes an error as follows:
"<CREATURE>:<CASTE>:<bodypart>, layer n: Tissue <x> was not found, using first tissue instead"
The errors continue for every body part.
If no tissues are defined/loaded, the creature will cause CTD. Presumably it's because there's no "default" tissue for the game to fall back on, there has to be at least one defined in the creature file.
I'm sorry for making this thread and solving the issue overnight, I just wasn't looking in the right place. Like you said though, maybe my example will be of some help to someone in the future... Define/load your tissue templates!