Thank you, it's working now! Finally, I got the corpse. :-) By the way, did you know that you can make variations of the corpse (e.g., rotated versions)? I've just done this for the generic corpse of miniMAXIme:
corpse.pictures = {
layers = {
{
filename = minime.IMG_PATH.."generic_corpse_variations.png",
size = 256,
shift = {0, 0},
scale = 0.25,
frame_count = 4,
usage = "player",
},
{
filename = minime.IMG_PATH.."generic_corpse_variations_mask.png",
size = 256,
shift = {0, 0},
scale = 0.25,
frame_count = 4,
usage = "player",
apply_runtime_tint = true,
},
}
}
This should be used for all characters, whatever their armor. The source image measures 1024x256, so each of the 4 frames has size = 256
. Just in case you have nothing better to do … :-D