collapse

Author Topic: RoundState 3 stucked.  (Read 607 times)

0 Members and 1 Guest are viewing this topic.

Offline mulambo

  • Contributor
  • ****
  • Posts: 345
  • Country: Italy it
  • Last Login:July 01, 2023, 08:06:41 PM
  • Godsent Devil
    • Website
RoundState 3 stucked.
« 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) ?




Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: RoundState 3 stucked.
« Reply #1 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.

Offline mulambo

  • Contributor
  • ****
  • Posts: 345
  • Country: Italy it
  • Last Login:July 01, 2023, 08:06:41 PM
  • Godsent Devil
    • Website
Re: RoundState 3 stucked.
« Reply #2 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

Tags: LOL 
 


* IMT Facebook

Help us by Donating!

IMT Discord

Join us at our Discord! Click the image below!

* IMT Shoutbox

Sorry, this shoutbox does not exist.

* Recent Posts

* IMT Calendar

April 2024
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 [16] 17 18 19 20
21 22 23 24 25 26 27
28 29 30

SimplePortal 2.3.5 © 2008-2012, SimplePortal