A place to have fun with Mugen
 
PortalHomeFAQMemberlistSearchRegisterComic WIP TrackerDownloadsLog inChat
Website Navigation Help
Translate the Website
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Latest topics
» Batman font letters
by yolomate Today at 9:27 pm

» Axel Hawk Stage FFS - Daytime Released
by Mr.Welldone Today at 7:23 pm

» TK's Lets Play: Legend of Zelda - Temples of Turmoil Revamped 2017 (ZC)
by TK830515 Today at 1:17 pm

» Mugen Open Sources Screen Pack Updated
by OldGamer Today at 12:48 pm

» Squirrel Girl by fede de 10
by LESSARD Today at 9:23 am

» Guilty Crown Concept
by pophigof Today at 8:49 am

Special Features at MMV






Chat on MMV w/ Discord


Share | 
 

 Comboing for helpers?

View previous topic View next topic Go down 
AuthorMessage
Minun

avatar

Posts : 142
Join date : 2015-03-08

PostSubject: Comboing for helpers?   March 25th 2015, 7:35 pm

I recently found out that it's impossible to combo a move where a character relies on their helper to attack. At least normally. I've seen people have their characters projectiles combo into other projectiles. So how do I code a combo for helpers?
Back to top Go down
View user profile
Midnight-Son

avatar

Posts : 1045
Join date : 2012-10-18
Age : 25

PostSubject: Re: Comboing for helpers?   March 26th 2015, 12:32 am

you're going to have to use a
parentvaradd
it should look something like this

[State 1005, combo counter] ( just an example)
type = ParentVarAdd
trigger1 = MoveHit
v = 11
value = 6
persistent = 0

then you should link it to the
[statdef -2] using varadd

Example:

[State -2, Add new hits to combo]
type = VarAdd
triggerall = var(7)
trigger1 = var(10) > 0 || var(11) > 0
v = 8
value = var(10) + var(11)

which would effect var(Cool in this case
determined by var(7) which states that the combo is active

it uses many float variables

much of this varies depending on the vars used
knowledge of variables should be known for combo support


Here is the sample combo tracker I used in my examples which was taken from this forums carnage character:

; Combo Tracker
[State -2, Start Count]
type = VarSet
triggerall = P2MoveType = H && !WinKO
trigger1 = var(7) = 0
v = 7
value = 1
ignorehitpause = 1

[State -2, Set]
type = VarSet
triggerall = var(7)
trigger1 = HitCount > var(9)
v = 10
value = HitCount - var(9)

[State -2, Set]
type = VarSet
triggerall = var(7)
trigger1 = HitCount < var(9)
trigger1 = HitCount != 0
v = 10
value = HitCount

[State -2, Set]
type = VarSet
triggerall = var(7)
trigger1 = HitCount = var(9)
trigger2 = HitCount = 0
v = 10
value = 0

[State -2, Projectile Hits]
type = VarAdd
triggerall = var(7)
trigger1 = ProjHit = 1
v = 10
value = 1

[State -2, Add new hits to combo]
type = VarAdd
triggerall = var(7)
trigger1 = var(10) > 0 || var(11) > 0
v = 8
value = var(10) + var(11)

; Set Attack Ratio for Damage Dampening
[State -2, First Decrease]
type = VarSet
triggerall = var(7)
trigger1 = var(Cool > 1
trigger1 = var(Cool < 4
fv = 1
value = .44
ignorehitpause = 1

[State -2, Second Decrease]
type = VarSet
triggerall = var(7)
trigger1 = var(Cool = [4,8]
fv = 1
value = .37
ignorehitpause = 1

[State -2, Third Decrease]
type = VarSet
triggerall = var(7)
trigger1 = var(Cool = [9,12]
fv = 1
value = .31
ignorehitpause = 1

[State -2, Fourth Decrease]
type = VarSet
triggerall = var(7)
trigger1 = var(Cool = [13,16]
fv = 1
value = .28
ignorehitpause = 1

[State -2, Final Decrease]
type = VarSet
triggerall = var(7)
trigger1 = var(Cool > 16
fv = 1
value = .24
ignorehitpause = 1

[State -2, Clear Helper Hits]
type = VarSet
trigger1 = var(7)
v = 11
value = 0

[State -2, Spawn Combo Report Helper]
type = Helper
triggerall = var(7)
triggerall = NumHelper(929) = 0
triggerall = (StateNo != 1500) && (StateNo != [1645,1650])
trigger1 = P2MoveType != H || WinKO
trigger1 = NumHelper(930) = 0
ID = 930
name = "Combo Report"
StateNo = 10020
postype = p1
pos = 0, 0
ownpal = 1
ignorehitpause = 1

[State -2, Leave Combo Counting Mode]
type = VarSet
triggerall = var(7)
trigger1 = P2MoveType != H || WinKO
v = 15
value = var(Cool
ignorehitpause = 1

[State -2, Leave Combo Counting Mode]
type = VarSet
triggerall = var(7)
trigger1 = P2MoveType != H || WinKO
v = 8
value = 0
ignorehitpause = 1

[State -2, Leave Combo Counting Mode]
type = VarSet
triggerall = var(7)
trigger1 = P2MoveType != H || WinKO
v = 9
value = 0
ignorehitpause = 1

[State -2, Leave Combo Counting Mode]
type = VarSet
triggerall = var(7)
trigger1 = P2MoveType != H || WinKO
v = 7
value = 0
ignorehitpause = 1
Back to top Go down
View user profile
Midnight-Son

avatar

Posts : 1045
Join date : 2012-10-18
Age : 25

PostSubject: Re: Comboing for helpers?   March 26th 2015, 12:33 am

post the codes for your combo tracker and I may be able to help
Back to top Go down
View user profile
Midnight-Son

avatar

Posts : 1045
Join date : 2012-10-18
Age : 25

PostSubject: Re: Comboing for helpers?   March 26th 2015, 12:39 am

Back to top Go down
View user profile
Sponsored content




PostSubject: Re: Comboing for helpers?   

Back to top Go down
 
Comboing for helpers?
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
The Mugen Multiverse :: Mugen :: Mugen Help-
Jump to: