Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
LuzRoja29

boss that need to be killed with a specific weapon

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).

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

Avoid doing this. The idea only sounds good on paper. Instead, have it drop that weapon you had originally planned to kill it with.

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×