Intermediate/Advanced Question

Started by rickthompson006, April 23, 2008, 01:29:18 AM

Previous topic - Next topic

rickthompson006

Hey guys, I've spent the lasdt 48 hrs trying to code a roll and/or dodge for a custom sailor moon im working on.  Problem is, my proficency isnt good enough to pull this off.  Was wondering if anyone had a template code or a tutorial to create rolls/dodges ala KOF.  Sucks that KFM dosent have a template for this and when I tried to use P.O.T.S Sakura code as a guide I can test it but simply dont get any resuts.  Any help would be most appricieated.

Best of luck to you guys,

Rick Thompson
I\'d rather lose with honor and dignity, than win through treachary and exploitation.
Be sure to watch my cartoon series on youtube!
The King of Fighters Rebirth  www.youtube.com/rickthompson006

Cyanide

Any KoF character would be a template. I'm pretty sure there's one in the code archive too.

In simplest terms you need


type = velset
type = playerpush
type = nothitby

Afterimage can also be used, but is not particularly essential.


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.

rickthompson006

Thanks for the quick response Cyanide.  I'll give that code you put up a try right now and see if I can use Mai as a template guide. 

Hoping for the best,

Rick T
I\'d rather lose with honor and dignity, than win through treachary and exploitation.
Be sure to watch my cartoon series on youtube!
The King of Fighters Rebirth  www.youtube.com/rickthompson006

rickthompson006

 :(
Still no luck. Seems everything is right, but for some reason shes just not going through the animation.  Here's teh constant I have

;==========<DODGE>==========
[Statedef 710]
type=S
physics=S
movetype=I
anim=710
velset=0,0
ctrl=0
sprpriority=-1

[State 710, snd]
type=playsnd
trigger1=animelem=1
value=3,7
channel=0

[State 710, push]
type=playerpush
trigger1=1
value=0

[State 710, hb]
type=hitby
trigger1=animelemtime(5)<0
value=SCA,AT
time=1

[State 710, end]
type=changestate
trigger1=!animtime
value=0
ctrl=1



And here is the command:

[command]
name = "Dodge"
command = x+a
time = 15



;Dodge
[State -1, Dodge]
type = ChangeState
value = 710
triggerall = command = "Dodge"
trigger1 = (statetype = s) && ctrl


For the life of me I just cant seem to see whats causing the error.  Anyone notice anything thats wrong?

Still plugging away

R. Thompson


I\'d rather lose with honor and dignity, than win through treachary and exploitation.
Be sure to watch my cartoon series on youtube!
The King of Fighters Rebirth  www.youtube.com/rickthompson006

rickthompson006

As much as it pains me to admit...... --;

The problem was that I placed the CMD Line in the wrong section...

2 days works caused by a minor oversight....

Ahhh...good ol' MUGEN,  how you steal away the hours of our lives...

Thanks to all who posted thier 2 cents, it was much appriciated

Custom Sailor Moon is coming soon

Beat of luck to you all in ur mugen endeavors

RT
I\'d rather lose with honor and dignity, than win through treachary and exploitation.
Be sure to watch my cartoon series on youtube!
The King of Fighters Rebirth  www.youtube.com/rickthompson006