(Not a) Bug : Monsters fly far when BFG hits : 2.0.61

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
User avatar
Mr. Tee
Posts: 1111
Joined: Sun Feb 08, 2004 7:49 pm
Contact:

(Not a) Bug : Monsters fly far when BFG hits : 2.0.61

Post by Mr. Tee »

Did anyone ever notice that since 61 or 62 monsters get flung away MUCH faster and farther when hit with the BFG ball??

I was just prancing in Doom2 (Map 09, right at the beginning) and if you hit a zombie man with a BFG shot on one of the upper ledges, he flies so far and so fast that his rotting corpse actually jumps the gap and lands on the other side! (Quite cool no doubt, but I don't think this is supposed to happen).

Does this have to do with the splash damage/sector multiplier rocket bug from a while back? (where if a monster was between sectors, it'd receive more rocket damage than if it was in only one sector)

I don't think I remember the BFG pushing actors away this much in vanilla Doom (and if I could get it too work for 1/2 second I'd check).
Last edited by Mr. Tee on Sat Sep 04, 2004 8:10 am, edited 4 times in total.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49226
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

See also:

http://forum.zdoom.org/viewtopic.php?t=2082

It's the same problem. But I can't see any change in the thrust calculations. Maybe it's just the much improved accuracy of fast movement that makes this more apparent in ZDoom.

Anyway, I think the maximum thrust applied by damaging should be limited. (I think the 10*FRACUNIT used for real overflows are enough in any case.)
User avatar
Mr. Tee
Posts: 1111
Joined: Sun Feb 08, 2004 7:49 pm
Contact:

Post by Mr. Tee »

Hmmm... Very interesting. It's true that at higher frame rates, things like that are noticed more easily.

About limiting thrust: If this was ever done would there be any way to override it? I'm thinking about a part in my wad in which I would want something to move almost instantaneously across an area (either using Thing_Thrust, or making the thing invulnerable and smacking it with 20 silent , invisible rockets), but without it being teleported as there are linedefs with specials that would need to be activated along the way.

I guess I can using scripting to get around it and time everything correctly though, so... nevermind! :P
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49226
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

I mean only limiting thrust inflicted by damage, not in general. As it is now the formula has some serious problem´s that only are apparent now that it is possible to create custom projectiles (and weapons soon.) ThrustThing would not be affected by this.
User avatar
Giest118
Posts: 2914
Joined: Fri Dec 05, 2003 11:02 pm

Post by Giest118 »

Something I noticed was that in Vanilla Doom, Spidermasterminds die in a minimum of two hits with the BFG... and in ZDOOM it only takes a minimum of one.

This is probably something to do with the BFG damage...
User avatar
Bio Hazard
Posts: 4019
Joined: Fri Aug 15, 2003 8:15 pm
Location: ferret ~/C/ZDL $
Contact:

Post by Bio Hazard »

giest118 wrote:in Vanilla Doom, Spidermasterminds die in a minimum of two hits with the BFG... and in ZDOOM it only takes a minimum of one.
the spider mastermind is old... things usually get weaker as they get older... (10 years right?)
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49226
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

giest118 wrote:Something I noticed was that in Vanilla Doom, Spidermasterminds die in a minimum of two hits with the BFG... and in ZDOOM it only takes a minimum of one.

This is probably something to do with the BFG damage...

This is the result of a recent bugfix. The BFG's secondary attack consists of 40 hitscan traces. The way Doom originally handled this many of those traces could get lost when aimed at such a large object as the Spider Mastermind. In ZDoom this can no longer happen so it is possible to do somewhat more damage with the BFG when attacking a Spider.
User avatar
Mr. Tee
Posts: 1111
Joined: Sun Feb 08, 2004 7:49 pm
Contact:

Post by Mr. Tee »

Could this cause monsters to fly much farther??

i.e. when I said...
Mr. Tee wrote:I was just prancing in Doom2 (Map 09, right at the beginning) and if you hit a zombie man with a BFG shot on one of the upper ledges, he flies so far and so fast that his rotting corpse actually jumps the gap and lands on the other side! (Quite cool no doubt, but I don't think this is supposed to happen).
Could it be that this zombie is being hit by a hitscan BFG trace (several?) RIGHT after the ball hits him, causing him to get much more damage and hence, fly farther?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49226
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Mr. Tee wrote: Could it be that this zombie is being hit by a hitscan BFG trace (several?) RIGHT after the ball hits him, causing him to get much more damage and hence, fly farther?

No. The BFG projectile has enough power to kill any smaller monster instantly. None of the hitscan traces will be able to hit them after that.
User avatar
Sticky
Posts: 836
Joined: Mon Aug 04, 2003 12:29 pm
Location: Denver, CO How do they get teflon to stick to the pan?

Post by Sticky »

Does it really have 40 traces? I thought there were only 20....
/me goes to brush up on the doom faq....
User avatar
Giest118
Posts: 2914
Joined: Fri Dec 05, 2003 11:02 pm

Post by Giest118 »

Graf Zahl wrote:
giest118 wrote:Something I noticed was that in Vanilla Doom, Spidermasterminds die in a minimum of two hits with the BFG... and in ZDOOM it only takes a minimum of one.

This is probably something to do with the BFG damage...

This is the result of a recent bugfix. The BFG's secondary attack consists of 40 hitscan traces. The way Doom originally handled this many of those traces could get lost when aimed at such a large object as the Spider Mastermind. In ZDoom this can no longer happen so it is possible to do somewhat more damage with the BFG when attacking a Spider.
Er... you're telling me that the spider gets hit with the amount of hitscan traces necessary to kill it?

I always thought that every monster onscreen got hit with one tracer.... well.... me is dumbass.
User avatar
Anakin S.
Posts: 1067
Joined: Fri Nov 28, 2003 9:39 pm
Location: A long time ago in a galaxy far, far away...

Post by Anakin S. »

I'm sure they got hit with one tracer each, but since there were leftover tracers, I think they just continued being applied to whatever's closer to you until all 40 were used.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49226
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

The BFG secondary attack is doing 40 hitscan traces over a field of 90 degrees. If one trace hits an object it is damaged, if not the trace is lost. No trace is aimed at a particular monster. Considering how large the Spider Demon is it's not surprising that a rather large numbers (on close distance almost all) will hit it.
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Post by Xaser »

Graf Zahl wrote:(on close distance almost all)
Almost? If you were to get in the spider's face and shoot the BFG, all traces should hit him, because you can't see anything but spider. :P
User avatar
Sticky
Posts: 836
Joined: Mon Aug 04, 2003 12:29 pm
Location: Denver, CO How do they get teflon to stick to the pan?

Post by Sticky »

It's funny how few people actually understand how the BFG works. Usually the one who whine about it are the same ones who don't have a clue what it really does.

Though the information in the BFG faq isn't always 100% accurate, it gives a pretty decent account of how it works. Anyone who doesn't know how the bfg works should at least give this faq a glance!
It's mirrored in many places, and there are a few different versions, but here's the first one I found: http://www.gamers.org/docs/FAQ/bfgfaq/
Post Reply

Return to “Closed Bugs [GZDoom]”