HORIZONEXPLODE flag

Moderator: GZDoom Developers

Post Reply
User avatar
GFD
Posts: 347
Joined: Mon May 31, 2010 7:42 pm
Preferred Pronouns: He/Him
Location: Canada
Contact:

HORIZONEXPLODE flag

Post by GFD »

A close cousin to the SKYEXPLODE flag, HORIZONEXPLODE would similarly make projectiles explode when hitting a horizon instead of vanishing. Normally, projectiles with BOUNCEONWALLS will disappear if they hit a horizon line, but this disappearing behaviour can be problematic in a few cases - for me, it's a problem because i'm using this projectile's death states to limit the number of projectiles you can have on-screen, by accessing the target's inventory.

On that topic, is it intended behaviour that bouncing projectiles don't disappear on skies???
Last edited by GFD on Sun Feb 24, 2013 4:15 am, edited 2 times in total.
User avatar
XutaWoo
Posts: 4005
Joined: Sat Dec 30, 2006 4:25 pm
Location: beautiful hills of those who are friends
Contact:

Re: HORIZONEXPLODE flag

Post by XutaWoo »

It's intended behavior, yes, since otherwise bouncing projectiles would lose a lot of use in outdoor areas.
User avatar
GFD
Posts: 347
Joined: Mon May 31, 2010 7:42 pm
Preferred Pronouns: He/Him
Location: Canada
Contact:

Re: HORIZONEXPLODE flag

Post by GFD »

Curiously, it looks like projectiles only disappear on horizons if they do have BOUNCEONWALLS. That seems backwards compared to skies, where projectiles disappear if they don't have BOUNCEONCEILINGS. That one sounds like a bug to me - unless it's also intentional ??
HeXaGoN
Posts: 161
Joined: Sat Dec 04, 2010 3:07 pm
Location: Texas, United States

Re: HORIZONEXPLODE flag

Post by HeXaGoN »

Yeah, I like the idea of having this flag. I've tried a few times to make a projectile bounce/die on a horizon, but it never really worked out.
User avatar
TheFortuneTeller
Posts: 36
Joined: Sun Oct 28, 2012 4:20 pm
Location: United States

Re: HORIZONEXPLODE flag

Post by TheFortuneTeller »

This should be what you're looking for.
Attachments
diff.txt
(3.21 KiB) Downloaded 41 times
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”