[Added] Death.DamageType does not work for projectiles

Moderator: GZDoom Developers

Death.DamageType does not work for projectiles

Postby Wilhelmina Blathergold » Fri Sep 06, 2019 2:50 pm

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
Wilhelmina Blathergold
 

Re: Death.DamageType does not work for projectiles

Postby Graf Zahl » Sat Sep 07, 2019 2:08 am

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 Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Death.DamageType does not work for projectiles

Postby Graf Zahl » Mon Sep 09, 2019 3:59 am

Feature added.
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to Closed Feature Suggestions

Who is online

Users browsing this forum: Awario [RSS], Google [Bot] and 2 guests