Command Problems?

Started by Girku, July 09, 2009, 11:51:26 PM

Previous topic - Next topic

Girku

For some reason....unbeknowest to me certain commands dont work  for certain moves with my latest WIP...seriously wtf... Heres an example

Spoiler (click to show)


[command]      
name = "Shunko"        <-----I know having it set like this means that the command is to hold down start
command =/s                      When doing so...It works fine
time = 20



[command]
name = "Shunko"
command = D,DB,F,y <-------But when I set it to this it no longer works                                          
time = 20                            Any ideas how to fix this?


Rajaa Retired

It's probably just a simple matter of changestate syntax.

Changestates triggered by complicated commands go above changestates triggered by less complicated commands.

Example:

[state -1, Super]
type = changestate
trigger1 = command = "D, DF, F, D, DF, F, x"
value = 3000

[state -1, Special]
type = changestate
trigger1 = command = "D, DF, F, x"
value = 1000

[state -1, Standard]
type = changestate
trigger1 = command = "x"
value = 200

That's a small example of how things should be in the .cmd file.

Girku

#2
Quote from: महान सम्राट on July 09, 2009, 11:53:52 PM
It's probably just a simple matter of changestate syntax.

Changestates triggered by complicated commands go above changestates triggered by less complicated commands.

Example:

[state -1, Super]
type = changestate
trigger1 = command = "D, DF, F, D, DF, F, x"
value = 3000

[state -1, Special]
type = changestate
trigger1 = command = "D, DF, F, x"
value = 1000

[state -1, Standard]
type = changestate
trigger1 = command = "x"
value = 200

That's a small example of how things should be in the .cmd file.


Didnt work...heres my setup


Spoiler (click to show)


[command]
name = "SU-A"
command = ~D, F, D, F, x
time = 20

[command]
name = "SU-A"
command = ~D, F, D, F, a
time = 20

[command]
name = "SU-A"
command = ~D, F, D, F, b
time = 20


[command]
name = "Shunko"
command = ~D, F, D, F, y 
time = 20



[command]
name = "Shunko"
command = ~D, F, D, F, c
time = 20




;-| Special Motions |------------------------------------------------------
[command]
name = "S-A_x"
command = ~D, DF, F,x
time = 10

[command]
name = "S-A_x"
command = ~D, DF, F, x
time = 10

[command]
name = "S-A_a"
command = ~D, DF, F, a
time = 10

[command]
name = "S-A_a"
command = ~D, DF, F, a
time = 10


[command]
name = "RF-A"
command = ~D, DF, F, b
time = 10

[command]
name = "RF-A"
command = ~D, DF, F, b
buffer.time = 10



[Command]
name = "charge"
command = /z
time = 1


[command]
name = "flash step"
command = /a
time = 1


Bastard Mami

Why are you comparing oranges to apples?

Girku

Quote from: Frederika Trollkastel~ on July 10, 2009, 12:17:14 AM
Why are you comparing oranges to apples?

Huh what? Im not following you  o_O

Byakko

Read again what he told you to do.
QuoteChangestates triggered by complicated commands go above changestates triggered by less complicated commands.
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates

Also, this and your previous question topic, I'm wondering - why are you asking questions if you don't even read the answers people give you ? If you don't do what people tell you to do ? If you can't do that, then don't ask.
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.

Cyanide

Bah, byakko beat me to it.


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.

Girku

Quote from: Byakko on July 10, 2009, 12:35:05 AM
Read again what he told you to do.
QuoteChangestates triggered by complicated commands go above changestates triggered by less complicated commands.
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates

Also, this and your previous question topic, I'm wondering - why are you asking questions if you don't even read the answers people give you ? If you don't do what people tell you to do ? If you can't do that, then don't ask.
I did do what he siad to do...still didnt work... --;

Byakko

No you didn't. You say you did ? Explain what you did, and we'll tell you what you did wrong.
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.

Girku

okay fine

at first my setup was like this...



Spoiler (click to show)


;-| Super Motions |--------------------------------------------------------


[Command]
name = "charge"
command = /z
time = 1


[command]
name = "flash step"
command = /a
time = 1


[command]
name = "SU-A"
command = ~D, F, D, F, x
time = 20

[command]
name = "SU-A"
command = ~D, F, D, F, a
time = 20

[command]
name = "SU-A"
command = ~D, F, D, F, b
time = 20



[command]
name = "Shunko" <-----the attack works perfectly fine like this
command =/s 
time = 20

then I changed it to this

Spoiler (click to show)

   ;-| Super Motions |--------------------------------------------------------

[command]
name = "SU-A"
command = ~D, F, D, F, x
time = 20

[command]
name = "SU-A"
command = ~D, F, D, F, a
time = 20

[command]
name = "SU-A"
command = ~D, F, D, F, b
time = 20


[command]
name = "Shunko"
command = ~D, F, D, F, y 
time = 20

The charge and flash step commands were moved to the specials

dsm33606

Try adding a ~. so it would be ~D,DB,B, y

Girku

Quote from: dsm33606 on July 10, 2009, 02:00:13 AM
Try adding a ~. so it would be ~D,DB,B, y

Tried it...still no luck  :-\

fatnlazy

#12
What does the command for the changestate look like? The top of the .cmd is just labeling the button combos to be used. Later in the .cmd file you have to actually use one of the commands from the top to initiate a changestate. It is in this section of the .cmd that the order needs to be from more complex to less complex as you move down.

I can't believe I'm saying this, lol, but look at how KFM's .cmd is.

Also, look at what Rajaa typed, and what you have shown us so far. They are two different things. They both belong in the .cmd.

Cyanide

Quote from: Getsuga Tensho on July 10, 2009, 12:45:38 AM
Quote from: Byakko on July 10, 2009, 12:35:05 AM
Read again what he told you to do.
QuoteChangestates triggered by complicated commands go above changestates triggered by less complicated commands.
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates
QuoteChangestates

Also, this and your previous question topic, I'm wondering - why are you asking questions if you don't even read the answers people give you ? If you don't do what people tell you to do ? If you can't do that, then don't ask.
I did do what he siad to do...still didnt work... --;
No you flaming didn't. Do you want me to spam changestates some more? Are you dealing with changestates in your spoilers? No you're not, do it properly.


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.

Girku

Here is the changestate for the attack...

Spoiler (click to show)

;Shunko
[State -1, Shunko]
type = Changestate
value = 555
triggerall = command = "Shunko"
triggerall = power >= 1000
trigger1 = ctrl = 1
triggerall = statetype = S
time = 20

It would also help if you guys would explain what I'm doing wrong...me trying to figure it out for my self isnt really getting me anywhere...due to the fact that i have no idea what the fuck im doing...How the hell else am I supposed to learn unless someone shows me how to do it right first... --;

Rajaa Retired

Quote from: Getsuga Tensho on July 10, 2009, 04:18:50 AM
Here is the changestate for the attack...

Spoiler (click to show)

;Shunko
[State -1, Shunko]
type = Changestate
value = 555
triggerall = command = "Shunko"
triggerall = power >= 1000
trigger1 = ctrl = 1
triggerall = statetype = S
time = 20

It would also help if you guys would explain what I'm doing wrong...me trying to figure it out for my self isnt really getting me anywhere...due to the fact that i have no idea what the fuck im doing...How the hell else am I supposed to learn unless someone shows me how to do it right first... --;
Are you serious?! I showed you EXACTLY how to do it right...

You have commands where you define the name and the buttons you need to press etc...

You have changestates that are triggered by those commands.

The changestates triggered by more complicated commands go above changestate triggered by less complicated commands...

I even game the perfect example in which you should have gotten it, instantly.

Stop saying no one is tell you the right way. YOU JUST AREN'T LISTENING. I mean how hard is it to differentiate "command" from "changestate"?!

Girku

Quote from: महान सम्राट on July 10, 2009, 05:20:12 AM
Quote from: Getsuga Tensho on July 10, 2009, 04:18:50 AM
Here is the changestate for the attack...

Spoiler (click to show)

;Shunko
[State -1, Shunko]
type = Changestate
value = 555
triggerall = command = "Shunko"
triggerall = power >= 1000
trigger1 = ctrl = 1
triggerall = statetype = S
time = 20

It would also help if you guys would explain what I'm doing wrong...me trying to figure it out for my self isnt really getting me anywhere...due to the fact that i have no idea what the fuck im doing...How the hell else am I supposed to learn unless someone shows me how to do it right first... --;
Are you serious?! I showed you EXACTLY how to do it right...

You have commands where you define the name and the buttons you need to press etc...

You have changestates that are triggered by those commands.

The changestates triggered by more complicated commands go above changestate triggered by less complicated commands...

I even game the perfect example in which you should have gotten it, instantly.

Stop saying no one is tell you the right way. YOU JUST AREN'T LISTENING. I mean how hard is it to differentiate "command" from "changestate"?!

I know that...I followed your Instructions...and didnt recive any positive results... --;

Shamrock

Wow.

Ok this,

Spoiler (click to show)

;Shunko
[State -1, Shunko]
type = Changestate
value = 555
triggerall = command = "Shunko"
triggerall = power >= 1000
trigger1 = ctrl = 1
triggerall = statetype = S
time = 20

Is this change state above, a change state with a less complicated command and do the change states below the one above have more complicated commands? Like Rajaa said? If not, you need to fix that.

In other words you need to change where this change state is in relation to less complicated and more complicated change states.

Fuck it man, just post your entire command file if you still can't get it.

Be nicer guys come on LOL.

Girku

#18
Quote from: shamrock on July 10, 2009, 05:53:37 AM
Wow.

Ok this,

Spoiler (click to show)

;Shunko
[State -1, Shunko]
type = Changestate
value = 555
triggerall = command = "Shunko"
triggerall = power >= 1000
trigger1 = ctrl = 1
triggerall = statetype = S
time = 20

Is this change state above, a change state with a less complicated command and do the change states below the one above have more complicated commands? Like Rajaa said? If not, you need to fix that.

In other words you need to change where this change state is in relation to less complicated and more complicated change states.

Fuck it man, just post your entire command file if you still can't get it.

Be nicer guys come on LOL.

Thank you for making a  solid effort to help me ...the others are like STFU NOOB FIGURE IT OUT FOR YOUR SELF.... But tryed what you said... moved stuff around again...and still no luck


Spoiler (click to show)

;Specials and Such



[State -1, ANKEN]
type = ChangeState
value = 1000
triggerall = ((command = "S-A_x"||command = "S-A_a"||command = "RF-A"))
triggerall = ((Numhelper(1007) < 1)) && ((Numhelper(1008) < 1))
triggerall = ((Numhelper(1009) < 1)) && ((Numhelper(1010) < 1))
triggerall = ((Numhelper(1011) < 1)) && ((Numhelper(1012) < 1))
triggerall = ((Numhelper(1013) < 1))
trigger1 = ctrl
trigger2 = (StateNo = [200,620]) && (MoveContact)
ignorehitpause = 1

;Shunko

[State -1, Shunko]
type = ChangeState
value = 555
triggerall = command = "Shunko"
triggerall = power >= 1000
trigger1 = statetype = S
trigger1 = ctrl=1
time=20

;Hyper Combo
[State -1, Hyper Combo]
type = ChangeState
value = 3000
triggerall = command = "SU-A"
triggerall =  statetype = S || statetype = C
triggerall = power >= 1000
triggerall = pos y >= 0
trigger1 = ctrl
trigger2 = (StateNo = [200,620]) && (MoveContact)
trigger3 = (StateNo = 1025) && (MoveContact)
ignorehitpause = 1





;power up

[State -1, power up]
type = ChangeState
value = 1500
triggerall =var(59)=0
triggerall =(Power < 9001) && (command = "charge")
trigger1 = (ctrl) && (StateType = S)




;flash step
[State -1, flash step]
type = ChangeState
value = 500
triggerall = power > 150
triggerall = var(0) != 75
triggerall = var(0) != 76
triggerall = command = "flash step"
trigger1 = (statetype = s) && ctrl



;FLASH AIR
[State -1, FLASH AIR]
type = ChangeState
value = 501
triggerall = var(0) != 75
triggerall = var(0) != 76
triggerall = power > 150
triggerall = command = "FLASH AIR"
trigger1 = (statetype = A) && ctrl

Tell ya what though this is really starting to piss me off... --;





Shamrock

Hey man, they made a solid effort. And I wouldn't have known about the syntax. I just compare what I'm doing to KFM. If it doesn't work I fall back on KFM's code. This is what you should have done.

Always read the docs and then look at KFM's code. 90% of everything you need to know is right there.

Still I'm glad you asked the question because I learned something new about the Syntax. I'm glad I pay attention to detail concerning KFM because I have never come across this problem.

So don't be mad at the people who really helped you. I just tried my best to translate what they were saying, into moronic noob. A language I'm fluent in.