What it could look like:
- Code: Select all • Expand 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.