Model affecting only for specific ammo type

Need help with your project? Ask here.
User avatar
Azure Agony
Posts: 71
Joined: Fri Aug 24, 2007 6:40
Location: Somewhere in HANGAR or E4M7

Model affecting only for specific ammo type

Post by Azure Agony »

I'm going to make object ( decorate model ) which can be attacked only with specific ammo type; it is possible to create in ZDoom/GZDoom?
Here I wider talk what I mean:
For example I'll make model of metal crate and when I'll shoot with bullets or shots it should be no effect, but if I'll shoot with rocket or plasma it should be destroyed/melted. How can I do that?
User avatar
Enjay
Developer
Developer
Posts: 4723
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

I think this will be useful to you.

http://www.zdoom.org/wiki/Custom_damage_types
As you can see in the above example, you can also specify a painchance for each type of custom damage you have defined. This can allow enemies that will always be affected by fire damage (as above) but never by ice damage, for example.

In addition to the above, you can also create monsters that are resistant, or vulnerable, to a particular type of custom damage. You do this with the DamageFactor property, using the format damagefactor "damagetype", multiplier.
User avatar
Azure Agony
Posts: 71
Joined: Fri Aug 24, 2007 6:40
Location: Somewhere in HANGAR or E4M7

Post by Azure Agony »

Yes, this will help me, great thanks Enjay!
Post Reply

Return to “Editing Help”