YesNoOk
avatar

velset/anim issue need help (Read 424 times)

Started by bushinryu, March 27, 2009, 06:56:26 am
Share this topic:
velset/anim issue need help
#1  March 27, 2009, 06:56:26 am
  • avatar
been creating new anims which are working.. well i ve been adding some velocity to my anims, i made the clsn boxes on EACH frames.. and most of the time my character will pass through the opponent :S

any one knows how to prevent this?

note : im a noob in coding

thanks
Re: velset/anim issue need help
#2  March 27, 2009, 07:32:39 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Passing through? Either your clsn's are too small and your velset is massive. Or you don't have blue clsn's at all. We're going to need to see the code from your .cns and .air to check this.


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: velset/anim issue need help
#3  March 27, 2009, 07:34:29 am
  • ***
  • Man of the highest caliber
    • USA
    • soldier.ucoz.net/
I've had this happen before. It was always with my running though. I always made my CLSN boxes green, but whenever I made them blue I never passed through the opponent. So make sure there are some blue CLSN boxes.
"There is nothing either good or bad, but thinking makes it so."
Re: velset/anim issue need help
#4  March 27, 2009, 04:37:17 pm
  • avatar
will try to put big blue boxes on each frames thanks
Re: velset/anim issue need help
#5  March 27, 2009, 04:59:31 pm
  • avatar
i have made big blue clsn boxes<--- on each frames and red ones for the frame that are supposed to hit.. i got an average vel which x=3 :S

heres my code

[Statedef 3500]
type = S
movetype = A
physics = S
ctrl = 0
anim = 3500
velset = 0,0
sprpriority = 1

[State 3500, vel]
type=velset
trigger1=anim=3500&&animelemtime(1)>=0&&animelemtime(16)<0
x=3

[State 3500, HitDef]
type = HitDef
trigger1 = animelem=2||animelem=6||animelem=7||animelem=9||animelem=11||animelem=13||animelem=14||animelem=15||animelem=16
attr = S,SA
hitflag = MAF
guardflag = MA
animtype = Hard
air.animtype = Hard
damage = 30,10
pausetime = 10,10
sparkno = S7020
guard.sparkno = S7001
sparkxy = 0,0
hitsound = S2,3
guardsound = S2,0
ground.type = High
ground.slidetime = 10
ground.hittime = 10
air.hittime = 10
ground.velocity = -3,0
air.velocity = -3,-5
sprpriority = 1

[State 3500, 4]
type = ChangeState
trigger1=!animtime
value = 0
ctrl = 1

been trying green(clsn standard) + blue boxes on each frames didnt worked either,hope will figure out whats the issue

thanks
Re: velset/anim issue need help
#6  March 27, 2009, 07:41:49 pm
  • ******
Quote
[State 3500, vel]
type=velset
trigger1=anim=3500&&animelemtime(1)>=0&&animelemtime(16)<0
x=3
....... You don't need that... Just one velset at the beginning. If you're worried that he slows down on his own (friction), put physics = N at the top instead of physics = S.
Post the animation and maybe a screenshot (with clsn visible) of what goes on when your char gets near his opponent (hit the pause key, hit scroll lock key until the point where your char goes through the opp, hit F12, convert the resulting pcx into png with any image viewer, then host it on imageshack).
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.