by Xtyfe » Thu Feb 09, 2012 6:33 pm
NeuralStunner wrote:You'd have to throw the BLOODLESSIMPACT flag on it, and somehow spawn the blood yourself in the puff's XDeath state (which is entered if it hts a bleeding actor).
PUFFGETSOWNER, DONTHARMSPECIES, and [wiki]A_Explode[/wiki] (with full radius damage) can be used to make a species-friendly hitscan. (Bleeding issues, see above.)
Note that melee attacks are typically so short in range, hitting other monsters isn't an issue anyway. If you want a longer range attack and you're that worried about intra-species damage, use projectiles. They actually don't work too badly.
My tests with short range hitscans seem to be that they only work with a range of 64, or else the monster will try to do the attack without being close enough. Also it seems to be very possible for them to hit something else with it as i have replicated the behavior many times.
Just to make them bleed from close range attacks, I love that i gotta use such a hacky method to do something that should be simple, I love zdoom so much. Honestly i'm wondering if its even worth it to mod for zdoom anymore since its in development hell and it has so many problems hindering what i want to do.
[quote="NeuralStunner"]You'd have to throw the BLOODLESSIMPACT flag on it, and somehow spawn the blood yourself in the puff's XDeath state (which is entered if it hts a bleeding actor).
PUFFGETSOWNER, DONTHARMSPECIES, and [wiki]A_Explode[/wiki] (with full radius damage) can be used to make a species-friendly hitscan. (Bleeding issues, see above.)
Note that melee attacks are typically so short in range, hitting other monsters isn't an issue anyway. If you want a longer range attack and you're [i]that[/i] worried about intra-species damage, use projectiles. They actually don't work too badly.[/quote]
My tests with short range hitscans seem to be that they only work with a range of 64, or else the monster will try to do the attack without being close enough. Also it seems to be very possible for them to hit something else with it as i have replicated the behavior many times.
Just to make them bleed from close range attacks, I love that i gotta use such a hacky method to do something that should be simple, I love zdoom so much. Honestly i'm wondering if its even worth it to mod for zdoom anymore since its in development hell and it has so many problems hindering what i want to do.