[g85449a6] A_RadiusGive with huge distance and DV.wad MAP05

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.
Post Reply
User avatar
Beed28
Posts: 598
Joined: Sun Feb 24, 2013 4:07 pm
Location: United Kingdom

[g85449a6] A_RadiusGive with huge distance and DV.wad MAP05

Post by Beed28 »

I just cannot for the life of me to get a map-wide A_RadiusGive to work with DV.wad MAP05. For those who don't know, MAP05 in DV.wad combines all four of its maps into one unabridged epic. Being such a huge map, I cannot get A_RadiusGive to affect the whole thing. The distance values I tried are 24000, 16383, 26687, etc. Is it not working properly?
Gez
 
 
Posts: 17833
Joined: Fri Jul 06, 2007 3:22 pm

Re: [g85449a6] A_RadiusGive with huge distance and DV.wad MA

Post by Gez »

What you're trying to do is clearly hacky; the radius functions (be they for damage or for given things) were never meant to affect the entire map. You'd be better off with a dedicated map-wide function, which unfortunately will probably be a WFDS thing.
User avatar
Zhs2
Posts: 1269
Joined: Fri Nov 07, 2008 3:29 pm
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Location: Maryland, USA, but probably also in someone's mod somewhere
Contact:

Re: [g85449a6] A_RadiusGive with huge distance and DV.wad MA

Post by Zhs2 »

Strangely enough, A_RadiusGive doesn't go through walls. Why not intermittent bursts that travel with the player?
Gez
 
 
Posts: 17833
Joined: Fri Jul 06, 2007 3:22 pm

Re: [g85449a6] A_RadiusGive with huge distance and DV.wad MA

Post by Gez »

Zhs2 wrote:Strangely enough, A_RadiusGive doesn't go through walls.
It's not strange. It uses the same system as radius damage.

Historical reminder: RadiusGive was created to put an end to hacks where people used radius damage with custom damage type to get actors into a custom pain state. It's a direct replacement for this hacky system, so the base idea of affecting stuff in a radius in the same way explosions do -- which includes not affecting things that are behind cover -- remains. This is in large part because it uses the same code to detect affected things, it doesn't come up with a new algorithm.
Blue Shadow
Posts: 4949
Joined: Sun Nov 14, 2010 12:59 am

Re: [g85449a6] A_RadiusGive with huge distance and DV.wad MA

Post by Blue Shadow »

There is RGF_NOSIGHT, though...
User avatar
NeuralStunner
 
 
Posts: 12325
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: He/Him
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: [g85449a6] A_RadiusGive with huge distance and DV.wad MA

Post by NeuralStunner »

Gez wrote:It's a direct replacement for this hacky system, so the base idea of affecting stuff in a radius in the same way explosions do
Not quite, unfortunately.Unless this was quietly changed at some point.
User avatar
Major Cooke
Posts: 8170
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

Re: [g85449a6] A_RadiusGive with huge distance and DV.wad MA

Post by Major Cooke »

Use RGF_NOSIGHT in order to give it map-wide unconditionally. If that doesn't work, try updating ZDoom because this bug was addressed directly by Graf.
User avatar
Beed28
Posts: 598
Joined: Sun Feb 24, 2013 4:07 pm
Location: United Kingdom

Re: [g85449a6] A_RadiusGive with huge distance and DV.wad MA

Post by Beed28 »

Tried ZDoom revision g9edf409, and it still doesn't work, even with RGF_NOSIGHT.

----

EDIT: I think I've found a workaround! It seems to work on huge maps like DV.wad MAP05; will this do?

Code: Select all

for(int xCount=-6; xCount<7; xCount++)
	{
	for(int yCount=-6; yCount<7; yCount++)
		{
		SpawnForced("RadiusGiveActor", 335544320*xCount, 335544320*yCount, 0, 0, 0);
		}
	}
The radius of the actor's A_RadiusGive is 5120.
Post Reply

Return to “Closed Bugs [GZDoom]”