How to make zombie and vorts blood red? Created 10 years ago2013-11-08 16:48:31 UTC by LApans LApans

Created 10 years ago2013-11-08 16:48:31 UTC by LApans LApans

Posted 10 years ago2013-11-08 16:48:31 UTC Post #316705
Hi all
i need to know how to change the colour of the zombie and vortigaunts blood.
i would like it red (decals and sprites)

thanks
Posted 10 years ago2013-11-08 20:36:38 UTC Post #316710
It requires coding. You need to edit the zombie and islave .CPP files and recompile the hl.dll. You'll have to get a hold of the Source code. Not sure where you can get that for vanilla Half-Life though.
monster_urby monster_urbyGoldsourcerer
Posted 10 years ago2013-11-10 16:37:35 UTC Post #316727
I'm not sure, but I think you can do it by replacing a few sprites. That would make all blood red, though.
ChickenFist ChickenFist<Witty Title>
Posted 10 years ago2013-11-10 17:00:57 UTC Post #316728
For the Source code, just look for original Half-life 1 Source SDK (confusing, eh?). Then learn c++. Get a program that came out in 1998 and can no longer be bought. And then just compile it. Easy as making a pie.
Posted 10 years ago2013-11-11 17:51:46 UTC Post #316745
i might be wrong but just copy decals.wad to your mod folder and edit those specific decals, the color is defined by the last or the first value of the decal's palette, not sure, read up some tutorial on decals. same goes for sprites, photoshop or whatever
Posted 10 years ago2013-11-11 18:01:49 UTC Post #316746
I seem to recall that the sprite blood colour is defined in code, though, so changing their blood colour to be red would be the best solution. And it would allow for yellow blood to still be a thing.
Notewell NotewellGIASFELFEBREHBER
Posted 10 years ago2013-11-11 23:20:57 UTC Post #316749
Get this: Half-Life SDK v2.3 (source code only, 5 MB)

To compile and build the SDK, you'll need this: Visual C++ 6.0 (73 MB) Yes, I know, it's illegal to spread software, but this is old software, and recommended for compiling the HL SDK, so eat me. :D

Open the server workspace (hl.dll) and load zombie.cpp.
Then goto line 279 and you'll find the zombie Spawn function. Inside it, look for the line:
m_bloodColor = BLOOD_COLOR_GREEN;
This is where the blood color of the zombie is defined, in this case, green, also known as yellow. Simply change it to
BLOOD_COLOR_RED
.

For the Vortigaunt, load isslave.cpp. Goto line 534 where you'll find the Vort's Spawn function. Simply do the same thing here as you did in the zombie Spawn function, changing
BLOOD_COLOR_GREEN;
to
BLOOD_COLOR_RED
.

And that's all.
The Mad Carrot The Mad CarrotMad Carrot
Posted 10 years ago2013-11-12 00:22:52 UTC Post #316750
Then press "build project" and pray to god it doesn't explode
Tetsu0 Tetsu0Positive Chaos
Posted 10 years ago2013-11-12 02:37:05 UTC Post #316751
That sounds fun to tinker with.
Posted 10 years ago2013-11-14 21:27:46 UTC Post #316775
Blood colour is one of the easier things to do in the code. One of the first things I did. I also had to fix sounds for the alien grunts because the Spirit devs managed to fuck em up. It is fun to tinker with but very very easy to break.
monster_urby monster_urbyGoldsourcerer
You must be logged in to post a response.