How do I make a decoration kill only with a designated weapo
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!)
How do I make a decoration kill only with a designated weapo
I have a tree that burns when he dies. However, it needs to work only on the designated weapon.
Re: How do I make a decoration kill only with a designated w
You could try putting DamageFactor on the decoration with a value of 0 and then put another one for "fire" damagetype with a normal value.
For example:
Then make the weapon use the damage type.
For projectile, just put [DamageType "Fire"] in the code.
For hitscans, you would need to make a custom Bullet Puff with a damagetype.
For example:
Code: Select all
DamageFactor "Normal", 0
DamageFactor "Fire", 1.0
For projectile, just put [DamageType "Fire"] in the code.
For hitscans, you would need to make a custom Bullet Puff with a damagetype.