YesNoOk
avatar

How to reflect Enemy projectile? & Counter Attack!! (Read 2829 times)

Started by AKK, July 21, 2008, 12:39:28 pm
Share this topic:

AKK

How to reflect Enemy projectile? & Counter Attack!!
#1  July 21, 2008, 12:39:28 pm
  • *
Ha..Ha... I back and have some new problem too

(1) Q?
I make a new Character and He have a reflect power,
when He use it ,it can be reflect a projectile of Enemy
1. return a projectile of Enemy to himself
2. Change the way of Enemy's projectile (maybe go up or go down)

I try to use "ReversalDef" but I dont know how it work

(2) Q?
my character have Counter Attack too (from Physics Attack)
but I have no Idea... ???

PS. if someone post the answer like this before you can send me the links,I will read IT!!
Thanks everyone ;)

Aadmi

Re: How to reflect Enemy projectile? & Counter Attack!!
#2  July 21, 2008, 12:47:32 pm
you can't do this with reversal defense i have tried there is no way possible if the projectile is coded correctly it will not work.


you need a helper to spawn where you want to reflect, the you want a hittoveride so when the helper is hit it turns into a projectile and flys whchever direction you want. you can't literally reflect it back, you need your own projectile animation.
Re: How to reflect Enemy projectile? & Counter Attack!!
#3  July 21, 2008, 07:01:07 pm
  • ****
    • www.justnopoint.com/Masters/
Rose nullfies and reflects projectiles back with her own. You'll need invisible helpers with clns where the nullifier of the enemy projectile will take place and in the code you will need to specify states your character will go into where he/she throws his/her own projectile back.

Hell you can probably take a cheesy was out for this. Nullify a projectile and quicky go to a regular projectile throwing state. You can look at my Master Yun and Master Chun Li Heavy Kobokushi moves to see how to set up a nullify state and you can also check Rose out where she throws a projectile back.

Since you will indefinately use Helpers for this, there is a slight bug type of thing with this but it doesn't seem to reflect the gameplay in any way shape or form...its one of those "at the nick of time" things that hardly happen in a real match. Again you can cheat and put a NotHitBy in the whole process of this.

AKK

Re: How to reflect Enemy projectile? & Counter Attack!!
#4  July 22, 2008, 08:14:40 am
  • *
 o_O Thank you for Idea.
I will tried  ;D

AKK

Re: How to reflect Enemy projectile? & Counter Attack!!
#5  July 30, 2008, 02:41:38 pm
  • *
I'm back !?!... and I know some. "rose" in her code, she has almost character's projectile animation.
Oh!! I never knew before!!. :-\

OK. I think I use own my character's projectile animation to reflects enemy's projectile.
but I have a little problem.

When my invisible helpers with clns Contect to another enemy's projectile helper.
the enemy's projectile helper to contected not destroy Itself.
but my invisible helpers with clns is really good work.

PS. the enemy is my character too. --;

Aadmi

Re: How to reflect Enemy projectile? & Counter Attack!!
#6  July 30, 2008, 03:13:26 pm
 ???

i'm not at all sure what you mean, but it sound like you mean and correct me if i'm wrong that your part of the code works fine and the reflections comes out good, but the enemy helper projectile doesn't destroy it's self and the character that you tested this out with is a mirror of the character you are making?


if so test the move against a character who your sure has a nicely coded projectile helper, maybe one of warusaki's character he tends to use projectile helpers the most.

AKK

Re: How to reflect Enemy projectile? & Counter Attack!!
#7  July 30, 2008, 03:49:16 pm
  • *
OH!? I understand my english is very very bad :sugoi:

HA..HA..sorry for your confuise

Alright,let's me explain my english

when Player1 use Counter Projectile Helper and Player2 use Projectile Helper
and Both Hit!!!!!!

Player1 can Counter Player2 Projectile but Player2 Projectile not remove and Hit Player1

I dont know what wrong between HitDef of Helper Player1 or HitDef of Helper Player2 ,or something else o_O

PS. thank you for your help  ;)

Aadmi

Re: How to reflect Enemy projectile? & Counter Attack!!
#8  July 30, 2008, 04:02:05 pm
Did you try the Counter against, another character with a helper projectile?
Re: How to reflect Enemy projectile? & Counter Attack!!
#9  July 30, 2008, 11:17:31 pm
  • **
maybe the issues is that the projectil isn't using blue clsn, so you can't destroy it
Re: How to reflect Enemy projectile? & Counter Attack!!
#10  July 31, 2008, 12:13:14 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Reflection is iffy at the best of times. If you have a projectile hit your shield, you can't reflect it with anything except a generic animation.

If it's a helper, You can reflect it ok, except everyone codes them differently. Some people don't give them clsn2's for eg so they can't be hit by anything. Other people set their attr to S, SA rather than SP so they don't register properly as projectiles for reversals and overrides.

The best method is to go with the if hit by proj destroy it and shoot random amorphous blob.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: How to reflect Enemy projectile? & Counter Attack!!
#11  July 31, 2008, 08:42:10 pm
  • ***
  • Fuck Windows 8!!!! I use adult OSes to work!!!
    • Mexico
@Cyanide: Suppose that we are in a full game enviornment... ChangeAnim2 will work for this?

See ya!! :D
This is the era in which we will see reason triumphing against brutality... May be better to open your mind to the future.
------------------------------------------------------
<- [Clicky - Clicky]
Current Universal War Official Artwork
Re: How to reflect Enemy projectile? & Counter Attack!!
#12  July 31, 2008, 08:50:55 pm
  • ******
  • I got a PM.
Hey Cy instead of using blob why can you use the other chars projectile animation. I know not everyone uses the same animation number can't you set it for, if this char then use this animation. like you would with an intro.

Re: How to reflect Enemy projectile? & Counter Attack!!
#13  July 31, 2008, 10:53:40 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Full game environment is completely possible. Not only can you have the helper turn round and hold it's animation. You can apply variables to it without overwriting anything and then selfstate it to something with F for affectteam.

Quote
I know not everyone uses the same animation number can't you set it for, if this char then use this animation. like you would with an intro.
Go out, count how many characters have projectiles. Count how many they have, look at how many different versions there are. Now, how many sprites to you have to add to your sff, how many animations do you have to make, how many p2name triggers do you have to deal with? Oh noes you missed one, well that screws the effect of that up.

It's too much work for a rather crappy effect. Full game or generic is the way to go.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

AKK

Re: How to reflect Enemy projectile? & Counter Attack!!
#14  August 01, 2008, 02:21:32 pm
  • *
 :o

thank you for all of your help.

when I set attr to S,SP, that work!!
the projectile Helper can destroy itself.

OH!!, I'm stupid.

For counter projectile I think I use my own projectile animation (Not anyone projectile's animation) . It's OK!  :sugoi:

Thanks :sweetheart: