Archvile
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom General > Accurate weapon & monster damage info
 
Author
All times are GMT. The time now is 08:22. Post New Thread    Post A Reply
Janizdreg
Junior Member


Posts: 227
Registered: 07-02


Is there fully accurate info (the most accurate page I know of is here) on the damage inflicted by Doom weapons & monsters available somewhere? If not, someone who can access the source please post the damage info right here. Thanks.

Old Post 11-10-02 15:39 #
Janizdreg is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Torn
google is your master


Posts: 2690
Registered: 07-02


* waiting for quasar * :P

__________________
Download Flashback Demo here
"an sig that sayin u the champ."

Old Post 11-10-02 17:11 #
Torn is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Fredrik


Posts: 11625
Registered: 05-00


Just download the Doom source code and check p_pspr.c. There's not much "access" to speak of.

Old Post 11-10-02 23:39 #
Fredrik is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Janizdreg
Junior Member


Posts: 227
Registered: 07-02


Well, yes, I can access the source, but the the way things are written in it is too messy and complicated for a lazy & dumb bastard like me to understand. ;]
What I'm in fact asking for here is a short & simple presentation of the stuff, say, like this:

Imp fireball: d8 x 3 = 8 to 24

Shotgun: 7d3 x 5 = 35 to 105

In addition to raw damage values, I'd like to know what the damage multiplier for each (deathmatch) skill level is.

Old Post 11-11-02 14:36 #
Janizdreg is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
myk
Super Charge


Posts: 13739
Registered: 04-02


The only skill level that modifies damage is -skill 1, decreasing it to 50% or 60% of the usual.

__________________
Warez All the Data?

Old Post 11-11-02 14:41 #
myk is online now Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Janizdreg
Junior Member


Posts: 227
Registered: 07-02



myk said:
The only skill level that modifies damage is -skill 1, decreasing it to 50% or 60% of the usual.
Does it affect all game modes (sp/coop/dm) and both, monsters' and players' attack damage?

Old Post 11-11-02 17:42 #
Janizdreg is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
myk
Super Charge


Posts: 13739
Registered: 04-02


I think that the Player just takes less damage, so he will suffer less from other Player's attacks as well, but I'm not entirely sure. I've never played -skill 1 on multiplayer, but an experienced deathmatcher told me it reduced the damage inflicted by deathnmatch opponents.

__________________
Warez All the Data?

Old Post 11-11-02 17:51 #
myk is online now Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 3348
Registered: 08-00


I'm Too Young To Die causes players to take half damage from anything -- monsters, other players, nukage, crushers, etc etc etc. This is why deathmatch on that skill level is hella boring.

Damage that monsters take from players or other monsters is not affected by any skill level.

Notice that you also get 2x ammo from pickup items in ITYTD, and also in Nightmare! (the source says "you'll need it!")

Old Post 11-11-02 18:37 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Janizdreg
Junior Member


Posts: 227
Registered: 07-02


Thanks. Now if only someone was kind enough to post the actual damage values...

Old Post 11-11-02 19:11 #
Janizdreg is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Fredrik


Posts: 11625
Registered: 05-00


I guess I could look it up, but it would take hours. Unless you're only interested in the damage values per hit, (2-20 for punch, 20-200 berserk punch, pistol 5-15, shotgun 35-105, super shotgun 100-300, you can get the most of the rest from Dehacked), but I assume that you also want to know damage inflicted per time unit. If you're going to get the exact values from the source code, you have to scrutinize frame durations and such things.

Old Post 11-12-02 07:38 #
Fredrik is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 3348
Registered: 08-00


Fredrik: you're wrong. Time has nothing to do with damage in DOOM. All damage is done immediately via a call to P_DamageMobj. The damage amount is randomized before calling that function; all it does is first verify that the target could be hit (making sure its not dormant, invulnerable, removed, etc), then applies any difficulty modification, then, if the actor is a player, subtracts an amount of damage to be taken off as armor, then hits the thing immediately for that amount. There's no time durations or frame lengths taken into account at any point.

Radius damage doesn't act over time either. It occurs instantaneously during the one gametic in which P_RadiusAttack is called. P_RadiusAttack calls P_DamageMobj on each thing found within the blast radius.

Nukage and crusher damage are instantaneous too, its just that they occur at multiple instances -- for instance, nukage damage occurs in DOOM every 32 game tics, or once a second roughly. Note Heretic's lava does less damage but does it twice as fast :P

Old Post 11-13-02 16:08 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Little Faith
Rigtige mænd er voldtægtsmænd


Posts: 3235
Registered: 05-02


That depends on the type of nukage in question.

Some do it fast while others do it slower.

__________________
I am, therefore I suck.

Old Post 11-13-02 16:40 #
Little Faith is offline Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Janizdreg
Junior Member


Posts: 227
Registered: 07-02



Fredrik said:
...Unless you're only interested in the damage values per hit...
Yes, that is all I need. And more than the final damage values ("SSG: 100-300"), I'd like to see the damage formulas, presented in an easy-to-understand form (for example "SSG: 21 x d3 x 5", the d3 meaning a random value between 1 and 3). I can of course do the math myself.


Fredrik said:
...super shotgun 100-300, you can get the most of the rest from Dehacked...
Dehacked's values are too inaccurate, so please post a full list with all weapon & monster attacks.

Old Post 11-13-02 17:20 #
Janizdreg is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Fredrik


Posts: 11625
Registered: 05-00



Quasar said:
Fredrik: you're wrong. Time has nothing to do with damage in DOOM.
I know it doesn't. I was thinking of damage rates over time, which would depend on frame durations (stuff like the chainsaw for example).

Janizdreg said:
Dehacked's values are too inaccurate, so please post a full list with all weapon & monster attacks.
The values are from the engine, how can they not be correct? o_O

Old Post 11-13-02 21:06 #
Fredrik is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
RjY
anARCHy


Posts: 429
Registered: 05-02


I'll use the d(N) convention since others have used it already. So dN := uniformly distributed random integer in the inclusive range 1..N.
MdN means dN multiplied by M.
Sum(M,dN) means work out M values of dN and add them up.

There are three types of weapon/monster attack in Doom: projectile, and two hitscan types, bullet and melee.

Bullet attacks

Players and monster bullet attacks are composed from different arrangements of a single gunshot hitscan trace of maximum range 2048 map units (16 squares on the automap grid) as follows:

  • Player gunshot damage = 3d5 (i.e. takes values 5,10,15) Sometimes has a random directional deviation added to simulate shot spread.
  • Monster gunshot damage = 5d3 (i.e. 3,6,9,12,15...note the expected damage is slightly less for a monster than for a player, 9 compared to 10; that is, monster bullets are statistically weaker than player bullets)


Hence, player bullet weapon damages

  • Pistol: 1 shot of damage 5d3. The first is autoaimed, subsequent shots incur a random angular deviation of 11.25 degrees.
  • Shotgun: 7 shots of damage 5d3 all with angular deviation 11.25 degrees
  • Super shotgun: 20 shots of damage 5d3 (EDIT: not 21, sorry about that) random horizontal angular deviation of 22.5 degrees, and vertical slope deviation of 1 part in 16 (Note Doom doesn't use angles vertically, it calculates slopes instead.)
  • Chaingun: one shot of damage 5d3 per shot, always fires two in a row though. The first two are autoaimed, the rest are subject to the same deviation as the pistol/shotgun bullets.

And monster bullet damages:

  • Trooper: 1 shot, 3d5 damage, random horizontal angular deviation of 45 degrees (no wonder troopers are harmless!)
  • Sergeant: 3 shots, damage 3d5, same deviation. (Yes, only three. So when you you steal a sargeant's weapon, it becomes more than twice as powerful)
  • Chaingunner: 1 shot of damage 3d5, will fire in twos unless you interrupt him by shooting him and causing him pain. Uses the shotgun sound
  • SS Nazi: 1 shot of of damage 3d5, also fires in twos unless interrupted, but far more slowly.
  • Spider mastermind, 3 shots of damage 3d5 at a rapid rate, also as with all chaingun/machinegun weapons, in twos unless interrupted by pain (not by loss of line of sight)


Melee attacks

A melee attack is pretty much identical to a bullet attack in terms of how it works. The maximum range is of course not 2048 but 64 (half a square)

  • Player punch: 2d10 (2,4,..,20) per hit
  • Berserk punch: 20d10 per hit (yes, 20, you can do 200 damage with your fist)
  • Chainsaw: 2d10 per hit, like the chaingun it always attacks twice. There are random deviations but at a maximum range of 64 units they're too small to worry about. (The saw is like a very-sped-up unenhanced fist)
  • Imp scratch: 8d3 damage
  • Demon/Spectre bite: damage 4d10
  • Cacodemon bite: damage 6d10
  • Baron/Hellknight scratch: damage 10d8
  • Revenant punch: damage 6d10


Projectile attacks

Projectiles, missiles, whatever, are generated from the player and from most of the monsters, and they all have this in common: They will fly at a constant speed until they hit something (infinite range) and they all do a basic damage of Md8 where M is the so-called "missile damage". Firstly we list the missile damages of each player weapon or monster shot:

  • Rocket: missile damage 20 (so damage 20d8 on direct hit. Also makes a radius or "splash" damage at the point of explosion, which does damage to everything within 128 units of the explosion point, the damage being 128 - (approx.dist to bomb spot)
  • Plasma: missile damage 5
  • BFG: missile damage 100 but see below
  • Imp fireball: missile damage 3
  • Cacodemon shot: missile damage 5
  • Lost soul: A lost soul making an attack run is almost identical to an imp fireball, that is, on impact it does a missile damage of 3 (i.e. a damage of 3d8) However, it bounces off floors and ceilings.
  • Baron/Hellknight shot: missile damage 8
  • Revenant missile: Missile damage 10. Missiles travel very slowly but have a good chance that they will home in on you.
  • Mancubus fireball: Missile damage 8; fires in three salvoes of two shots each: angular deviations are (0, 11.25 degrees to monster's left (so dodge right first!)), (0, 11.25 degrees to right (so next, dodge left)), (5.75 degrees to left, 5.75 degrees to right)
  • Arachnotron shot: Missile damage 5 (identical to player's own, except for colour)
  • Pain elementals spawn lost souls in flight. As stated above, this is the same as a projectile of missile damage 3.
  • Cyberdemons fire a salvo of three rockets, identical to the player's own (missile damage 20, splash damage as above) unless interrupted by pain.


Addendum: points to note

A fraction of a second after the BFG ball bursts and hopefully does 100d8 damage to its target, the gun (that is, the player) will emit 40 hitscan traces distributed uniformly across a cone of angular displacent 45 degrees each side of the angle at which the gun was originally fired - that is, if since firing you've turned 180 degrees, the traces will emerge from your back. Each trace has a range of 1024 map units (8 grid squares) and will do a damage of Sum(15,d8) to the monster it hits. This is the well-documented BFG spray effect that all deathmatch players know about.

I haven't yet mentioned archvile attacks, they deserve a whole section to themselves:) Basically, if you are within 1024 units (8 squares) of it, the creature sticks up its arms and a fraction of a second later a fire forms at your position (interesting things happen if you can get behind cover between the creature's attack starting and the spawning of the fire...) After it has gone through its routine, if it still has line of sight, you immediately take a damage of 20, and a radius damage of 70 occurs at your position, so you can expect a damage of 90 and the momentum change this brings.

Cyberdemons and spiderdemons don't feel radius damages at all, and all other monsters can be damaged by an archvile attack (including archviles themselves) but they will never respond to it.

Finally, random note, not on topic but worth mentioning especially if like me you don't like revenants in small spaces. If one is within 196 units (just over one and a half squares) of you, it will never fire its projectile, but attempt to close in for the punch. Hence, keep them near, run round in circles, and they will never attack you.


PRBoom's source was used as a reference.

Last edited by RjY on 11-14-02 at 19:24

Old Post 11-14-02 00:49 #
RjY is offline Profile || Blog || PM || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Fredrik


Posts: 11625
Registered: 05-00



Super shotgun: 21 shots of damage 5d3
Actually 20.

Old Post 11-14-02 15:32 #
Fredrik is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Janizdreg
Junior Member


Posts: 227
Registered: 07-02


Finally...thanks a lot RjY. And BTW Fredrik, Dehacked's info isn't all that good since it doesn't show the random integers at all. =/

Old Post 11-15-02 14:14 #
Janizdreg is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Fredrik


Posts: 11625
Registered: 05-00


Dehacked doesn't show any info for gun shots and similar attacks, but you can get the exact damage values of missiles from there.

Old Post 11-15-02 14:47 #
Fredrik is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 3348
Registered: 08-00



Little Faith said:
That depends on the type of nukage in question.

Some do it fast while others do it slower.



All of DOOM's nukage types use a predicate of gametic&31 to determine whether or not its time for damage. The amount done is determined by the sector type.

Now, in Heretic, the lava and super lava types do damage using a predicate of gametic&15, which is twice as fast. The muck floor type, however, uses 31 like DOOM. The damage values for Heretic are all totally different, too. I believe muck does 4 damage per hit, and super lava does 8. I don't remember the other type. Interestingly, nukage damage is not randomized like most other damage in DOOM.

Old Post 11-15-02 18:42 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
All times are GMT. The time now is 08:22. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom General > Accurate weapon & monster damage info

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Forums Directory