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 > BOUNCES objects don't hurt bosses in Eternity
 
Author
All times are GMT. The time now is 17:46. Post New Thread    Post A Reply
printz
CRAZY DUMB ZEALOT


Posts: 8538
Registered: 06-06


Just so anyone interested may know, in MBF the thing types flagged as BOUNCES would breach through the bosses' defenses when exploding. That was implemented because it was customary to replace the Doom rockets with bouncing grenades whose only damage was the explosion, no contact damage there. There had to be a way to kill bosses with that weapon, and BOUNCES worked around that by making them breach the BOSS defense.

But Eternity removed this breach. I'm not even sure if it was ever mentioned. Anyone who wants to preserve the effect should make an EDF with a thingdelta with addflags FORCERADIUSDMG, otherwise they'll have the object unintendedly ineffectual against bosses.

Old Post 12-29-11 00:11 #
printz is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 5757
Registered: 08-00


Yeah I may second-think the change... The problem is, with the way Killough coded it, it's highly specific and difficult to control externally - it messes with any other features, like FORCERADIUSDMG and NORADIUSDMG, that we want to add.

Old Post 12-29-11 11:02 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 10666
Registered: 07-07


Here's how I addressed it in ZDoom, with my reasoning:
code:
// MBF also considers that bouncers that explode are grenades, and MBF grenades // are supposed to hurt everything, except cyberdemons if they're fired by cybies. // Let's translate that in a more generic way as grenades which hurt everything // except the class of their shooter. Yes, it does diverge a bit from MBF, as for // example a dehacked arachnotron that shoots grenade would kill itself quickly // in MBF and will not here. But class-specific checks are cumbersome and limiting. info->flags4 |= (MF4_FORCERADIUSDMG | MF4_DONTHARMCLASS);

Old Post 12-29-11 12:28 #
Gez is online now Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 5757
Registered: 08-00


Not a bad idea, although EE does not currently have a "DONTHARMCLASS" flag.

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


Posts: 8538
Registered: 06-06



Gez said:
Here's how I addressed it in ZDoom, with my reasoning:
code:
// MBF also considers that bouncers that explode are grenades, and MBF grenades // are supposed to hurt everything, except cyberdemons if they're fired by cybies. // Let's translate that in a more generic way as grenades which hurt everything // except the class of their shooter. Yes, it does diverge a bit from MBF, as for // example a dehacked arachnotron that shoots grenade would kill itself quickly // in MBF and will not here. But class-specific checks are cumbersome and limiting. info->flags4 |= (MF4_FORCERADIUSDMG | MF4_DONTHARMCLASS);

How about this way: The Cyberdemons would get a new flag, such as MFx_CYBERDEMON, which would make them the sole creatures immune to their own species' grenades, and if the author wanted another such creature, they'd give it the CYBERDEMON flag as well. That would replace the class-specific with a flag-specific check. Same like how KILLABLE got created to remove the Lost Soul specific check when their COUNTKILL bit got removed by Id.

Wouldn't Gez's implementation make the marine immune to their own grenades, or is the player a special case and not a species like the monsters?

Last edited by printz on 12-29-11 at 13:41

Old Post 12-29-11 13:29 #
printz is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 17:46. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Eternity > BOUNCES objects don't hurt bosses in Eternity

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.

Message Board Statistics