Jump to content

boss that need to be killed with a specific weapon


LuzRoja29

Recommended Posts

 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?

Share this post


Link to post

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 by SMG_Man

Share this post


Link to post

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.

 

Share this post


Link to post
  • 1 month later...

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 by Dreamskull
Elaboration

Share this post


Link to post
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

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...