Freedom Reborn Archive

Freedom Force Forums => Scripting Forum => Topic started by: bevo on July 14, 2007, 10:56:23 AM

Title: giant melee attacks that can hit flyers
Post by: bevo on July 14, 2007, 10:56:23 AM
Was wondering if anyone could explain how you can make a melee attack, for giant types against flyers? to knock them outa the sky etc? I noticed in taskmasters recent update for ffx I thought I saw something similiar but I cant find it again. I tried making an attack in ffedit to do this but I could never get it to show up in game. Any pointers would be appreciated.
Title: Re: giant melee attacks that can hit flyers
Post by: BentonGrey on July 14, 2007, 11:52:43 AM
Hey Bevo, it's pretty simple, just make sure you select 'airborne targets only' in FFEdit, and your giant will swat flyers like crazy.
Title: Re: giant melee attacks that can hit flyers
Post by: TaskMasterX on July 14, 2007, 04:12:39 PM
What I did was create the power in FFEdit and since melee powers with the Airborne Targets flag selected are not selectable in the game for custom characters, the only way they can be used by customs is by adding a tactic for the power in the AI script. If you look at the the Avenger's Giant-Man AI file, you'll see something like this:
"TMelee('smack fliers',pct=100,maxdist=100,subtype='flying')",
where 'smack fliers' is the name of the power in FFEdit with the Airborne Targets flag set to on. Of course, you can't use this power if you're playing the character, only if the AI is controlling them.
Title: Re: giant melee attacks that can hit flyers
Post by: bevo on July 14, 2007, 09:23:26 PM
Thanks for that clarification Benton and taskmaster.
Title: Re: giant melee attacks that can hit flyers
Post by: bevo on July 14, 2007, 09:30:42 PM
I had one more AI question. My giants are working well but I find that when its giant vs giant they try and stomp each others toes.
If its possible, what is a good tactic script, that when giants encounter other giants they stick to regular punches and not toe smashing. Is it possible to add subtypes for weight or height?
Title: Re: giant melee attacks that can hit flyers
Post by: catwhowalksbyhimself on July 14, 2007, 09:56:31 PM
A "giant" subtype would work fine, I would think.
Title: Re: giant melee attacks that can hit flyers
Post by: tommyboy on July 15, 2007, 04:20:33 AM
RE: toe stomping, thats the keyframes. Most giant keyframes are made with fighting ordinary sized foes in mind, so the attacks are directed DOWN. Unless the keyframes have a "normal" directed attack, subtypes wont matter...