Monster melee attack problem

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
XASSASSINX
Posts: 380
Joined: Tue Dec 20, 2016 4:53 pm
Location: MURICAA BROTHER! Just kidding, Brazil.

Monster melee attack problem

Post by XASSASSINX »

I will be straight to the point. My monster custom sound is not working. It's not appearing at the game, instead when he uses his melee there is no sound.

That's his part on the sndinfo

Code: Select all

//Dark Knight
DarkKnight/Melee PUNCHHK

That's his melee code. And he also has "meleesound: "DarkKnight/melee"

Code: Select all

	Melee:
	BOS2 EF 6 A_FaceTarget
	TNT1 A 0 A_PlaySound("DarkKnight/Melee")
	BOS2 G 4 A_CustomMeleeAttack(10)
	TNT1 A 0 A_JumpIfCloser(40, "Melee")
Any ideas?
Nevander
Posts: 2254
Joined: Mon Jan 06, 2014 11:32 pm

Re: Monster melee attack problem

Post by Nevander »

Try this instead:

Code: Select all

	Melee:
	BOS2 EF 6 A_FaceTarget
	BOS2 G 4 A_CustomMeleeAttack(10, "DarkKnight/Melee")
	TNT1 A 0 A_JumpIfCloser(40, "Melee")
XASSASSINX
Posts: 380
Joined: Tue Dec 20, 2016 4:53 pm
Location: MURICAA BROTHER! Just kidding, Brazil.

Re: Monster melee attack problem

Post by XASSASSINX »

Still didn't work.
User avatar
Hexereticdoom
Posts: 681
Joined: Thu Aug 08, 2013 1:30 pm
Graphics Processor: nVidia with Vulkan support
Location: Spain
Contact:

Re: Monster melee attack problem

Post by Hexereticdoom »

Hi there, please do some checkings: is the PUNCHHK file present? Maybe it has a slightly changed name?

If PUNCHHK sound is present and named correctly, check its format (OGG, FLAC, MP3 or Doom Format) and try converting it into another format.

And if it fails, try with another alternative sound. If that works, the PUNCHHK file might be damaged some way.
Locked

Return to “Editing (Archive)”