Infinity MUGEN Team

IMT Main => M.U.G.E.N Help => Topic started by: 2dgameplay on August 31, 2007, 09:20:16 PM

Title: help
Post by: 2dgameplay on August 31, 2007, 09:20:16 PM
CAN YALL MAKE HELP ME MAKE THIS TO A LANCHER

[StateDef 250]
MoveType = a
Anim = 250
velset = 0, 0
Ctrl = 0
Juggle = var(20) := 1
SprPriority = 2
poweradd = 21

[State 250, voice]
type = PlaySnd
trigger1 = !time
value = 191
channel = 0
volume = var(31)

[State 250, snd]
type = PlaySnd
trigger1 = !time
value = 1, 2

[State 250, hit]
type = HitDef
triggerall = var(21)
trigger1 = !var(2) && var(7) && animelem = 4
trigger1 = var(13) := 60 && var(10) := 12
attr = s, na
hitflag = MAF
guardflag = m
animtype = hard
air.animtype = diagup
fall.animtype = diagup
damage = 90
pausetime = var(10), var(10); +1
sparkxy = ifelse(p2bodydist x > 15, -10, -30), var(14) := -102
ground.type = high
air.type = low
ground.slidetime = 14; +1
ground.hittime = 16
air.hittime = 10
yaccel = .5
ground.velocity = -12
air.velocity = -4,-5
ground.cornerpush.veloff = -24.4; 78
air.cornerpush.veloff = 0
air.fall = 1
fall.recovertime = 28
getpower = 125, 21
givepower = 21, 0




[State 250, counter-hit]
type = HitDef
triggerall = var(21)
trigger1 = var(2) && var(7) && animelem = 4
trigger1 = var(13) := 60 && var(10) := 28
attr = s, na
hitflag = MAF
guardflag = m
animtype = diagup
air.animtype = diagup
fall.animtype = diagup
damage = 97
pausetime = var(10), var(10); +1
sparkxy = ifelse(p2bodydist x > 15, -10, -30), var(14) := -102
ground.type = high
air.type = low
guard.slidetime = 14; +1
guard.hittime = 16
yaccel = .5
guard.velocity = -12.95; 78
ground.velocity = -1.25, -9.75; 46, 90
air.velocity = -1.25, -9.75; 46, 90
ground.cornerpush.veloff = 0
guard.cornerpush.veloff = -24.4; 78
air.cornerpush.veloff = 0
fall = 1
fall.recover = 0
getpower = 125, 21
givepower = 21, 0

[State 200, hitspark]
type = Explod
triggerall = movecontact
trigger1 = hitpausetime = var(10) -1
anim = fifelse(movehit, 2, 40)
pos = var(13), var(14)
ontop = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 999
pausemovetime = 999
random = var(15), var(15)

[State 200, hitsnd]
type = PlaySnd
triggerall = movecontact
trigger1 = hitpausetime = var(10) -2
value = ifelse(moveguarded, 120, 250), (!p2life && roundstate > 2) || var(2)
channel = 1
ignorehitpause = 1

[State 250, End]
Type = ChangeState
Trigger1 = !AnimTime
Value = 0
ctrl = 1

THANKS N ADZ
Title: Re: help
Post by: shootYr. on August 31, 2007, 09:48:25 PM
Toy around with the velocities of the second hitdef.
Title: Re: help
Post by: 2dgameplay on August 31, 2007, 10:30:58 PM
i just can get to work
Title: Re: help
Post by: Fallen_Angel on August 31, 2007, 11:04:20 PM
2nd gameplay, to make a launcher you just have to change these in the hitdef

ground.velocity = -1.25, -9.75; 46, 90   

the ground velocity means the velocity that the opoonent will have when you hit him try using

ground.velocity = -1.25, -12 ; remember the first one is the x axis and the second is the y axis

you have to use a negative number to make it go up
SimplePortal 2.3.5 © 2008-2012, SimplePortal