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???
HORIZONEXPLODE flag
Moderator: GZDoom Developers
- GFD
- Posts: 347
- Joined: Mon May 31, 2010 7:42 pm
- Preferred Pronouns: He/Him
- Location: Canada
- Contact:
HORIZONEXPLODE flag
Last edited by GFD on Sun Feb 24, 2013 4:15 am, edited 2 times in total.
- XutaWoo
- Posts: 4005
- Joined: Sat Dec 30, 2006 4:25 pm
- Location: beautiful hills of those who are friends
- Contact:
Re: HORIZONEXPLODE flag
It's intended behavior, yes, since otherwise bouncing projectiles would lose a lot of use in outdoor areas.
- GFD
- Posts: 347
- Joined: Mon May 31, 2010 7:42 pm
- Preferred Pronouns: He/Him
- Location: Canada
- Contact:
Re: HORIZONEXPLODE flag
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 ??
Re: HORIZONEXPLODE flag
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.
- TheFortuneTeller
- Posts: 36
- Joined: Sun Oct 28, 2012 4:20 pm
- Location: United States
Re: HORIZONEXPLODE flag
This should be what you're looking for.
- Attachments
-
- diff.txt
- (3.21 KiB) Downloaded 41 times
