Weapon Damage Question

Archive of the old editing forum
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.
Locked
User avatar
Mayhem666
Posts: 501
Joined: Sun Feb 26, 2012 6:17 pm
Location: Canada,Qc

Weapon Damage Question

Post by Mayhem666 »

Hey, I noticed something strange with the damage of my weapons Exemple :

My Rocket Launcher as a damage of Only 30 per Rocket, And Kill a Enemy of 3000 Health in 6 Shots,

But a enemy of 8000 can take more than 40 Shots...

I Really Don't understand this... Any one know what's the hell in this?
User avatar
Xtyfe
Posts: 1490
Joined: Fri Dec 14, 2007 6:29 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support

Re: Weapon Damage Question

Post by Xtyfe »

Mayhem666 wrote:Hey, I noticed something strange with the damage of my weapons Exemple :

My Rocket Launcher as a damage of Only 30 per Rocket, And Kill a Enemy of 3000 Health in 6 Shots,

But a enemy of 8000 can take more than 40 Shots...

I Really Don't understand this... Any one know what's the hell in this?
Does the enemy with 8000 health have the NORADIUSDMG flag? If so, than that would be why :D

The rocket is probably not doing exactly 30 damage, it might infact be doing more if it has the A_Explode function doing some as well. Because 3000 / 30 = 100 and 8000 / 30 = 266 (roughly)
User avatar
Mayhem666
Posts: 501
Joined: Sun Feb 26, 2012 6:17 pm
Location: Canada,Qc

Re: Weapon Damage Question

Post by Mayhem666 »

For Exemple, The original rocket launcher is 20 per rocket,

And it take 5 to kill a Baron Of Hell of 1000 Health

And now my Enemy of 3000 Health is killed by 6 Rockets of 30 Per Rocket And A_Explode has not been changed,

So it's strange.
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: Weapon Damage Question

Post by wildweasel »

Remember projectile damage (without splash) is multiplied by 1d8 - so the raw, direct-hit damage of a single rocket could be 20, 40, 60, 80, 100, 120, 140, or 160. Splash damage is a whole different thing entirely - if the enemy with 3000 health has immunity to splash damage (NORADIUSDMG or the BOSS flag), then 30 shots would be about average (accounting for the median/average from the random number generator).
User avatar
Mayhem666
Posts: 501
Joined: Sun Feb 26, 2012 6:17 pm
Location: Canada,Qc

Re: Weapon Damage Question

Post by Mayhem666 »

Yeah, I noticed the Radius dmg is added to the the damage of each missile

Thanks
Locked

Return to “Editing (Archive)”