Page 1 of 1

Why Doesn't This Give Black Blood?

Posted: Sun Apr 12, 2015 12:33 pm
by Average

Code: Select all

ACTOR BaronOfHellGreen : BaronOfHell replaces BaronOfHell
{ 
	BloodColor "darkgreen"
}
 
ACTOR HellKnightGreen : HellKnight replaces HellKnight
{ 
	BloodColor "green"
}
 
ACTOR CacoDemonBlue : Cacodemon replaces Cacodemon
{ 
	BloodColor "blue"
}
 
ACTOR ArchvileYellow : Archvile replaces Archvile
{ 
	BloodColor "yellow"
}
 
ACTOR LostSoulSmoke : LostSoul replaces LostSoul
{
	+NOBLOOD
}

ACTOR SpectreBlack : Spectre replaces Spectre
{ 
	BloodColor "black" 
}
I made a decorate text file with containing only the above text. All the baddies blood colours change except the Spectre. For some reason the Spectre's blood just stays red. What am I doing wrong? I've tried it in the latest GZDoom (8th April) and ZDoom (12th April) dev builds from the DRD site...

Re: Why Doesn't This Give Black Blood?

Posted: Sun Apr 12, 2015 1:01 pm
by Kappes Buur
That worked for me
  • Code: Select all

    ACTOR SBlack : Spectre 15001
    { 
       BloodColor "black" 
    }

Re: Why Doesn't This Give Black Blood?

Posted: Sun Apr 12, 2015 1:11 pm
by Blue Shadow
Average wrote:What am I doing wrong?
Your code works fine for me. Do you have any autoloads that would somehow conflict or something?

Re: Why Doesn't This Give Black Blood?

Posted: Sun Apr 12, 2015 2:57 pm
by Average
Yeah, I forgot I had nashgore on autoload. Can't work out why only the Spectre blood doesn't work though... :(

Re: Why Doesn't This Give Black Blood?

Posted: Sun Apr 12, 2015 2:58 pm
by Average
Kappes Buur wrote:That worked for me
  • Code: Select all

    ACTOR SBlack : Spectre 15001
    { 
       BloodColor "black" 
    }
Thank you for the alternative but where did the 15001 come from?

Re: Why Doesn't This Give Black Blood?

Posted: Sun Apr 12, 2015 5:36 pm
by Kappes Buur
Average wrote:.... but where did the 15001 come from?
http://zdoom.org/wiki/DECORATE_format_specifications
  • Image
15001 is the identifying DoomEd number for this new actor SBlack.
When you look at the list of all editor numbers used in the games ( http://zdoom.org/wiki/Standard_editor_numbers ),
you will find a large block of unassigned DoomEd numbers between 14165 and 32000.
For new actors I usually use numbers starting with 15001.
Spoiler:
If you do not use a DoomEd number for a new actor, then the editor, in my case GZDoom Builder, will not generate the Decorate
section and thusly you cannot insert the new actor into the game.