LuzRoja29 Posted October 15, 2022 hi; How can I make a demon that needs to be killed with a specific weapon, and when using another weapon absolutely nothing happens to it? and how can I make that demon die after (say, 4) shots from the gun? 0 Quote Share this post Link to post
SMG_Man Posted October 15, 2022 (edited) For this level of specificity, you would probably need to be aiming for (G)ZDoom for starters. Using either DECORATE or ZSCRIPT, it is easy to set a property on a monster to negate normal damage and only take damage from a specific type/source. From there, you would just scale the HP of the monster accordingly. Note that if you want a weapon to use a custom damage type, you need to set that property on the projectile that the weapon fires, not the weapon itself (for hitscan weapons like the shotgun or chaingun, it's a little different). Edited October 15, 2022 by SMG_Man 2 Quote Share this post Link to post
Kan3 Posted October 15, 2022 Just to add something to the answer of SMG_Man, here you can find all the damage types already predefined (of which some of them are basically never used in Doom, so you can use them without any issue) if you don't want to create a new one or if you "like" some of these. 1 Quote Share this post Link to post
Dreamskull Posted November 25, 2022 (edited) Avoid doing this. The idea only sounds good on paper. Instead, have it drop that weapon you had originally planned to kill it with. Edited November 25, 2022 by Dreamskull Elaboration 0 Quote Share this post Link to post
HalfLife9000 Posted November 25, 2022 5 minutes ago, Dreamskull said: Avoid doing this. The idea only sounds good on paper. Instead, have it drop that weapon you had originally planned to kill it with. yeah, the specific weapon thing sounds tedious and annoying 0 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.