[No] Changing the color of solid blood decals

Moderator: Developers

Changing the color of solid blood decals

Postby Yardstick » Fri Dec 15, 2006 11:35 pm

The request is simple. I'd like Zdoom to extend the functionality of "BloodColor" to SOLID blood decals as well.

Currently BloodColor does only affect non-solid (shaded) blood decals.

Image

Code: Select allExpand view
ACTOR Cacodemon2 : Cacodemon replaces Cacodemon
{
      BloodColor blue
}


I *assumed* that ZDoom is perfectly able to swap the RGB values for bludc0 (the blood sprite enemies spurt when hurt, see the picture) so I thought it could be possible to change the color of solid decals using this method.

Implementing a new actor property similar to "decal" would be equally useful for me, although I'd have to paint the decals myself and then create the corresponding entries in decaldef.

Any chance for this?.
Yardstick
Hit it CC!
 
Joined: 29 Nov 2006

Postby HotWax » Sat Dec 16, 2006 1:54 am

No. This is precisely what the BloodType parameter was added for.
User avatar
HotWax
Do what you must, and pay the price later.
 
Joined: 18 Jul 2003
Location: Idaho Falls, ID

Postby Yardstick » Sat Dec 16, 2006 3:17 am

I can't seem to get it working, not sure if I'm doing something wrong. Would "development version only" have something to do with it?.
Yardstick
Hit it CC!
 
Joined: 29 Nov 2006

Postby Graf Zahl » Sat Dec 16, 2006 3:56 am

Blood decals are shaded for a very good reason (i.e. the ability to colorize them.) If you make them have their own color you defeat that mechanism. Sorry, this won't change.
User avatar
Graf Zahl
 
Joined: 19 Jul 2003
Location: Germany

Postby HotWax » Sat Dec 16, 2006 12:48 pm

Yardstick wrote:I can't seem to get it working, not sure if I'm doing something wrong. Would "development version only" have something to do with it?.


It should be in the 2.1.8 release.

Also, it wasn't clear to me whether you were talking about decals (the graphics that appear on walls) or sprites (the actors spawned in front of the enemy you shot, as indicated in your screenshot). If you just want to colorize the blood decals, I believe bloodcolor does that.
User avatar
HotWax
Do what you must, and pay the price later.
 
Joined: 18 Jul 2003
Location: Idaho Falls, ID

Postby Yardstick » Sat Dec 16, 2006 7:25 pm

Graf Zahl wrote:Blood decals are shaded for a very good reason (i.e. the ability to colorize them.) If you make them have their own color you defeat that mechanism. Sorry, this won't change.


Can you explain how Zdoom changes the color for blood sprites (like the blue ones in the image) when BloodColor is used?.
Yardstick
Hit it CC!
 
Joined: 29 Nov 2006

Postby Graf Zahl » Sat Dec 16, 2006 7:33 pm

It creates a translation table for each blood color and uses that the same way as a normal DECORATE translation or an ACS translation
User avatar
Graf Zahl
 
Joined: 19 Jul 2003
Location: Germany

Postby Lemonzest » Sat Dec 16, 2006 7:37 pm

Yes this is very good, using nash's blood colour wad and love seeing green/blue blood all over the walls :D
Lemonzest
 
Joined: 12 Oct 2004
Location: On your boards, trolling your threads!!!

Postby Ultraviolet » Sun Dec 17, 2006 2:10 am

Where can I get Nash's blood color wad?
User avatar
Ultraviolet
AKA "Faint"
 
Joined: 15 Jul 2003
Location: PROJECT DETAILS CLASSIFIED.

Postby Yardstick » Sun Dec 17, 2006 5:42 am

Code: Select allExpand view
// Enemy-based Blood Color -------------------------------------------------

ACTOR Cacodemon2 : Cacodemon replaces Cacodemon
{
      BloodColor blue
}

ACTOR BaronOfHell2 : BaronOfHell replaces BaronOfHell
{
      BloodColor green
}

ACTOR HellKnight2 : HellKnight replaces HellKnight
{
      BloodColor green
}


I don't know what Nash's blood wad does, but you could try putting the above in zdoom.pk3\actors\doom\doomdecorations.txt if all you want to see is green and blue blood painting the walls.
Yardstick
Hit it CC!
 
Joined: 29 Nov 2006

Postby Zippy » Sun Dec 17, 2006 9:10 am

Or... you know... you could just put it in a DECORATE.txt file and load that on the command line, instead of editing zdoom.pk3.
User avatar
Zippy
Scathing political commentary!
 
Joined: 23 Mar 2005
Location: Rochester

Postby Graf Zahl » Sun Dec 17, 2006 9:19 am

Warning: If you change zdoom.pk3 you lose all warranty and any bug report where such a file is used will be discarded on sight.
User avatar
Graf Zahl
 
Joined: 19 Jul 2003
Location: Germany

Postby Nash » Sun Dec 17, 2006 9:33 pm

User avatar
Nash
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia

Postby Yardstick » Tue Jan 02, 2007 10:37 pm

Now that GZDoom has been updated to the latest Zdoom code, can I expect "bloodtype" to work there or I'll have to wait for a new Zdoom release?. The changelog doesn't tell much about it.
Yardstick
Hit it CC!
 
Joined: 29 Nov 2006

Postby Nash » Wed Jan 03, 2007 12:09 am

Of course it'll work. GZDoom 1.0.22 is based on the unreleased WIP ZDoom code.
User avatar
Nash
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia

Next

Return to Closed Feature Suggestions

Who is online

Users browsing this forum: Ahrefs [Bot] and 0 guests