Jump to content
  • 0

Is there any way to make colored blood for some monsters in decohack?


Forgotten Soul

Question

Is there any way to make colored blood for some monsters in decohack?

I'm using nugget doom and baron type enemies have green blood but, my baron type monster have red blood.

code:

thing 155 : thing BaronofHell "CyberKnight" 
{
  EDNUM 7004
  dropitem cell
  Health 650 
  Radius 24 
  Height 64 
  Mass 1300 
  Speed 8
  PainChance 30 
  reactiontime 8
  
  clear flags
  +solid
  +shootable
  +countkill
  BLOODTYPE
  seesound "fre010"
  attacksound ""
  painsound "fre004"
  deathsound "fre011"
  activesound "fre002"
  States 
  { 
  Spawn: 
    SP05 AB 10 A_Look 
    Loop 
  See:
    SP05 ABCD 6 A_Chase
    Loop
  Melee:
    SP05 P 8 A_FaceTarget 
    SP05 Q 4 A_FaceTarget
    SP05 R 4 Bright A_MonsterMeleeAttack (3,8,CLAW)
  Missile:
    SP05 S 0 A_RandomJump(Missile2,80)
    SP05 E 4 A_FaceTarget 
    SP05 F 2 Bright A_MonsterProjectile (ArachnotronPlasma, 0.0, 0.0, 16.0, 0.0)
    SP05 F 2 Bright A_MonsterProjectile (ArachnotronPlasma, 0.0, 0.0, 16.0, 0.0)
    SP05 F 2 Bright A_MonsterProjectile (ArachnotronPlasma, 0.0, 0.0, 16.0, 0.0)
    Goto See
 Missile2:
    SP05 E 16 A_FaceTarget 
    SP05 F 0 Bright A_MonsterProjectile (ArachnotronPlasma, 0.0, 0.0, 16.0, 0.0)
    SP05 F 0 Bright A_MonsterProjectile (ArachnotronPlasma, 23.0, 0.0, 16.0, 0.0)
    SP05 F 0 Bright A_MonsterProjectile (ArachnotronPlasma, 45.0, 0.0, 16.0, 0.0)
    SP05 E 8  
    SP05 F 0 Bright A_MonsterProjectile (ArachnotronPlasma, 0.0, 0.0, 16.0, 0.0)
    SP05 F 0 Bright A_MonsterProjectile (ArachnotronPlasma, 11.0, 0.0, 16.0, 0.0)
    SP05 F 0 Bright A_MonsterProjectile (ArachnotronPlasma, 22.0, 0.0, 16.0, 0.0)
    Goto See
  Pain: 
    SP05 H 3 
    SP05 H 3 A_Pain 
    Goto See 
  Death: 
    SP05 I 6 Bright A_Scream
    SP05 JK 6 Bright
    SP05 L 6 Bright A_Fall
    SP05 M 6 Bright
    SP05 N 6 
    SP05 O -1 
    Stop
  } 
}

 

 

Edited by Forgotten Soul

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 1

It looks like DECOHack doesn't come with support for the blood color property, so you have to define it yourself, like so:

custom thing property BloodColor "Blood color" int

thing BaronOfHell
{
  BloodColor 2 // Green
  ...
}

 

Share this post


Link to post
  • 0
16 hours ago, Alaux said:

It looks like DECOHack doesn't come with support for the blood color property, so you have to define it yourself, like so:


custom thing property BloodColor "Blood color" int

thing BaronOfHell
{
  BloodColor 2 // Green
  ...
}

 

Thanks! It's work perfect.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...