I got a small one today
How do you get the bullet blood spurts when you shoot a mob, or the slashes if you cut them, I need the later but the former would be nice as well
I found it on the zdoom wiki once, but I can't seem to relocate it, could someone point me in the right direction
Blood Spurts?(Solved)
Moderator: GZDoom Developers
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
-
- Posts: 77
- Joined: Fri Sep 22, 2017 11:56 am
Blood Spurts?(Solved)
Last edited by MrToots on Mon Jan 15, 2018 5:02 pm, edited 1 time in total.
-
- Posts: 99
- Joined: Sat Nov 04, 2017 3:33 am
Re: Blood Spurts?
Do you mean little bloodsplats that are shooting out of the enemy? Or do you mean decals on the wall?
(For Decorate. If you want to use ZScript: Sorry, I don't know about that.)
You can make your own Blood-Actors and assign them to a monster using the "Bloodtype" property of said monster.
https://zdoom.org/wiki/Actor_properties#BloodType
Edit:
You can also make that actor replace the standard "Blood"-Actor instead of specifically assigning it to monsters.
If you want decals for them, you can make some using DECALDEF and assign them to your blood-actors with the "Decal" property.
https://zdoom.org/wiki/Actor_properties#Decal
(For Decorate. If you want to use ZScript: Sorry, I don't know about that.)
You can make your own Blood-Actors and assign them to a monster using the "Bloodtype" property of said monster.
https://zdoom.org/wiki/Actor_properties#BloodType
Edit:
You can also make that actor replace the standard "Blood"-Actor instead of specifically assigning it to monsters.
Code: Select all
actor NewBlood replaces Blood
https://zdoom.org/wiki/Actor_properties#Decal
-
- Posts: 77
- Joined: Fri Sep 22, 2017 11:56 am
Re: Blood Spurts?
Not really what i'm looking for but good to know none the less, I was referring more to telling my projectiles that when they hit an enemy who can bleed to do so and when I hit them with say a sword to have a slash the same color as the monsters blood, i've found a workaround with spawning a series of slash sprites but when I hit a monster with say green blood it still shows red, obviously because the sprites are red
I'm hoping maybe with ACS(which i still need to learn) I can have it change based on the targets blood color
I'm hoping maybe with ACS(which i still need to learn) I can have it change based on the targets blood color