Infinity MUGEN Team

IMT Main => M.U.G.E.N Help => Topic started by: mulambo on May 05, 2017, 05:15:18 AM

Title: RoundState 3 stucked.
Post by: mulambo on May 05, 2017, 05:15:18 AM
Well, I'm making a bonus stage with simply a char with height 3000, lots of missing sprites/animations and of course, lots of debug messages.

The bonus game is the classic sf2-style car that the player needs to destroy before time over. The match begins with player's life set to 1, so if the car's life is >1, the player loses the round.

It works fine, but since there must be some bugs in coding, lots of missing sprites and invalid actions, characters remain in standing position during time over display for about 30 seconds and that's really annoying. I've edited the "Time Over" message with "Time Over - Please Wait ... " but that's a cheap solution.

I think that's because the CPU goes on loop with something, while checking for the right stuff (that isn't there, of course, cause it's just a dummy char). So I need this "check" to be skipped by CPU.

Is there any sctrl to skip roundstates or just make the round end ? Or is there any way to make the State 0 able to decrease the car's life according to hit received (so I can just override 5000,... states) ?

Title: Re: RoundState 3 stucked.
Post by: Cyanide on May 05, 2017, 06:18:33 AM
Rounds don't end with ctrl = 0 set, has to be 1 at some point to allow for state changes to official ending states, either winpose or death.

Give the character control, if it's pure AI, it having ctrl won't matter. it just lets you out of basic stuff when it's all over.
Title: Re: RoundState 3 stucked.
Post by: mulambo on May 05, 2017, 07:41:37 AM
All right, now it works. I set a State -2 with Ctrlset if RoundState3.
Previously just gave ctrl to Statedef 0, but it guarded, now it works.
Thanks, also thanks for the stage tool good job
SimplePortal 2.3.5 © 2008-2012, SimplePortal