How does blood work?

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
User avatar
MG_Man
Posts: 1401
Joined: Sat Jul 28, 2007 1:24 pm
Contact:

How does blood work?

Post by MG_Man »

It seems to pick one of the first three frames depending on how much damage is done. This is all I can say about it from guessing because there's no documentation about it whatsoever.

Does anyone have more info? It would be nice if it was added to the Blood page for clarification.

Other questions: Does it store anything in pointers, like the monster it came from as target or the shooter as target or anything? I'm trying to get blood to fly away from the monster it came from but all the blood actors always face east so it doesn't work very well.
Last edited by MG_Man on Sun Jun 09, 2013 3:23 pm, edited 1 time in total.
User avatar
MarlboroMike2100
Posts: 145
Joined: Sun May 22, 2011 4:55 am
Location: Somewheres in PA.

Re: How does blood work?

Post by MarlboroMike2100 »

Sounds stupid but food dye and water. That or try to find a local butcher, splash at the bash/slash or shot at cardboard or plastic/wax paper board(easy to get at wal mart).
User avatar
Mikk-
Posts: 2274
Joined: Tue Jun 30, 2009 1:31 pm

Re: How does blood work?

Post by Mikk- »

MarlboroMike2100 wrote:Sounds stupid but food dye and water. That or try to find a local butcher, splash at the bash/slash or shot at cardboard or plastic/wax paper board(easy to get at wal mart).
What on earth are you talking about?
User avatar
MarlboroMike2100
Posts: 145
Joined: Sun May 22, 2011 4:55 am
Location: Somewheres in PA.

Re: How does blood work?

Post by MarlboroMike2100 »

Well, not sure if he ment blood splatter pattetns. Its one way to study and get a general ideal etc.
User avatar
Crudux Cruo
Posts: 1171
Joined: Mon Apr 10, 2006 8:43 pm
Location: California

Re: How does blood work?

Post by Crudux Cruo »

Well, pretty simple actually. when a monster is shot, 1 of 3 gore sprites are chosen. the sprite then falls to the ground, goes to the smallest state after about 12 ticks, then disappears. like real life, right? :D
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: How does blood work?

Post by NeuralStunner »

MG_Man wrote:It seems to pick one of the first three frames depending on how much damage is done.
That's precisely it.
MG_Man wrote:Does it store anything in pointers, like the monster it came from as target or the shooter as target or anything?
Yes, it can since this feature was added.
User avatar
MG_Man
Posts: 1401
Joined: Sat Jul 28, 2007 1:24 pm
Contact:

Re: How does blood work?

Post by MG_Man »

Cool. Do you know what the damage thresholds for each of the three states are?
User avatar
edward850
Posts: 5890
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

Re: How does blood work?

Post by edward850 »

For Doom, Chex and Strife, noting that "damage" is final damage dealt after multipliers:
  • If the game is Strife, and damage is greater then 13, it shifts to the Spray state (if it exists), otherwise it adds 2 to the damage check for the next 2 checks.
  • If Damage is between 9 to 12 (inclusive), it advances 1 state.
  • If Damage is less then 9, it advances 2 states.
  • If none of the above conditions are met, it doesn't advance the state.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: How does blood work?

Post by Graf Zahl »

MarlboroMike2100 wrote:Well, not sure if he ment blood splatter pattetns. Its one way to study and get a general ideal etc.


Hint: If you got no clue what someone is talking about, better keep quiet!
User avatar
DoomerMrT
Posts: 370
Joined: Tue Nov 21, 2006 10:58 am
Location: Budapest,Hungary

Re: How does blood work?

Post by DoomerMrT »

Graf Zahl wrote:
MarlboroMike2100 wrote:Well, not sure if he ment blood splatter pattetns. Its one way to study and get a general ideal etc.


Hint: If you got no clue what someone is talking about, better keep quiet!
The guy is a bot.
User avatar
Ethril
Posts: 2677
Joined: Sun Nov 16, 2008 2:59 am
Location: with you in the dark

Re: How does blood work?

Post by Ethril »

DoomerMrT wrote:The guy is a bot.
I don't think so.
User avatar
DoomerMrT
Posts: 370
Joined: Tue Nov 21, 2006 10:58 am
Location: Budapest,Hungary

Re: How does blood work?

Post by DoomerMrT »

Look at his posts, its always about meat, cooking or health stuff. Sometimes 'he' tailors some appropriate words in his sentence.
User avatar
Enjay
 
 
Posts: 27115
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: How does blood work?

Post by Enjay »

DoomerMrT wrote:always about meat, cooking or health stuff
Really? I'm not seeing anything particularly suspicious. For a bot, he's also done some interesting sprites too.
User avatar
MG_Man
Posts: 1401
Joined: Sat Jul 28, 2007 1:24 pm
Contact:

Re: How does blood work?

Post by MG_Man »

edward850 wrote:
  • If the game is Strife, and damage is greater then 13, it shifts to the Spray state (if it exists), otherwise it adds 2 to the damage check for the next 2 checks.
Is the Spray functionality Strife-only or can it work in any game where the state exists?

Also, I added the info to the wiki page. Documentation is good.
User avatar
edward850
Posts: 5890
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

Re: How does blood work?

Post by edward850 »

MG_Man wrote:Is the Spray functionality Strife-only or can it work in any game where the state exists?
Strife only.
Locked

Return to “Editing (Archive)”