Freedom Reborn

Freedom Force Forums => Scripting Forum => Topic started by: kkhohoho on June 06, 2014, 01:47:31 PM

Title: Attacking Airborne Foes With Melee Attacks
Post by: kkhohoho on June 06, 2014, 01:47:31 PM
Does anyone know if there's a way to make a melee attack that hit airborne opponents? I've been messing around in FFEdit, and even made a new power for that purpose, but it doesn't show up in the game. (Or at the least, not FFX.) What I want to do is let the Doom Patrol's Elasti-girl hit opponents in the air, since she's large enough that that shouldn't be a problem for her. Does anyone know a way around this?
Title: Re: Attacking Airborne Foes With Melee Attacks
Post by: spydermann93 on June 06, 2014, 03:36:59 PM
Quote from: kkhohoho on June 06, 2014, 01:47:31 PM
Does anyone know if there's a way to make a melee attack that hit airborne opponents? I've been messing around in FFEdit, and even made a new power for that purpose, but it doesn't show up in the game. (Or at the least, not FFX.) What I want to do is let the Doom Patrol's Elasti-girl hit opponents in the air, since she's large enough that that shouldn't be a problem for her. Does anyone know a way around this?

There are two options for this:

1. Create a projectile or beam attack with the "flying_melee" fx to simulate a punch being thrown across a far distance.
2. Enable "General: Airborne Targets Only" when creating the power in FFEdit.  Whether or not this will actually work for custom characters, I have no idea, but it definitely works for built-in characters.

There's another option that I have yet to test, but you could try extending the range of the melee attack in FFEdit from 2-6 to something much longer.  I doubt it would still be able to be used against a flier, but it's worth a shot.
Title: Re: Attacking Airborne Foes With Melee Attacks
Post by: BentonGrey on June 06, 2014, 03:40:16 PM
Yeah, it's worth noting that option #2 requires the attacker to be on the ground.  For my mods I always use option #1.
Title: Re: Attacking Airborne Foes With Melee Attacks
Post by: yell0w_lantern on June 06, 2014, 07:04:51 PM
What about melee: dinosaur?  What does that do?
Title: Re: Attacking Airborne Foes With Melee Attacks
Post by: spydermann93 on June 06, 2014, 07:39:41 PM
Quote from: yell0w_lantern on June 06, 2014, 07:04:51 PM
What about melee: dinosaur?  What does that do?

Here's the entry from the "FFEdit Contents" page:

"This attack is used for characters that have non-standard shapes – like raptors. Normally, min and max ranges on a melee attack control how far the attack extends beyond the character's bounding box. So a melee attack with min range 1 \ max range 5 will strike a target from 1 to 5 units away. But setting melee: dinosaur causes min and max range to count as negative values; for example setting min range 0 \ max range 2 on a dinosaur melee means that the attack will strike from the edge of the bounding box to 2 units inside it."
Title: Re: Attacking Airborne Foes With Melee Attacks
Post by: yell0w_lantern on June 06, 2014, 08:28:43 PM
Funny, I always thought it meant the dinosaurs could chomp people not on the ground in FF1.
Title: Re: Attacking Airborne Foes With Melee Attacks
Post by: BentonGrey on June 06, 2014, 09:16:03 PM
That's odd.  I know for a fact that it allows characters to attack flying foes, as I use it for all of my giant characters.
Title: Re: Attacking Airborne Foes With Melee Attacks
Post by: Xenolith on June 06, 2014, 09:34:17 PM
Someone made a nice fx for option 1 a while back.  I can't recall who.  tommyboy?
Title: Re: Attacking Airborne Foes With Melee Attacks
Post by: BentonGrey on June 07, 2014, 08:09:20 PM
Whoops, my mistake!  It isn't Melee:Dinosaur that attacks fliers, it is Melee:Airborne Targets Only.