collapse

Author Topic: How to make a char walk after a intro?  (Read 874 times)

0 Members and 1 Guest are viewing this topic.

Offline benga_abl

  • New Member
  • *
  • Posts: 2
  • Country: Brazil br
  • Last Login:June 02, 2017, 12:30:17 AM
  • Hi! I'm new!!
How to make a char walk after a intro?
« on: February 14, 2015, 08:54:56 PM »
like mvc.



Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: How to make a char walk after a intro?
« Reply #1 on: February 14, 2015, 10:35:55 PM »
Not the BEST idea because of how mugen works but all you do is when the intro state is over, say... state 190 finishes. Change the bit where it sends you to state 0 with ctrl = 0 to ctrl = 1

For eg

[state Changestate]
type = changestate
trigger1 = animtime = 0
value = 0
ctrl = 0

Change it to ctrl = 1, you'll be able to walk (and jump) but you WILL be snapped back to your original position when the match starts because mugen works like that.

Offline benga_abl

  • New Member
  • *
  • Posts: 2
  • Country: Brazil br
  • Last Login:June 02, 2017, 12:30:17 AM
  • Hi! I'm new!!
Re: How to make a char walk after a intro?
« Reply #2 on: February 16, 2015, 10:13:49 PM »
thanks for you answer, but I finally get to a code that prevent the char to come back to his original position (made it by supermistery author):

;statedef -2
;-|Position Reset Override|------------------
[State -2, VarSet: X Position Tracker]
type = VarSet
triggerall = roundstate < 2
trigger1 = roundno >= 1
fv = 21
value = 1

[State -2, VarSet]
type = VarSet
triggerall = roundstate < 2
trigger1 = roundno >= 1
fv = 26
value = 1

[State -2, VarSet: RoundState Sensor]
type = VarSet
triggerall = roundstate < 2
trigger1 = roundno >= 1
fv = 33
value = 1

[State -2, VarSet: Y Position Tracker]
type = VarSet
triggerall = roundstate < 2
trigger1 = roundno >= 1
fv = 34
value = 1

[State -2, PosSet: Prevents Position Reset after Round Banner.]
type = PosSet
trigger1 = roundstate = 2 && fvar(33)
x = fvar(21)
y = fvar(34)
ignorehitpause = 1
persistent = 0

[State -2, VarSet]
type = VarSet
trigger1 = roundstate = 2 && fvar(33)
fv = 33
value = 0

[State -2, VarSet]
type = VarSet
trigger1 = roundstate = 2 && ctrl && fvar(26)
fv = 26
value = 0

[State -2, VarSet: Position Grabber]
type = VarSet
trigger1 = roundstate < 2
fv = 21
value = pos x

[State -2, VarSet: Position Grabber]
type = VarSet
trigger1 = roundstate < 2
fv = 34
value = pos y

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: How to make a char walk after a intro?
« Reply #3 on: February 17, 2015, 12:23:05 AM »
I'm sure that'll work but it's flaming ugly for something that only needs a couple of variables.

Tags: intro 
 


* 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

Classic VS : Athena by ELECTRO
[May 15, 2024, 01:25:51 PM]


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


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