YesNoOk
avatar

Help with Projectiles (Read 516 times)

Started by jedah420, October 04, 2007, 04:07:06 am
Share this topic:
Help with Projectiles
#1  October 04, 2007, 04:07:06 am
  • **
hello iam using fighter factory to make my characters
and iam stuck on projectiles,iam just messing around with
ryu's hadouken trying to get it to work,
iam using KFM as my base and all iam doing is adding the stance and fireball sprites to KFM
this is the code i have right now;
CNS:
[mcode]; Fireball
[StateDef 999]
type = S
movetype= A
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim = 4
poweradd = 20

[State 999, 1]
type = Projectile
trigger1 = AnimElem = 4
projanim = 420
projhitanim = 421
projpriority = 1
projheightbound = -240, 100
projedgebound = 100
projscreenbound = 100
projshadow = -1
offset = 115,-34
velocity = 3
attr = S, SP
damage   = 500
animtype = heavy
guardflag = MA
hitflag = MAFDP
pausetime = 10,10
hitsound   = 5,2
sparkxy = 500,500
guardsound = S6,0
ground.type = Low
ground.slidetime = 25
ground.hittime  = 25
ground.velocity = -6
air.animtype = Back
air.velocity = -4,-6
air.juggle = 3
air.fall = 1
down.velocity = -4,-6
down.hittime = 30
down.bounce = 0

[State 999, end]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1[/mcode]
CMD:
[mcode]
;Fireball
[State -1, Fireball]
type = Changestate
value = 999
triggerall = command = "Fireball"
trigger1 = (statetype = s) && ctrl

;-| Double Tap |-----------------------------------------------------------
[command]
name = "Fireball"
command = D,F,y
time = 15

command.buffer.time = 1
[/mcode] 
now when he throws the fireball it should
be ryu sprites but i just get KFM standing there
and a fire ball comes out of nowhere.

Please if any one can help me i would be very grateful
thank you
Re: Help with Projectiles
#2  October 04, 2007, 05:25:16 am
  • ******
  • [E]
    • Mexico

  • Online
check the anim parameters.
Last Edit: October 04, 2007, 05:36:51 am by [E]arly Morning Poison
Re: Help with Projectiles
#3  October 04, 2007, 06:19:09 pm
  • **
I fixed it  ;D
thanx alot :sugoi: