Bouncestate property/flag

Moderator: GZDoom Developers

User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Re: Bouncestate property/flag

Post by Xaser »

amv2k9 wrote:Let's say you want a reflective shot that homes, but only does so when bouncing off a surface. Have it call A_SeekerMissile on a bounce, then go back to Spawn.
This exact thing is something I've been wanting to do for a while. That's how Devil May Cry's Nightmare Beta behaves, and I always did want to emulate that behavior for the Nightmare in Psychic. Maybe I'll get my wish eventually. :P

Some other neat uses off the top of my head:
  • Make a grenade that bounces multiple times and causes an explosion every bounce (e.g. Bulletstorm's charged Bouncer)
  • An "Erratic," non-spherical bouncer can be made by tweaking its direction via A_SetAngle for every bounce
  • Emulate Heretic's powered-up Mace shot, though that's basically what amv2k9 said
  • Simply animating a projectile on bounce is one of the more useful (albeit simple) applications. Because why not? ;)
User avatar
Ed the Bat
Posts: 3060
Joined: Thu May 03, 2012 1:18 pm
Graphics Processor: nVidia with Vulkan support
Location: Maryland, US
Contact:

Re: Bouncestate property/flag

Post by Ed the Bat »

I'll be using this to emulate the Firemace's secondary (non-powered) shot, which spawns two children upon bounce. This should be cleaner than the hacky workarounds I was trying.
HeXaGoN
Posts: 161
Joined: Sat Dec 04, 2010 3:07 pm
Location: Texas, United States

Re: Bouncestate property/flag

Post by HeXaGoN »

Nash wrote:Can someone give me a real-life application of what bounce states can be used for? This is a genuine question.
Projectiles that create explosions upon bouncing is what I planned to use it for.
User avatar
amv2k9
Posts: 2178
Joined: Sun Jan 10, 2010 4:05 pm
Location: Southern California

Re: Bouncestate property/flag

Post by amv2k9 »

Xaser wrote:
  • Make a grenade that bounces multiple times and causes an explosion every bounce (e.g. Bulletstorm's charged Bouncer)
Also a cluster bomb launcher from Ratchet & Clank: Going Commando which does much the same thing ...and is also called the Bouncer :)
Xaser wrote:
  • Emulate Heretic's powered-up Mace shot, though that's basically what amv2k9 said
I was also thinking of the Beam Reflexor from Jak 3, and the Combine Overwatch rifle's altfire in HL2 seems to act similarly to this as well.
User avatar
amv2k9
Posts: 2178
Joined: Sun Jan 10, 2010 4:05 pm
Location: Southern California

Re: Bouncestate property/flag

Post by amv2k9 »

amv2k9 wrote:Let's say you want a reflective shot that homes, but only does so when bouncing off a surface. Have it call A_SeekerMissile on a bounce, then go back to Spawn.
Eugh, guess not.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”