YesNoOk
avatar

CHARACTER INTRO ON STAEDEF 190 (Read 1791 times)

Started by VBISON, February 13, 2020, 10:47:39 pm
Share this topic:
CHARACTER INTRO ON STAEDEF 190
#1  February 13, 2020, 10:47:39 pm
  • *
    • Venezuela
    • Skype - vincent041481@hotmail.com
    • https://www.facebook.com/VBISON/?ref=aymt_homepage_panel&eid=ARBzVldEx-q6-2yc16ueLiJUkmtjqXwSZYyfnt0H5dJeh_A1HFKx2W-takosBLy9-CFi9hH5MZi_KdGO
I totally forgot how add intros on the CNS files, i actually already have the sprites and the animations can someone give me a hand on this?

i just need to add the codes on the cns file:

; INTRO 3
[Statedef 192]
type = S
ctrl = 0
anim = 192
velset = 0,0


[State 192, 1]
type = ChangeAnim
trigger1 = RoundState = 0
value = 192

[State 192, 2]
type = AssertSpecial
trigger1 = 1
flag = Intro


[State 192, 3]
type = playsnd
trigger1 = animelem = 2
value = s8701, 6


[State 192, 4]
type = ChangeState
trigger1 = AnimTime = 0
value = 0

-------------------------------------------------------------------------------


; INTRO 2
[Statedef 191]
type = S
ctrl = 0
anim = 191
velset = 0,0


[State 191, 1]
type = ChangeAnim
trigger1 = RoundState = 0
value = 191

[State 191, 2]
type = AssertSpecial
trigger1 = 1
flag = Intro


[State 191, 3]
type = playsnd
trigger1 = animelem = 2
value = s8701, 1


[State 191, 4]
type = ChangeState
trigger1 = AnimTime = 0
value = 0

I know for a fact that statedef 190 has the intro that the character comes with it when i add them on cns of FF nothing happens and when i change the animation and value number on satedef 190 of any of the other 2 intros i want to add then it works but i want to add all the 3 intros together at random of course . i hope you understand what i mean. Thanks!
Re: CHARACTER INTRO ON STAEDEF 190
#2  February 17, 2020, 08:49:04 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Most people use 190 as an intro seletor. So you have a single changestate at time 0 with something like

Value = 191+random%6

If you had 6 intros from 191 to 196. Make sure the states are contiguous.


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.