by Enjay » Sat Apr 05, 2008 12:57
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.
I think this will be useful to you.
http://www.zdoom.org/wiki/Custom_damage_types
[quote]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.[/quote]