BloodMaps
Moderator: GZDoom Developers
- Hambergermeister
- Posts: 86
- Joined: Wed Jul 08, 2009 1:44 pm
- Location: Trapped somewhere in my computer mainframe's databanks
BloodMaps
spawning Blood on parts of a monster that are graphically represented as metal parts looks silly to me. Like the spider mastermind, no matter where you hit it, it spawns a blood actor. Using +NOBLOOD would be the inverse of that, and just as silly.
I am suggesting a "BloodMap," similar to a brightmap, the white areas could represent places where blood should be spawned, and black area would represent where bullet puffs should be spawned.
Do you think it is a good idea?
I am suggesting a "BloodMap," similar to a brightmap, the white areas could represent places where blood should be spawned, and black area would represent where bullet puffs should be spawned.
Do you think it is a good idea?
- Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: BloodMaps
Doom's collision checking is far too primitive for that. Plus, the collision checking is done against the bounding box, not the sprite so this would never work.
- Hambergermeister
- Posts: 86
- Joined: Wed Jul 08, 2009 1:44 pm
- Location: Trapped somewhere in my computer mainframe's databanks
Re: BloodMaps
Oh, okay. So that basically means no.Graf Zahl wrote:Doom's collision checking is far too primitive for that. Plus, the collision checking is done against the bounding box, not the sprite so this would never work.
Why never? The zdoom mods are getting more complex, even more complex than even you, Graf Zahl, would have thought possible a couple of years ago.
Last edited by Hambergermeister on Fri Jul 10, 2009 12:21 pm, edited 1 time in total.
Re: BloodMaps
Yes, I think it's a good idea but I'm almost certain that Doom simply doesn't hold that kind of positional information. Each actor is merely a cuboid shape and that's all the engine sees. The ability to specify headshots and other body locations has been [no]d before on that basis.
[edit] Cross posted twice. Damn. I must be typing slowly or something.
[/edit]
[edit] Cross posted twice. Damn. I must be typing slowly or something.
- Hambergermeister
- Posts: 86
- Joined: Wed Jul 08, 2009 1:44 pm
- Location: Trapped somewhere in my computer mainframe's databanks
Re: BloodMaps
Actually, I think that actors are more round-ish, haven't you ever tried to run around the circumfrence right on the actor?Enjay wrote:Yes, I think it's a good idea but I'm almost certain that Doom simply doesn't hold that kind of positional information. Each actor is merely a cuboid shape and that's all the engine sees. The ability to specify headshots and other body locations has been [no]d before on that basis.
[edit] Cross posted twice. Damn. I must be typing slowly or something.[/edit]
- InsanityBringer
- Posts: 3392
- Joined: Thu Jul 05, 2007 4:53 pm
- Location: opening the forbidden box
Re: BloodMaps
Actors are rectangles. You can see this by using the command am_cheat 3 into the console.
And on the subject does P_LineAttack (or whatever the hitscan function is) even have any more information other than the fact it hit something?
And on the subject does P_LineAttack (or whatever the hitscan function is) even have any more information other than the fact it hit something?
- Hambergermeister
- Posts: 86
- Joined: Wed Jul 08, 2009 1:44 pm
- Location: Trapped somewhere in my computer mainframe's databanks
Re: BloodMaps
Yes, hitscan can specify whether it has hit a bleeding actor or not, and then spawn a blood splatter, particles, or a bulltepuff, or particles where it hit.InsanityBringer wrote:Actors are rectangles. You can see this by using the command am_cheat 3 into the console.
And on the subject does P_LineAttack (or whatever the hitscan function is) even have any more information other than the fact it hit something?
- Remmirath
- Posts: 2562
- Joined: Sun Dec 23, 2007 3:53 am
- Graphics Processor: nVidia with Vulkan support
- Location: My house
- Contact:
Re: BloodMaps
Play Behead The Undead by CaptainToenail, and let me know. :PEnjay wrote:Yes, I think it's a good idea but I'm almost certain that Doom simply doesn't hold that kind of positional information. Each actor is merely a cuboid shape and that's all the engine sees. The ability to specify headshots and other body locations has been [no]d before on that basis.
Re: BloodMaps
I have, and I kept getting caught on the corners of the circle.Hambergermeister wrote:Actually, I think that actors are more round-ish, haven't you ever tried to run around the circumfrence right on the actor?
Seriously, as InsanityBringer said, they are rectangles. Or rather, from above they are squares but their height can vary making them rectangular in side view and therefore cuboid three dimensionally. I guess the common misconception that they are round comes from two things: 1) the term "radius" used to describe half their width 2) most editors show them using round icons (though some give you the option of using squares).
What's more, the square shape always stays aligned to the NESW points of the map. That's why sometimes it is easy to slide along a map construct and other times it isn't. It all depends how the angle of your bounding box is interacting with whatever the map architecture is.
So, in answer to your question, here I am in E3M8 walking "around" the spiderdemon with am_cheat 3 on. At that point, I am still caught on the very edge of the spider and cannot walk forward because our corners are still touching.

- Hambergermeister
- Posts: 86
- Joined: Wed Jul 08, 2009 1:44 pm
- Location: Trapped somewhere in my computer mainframe's databanks
Re: BloodMaps
Yeah, you're right. I guess when I was running the circumfrence, i bounced off the corners and that gave me the impression it was round.
Re: BloodMaps
By following that example, each monster would have to be made up of TONS of smaller actors, for a bloodmap to work.Morpheus wrote:Play Behead The Undead by CaptainToenail, and let me know.
- Remmirath
- Posts: 2562
- Joined: Sun Dec 23, 2007 3:53 am
- Graphics Processor: nVidia with Vulkan support
- Location: My house
- Contact:
Re: BloodMaps
Then it would become a memory-eater.
Re: BloodMaps
Not only that, but it would be technically impossible to make a single cohesive monster out of a so many mini-actors.Morpheus wrote:Then it would become a memory-eater.
Re: BloodMaps
DoomScript. *nods*Ghastly_dragon wrote:Not only that, but it would be technically impossible to make a single cohesive monster out of a so many mini-actors.
- Hambergermeister
- Posts: 86
- Joined: Wed Jul 08, 2009 1:44 pm
- Location: Trapped somewhere in my computer mainframe's databanks
Re: BloodMaps
I can understand that, but I find it very interesting!Ghastly_dragon wrote:By following that example, each monster would have to be made up of TONS of smaller actors, for a bloodmap to work.Morpheus wrote:Play Behead The Undead by CaptainToenail, and let me know.