[Fixed] Kickback in P_DamageMobj

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
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49226
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Kickback in P_DamageMobj

Post by Graf Zahl »

This is something I noticed while I was experimenting with an instant-death punch weapon. To ensure a one-hit kill some rather high damage values are necessary. The problem is that the thrust being applied to the victim is proportional to the damage being inflicted. The problem is that the kickback calculation starts to behave erratically due to overflows. Some of them (those which result in negative thrust) are properly handled but I was able to throw the monster across huge distances several times. I think the maximum thrust being applied should also be clipped to a reasonable value.
User avatar
Risen
Posts: 5263
Joined: Thu Jan 08, 2004 1:02 pm
Location: N44°30' W073°05'

Post by Risen »

Sweet! I want a gun that launches enemies across the level! Then I wouldn't have to use those discs of repulsion to push the monsters off the cliffs in Hexen...

You have an avatar. How strange.
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 »

Risen wrote: Sweet! I want a gun that launches enemies across the level! Then I wouldn't have to use those discs of repulsion to push the monsters off the cliffs in Hexen...
Damage is always random so the result tends to become erratic with higher damage. As it is it's rather unpredictable.

Risen wrote: You have an avatar. How strange.
Why? I finally found a pic that I like!
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 freaked me out, too, but I like it. Everyone (myself included) has been changing avatars so much lately, I've gotten used to just reading the name by default. It used to be I could see the avatar (or the lack thereof ;-) ) in the corner of my eye and know who's speaking... but when people switch it up all the time I have to take the 1/2 second to look at the name, then try to memorize the new avatar. :-) But it doesn't matter what I think, and it's not really much of an inconvenience anyway. I guess it's more like a quarter of a second..... :-)

I'm glad you've found something you like.
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Post by HotWax »

Change is Gud.
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 »

No one was talking to you ;-)

(This is the first time I've used "quick reply"...we'll see how it works.....)

EDIT: Gee, that was rather anti-climactic... (Ok, I'm off to the General forum where I belong)
User avatar
Mr. Tee
Posts: 1111
Joined: Sun Feb 08, 2004 7:49 pm
Contact:

Post by Mr. Tee »

Since EarthBound rules everything non-ZDoom related (even what toppings you put on your pizza), I'll ever change my avatar.

Long Live the Kraken! *blue screen*
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Post by HotWax »

I'll ever change my avatar, too. Because change is gud.
User avatar
Kate
... in rememberance ...
Posts: 2975
Joined: Tue Jul 15, 2003 8:06 pm

Post by Kate »

Change is güd™

Actually I like my ASCII Doom Avatar.
I think I'll keep it for awhile.
User avatar
Mr. Tee
Posts: 1111
Joined: Sun Feb 08, 2004 7:49 pm
Contact:

Post by Mr. Tee »

HotWax wrote: I'll ever change my avatar, too. Because change is gud.
Hmmm... Ah, yu makng fuun ov my speek?

I ever make fun of other peeple's speek. Ever. Ever ever. Ever ever. Ever ever. Ever ever.

Well, at least I'm not a walking Kenny-related death-corpse from South Park. :wink:
User avatar
cccp_leha
Posts: 1816
Joined: Wed Jul 16, 2003 7:21 am
Location: NJ, USA
Contact:

Post by cccp_leha »

Hmm, I seem to be one of the few who never had the avatar changed... BTW, +10 cool points if you can guess where it's from.
User avatar
Lumpy
Posts: 256
Joined: Tue Jul 15, 2003 5:29 pm
Location: Pa,USA
Contact:

Post by Lumpy »

I have never changed my avatar neither. Also about those points, I guess Sweden.
User avatar
cccp_leha
Posts: 1816
Joined: Wed Jul 16, 2003 7:21 am
Location: NJ, USA
Contact:

Post by cccp_leha »

Swede? Not even close. :P
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Post by Xaser »

cccp_leha wrote:Swede
: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 »

Can you please stop doing this nonsense in the bugs forum? I can barely stand this spamming in General but here it's unacceptable.

Thank you!
Post Reply

Return to “Closed Bugs [GZDoom]”