YesNoOk
avatar

Can't I make a projectile use hit velocity? (Read 2548 times)

Started by N0BIE, April 30, 2022, 05:55:06 am
Share this topic:
Can't I make a projectile use hit velocity?
#1  April 30, 2022, 05:55:06 am
  • avatar
Code:
[State 200, 1]
type = Projectile
trigger1 = animelem = 3
ProjID = 200
projanim = 201
projscale = 1,1
projremove = 1
projremovetime = -2
velocity = 0,0
remvelocity = 0,0
accel = 0,0
velmul = 1
projhits = 1
projmisstime = 100
projpriority = 1
projsprpriority = 3
offset = 0,0
postype = P1         ;P2, Front, Back, Left, Right
projshadow = 0,0,0
attr = S, NA
damage = 16, 0
animtype = Light
guardflag = MA
hitflag = MAFDP
priority = 3, Hit
pausetime = 12,12
sparkno = 0
guard.sparkno = 40
sparkxy = p2dist x-10, -80
hitsound = s1, 0
guardsound = 6, 0
ground.type = High
ground.slidetime = 8
ground.hittime  = 8
guard.hittime  = 8
guard.ctrltime = 8
ground.velocity = -4,0 ;--changing the value doesn't do anything
airguard.velocity = -1.9,-.8
air.type = High
air.velocity = -1.4,-3
air.hittime = 12
fall.recovertime = 18
Re: Can't I make a projectile use hit velocity?
#2  May 11, 2022, 06:33:24 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
You can absolutely set that value. Projectiles are the same as hitdefs for the values they take plus a few extras. Your hittime is very low. All i can think of with what you have there.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.