collapse

Author Topic: Helper Super Pause  (Read 3021 times)

0 Members and 1 Guest are viewing this topic.

Offline Acey

  • Infinity Administrator
  • *
  • Posts: 9579
  • Country: United States us
  • Last Login:December 05, 2022, 10:43:15 PM
  • "Victory means nothing, the fight is everything."
    • Infinity Wiki - Acey
    • Email
Helper Super Pause
« on: September 13, 2012, 11:51:42 AM »
I need some brain storming here:

I want my helper to move during my character's super pause, but to not move during the opponent's super pause... any ideas on how to solve this?



Offline ZVitor

  • IMT Content Architect
  • *
  • Posts: 2683
  • Last Login:January 01, 2024, 07:22:36 PM
    • Email
Re: Helper Super Pause
« Reply #1 on: September 13, 2012, 12:35:50 PM »
set on superpause "move" (or "movetime" cant remeber) = 60 (time),
and then add 60 ticks to char anim, if superpause happens on animelem = 2 and this frame time is 4 ticks, set it to 64.

helper is free to movement and it wil look like char are on superpause.

Offline Femrril

  • Initiate
  • **
  • Posts: 31
  • Last Login:June 23, 2016, 03:56:02 PM
Re: Helper Super Pause
« Reply #2 on: September 13, 2012, 12:55:44 PM »
You could use a variable that activate only when your char is in any of the stateno that you use for the hyper moves. Then in the helper definition use something like this :

supermovetime = ifelse(var(10), N ticks,0)

I didn t try it, i just think this could work.

Offline Acey

  • Infinity Administrator
  • *
  • Posts: 9579
  • Country: United States us
  • Last Login:December 05, 2022, 10:43:15 PM
  • "Victory means nothing, the fight is everything."
    • Infinity Wiki - Acey
    • Email
Re: Helper Super Pause
« Reply #3 on: September 13, 2012, 10:20:12 PM »
You could use a variable that activate only when your char is in any of the stateno that you use for the hyper moves. Then in the helper definition use something like this :

supermovetime = ifelse(var(10), N ticks,0)

I didn t try it, i just think this could work.

That was my first thought too, I tried each of the parts seprately earlier. Supermovetime doesn't like ifelse statements or variables it seems.  :-??

set on superpause "move" (or "movetime" cant remeber) = 60 (time),
and then add 60 ticks to char anim, if superpause happens on animelem = 2 and this frame time is 4 ticks, set it to 64.

helper is free to movement and it wil look like char are on superpause.
This could work. Then I can set the helper's general supermovetime = 0 then use this trick for the character's own hypers. I'll let you know!

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Helper Super Pause
« Reply #4 on: September 14, 2012, 07:26:26 AM »
That's what supermovetime is for. If you spawn the helper prior to the superpause it will be able to move through it. Using supermovetime won't allow the helper to move through the opponents pause regardless.

Offline Acey

  • Infinity Administrator
  • *
  • Posts: 9579
  • Country: United States us
  • Last Login:December 05, 2022, 10:43:15 PM
  • "Victory means nothing, the fight is everything."
    • Infinity Wiki - Acey
    • Email
Re: Helper Super Pause
« Reply #5 on: September 14, 2012, 10:06:46 AM »
...Using supermovetime won't allow the helper to move through the opponents pause regardless.

That's intersting, because it is moving through the opponent's super pause. Also if I set the supermovetime = 0 then it stops moving during the opponet's super pause. Maybe this is another hidden mugen 1.0 present.

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Helper Super Pause
« Reply #6 on: September 14, 2012, 05:27:56 PM »
It shouldn't, otherwise you could bypass opponent superpauses by applying a long supermovetime from your own superpause.

Offline Acey

  • Infinity Administrator
  • *
  • Posts: 9579
  • Country: United States us
  • Last Login:December 05, 2022, 10:43:15 PM
  • "Victory means nothing, the fight is everything."
    • Infinity Wiki - Acey
    • Email
Re: Helper Super Pause
« Reply #7 on: October 02, 2012, 03:44:36 PM »
FYI, the solution I implimented is as follows:

1) set the helper supermovetime = 0 in the sctrl that creates the helper. This means it will pause durring the opponent's hypers (as well as the parent's hypers).

2) Add a superpause sctrl in the helper's own statedef that triggers when the parent is in a superpause (in this case the activation of a hyper helper) and set the supermovetime = 60 (same time as the parent's superpausetime and supermovetime).

I hadn't know that you can use another superpause sctrl to adjust the helper's predefined supermovetime. Now I know!

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Helper Super Pause
« Reply #8 on: October 02, 2012, 09:27:22 PM »
Yeah, that'd be correct, apparently supermovetime is global, which is terrible.

Tags:
 


* 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

Ballroom Hallway (1.1 Only/AIGS) by Vegaz by LightFlare
[Today at 11:53:48 AM]


Neon Light Force Demo by kyoman
[May 08, 2024, 12:50:05 PM]


D2TD VS Showcase Thread by D2TD
[May 05, 2024, 10:08:50 AM]


Classic VS : Athena by ELECTRO
[May 02, 2024, 09:44:33 PM]


Lasombra's IKEMEN Go Interactive Stages' WIP Topic and Releases by Lasombra Demon
[April 21, 2024, 12:09:20 PM]


Ultimate E. Honda + stage by ELECTRO
[April 18, 2024, 09:47:24 PM]


Sunset Beach (1.1 Only/AIGS) by Vegaz by LightFlare
[April 16, 2024, 06:55:00 PM]


Wonder Twins 2.0 by brucewayne74, Shining and Skhsato123 by brucewayne74
[April 05, 2024, 06:07:48 PM]


X-Men Training Room (Bright & Dark) Stage 1.1 & 1.0 by MatreroG
[April 05, 2024, 10:55:29 AM]


[WIP] Pocket Dimensional Clash 2 by O Ilusionista
[April 01, 2024, 11:03:03 PM]

* IMT Calendar

May 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 31

SimplePortal 2.3.5 © 2008-2012, SimplePortal