BloodDecal Property For Actors

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

BloodDecal Property For Actors

Postby 22alpha22 » Thu Oct 21, 2021 1:48 pm

Basically a way to define what blood decals are generated on a per actor class basis since the current method is very limited. (All actors have to use the same blood decals)

What it could look like:

Code: Select allExpand view
Class AnActor
{
     Default:
     {
          BloodDecal Blood Decal 1, Minimum Damage To Spawn, Chance, Blood Decal 2, Minimum Damage To Spawn, Chance, ...
     }
}


Obviously Blood Decal # would be a decal or decalgroup defined in DECALDEFS, Minimum Damage To Spawn would be the minimum damage required to spawn that particular decal, and Chance would be the probability of that decal spawning provided the minimum damage is met.

For my own uses, this would allow me to raise the minimum damage required to spawn blood decals to match the fact in my mod all health and damage has been multiplied by a factor of 100.

Other uses would allow different monsters to have different blood decals or decal renderstyles. For example a Spectre could have fuzzy blood decals without having to turn all blood decals fuzzy.
Last edited by 22alpha22 on Mon May 16, 2022 12:37 pm, edited 1 time in total.
User avatar
22alpha22
So lonely...
 
Joined: 21 Feb 2014
Location: Montana, USA
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: nVidia with Vulkan support

Re: BloodDecal Property For Actors

Postby 22alpha22 » Mon May 16, 2022 12:34 pm

It has been over six months since the suggestion was made, so I am wondering if anyone has any thoughts on this. For me personally, I have found a workaround but it is a bit clunky and having this feature built into the engine natively would be a lot more straightforward to use for me and others in the future.
User avatar
22alpha22
So lonely...
 
Joined: 21 Feb 2014
Location: Montana, USA
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: nVidia with Vulkan support


Return to Feature Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests