CBLOOD Ultimate Edition!

For high-res texture/sprite projects, sprite-fix patches, music add-ons, music randomizers, and other graphic/sound-only projects.
Forum rules
The Projects forums are only for projects. If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.
User avatar
Nash
 
 
Posts: 17465
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

CBLOOD Ultimate Edition!

Post by Nash »

Image

What's this? ANOTHER mod that changes the Baron and Cacodemon blood colors? Hasn't this been done to death for like 15 years?

What's different here is that this does not replace any actors. The blood color is changed at runtime. What that means is ultimate compatibility!

CBLOOD Ultimate Edition is the only mod that changes blood colors without actor replacement!

Requires GZDoom 4.4.0 onwards.

Instructions:

1) Download from attachment
2) Put it in your autoload
3) Go kill stuff!

Note about fuzzy blood
This is currently impossible. Achieving this in a universal way would require reassigning an actor's blood type, and due to CBLOOD's nature of working its magic at runtime, this simply can't be done because GZDoom doesn't support it.

EXTRAS
Raven CBLOOD by Tesculpture (for Heretic and Hexen)

Wanna chat about my mods? Join my studio's Discord server, Mischief Donut!
Image

I spend an uncountable amount of hours making mods. Consider supporting me on Patreon for cool benefits!
Image
You do not have the required permissions to view the files attached to this post.
Last edited by Nash on Sun Apr 07, 2024 10:19 am, edited 13 times in total.
User avatar
Nash
 
 
Posts: 17465
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: CBLOOD Ultimate Edition!

Post by Nash »

Adding new blood color definitions is easy!

1) Make a new file, zscript.zc (or .txt, or .zs, or .WhateverTheHellYouWant). Don't forget to add

Code: Select all

version "4.4.0"
 
as the very first line of this file, right at the top.

2) Use the following format:

Code: Select all

class CBlood<NameOfCustomMonster> : CBlood
{
    Default
    {
        BloodColor "xx xx xx";
        // You can also add the following flag to stop the actor from bleeding!
        +NOBLOOD
    }
}
 
Some examples:

Code: Select all

class CBloodFunkyDemon : CBlood
{
    Default
    {
        BloodColor "FF 00 FF";
    }
}

class CBloodSkeletonDude : CBlood
{
    Default
    {
        +NOBLOOD
    }
}

// Inheritance works too!
class CBloodBiggerSkeletonDude : CBloodSkeletonDude {}
 
YES you can also define new blood colors in DECORATE, as long as cblood.pk3 is loaded before your patch!

In your DECORATE.txt (loaded after cblood.pk3):

Code: Select all

ACTOR CBloodFunkyDemon : CBlood
{
    BloodColor "FF 00 FF"
}
Last edited by Nash on Thu Aug 13, 2020 3:38 am, edited 1 time in total.
User avatar
cubebert
Posts: 103
Joined: Sun Jun 14, 2020 3:37 pm
Graphics Processor: nVidia (Modern GZDoom)

Re: CBLOOD Ultimate Edition!

Post by cubebert »

Nice, I have a couple of question though. Will there be a community maintained database similar to bludtype, and is there a way to utilize some form of checksum so that monsters with different sprites than the retail games won't conflict with mods. An example I'm thinking of is Hell to Pay's imps having some yellow blood compared to the vanilla sprites.
User avatar
Nash
 
 
Posts: 17465
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: CBLOOD Ultimate Edition!

Post by Nash »

cubebert wrote:Will there be a community maintained database similar to bludtype
I can start one, if there's enough demand!
and is there a way to utilize some form of checksum so that monsters with different sprites than the retail games won't conflict with mods
That's an interesting point actually, I should look into expanding the mod to consider this in future. Thanks for the suggestion!
User avatar
NightFright
Spotlight Team
Posts: 1375
Joined: Fri May 02, 2008 12:29 pm
Location: Germany

Re: CBLOOD Ultimate Edition!

Post by NightFright »

Just saw this now. Easy to edit and finally no messing with existing actors any more. The next best thing to having a direct implementation via port. Thumbs up!
dmslr
Posts: 74
Joined: Tue Aug 06, 2019 2:11 am

Re: CBLOOD Ultimate Edition!

Post by dmslr »

Works on LZDoom. Good. :)
How to make spectre bleed fuzzy blood?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49182
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: CBLOOD Ultimate Edition!

Post by Graf Zahl »

What's with the GPL in there? The source file has a more permissive license attached.
User avatar
Nash
 
 
Posts: 17465
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: CBLOOD Ultimate Edition!

Post by Nash »

Graf - that was a mistake, will change it in the next update

(no, it's not meant to be GPL)
dmslr
Posts: 74
Joined: Tue Aug 06, 2019 2:11 am

Re: CBLOOD Ultimate Edition!

Post by dmslr »

Hey, Nash. So, what's with fuzzy blood?
User avatar
Nash
 
 
Posts: 17465
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: CBLOOD Ultimate Edition!

Post by Nash »

I'll look at adding fuzzy blood in the next version.

Currently I am very busy with 4 different projects, so progress on my various mini-mods will be a bit slower.
dmslr
Posts: 74
Joined: Tue Aug 06, 2019 2:11 am

Re: CBLOOD Ultimate Edition!

Post by dmslr »

It's not necessary. I feel there are not many people prefering fuzzy blood anyways.
Nash wrote:
cubebert wrote:Will there be a community maintained database similar to bludtype
I can start one, if there's enough demand!
I'm all for. I've already made the patches for Eviternity, Valiant, Ancient Aliens, BTSX for personal use.
User avatar
StroggVorbis
Posts: 866
Joined: Wed Nov 08, 2017 4:23 pm
Graphics Processor: nVidia with Vulkan support
Location: Germany

Re: CBLOOD Ultimate Edition!

Post by StroggVorbis »

I'm now wondering, is it possible to have fuzzy blood decals on walls?
User avatar
snarkel
Posts: 139
Joined: Wed Aug 06, 2014 9:02 pm
Preferred Pronouns: He/Him

Re: CBLOOD Ultimate Edition!

Post by snarkel »

So when you say this has ultimate compatibility I'm a tad confused. Ultimate compatibility with like, various monsters, or would this work on blood/gore mods as well?
User avatar
Nash
 
 
Posts: 17465
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: CBLOOD Ultimate Edition!

Post by Nash »

Fixed the incorrect licensing issues. No other changes.

Assigning fuzzy blood using this mod is not possible and I don't plan to pursue such a feature for the foreseeable future. See OP for explanation.
Gez
 
 
Posts: 17934
Joined: Fri Jul 06, 2007 3:22 pm

Re: CBLOOD Ultimate Edition!

Post by Gez »

Gray blood can kinda work as an alternative to fuzzy blood.

Return to “Graphic/Audio Patches”