Mancubus
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 > Special Interest > Eternity > [resolved] EDF bug? Fall codepointer
 
Author
All times are GMT. The time now is 13:31. Post New Thread    Post A Reply
Mordeth
Administrator


Posts: 1993
Registered: 05-00


When calling the Fall action during a non-death sequence, eg at the end of a walking cycle, the monster goes through the motions of 'dying' but doesn't actually do so. Shooting it again will trigger a new death sequence upon which it is truely dead.

What's going on?

Old Post 10-08-11 11:28 #
Mordeth is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 6088
Registered: 08-00


I have been meaning to comment on this.

The behavior of A_Fall is to set a monster as non-solid. It does not trigger any state transition, and it does not set a monster as being really dead in any other way.

EE has not changed the behavior of this, so my suggestion is to regression-test a similar DeHackEd patch against vanilla DOOM and against WinMBF. Only if there is a difference in behavior is there any sort of problem here. Otherwise the game engine is doing exactly what you have told it to do - make a monster non-solid.

Old Post 12-18-11 21:36 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
printz
CRAZY DUMB ZEALOT


Posts: 8885
Registered: 06-06


All that Fall does is remove the SOLID flag. Excerpt from the Linux Doom code, which I believe to be identical to vanilla Doom in the gameplay aspect:
code:
void A_Fall (mobj_t *actor) { // actor is on ground, it can be walked over actor->flags &= ~MF_SOLID; // So change this if corpse objects // are meant to be obstacles. }

Disregard the comments.

Old Post 12-18-11 22:11 #
printz is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Mordeth
Administrator


Posts: 1993
Registered: 05-00


Issue was 'resolved' a while ago on IRC. The codepointer I was looking for was "Die", not "Fall". "Die" actually suicides a monster, unlike Fall that merely removes the solid flag.


The confusion started while examining other suicide bomber monsters: most of them use Fall together with a detonation effect. All make the same wrong assumption: it's the actual detonation effect that kills the monster, not Fall.

Old Post 12-18-11 23:17 #
Mordeth is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
printz
CRAZY DUMB ZEALOT


Posts: 8885
Registered: 06-06



Mordeth said:
it's the actual detonation effect that kills the monster, not Fall.
If you go that route, be wary that if such monsters also have explosive deaths, they'll explode twice when committing this kind of suicide.

Old Post 12-19-11 00:00 #
printz is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 13:31. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Eternity > [resolved] EDF bug? Fall codepointer

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.