YesNoOk
avatar

Chaos control (stoping time) (Read 1914 times)

Started by DarkVyse, February 05, 2008, 04:50:06 pm
Share this topic:
Chaos control (stoping time)
#1  February 05, 2008, 04:50:06 pm
  • avatar
  • **
Ok for one of my hyper moves for sonic i want to do Chaos control that stop time like rare Akuma can do. Can some one plz tell or show me the code to do that? This chaos control is for bata release then i will change it to rageing demon verion later on for the main release and change stoping time to sonic's Time brake.
47%
Re: Chaos control (stoping time)
#2  February 05, 2008, 07:37:08 pm
  • **
use a pause or superpause :P
Re: Chaos control (stoping time)
#3  February 05, 2008, 11:55:04 pm
  • avatar
  • **
already did that but now i carnt move i need to stop time for all except sonic how do i do that?
47%
Re: Chaos control (stoping time)
#4  February 05, 2008, 11:57:29 pm
  • **
on a pause modify these value

movetime = 1  <- - - -  time that you can move while the pause is active
Re: Chaos control (stoping time)
#5  February 06, 2008, 12:03:26 am
  • ***
  • Vans Worshipper
  • Ø
    • www.fongo-world.com
use a helper to keep track of the freeze time and set a var whenever it's done + the pauses in the statedef -2 using that var in the triggers.


can't really explain better right now because of my frustration with MUGEN.
Re: Chaos control (stoping time)
#6  February 06, 2008, 02:51:59 pm
  • avatar
  • **
ok here is the code i got atm ;chaos control
[StateDef 3500]
type = S
movetype= A
physics = N
juggle  = 1
velset = 0,0
ctrl = 0
anim = 3500
sprpriority = 2

[State 3500, Helper]
type = Helper
trigger1 = !time
helpertype = normal ;player
name = "helper"
ID = 3500
stateno = 3500
pos = 0,0
postype = p1    ;p2,front,back,left,right
facing = 1
keyctrl = 0
ownpal = 0
supermove = 255
pausemove = 255
;size.xscale (float)
;size.yscale (float)
;size.ground.back (int)
;size.ground.front (int)
;size.air.back (int)
;size.air.front (int)
;size.height (int)
;size.proj.doscale (int)
;size.head.pos (int,int)
;size.mid.pos (int,int)
;size.shadowoffset (int)
;ignorehitpause =
;persistent =

[State 3500, Pause]
type = Pause
trigger1 = !time
time = 1
movetime = 1
;ignorehitpause =
;persistent =


[State 3500, end]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 0
ctrl = 0

when i use it its not frezzing time but leaving images of my sonic all over the screen.
47%
Re: Chaos control (stoping time)
#7  February 06, 2008, 03:08:10 pm
  • **
Maybe there is a problem with your helper I dont know

[State 3500, Pause]
type = Pause
trigger1 = !time
time = 1  <- - - -  these value its too  little to make something relevant try using  10 or more
movetime = 1 <- - - - - same here
;ignorehitpause =
;persistent =
Re: Chaos control (stoping time)
#8  February 06, 2008, 04:49:10 pm
  • avatar
  • **
ok getting there 2player is now not moving wich is what i want but 1player is leaving a image of him self after pause is active how do i remove it
47%
Last Edit: February 06, 2008, 04:52:47 pm by DarkVyse
Re: Chaos control (stoping time)
#9  February 06, 2008, 05:04:25 pm
  • **
I dont know check your helper ???
Re: Chaos control (stoping time)
#10  February 06, 2008, 05:10:47 pm
  • ******
  • [E]
    • Mexico
try using a different trigger for your helper and the pause.
Re: Chaos control (stoping time)
#11  February 06, 2008, 11:46:53 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
type = pause
time = duration you want p2 paused for
movetime = time you wish to be able to move during pause.

Helper, is recreating itself because you've sent it to the state you create it in. May as well remove it as it's not really necessary.


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.
Re: Chaos control (stoping time)
#12  February 07, 2008, 12:49:05 am
  • avatar
  • **
ok every thinks working now thanks for the help. Sub1117 you dont need a helper so delete it if you all ready set it here is the working code that i got

;chaos control
[StateDef 3500]
type = S
movetype= A
physics = N
juggle  = 1
velset = 0,0
ctrl = 0
anim = 3500
sprpriority = 2

[State 3500, PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 1
value = S1,4
volume = 255
channel = -1
;lowpriority = -1
freqmul = 1.0
loop = 0
pan = 0
;abspan =
;ignorehitpause =
;persistent =

[State 2500, SuperPause]
type = SuperPause
trigger1 = !time
sound = S10,0
time = 100
moveTime = 100
darken = 1
;ignorehitpause =
;persistent =


[State 3500, Pause]
type = Pause
trigger1 = !time
time = 255
movetime = 255
;ignorehitpause =
;persistent =


[State 3500, end]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1
ctrl = 1
47%
Re: Chaos control (stoping time)
#13  February 07, 2008, 02:30:00 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
You don't need both pause AND superpause either. 1 or the other will suffice.


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.
Re: Chaos control (stoping time)
#14  February 08, 2008, 02:01:58 pm
  • avatar
  • **
i only but in superpause to give the effect that a super/hyper move has been active and normal pause to kick the hell out of 2 player. Dont have any proplems ATM so i will keep it for now may chage it later.
47%
Re: Chaos control (stoping time)
#15  February 08, 2008, 09:56:01 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
You realise the superpause can be used to kick the hell out of p2 just as well as the normal pause right?


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.
Re: Chaos control (stoping time)
#16  February 09, 2008, 06:02:50 am
  • **
  • Splowshunsz :D
okay, im making the same thing, but my animation isnt coming out, i dissapear and then i could move
Re: Chaos control (stoping time)
#17  February 09, 2008, 04:48:13 pm
  • ******
  • [E]
    • Mexico
post your code.
Re: Chaos control (stoping time)
#18  February 13, 2008, 02:00:06 pm
  • avatar
  • **
okay, im making the same thing, but my animation isnt coming out, i dissapear and then i could move

Ok is your begining animation a attack or turnt pose? my super move starts as a turnt with sonic saying chaos control then i can move and then attack 2 player.
47%