+HEXENBOUNCE projectile won't die when it hits a sky texture

Discuss all aspects related to modding Zandronum here.
Post Reply
User avatar
CallCenterHero
 
Posts: 24
Joined: Sun Jan 31, 2016 2:00 am

+HEXENBOUNCE projectile won't die when it hits a sky texture

#1

Post by CallCenterHero » Tue Feb 09, 2016 5:20 pm

I'm trying to make a ball that would be batted around a room, horizontally towards a goal. When it hits the goal, it needs to disappear.

I've set the floor texture at the goal to the sky and that didn't kill it... and I also tried stretching the sky downward and that didn't work either.

How would I make the projectile disappear when it hits the sky? Or disappear when it crosses a linedef?

TerminusEst13
Retired Staff / Community Team Member
Posts: 865
Joined: Tue Jun 05, 2012 11:06 pm

RE: +HEXENBOUNCE projectile won't die when it hits a sky texture

#2

Post by TerminusEst13 » Tue Feb 09, 2016 6:28 pm

Try +SKYEXPLODE
The Ranger - New class for HeXen.
ZDoom Wars - I drew some pictures.
Samsara - Some class-based mod I guess?
Metroid: Dreadnought - I am a dumb fanboy.
DemonSteele - ~come with me to anime world~

User avatar
SwordGrunt
Forum Regular
Posts: 377
Joined: Thu Jun 07, 2012 8:43 pm

RE: +HEXENBOUNCE projectile won't die when it hits a sky texture

#3

Post by SwordGrunt » Tue Feb 09, 2016 9:12 pm

Forgive my ignorance as I'm not much of a mapper, but isn't there a 'projectile crosses' or similar activation type for linedefs? You could use that with Thing_Remove or an ACS call with whatever you need.

As for the sky texture, I think your best bet is calling a script with an 'Actor hits floor' thing (assuming it works for projectiles - I've never tried it) and checking an actor property that can safely identify your projectile, such as seesound or deathsound, then removing it.

Post Reply