collapse

Author Topic: How to make dialogues in the style of SvC: Chaos?  (Read 1164 times)

0 Members and 1 Guest are viewing this topic.

Offline Trinitronity

  • Infinity Regular
  • ****
  • Posts: 841
  • Country: Germany de
  • Last Login:January 13, 2023, 01:26:38 PM
  • Working on coming back to MUGEN
    • Email
How to make dialogues in the style of SvC: Chaos?
« on: September 25, 2012, 01:08:29 PM »
I had got the idea from Nestor's full game "Capcom Fighting All-Stars", though I want to use the explod method instead. I want them to work like that:
The screen fades in, with the chars doing their intros, while there's a display for each char, and when the chars finished their intro and when both displays disappears (the display either disappear when you select the "OK" option and press start or after 5 seconds of inactivity), the dialogue will start (which will be different for every char). When you press down (it was originally supossed to be the start button again), the dialogue progresses to the next line.
I already tried to ask at MFG, but I got a very unhelpful comment from Cyanide:
You cannot do the press start method. Pressing anything other than a direction key will cancel the intros.

It's still just explod with triggers on enemyname. There is no template, you're just showing an explod. You can make it type out sentences or simply display the text, there is NOTHING stopping you doing an explod.
I'm asking this, 'cause this is the FIRST time I work with dialogues, and the full game just cannot work without the dialogues, since it's very story-heavy.
Could someone help me there? Thanks in advance!
« Last Edit: September 27, 2012, 05:31:33 AM by Trinitronity »



Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Hot to make dialogues in the style of SvC: Chaos?
« Reply #1 on: September 26, 2012, 03:27:04 AM »
You didn't come back with further questions. Nor did you explain all this in so much detail on guild. Nor did anyone know if you'd done ANYTHING yourself so far. You've asked a few questions. Have you used explod before? How about the p2name trigger? How about simply starting with what you know and expanding it. Here is the first step for you.

Create the dialogue you need. Add it to mugen. Make it display during an intro. We will expand from that when you have actually done it.

And yes, i frequent many places.

Offline Trinitronity

  • Infinity Regular
  • ****
  • Posts: 841
  • Country: Germany de
  • Last Login:January 13, 2023, 01:26:38 PM
  • Working on coming back to MUGEN
    • Email
Re: Hot to make dialogues in the style of SvC: Chaos?
« Reply #2 on: September 26, 2012, 01:50:03 PM »
You didn't come back with further questions. Nor did you explain all this in so much detail on guild. Nor did anyone know if you'd done ANYTHING yourself so far. You've asked a few questions. Have you used explod before? How about the p2name trigger? How about simply starting with what you know and expanding it. Here is the first step for you.

Create the dialogue you need. Add it to mugen. Make it display during an intro. We will expand from that when you have actually done it.

And yes, i frequent many places.
I have udes explods before, but just for basic things. Making dialogues is already a higher level.
However, I found a similar code , where text appears (though as a SF4-styled winquote):
Code: [Select]
[statedef 19000]
type=a
movetype=i
physics=n
anim=99999
sprpriority=4000

[state config]
type=null
triggerall=!time
trigger1=0&&var(59):=156        ; pause time (also specifies when the portrait and winquote appear)
trigger2=0&&var(58):=8          ; number of winquotes (anims 18062+)
trigger3=0&&var(57):=-16        ; portrait x offset
trigger4=0&&var(56):=16         ; portrait y offset
trigger5=0&&fvar(39):=.4        ; portrait scale
trigger6=0&&var(56):=6          ; D rank (Technique)
trigger7=0&&var(55):=13         ; C rank (Technique)
trigger8=0&&var(54):=25         ; B rank (Technique)
trigger9=0&&var(53):=50         ; A rank (Technique)

[state vars]
type=null
triggerall=!time
trigger1=0&&var(0):=floor((root,var(32)%1000)*1./roundno/20)
trigger2=var(0)=5
trigger2=0&&var(0):=4
trigger3=0&&var(1):=floor((root,var(32)%1000000)*1./1000/roundno/20)
trigger4=var(1)=5
trigger4=0&&var(1):=4
trigger5=0&&var(2):=floor((root,var(32)%1000000000)*1./1000000)
trigger6=var(2)<6
trigger6=0&&var(2):=0
trigger7=var(2)=[var(56),var(55))
trigger7=var(2):=1
trigger8=var(2)=[var(55),var(54))
trigger8=var(2):=2
trigger9=var(2)=[var(54),var(53))
trigger9=var(2):=3
trigger10=var(2)>=var(53)
trigger10=var(2):=4

[state dtc]
type=displaytoclipboard
text="%d %d %d"
params=var(0),var(1),var(2)
trigger1=1

[state pos]
type=posadd
x=260-screenpos x
y=90-screenpos y
trigger1=1

[state assert]
type=assertspecial
flag=noshadow
flag2=roundnotover
flag3=nomusic
trigger1=1

[state assert]
type=assertspecial
flag=nobardisplay
flag2=nofg
trigger1=1

[state spot1]
type=explod
id=19023
anim=19023
postype=left
pos=204,31
scale=.5,.5
ontop=1
ownpal=1
trans=addalpha
alpha=32,256
supermovetime=44444444
pausemovetime=44444444
trigger1=time=44

[state spot1 ctrl]
type=modifyexplod
id=19023
postype=left
pos=204,31
trans=addalpha
alpha=32*(time-43),256
trigger1=time=[45,51]

[state spot1 ctrl]
type=modifyexplod
id=19023
postype=left
pos=204,31
trans=add
trigger1=time>51

[state spot2]
type=explod
id=19024
anim=19023
postype=left
pos=188,64
scale=.5,.5
ontop=1
ownpal=1
trans=addalpha
alpha=32,256
supermovetime=44444444
pausemovetime=44444444
trigger1=time=44

[state spot2 ctrl]
type=modifyexplod
id=19024
postype=left
pos=188,64
trans=addalpha
alpha=32*(time-43),256
trigger1=time=[45,51]

[state spot2 ctrl]
type=modifyexplod
id=19024
postype=left
pos=188,64
trans=add
trigger1=time>51

[state caption alpha]
type=explod
id=19027
anim=19027
postype=left
pos=193,28
scale=.5,.5
ontop=1
ownpal=1
trans=addalpha
alpha=32,256
supermovetime=44444444
pausemovetime=44444444
trigger1=time=44

[state caption alpha ctrl]
type=modifyexplod
id=19027
postype=left
pos=193,28
trans=addalpha
alpha=32*(time-43),256
trigger1=time=[45,51]

[state caption alpha ctrl]
type=modifyexplod
id=19027
postype=left
pos=193,28
trans=add
trigger1=time>51

[state caption]
type=explod
id=19022
anim=19022
postype=left
pos=193,28
scale=.5,.5
ontop=1
ownpal=1
trans=sub
supermovetime=44444444
pausemovetime=44444444
trigger1=time=44

[state caption ctrl]
type=modifyexplod
id=19022
postype=left
pos=193,28
trans=sub
trigger1=time=[45,51]

[state caption ctrl]
type=modifyexplod
id=19022
postype=left
pos=193,28
trans=sub
trigger1=time>51

[state window alpha]
type=explod
id=19061
anim=19061
postype=right
pos=-6,192
ontop=1
ownpal=1
supermovetime=44444444
pausemovetime=44444444
scale=.03125,.5
trans=addalpha
alpha=16,256
trigger1=time=var(59)-16

[state window alpha ctrl]
type=modifyexplod
id=19061
postype=right
pos=-6,192
scale=.03125*(time-var(59)+17),.5
trans=addalpha
alpha=16*(time-var(59)+17),256
trigger1=time=[var(59)-15,var(59)-1]

[state window alpha ctrl]
type=modifyexplod
id=19061
postype=right
pos=-6,192
scale=.5,.5
trans=add
trigger1=time>var(59)-1

[state window]
type=explod
id=19060
anim=19060
postype=right
pos=-6,192
ontop=1
ownpal=1
supermovetime=44444444
pausemovetime=44444444
scale=.03125,.5
trans=sub
trigger1=time=var(59)-16

[state window ctrl]
type=modifyexplod
id=19060
postype=right
pos=-6,192
scale=.03125*(time-var(59)+17),.5
trans=sub
trigger1=time=[var(59)-15,var(59)-1]

[state window ctrl]
type=modifyexplod
id=19060
postype=right
pos=-6,192
scale=.5,.5
trans=sub
trigger1=time>var(59)-1

[state msg]
type=explod
id=19062
anim=19062+random%var(58)
postype=left
pos=4,192
ontop=1
supermovetime=44444444
pausemovetime=44444444
ownpal=1
scale=.03125,.5
trans=addalpha
alpha=16,240
trigger1=time=var(59)-16

[state msg ctrl]
type=modifyexplod
id=19062
postype=left
pos=4,192
scale=.03125*(time-var(59)+17),.5
trans=addalpha
alpha=16*(time-var(59)+17),256-(time-var(59)+17)*16
trigger1=time=[var(59)-15,var(59)-1]

[state msg ctrl]
type=modifyexplod
id=19062
postype=left
pos=4,192
scale=.5,.5
trans=none
trigger1=time>var(59)-1

[state darken]
type=explod
id=19041
anim=19041
postype=left
pos=0,0
sprpriority=3998
supermovetime=44444444
pausemovetime=44444444
scale=320,240
trans=addalpha
alpha=0,248
trigger1=time=var(59)-16

[state darken ctrl]
type=modifyexplod
id=19041
postype=left
pos=0,0
trans=addalpha
alpha=0,256-(time-var(59)+17)*8
trigger1=time=[var(59)-15,var(59)-1]

[state darken ctrl]
type=modifyexplod
id=19041
postype=left
pos=0,0
trans=add1
trigger1=time>var(59)-1

[state msg snd]
type=playsnd
value=18000,5
abspan=0
trigger1=time=var(59)

[state pause]
type=pause
time=44444444
movetime=44444444
pausebg=1
trigger1=time=var(59)
Please, could someone explain it, so I can understand it better?

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Hot to make dialogues in the style of SvC: Chaos?
« Reply #3 on: September 26, 2012, 08:49:48 PM »
Aside from their doco on the variables being a bit incorrect as it's 19062 not 18062, that's still just a load of explods and some pre-populated values for you to fill in. However without overwriting from the character it was out of re-creating it is a bastard. That's also winquote, not intro dialogue. They haven't given you any alignments or any idea of what many of the things really look like. So you really do need to continue with creating it yourself (don't worry, this is far simpler than you think)

So to continue. Draw up your dialogue and use explod to display it in mugen. That's the start, get that working inside the intro state. We can then move onto placement and everything else. I can even give you continuation of the intro if you're happy for it to be a direction key rather than start.

Offline Trinitronity

  • Infinity Regular
  • ****
  • Posts: 841
  • Country: Germany de
  • Last Login:January 13, 2023, 01:26:38 PM
  • Working on coming back to MUGEN
    • Email
Re: Hot to make dialogues in the style of SvC: Chaos?
« Reply #4 on: September 27, 2012, 05:32:47 AM »
Aside from their doco on the variables being a bit incorrect as it's 19062 not 18062, that's still just a load of explods and some pre-populated values for you to fill in. However without overwriting from the character it was out of re-creating it is a bastard. That's also winquote, not intro dialogue. They haven't given you any alignments or any idea of what many of the things really look like. So you really do need to continue with creating it yourself (don't worry, this is far simpler than you think)

So to continue. Draw up your dialogue and use explod to display it in mugen. That's the start, get that working inside the intro state. We can then move onto placement and everything else. I can even give you continuation of the intro if you're happy for it to be a direction key rather than start.
Okay. I let you know the results.

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

D2TD VS Showcase Thread by D2TD
[May 12, 2024, 10:20:11 AM]


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


Ballroom Hallway (1.1 Only/AIGS) by Vegaz by LightFlare
[May 09, 2024, 11:53:48 AM]


Neon Light Force Demo by kyoman
[May 08, 2024, 12:50:05 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