YesNoOk
avatar

Character interaction at start of fights (Read 387 times)

Started by themiband, June 10, 2008, 08:53:57 am
Share this topic:
Character interaction at start of fights
#1  June 10, 2008, 08:53:57 am
  • avatar
I really want to know how to add in more Character interaction to my fighters. I have an Evil ryu & evil Ken who have a lovely lil chit chat before they fight that i found. I'd really like to make my other characters do the same. I've always wanted someone to make a jab at E honda for his weight or say something to Vega about that silly sash he wears.
Re: Character interaction at start of fights
#2  June 10, 2008, 10:04:52 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
You'll need to learn to code then.

Depends a little on how you want it to work but in general you'll be using the p2name trigger, and teammode so it doesn't occur in simul and mess things up.

You'll either be creating full blown animations for the intro (like ryu vs ken in CvS2) or just text box things (SvC) via explod.

I would suggest looking at how your ryu and ken do it. (probably both by the same author) Go from there and see what you turn up.


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: Character interaction at start of fights
New #3  June 10, 2008, 08:21:27 pm
  • avatar
ok dude well i'm using fighter factory (i'm totally new to this i'm not even sure its the approriate tool) this is what it says in the constants.

;------------------------------------------------------------
; Introduction Against M. Bison

[Statedef 9500]
type = S
ctrl = 0
anim = 0
velset = 0,0

[State 9500, 2] ;Assert this until you want "round 1, fight" to begin
type = AssertSpecial
trigger1 = Time <= 1300
flag = Intro

[State 9500, Exlod] ;Textbox background
type = Explod
trigger1 = Time = 100
anim = 9501
postype = left
pos = 160,50
ownpal = 1
sprpriority = 5

[State 9500, Exlod2] ;Text
type = Explod
trigger1 = Time = 80
anim = 9500
postype = left
pos = 160,50
ownpal = 1
ontop = 1

[State 9500, 4] ;Change to stand state
type = ChangeState
trigger1 = Time = 1300
value = 0

;------------------------------------------------------------

i'm assumin that state 9500 in some way refers to the animation i've found that says begin action 9500. aside from that this all seems a bit gibberish to me tbh. is there a tutorial you could point me towards or a helpful old readme file reboot style i could use

oh and there's this

;---------------------------------------------------------------------------
; Preintro

[Statedef 190]
type = S
ctrl = 0
velset = 0,0

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

[State 190, Bison]
type = ChangeState
trigger1 = p2name = "Bison"
trigger2 = p2name = "M. Bison"
trigger3 = p2name = "M Bison"
value = 9500

which probably does something as well that i don't understand. thanks dude
Last Edit: June 10, 2008, 09:15:40 pm by themiband