[BUG] DamageFactor "Normal"

Is there something that doesn't work right in the latest GZDoom? Post about it here.

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!

[BUG] DamageFactor "Normal"

Postby Dinosaur_Nerd » Fri Oct 19, 2018 9:14 pm

DamageFactor "Normal" is applied to all damage types, even custom damage types when applied.

below are video examples of this bug:
Spoiler:
User avatar
Dinosaur_Nerd
RAWR!
 
Joined: 21 Feb 2018
Location: timelocked USA 1994
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: nVidia (Modern GZDoom)

Re: [BUG] DamageFactor "Normal"

Postby Rachael » Fri Oct 19, 2018 9:59 pm

As far as I know that is not a bug, but is actually an older intended way to apply DamageFactor to all damage types.

To have your intended effect I believe you need to specify "None".
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: [BUG] DamageFactor "Normal"

Postby Zhs2 » Fri Oct 19, 2018 10:56 pm

As I was the one who recommended he report this, I believed the proper way to apply a DamageFactor to all types globally was to simply not specify a type at all, i.e. DamageFactor 1.5. The use of DamageFactor "Normal", multiplying any damage lacking a specific type, would be reinforced by the following example on two pages, the MAPINFO damage type definition page (Examples section) and the Custom damage types (in a deprecated section, but nonetheless is consistent with the first):

Code: Select allExpand view
// In DECORATE:
Actor TakesMoreDamage
{
    DamageFactor "Normal", 1.5 // Takes extra damage for attacks that have no specific damage factor.
    // We have changed Drowning so that it ignores DamageFactor "Normal" by ReplaceFactor.
}
User avatar
Zhs2
Power of meh.
 
Joined: 07 Nov 2008
Location: Maryland, USA, but probably also in someone's mod somewhere
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: ATI/AMD with Vulkan Support


Return to Bugs

Who is online

Users browsing this forum: No registered users and 1 guest