Solved you can'hear the hitfix

Question that is answered or resolved.

Steven1985

Active member
Hi,
I put an hitfx in this animation but in the game you can't hear it. I tried with another sound in the case it was the file but it is the same thing.
Thanks in advance.

Screenshot (147).png
 
Why many hitfx's in one animation? I stick to one unless I want a different hit effect sound. Is the sound file's volume from hitfx lower than others?

C:
anim attack8 #Close MP
    delay    5
    offset    336 293
    bbox 343 202 33 93
    sound data/sounds/common/punch1.wav
    hitfx data/sounds/common/beat2.wav
    frame data/CHARS/Chun-Li/CVS2_Chunli_637.png
    bbox 345 207 33 87
    frame data/CHARS/Chun-Li/CVS2_Chunli_638.png
    bbox 344 200 29 95
    frame data/CHARS/Chun-Li/CVS2_Chunli_639.png
    bbox 333 196 31 99
    attack2 351 194 55 34 8 0 0 0 0 0
    frame data/CHARS/Chun-Li/CVS2_Chunli_640.png
    frame data/CHARS/Chun-Li/CVS2_Chunli_641.png
    attack2 0
    frame data/CHARS/Chun-Li/CVS2_Chunli_642.png
    bbox 341 200 26 94
    frame data/CHARS/Chun-Li/CVS2_Chunli_643.png
    bbox 342 203 24 91
    frame data/CHARS/Chun-Li/CVS2_Chunli_644.png
    bbox 342 195 33 97
    frame data/CHARS/Chun-Li/CVS2_Chunli_645.png
    attack2 346 188 59 42 7 0 0 0 0 0
    frame data/CHARS/Chun-Li/CVS2_Chunli_646.png
    frame data/CHARS/Chun-Li/CVS2_Chunli_647.png
    attack2 0
    frame data/CHARS/Chun-Li/CVS2_Chunli_648.png
    frame data/CHARS/Chun-Li/CVS2_Chunli_649.png
    bbox 332 202 27 94
    frame data/CHARS/Chun-Li/CVS2_Chunli_650.png
 
@st
Hi,
I put an hitfx in this animation but in the game you can't hear it. I tried with another sound in the case it was the file but it is the same thing.
Thanks in advance.

View attachment 3821

I think you're mistaking hitfx forsound.

Sound plays whenever a frame with sound plays. You can have one sound for every frame. Hitfx plays on each hit, and ONLY on a hit. So unless you have an animation that hits multiple times (and yours does not), you will only hear one hitfx.

You can have one hitfx per attack, but you don't need to define it over and over. One time is enough unless you want a different attack box to play a different sound on hit.

DC
 
@DCurrent @maxman
I know. Maybe I was not clear. The sound I put as a hitfix in the game cannot be heard. If it is not the game it can be heard but if I put it in the game it cannot be heard.
Look at the video (tiny spoiler from my new game :)). When the player hits the enemy with the gun you should hear this:

 
Back
Top Bottom