YesNoOk
avatar

Problem with a char in Mugen 1.0, but not in winmugen (Read 813 times)

Started by supergarrocha, March 16, 2014, 11:57:06 pm
Share this topic:
Problem with a char in Mugen 1.0, but not in winmugen
#1  March 16, 2014, 11:57:06 pm
  • **
    • sites.google.com/site/mugensbestspritersintheworld/
Hi. I get this error message with a char in Mugen 1.0, but the char works perfectly well in winmugen. (It is a char that doesn't move)


Error message: Need at least 1 trigger
Error parsing [State 0, ChangeState]
Error in [Statedef 5900]
Error in chars/Juan/common1.cns
Error loading chars/Juan/Juan.def
Error loading p1


This is my

[Statedef 5900]
[State 0, ChangeState]
type = ChangeState
;trigger1 =
value = RoundState
ctrl = 0
;anim =
;ignorehitpause =
;persistent =


what's wrong with these guys?
Re: Problem with a char in Mugen 1.0, but not in winmugen
#2  March 17, 2014, 11:49:20 pm
  • ***
    • Romania
    • negative-edge.net
This is how your state 5900 needs to look like :

Spoiler, click to toggle visibilty
Re: Problem with a char in Mugen 1.0, but not in winmugen
#3  March 18, 2014, 07:33:15 am
  • ****
  • Still lurks regularly, but posts once a blue moon
    • Canada
[Statedef 5900]

[State 0, ChangeState]
type = ChangeState
;trigger1 =
value = RoundState
ctrl = 0
;anim =

;ignorehitpause =
;persistent =[/b]
The code you posted isn't even complete.  No wonder it's not working.  I'm pretty surprised that winMugen is not crashing from this.

Quote
Error message: Need at least 1 trigger
That's the problem that's causing Mugen to freak out.  Every sctrl needs at least one trigger, even if the code isn't supposed to be run.
If you want to keep the code fragment, yet don't want Mugen to read it, I would suggest that you comment out the sctrl.

...
Wait a minute... is that the entire State 5900!?!?
Re: Problem with a char in Mugen 1.0, but not in winmugen
#4  March 24, 2014, 04:06:17 am
  • **
    • sites.google.com/site/mugensbestspritersintheworld/
Thank Ngeo and vgma for your help.
This code that you gave me worked well for mugen 1.0. However, I have a new problem now. It is that when this char either wins a fight or loses it, the 170 and 180 animations aren't shown.
What should be done to solve this problem.
This is how your state 5900 needs to look like :

Spoiler, click to toggle visibilty


Thanks guys.