YesNoOk
avatar

How do you make one intro play after the other, and not at the same time? (Read 704 times)

Started by moonshine, October 24, 2012, 02:49:56 am
Share this topic:
How do you make one intro play after the other, and not at the same time?
#1  October 24, 2012, 02:49:56 am
  • avatar
  • *
    • Australia
    • cl1991@live.com.au
Some of my characters have a video intro that plays on the screen and i was wandering how would i make it so one charaters video plays then when its done the next character video plays?

Xan

Re: How do you make one intro play after the other, and not at the same time?
#2  October 24, 2012, 02:50:56 am
  • ******
  • I am light.
    • Skype - Istillhasnoname
I'm sure there's some coding in some characters (The_None's Segalow) that makes their intro play after P2's. You might want to check that out and see what the code says.
MY YOUTUBE || MY TUMBLR

Xan is always lovable
Is finding MUGEN to be more enjoyable to play when you're not wearing clothes an underrated opinion?
Re: How do you make one intro play after the other, and not at the same time?
#3  October 24, 2012, 03:08:55 am
  • avatar
  • *
    • Australia
    • cl1991@live.com.au
i just checked him out he doesnt seem to have it though.

Xan

Re: How do you make one intro play after the other, and not at the same time?
#4  October 24, 2012, 03:09:48 am
  • ******
  • I am light.
    • Skype - Istillhasnoname
His "Within my body lies the whole of the universe, I am eternal!" and Ragna the Bloodedge intros both play after P2's intros.
MY YOUTUBE || MY TUMBLR

Xan is always lovable
Is finding MUGEN to be more enjoyable to play when you're not wearing clothes an underrated opinion?
Re: How do you make one intro play after the other, and not at the same time?
#5  October 24, 2012, 03:21:16 am
  • avatar
  • *
    • Australia
    • cl1991@live.com.au
oh now i see the code but i find it a little hard to understand exactly what i need to put in, so ill need to make seperate intros with the two characters that have the videos?

Xan

Re: How do you make one intro play after the other, and not at the same time?
#6  October 24, 2012, 03:23:11 am
  • ******
  • I am light.
    • Skype - Istillhasnoname
You mean make the intros play after one another when facing each other? I'm sure you can just specify P2 and whatnot. I don't know anything about coding, so I'm not sure I can help you past this.
MY YOUTUBE || MY TUMBLR

Xan is always lovable
Is finding MUGEN to be more enjoyable to play when you're not wearing clothes an underrated opinion?
Re: How do you make one intro play after the other, and not at the same time?
#7  October 24, 2012, 03:24:52 am
  • avatar
  • *
    • Australia
    • cl1991@live.com.au
oh ok thanks for your help ill see if someone knows how to code to specify when player 2 starts their intro.
Re: How do you make one intro play after the other, and not at the same time?
#8  October 24, 2012, 04:50:37 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
If it's Nones characters, he knows how long his intros are. A basic methodology would be in state 190 you don't let them leave it until enemynear(0), stateno = 0. You will need to add that to all your changestates in state 190 and ONLY have that happen if teamside = 2 (or alternatively facing = -1)

Basically they'll be frozen in the "intro choice" state until they can see that p1 is in a standing state then they start. Can get ugly, specially with long intros.


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: How do you make one intro play after the other, and not at the same time?
#9  October 24, 2012, 06:12:52 am
  • avatar
  • *
    • Australia
    • cl1991@live.com.au
Ok i dont know exactly what to write in the code but heres on characters intro, i know how long each intro goes for and it plays on the whole screen, So what exactly would i type and where?
Introduction
[Statedef 191]
type = S
ctrl = 0
anim = 190
velset = 0,0

[State 191, PlaySnd]
type = PlaySnd
trigger1 = time = 1
value = s242,0

[State 191, 1] ;Freeze animation until PreIntro is over
type = ChangeAnim
trigger1 = time = [0,1153]
value = 190

[State 191, 2] ;Assert this until you want "round 1, fight" to begin
type = AssertSpecial
trigger1 = time = [0,1153]
flag = Intro

[State 191, 3] ;Change to stand state when done
type = ChangeState
trigger1 = time = 1153
value = 0

[State 191, Snd 1]
type = PlaySnd
trigger1 = AnimElem = 7
value = F5,2
volume = -40

[State 191, Snd 2]
type = PlaySnd
trigger1 = AnimElemTime(7) = 3
value = F5,3
volume = -80

[State 1027, Movie]
type = Explod
trigger1 = time = 0
anim = 242
ID = 242
pos =  0,0
postype = left  ;p2,front,back,left,right
bindtime = 2
removetime = 1153
pausemovetime = 444
sprpriority = 5
Re: How do you make one intro play after the other, and not at the same time?
#10  October 24, 2012, 10:31:15 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
You need to override state 190 first. That's a solid intro, not a "picker" which we want.

We hold fire in the "choice" intro before moving onto the official one.


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: How do you make one intro play after the other, and not at the same time?
#11  October 25, 2012, 03:16:15 am
  • avatar
  • *
    • Australia
    • cl1991@live.com.au
ok so heres the state decider, what should i put where?

[Statedef 190]
type = S

[State 190, 1]
type = VarRandom
trigger1 = Time = 0
v = 1
range = 0,100

[State 190, 2]
type = ChangeState
trigger1 = Time = 1
trigger1 = var(1) = [0,35]
value = 191

[State 190, 3]
type = ChangeState
trigger1 = Time = 1
trigger1 = var(1) = [35,75]
value = 192

[State 190, 3]
type = ChangeState
trigger1 = Time = 1
trigger1 = var(1) = [75,100]
value = 193
Re: How do you make one intro play after the other, and not at the same time?
#12  October 25, 2012, 04:26:32 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
[State 190, 2]
type = ChangeState
triggerall = var(1) = [0,35]
trigger1 = time = 1 && teamside = 1
trigger2 = enemynear(0), stateno = 0 && teamside = 2
value = 191

[State 190, 3]
type = ChangeState
triggerall = var(1) = [35,75]
trigger1 = time = 1 && teamside = 1
trigger2 = enemynear(0), stateno = 0 && teamside = 2
value = 192

[State 190, 3]
type = ChangeState
triggerall = var(1) = [75,100]
trigger1 = time = 1 && teamside = 1
trigger2 = enemynear(0), stateno = 0 && teamside = 2
value = 193

I don't have the DOCS available, please confirm i have the teamside triggers correct, it might be 0 and 1 rather than 1 and 2 i can't remember.


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: How do you make one intro play after the other, and not at the same time?
#13  October 25, 2012, 05:22:13 am
  • avatar
  • *
    • Australia
    • cl1991@live.com.au
amazing it works now :) But now how do i make it play after eachother when their on the same team what code would i write?
Re: How do you make one intro play after the other, and not at the same time?
#14  October 25, 2012, 07:30:52 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Ugh, now you're getting complicated.

Do you want it to play after partner, with p2 still waiting or ignoring p2 altogether?

trigger3 = numpartner
trigger3 = ID > partner, ID
trigger3 = partner, stateno = 0


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: How do you make one intro play after the other, and not at the same time?
#15  October 25, 2012, 07:35:16 am
  • avatar
  • *
    • Australia
    • cl1991@live.com.au
Yes, play it after partner with p2 still waiting.
Re: How do you make one intro play after the other, and not at the same time?
#16  October 25, 2012, 07:57:13 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
change enemynear(0) triggers above to

enemynear(0), stateno = 0 && enemynear(numenemy = 2), stateno = 0


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: How do you make one intro play after the other, and not at the same time?
#17  October 25, 2012, 08:29:25 am
  • avatar
  • *
    • Australia
    • cl1991@live.com.au
ok now when their in Team vs (simul) mode only P1 plays then P3 but not P2 and P4, Heres what i put down so far

[Statedef 190]
type = S

[State 190, 2]
type = ChangeState
triggerall = var(1) = [0,35]
trigger1 = time = 1 && teamside = 1
trigger2 = enemynear(0), stateno = 0 && enemynear(numenemy = 2), stateno = 0
trigger3 = numpartner
trigger3 = ID > partner, ID
trigger3 = partner, stateno = 0
value = 191
Re: How do you make one intro play after the other, and not at the same time?
#18  October 25, 2012, 10:01:10 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
All 4 are the same player? If they don't both enter state 0, it'll never get there. Some intro's may end differently.


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: How do you make one intro play after the other, and not at the same time?
#19  October 25, 2012, 11:38:40 am
  • avatar
  • *
    • Australia
    • cl1991@live.com.au
no they are not the same player, but I put that code in each of the charcters intro state decider, What happens is team 1 play their intros at the same time then team 2 plays their intro at the same time, i need it to go one at a time.

2OS

Re: How do you make one intro play after the other, and not at the same time?
#20  October 25, 2012, 01:06:33 pm
  • ****
  • Ich schicke dich zur HOELLE ! ¡ ! ¡
    • Egypt
    • deuceovspadez.webs.com/
trigger1=id=56
trigger2=id=57
trigger2=playeridexist(56)
trigger2=playerid(56),stateno=0
trigger3=id=58
trigger3=playeridexist(56)
trigger3=playerid(56),stateno=0
trigger3=playeridexist(57)
trigger3=playerid(57),stateno=0
trigger4=id=59
trigger4=playeridexist(56)
trigger4=playerid(56),stateno=0
trigger4=playeridexist(57)
trigger4=playerid(57),stateno=0
trigger4=playeridexist(58)
trigger4=playerid(58),stateno=0


[ 052012 ] Inazumachi 181/256  /  deviantART   /  2OS Grafphicsxz  Dead Anims ( Orochi/Mizuchi )  /  608's FX Volume 3
Last Edit: October 25, 2012, 02:04:04 pm by 2OS
Re: How do you make one intro play after the other, and not at the same time?
#21  October 25, 2012, 02:01:05 pm
  • avatar
  • *
    • Australia
    • cl1991@live.com.au
ok so now this is the code ive put in to each of the characters and they still play the ones on the team at the same time.

[Statedef 190]
type = S

[State 190, 2]
type = ChangeState
triggerall = var(1) = [0,35]
trigger1=teamside=1
trigger2=numenemy=1
trigger2=playeridexist(56)
trigger2=playerid(56),stateno=0
trigger3=numenemy=2
trigger3=playeridexist(56)
trigger3=playerid(56),stateno=0
trigger3=playeridexist(58)
trigger3=playerid(58),stateno=0
value = 191

2OS

Re: How do you make one intro play after the other, and not at the same time?
#22  October 25, 2012, 02:05:22 pm
  • ****
  • Ich schicke dich zur HOELLE ! ¡ ! ¡
    • Egypt
    • deuceovspadez.webs.com/
edited post.


[ 052012 ] Inazumachi 181/256  /  deviantART   /  2OS Grafphicsxz  Dead Anims ( Orochi/Mizuchi )  /  608's FX Volume 3
Re: How do you make one intro play after the other, and not at the same time?
#23  October 25, 2012, 02:26:21 pm
  • avatar
  • *
    • Australia
    • cl1991@live.com.au
Amazing!! It now works thanks for your help man!.