How do I add a custom hit sound to my weapon that plays when a entity is hit?

Started by Alpha_RobloxYT on

Topic category: Help with MCreator software

Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I add a custom hit sound to my weapon that plays when a entity is hit?

Hi.

So, I was making a weapon in MCreator 2021.3, and I wanted to know, how do I add custom sounds to a weapon. I want it to play an explosion noise when I hit a mob with said weapon. Does anyone know how?

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
u just go to trigger section…
Tue, 01/11/2022 - 08:30

u just go to trigger section of your weapon, there will be "when hit a living entity with tool" or something like that, add a procedure and just make it play your sound

Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
which procedure?
Wed, 06/19/2024 - 10:39

which procedure?

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The procedure in the "world…
Wed, 06/19/2024 - 17:50

The procedure in the "world management" tab is called "play *your sound* at x: y: z: level: pitch: category:" 

P.s I couldn't make it work, I have a suspicion that I didn't convert .mp3 file to .ogg extension correctly, so the sound is not performed