Infinity MUGEN Team

IMT Main => M.U.G.E.N Help => Topic started by: Ioncat on February 10, 2008, 05:31:26 AM

Title: Adding a dash/run to a character
Post by: Ioncat on February 10, 2008, 05:31:26 AM
I'm sure this is complicated, but how can I add a dash/run to a character?
Title: Re: Adding a dash/run to a character
Post by: DivineWolf on February 10, 2008, 05:21:06 PM
You would need animation for that wouldn't you? Along with coding. I don't think that would be as easy as adding the super jump coding.  :P

Due to all chars have the ability and animation to jump. Though all don't have dashing/running animation. :-??
Title: Re: Adding a dash/run to a character
Post by: Ioncat on February 10, 2008, 06:06:10 PM
You would need animation for that wouldn't you? Along with coding. I don't think that would be as easy as adding the super jump coding.  :P

Due to all chars have the ability and animation to jump. Though all don't have dashing/running animation. :-??

Yeah, I thought it would be harder. I can easily make an animation though, I just need to know what to put in CODE wise.
Title: Re: Adding a dash/run to a character
Post by: Luis/Dshiznet on February 10, 2008, 07:18:50 PM
its kinda easy if u think about it, for the dashing code just make a state def with a velset that makes the character go forward.

and for the running state im not to sure but ive done it before, just cant think of it atm.
Title: Re: Adding a dash/run to a character
Post by: A! on February 10, 2008, 08:11:19 PM
check kfms cns
Title: Re: Adding a dash/run to a character
Post by: Ioncat on February 10, 2008, 08:51:31 PM
I'm a total coding noob, so I'll need this spoonfed to me. I could look at KFM's CNS all day and never make any sense out of it...
Title: Re: Adding a dash/run to a character
Post by: Fallen_Angel on February 10, 2008, 10:15:38 PM
being noob doesn't means that you have to be lazy... the kfm has all the basic stuff coded and has explanation of every code...also you can check the docs that came with the mugen for more info.
Title: Re: Adding a dash/run to a character
Post by: Ioncat on February 11, 2008, 02:10:22 AM
being noob doesn't means that you have to be lazy... the kfm has all the basic stuff coded and has explanation of every code...also you can check the docs that came with the mugen for more info.

It's not a matter of whether or not I'm LAZY. It's the fact that I could stare at code and code explanations all day, and I wouldn't learn jack. Coding to me is like Algebra, I just don't get it. If I were LAZY I wouldn't be asking how to add the dash in, I'd be asking someone to do it for me.

If I AM to learn to code, the best way for me to do so is to learn by example. Do something, show me what it is. Don't tell me to put something in the changestate without telling me what the frack a changestate IS. >.>
Title: Re: Adding a dash/run to a character
Post by: A! on February 11, 2008, 09:01:10 AM
being noob doesn't means that you have to be lazy... the kfm has all the basic stuff coded and has explanation of every code...also you can check the docs that came with the mugen for more info.

It's not a matter of whether or not I'm LAZY. It's the fact that I could stare at code and code explanations all day, and I wouldn't learn jack. Coding to me is like Algebra, I just don't get it. If I were LAZY I wouldn't be asking how to add the dash in, I'd be asking someone to do it for me.

If I AM to learn to code, the best way for me to do so is to learn by example. Do something, show me what it is. Don't tell me to put something in the changestate without telling me what the frack a changestate IS. >.>

he means use kfm as base or use his coding, you wouldnt need to code alot of things if you used him as base just swap sprites
Title: Re: Adding a dash/run to a character
Post by: Fallen_Angel on February 11, 2008, 09:15:24 AM

It's not a matter of whether or not I'm LAZY. It's the fact that I could stare at code and code explanations all day, and I wouldn't learn jack. Coding to me is like Algebra, I just don't get it. If I were LAZY I wouldn't be asking how to add the dash in, I'd be asking someone to do it for me.

If I AM to learn to code, the best way for me to do so is to learn by example. Do something, show me what it is. Don't tell me to put something in the changestate without telling me what the frack a changestate IS. >.>

You are asking someone to make the code and then you just copy-paste... Dshiznetz has already told you what to do

make a statedef with a velset... thats all... or modify the run statedef (its coded on the common1).

You want to learn by example... check the kfm... all the codes that the char use are explained... if you don't understand some of the codes check the docs.....

Don't be lazy man....you could have checked what a changestate is in less than a minute... instead of waiting on someone to explain you
Title: Re: Adding a dash/run to a character
Post by: Ioncat on February 11, 2008, 03:35:30 PM

It's not a matter of whether or not I'm LAZY. It's the fact that I could stare at code and code explanations all day, and I wouldn't learn jack. Coding to me is like Algebra, I just don't get it. If I were LAZY I wouldn't be asking how to add the dash in, I'd be asking someone to do it for me.

If I AM to learn to code, the best way for me to do so is to learn by example. Do something, show me what it is. Don't tell me to put something in the changestate without telling me what the frack a changestate IS. >.>

You are asking someone to make the code and then you just copy-paste... Dshiznetz has already told you what to do

make a statedef with a velset... thats all... or modify the run statedef (its coded on the common1).

You want to learn by example... check the kfm... all the codes that the char use are explained... if you don't understand some of the codes check the docs.....

Don't be lazy man....you could have checked what a changestate is in less than a minute... instead of waiting on someone to explain you


NOT. BEING LAZY. I said to you already, I don't get coding. I'm going to go ahead and look through the KFM files. I can tell you right now though that I'm not going to learn jack since every question I ask is responded with "Stop being lazy". Wtf kind of HELP section is this? I wasn't ASKING for a copy/paste, and I explained that in my last post. All I wanted was a freaking explanation, and I get flamed.

This is what I found from searching KFM's files.

In the CMD:

[State -1, Run Fwd]
type = ChangeState
value = 100
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;Run Back
[State -1, Run Back]
type = ChangeState
value = 105
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl

This doesn't teach me anything. I don't know where to GO from here. I searched through the CNS, but using CTRL+F and searching proved useless as I don't know what I'm searching for, and I'm certainly not going to read the entire CNS looking for ONE thing, that would take HOURS.
Title: Re: Adding a dash/run to a character
Post by: A! on February 11, 2008, 03:46:23 PM

It's not a matter of whether or not I'm LAZY. It's the fact that I could stare at code and code explanations all day, and I wouldn't learn jack. Coding to me is like Algebra, I just don't get it. If I were LAZY I wouldn't be asking how to add the dash in, I'd be asking someone to do it for me.

If I AM to learn to code, the best way for me to do so is to learn by example. Do something, show me what it is. Don't tell me to put something in the changestate without telling me what the frack a changestate IS. >.>

You are asking someone to make the code and then you just copy-paste... Dshiznetz has already told you what to do

make a statedef with a velset... thats all... or modify the run statedef (its coded on the common1).

You want to learn by example... check the kfm... all the codes that the char use are explained... if you don't understand some of the codes check the docs.....

Don't be lazy man....you could have checked what a changestate is in less than a minute... instead of waiting on someone to explain you


NOT. BEING LAZY. I said to you already, I don't get coding. I'm going to go ahead and look through the KFM files. I can tell you right now though that I'm not going to learn jack since every question I ask is responded with "Stop being lazy". Wtf kind of HELP section is this? I wasn't ASKING for a copy/paste, and I explained that in my last post. All I wanted was a freaking explanation, and I get flamed. Last time I ask for help here.

if it doesnt help just do this go the cns section in FF and at the side were it says constants click on 1 of the arrow it will show you a list say punch,kick etc,  You pick runforward and type in your animation number were it says anime and there you go
Title: Re: Adding a dash/run to a character
Post by: Ioncat on February 11, 2008, 03:58:25 PM
That helped alot, Tupac. Thanks alot, bro.

Unfortunately, the character I was trying to add a run too is Vega (mask and claw) by N64Mario. The character has a bunch of different animations for his mask and claw as well as his normal self, and frankly I think it's a bit too complicated for a beginner. >.>
SimplePortal 2.3.5 © 2008-2012, SimplePortal