Remove distance cap for GetDistance from player

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

Remove distance cap for GetDistance from player

Postby Void Weaver » Wed Jul 24, 2019 6:41 pm

It would be awesome if GetDistance distance check cap from player-to-target will be removed or increased to much sense values instead of pathetic ~1054.54.

Drawn from this topic.
User avatar
Void Weaver
Keeper of the Diablo bestiary storage Also amateur DECORATE-spaghetti weaver ಠ_ಠ
 
Joined: 18 Dec 2014

Re: Remove distance cap for GetDistance from player

Postby Matt » Wed Jul 24, 2019 7:02 pm

distance3d(target)

That aside, though, I do notice that this limit isn't documented anywhere. Is there anything that requires it? What's BulletSlope used for anyway?
User avatar
Matt
Putting the XD into *xdeath since 2007
 
Joined: 04 Jan 2004
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia

Re: Remove distance cap for GetDistance from player

Postby Void Weaver » Wed Jul 24, 2019 8:31 pm

Ofc I don't understand more of source\zscript things but I don't see there any numeric limits references from BulletSlope() too.
User avatar
Void Weaver
Keeper of the Diablo bestiary storage Also amateur DECORATE-spaghetti weaver ಠ_ಠ
 
Joined: 18 Dec 2014

Re: Remove distance cap for GetDistance from player

Postby Blue Shadow » Thu Jul 25, 2019 1:43 am

Void Weaver wrote:I don't see there any numeric limits references from BulletSlope() too.

Here; do you see the "16.*64" bit? That's the set distance.
User avatar
Blue Shadow
 
Joined: 14 Nov 2010
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: ATI/AMD (Modern GZDoom)


Return to Feature Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests