Scripted Damage Example (custom armor, dam reduction, etc.)
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
- cypherphage
- Posts: 213
- Joined: Sun Feb 27, 2011 2:54 am
Scripted Damage Example (custom armor, dam reduction, etc.)
In this example, I use custom inventory to simulate "scripted damage" that in this example is affected by a resistance property. It is pretty simple, but I can image that such a system could allow for some pretty cool things (even if it would be a bit of hassle to add to attacks). To try the example, just give yourself a test1 (no resistance items), test2 (1 copy of resistance) or test3 (10 res) item. The example items all inflict 10 damage before modification. Note: this was made for testing in Heretic, but should still work in other mods (though the resistance icon will be missing).
- Attachments
-
scriptedDamageExample.pk3
- (1.32 KiB) Downloaded 37 times