Death.DamageType does not work for projectiles

Moderator: GZDoom Developers

Post Reply
Guest

Death.DamageType does not work for projectiles

Post by Guest »

1. Open console
2. Type "give testpistol"
3. Type "use testpistol"
4. Press alt fire to fire a plasma ball then shoot it with primary fire. The message will say that the Death state is entered. It should enter the Death.Plasma state.
5. Go to the code and add -MISSILE to TestProjectile.
6. Repeat step 4. Death.Plasma is entered correctly.

If this is not a bug, then I'm out of ideas on how to make shootable projectiles that enter a specific death state based on damage type.

https://drive.google.com/open?id=1q15Ye ... -wG0Rp9yLS
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49066
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Death.DamageType does not work for projectiles

Post by Graf Zahl »

This is mainly an unimplemented feature. Projectiles do not die, they explode and that uses different code that currently has no damage type check.
Should be fixable.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49066
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Death.DamageType does not work for projectiles

Post by Graf Zahl »

Feature added.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”