A place to have fun with Mugen
 
PortalHomeFAQMemberlistSearchRegisterComic WIP TrackerDownloadsLog inChat
Translate the Website
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Latest topics
» Mugen Screenshot Thread
by Doom Today at 1:49 pm

» Sprite comic book covers
by Doom Today at 1:45 pm

» NEW Yolomate's palettes blind man creator!
by Doom Today at 1:43 pm

» The Phantom
by Doom Today at 1:40 pm

» Spector Palettes
by LESSARD Today at 1:27 pm

» TK's NXT Mugen Sunday Slamboree
by TK830515 Today at 1:13 pm

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 : 978
Join date : 2012-10-18
Age : 24

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 : 978
Join date : 2012-10-18
Age : 24

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 : 978
Join date : 2012-10-18
Age : 24

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

just in case you want to learn:
http://mugenguild.com/forum/topics/variable-tutorial-129930.0.html
Back to top Go down
View user profile
 
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: