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 YOUR 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.

CBLOOD Ultimate Edition!

Postby Nash » Wed Aug 12, 2020 9:27 pm

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.

Wanna chat about my mods? Join my studio's Discord server, Mischief Donut!
Image
You do not have the required permissions to view the files attached to this post.
Last edited by Nash on Thu Nov 26, 2020 5:43 pm, edited 5 times in total.
User avatar
Nash
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes

Re: CBLOOD Ultimate Edition!

Postby Nash » Wed Aug 12, 2020 9:29 pm

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 allExpand view

version 
"4.4.0"
 


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

2) Use the following format:

Code: Select allExpand view

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 allExpand view

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 allExpand view

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
Nash
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes

Re: CBLOOD Ultimate Edition!

Postby cubebert » Wed Aug 12, 2020 9:51 pm

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
cubebert
 
Joined: 14 Jun 2020
Operating System: Windows Vista/7/2008 64-bit
Graphics Processor: nVidia (Modern GZDoom)

Re: CBLOOD Ultimate Edition!

Postby Nash » Thu Aug 13, 2020 3:35 am

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
Nash
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes

Re: CBLOOD Ultimate Edition!

Postby NightFright » Fri Sep 04, 2020 10:10 am

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!
User avatar
NightFright
Spotlight Team
 
Joined: 02 May 2008
Location: Germany

Re: CBLOOD Ultimate Edition!

Postby dmslr » Thu Oct 22, 2020 12:03 pm

Works on LZDoom. Good. :)
How to make spectre bleed fuzzy blood?
dmslr
 
Joined: 06 Aug 2019

Re: CBLOOD Ultimate Edition!

Postby Graf Zahl » Thu Oct 22, 2020 12:28 pm

What's with the GPL in there? The source file has a more permissive license attached.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: CBLOOD Ultimate Edition!

Postby Nash » Thu Oct 22, 2020 1:27 pm

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

(no, it's not meant to be GPL)
User avatar
Nash
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes

Re: CBLOOD Ultimate Edition!

Postby dmslr » Thu Oct 22, 2020 2:22 pm

Hey, Nash. So, what's with fuzzy blood?
dmslr
 
Joined: 06 Aug 2019

Re: CBLOOD Ultimate Edition!

Postby Nash » Thu Oct 22, 2020 2:31 pm

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.
User avatar
Nash
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes

Re: CBLOOD Ultimate Edition!

Postby dmslr » Fri Oct 23, 2020 8:04 am

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.
dmslr
 
Joined: 06 Aug 2019

Re: CBLOOD Ultimate Edition!

Postby StroggVorbis » Fri Oct 23, 2020 9:07 am

I'm now wondering, is it possible to have fuzzy blood decals on walls?
User avatar
StroggVorbis
Donut eat me pls!
 
Joined: 08 Nov 2017
Location: Germany
Discord: StroggVorbis#2466
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: CBLOOD Ultimate Edition!

Postby snarkel » Thu Nov 19, 2020 2:43 pm

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
snarkel
 
Joined: 07 Aug 2014

Re: CBLOOD Ultimate Edition!

Postby Nash » Thu Nov 26, 2020 5:44 pm

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.
User avatar
Nash
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes

Re: CBLOOD Ultimate Edition!

Postby Gez » Fri Nov 27, 2020 8:51 am

Gray blood can kinda work as an alternative to fuzzy blood.
Gez
 
 
 
Joined: 06 Jul 2007

Next

Return to Graphic/Audio Patches

Who is online

Users browsing this forum: KingFrog564 and 5 guests