YesNoOk
avatar

CvS2 "Get Hit" sounds (Read 3992 times)

Started by PotS, October 09, 2005, 11:20:35 am
Share this topic:
CvS2 "Get Hit" sounds
#1  October 09, 2005, 11:20:35 am
  • ******
    • network.mugenguild.com/pots/
i was bored so i checked some statistics on cvs2, particularly how often the chars play a get hit sound

this is what i got:

Hit by --- Chance of Get Hit sound

weak normal attack --- 30%
medium normal attack --- 30%
strong normal attack --- 50%

special move --- 100%
super move --- 100%


putting it in mugen it goes something like this:
Code:
[State -3, GetHitSnd]
type=playsnd
triggerall=alive&&time=1
triggerall=stateno=5000||stateno=5010||stateno=5020||stateno=5070||stateno=5080
trigger1=enemynear,hitdefattr=SCA,SA,HA
trigger2=gethitvar(animtype)>=2&&random<500
trigger3=gethitvar(animtype)<2&&random<300
value= Your Sound(s)
channel=0
ignorehitpause=1
persistent=0

won't work right against projectiles, because mugen can't trigger much about them. so projectiles will cause a get hit sound according to the animtype, not the hitdefattr
Use anything you want from my works.  If you need to contact me use email, not private messages.