• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Ability sound doesn't play in multi-player

Status
Not open for further replies.
Level 14
Joined
Aug 30, 2004
Messages
909
This is a new one for me, and I'm not sure I'm diagnosing this correctly... but I have an ability that throws a bomb on a target, beeps several seconds and then explodes. The beeping comes from a custom model that I have added a sound effect to.

This works fine in single player mode; but in multiple player mode I can no longer hear it. I don't know much about multiple player...I rarely get a chance to test my maps that way; so I have no idea what this could be.

Does anyone know any possibilities?
 
Level 14
Joined
Aug 30, 2004
Messages
909
Maybe it's because two sound play in a few moments of time difference so they override each other?

Did you try using the spell in single player with more than one units casting rapidly one after another?

Hmm... that is a reasonable guess given what I said, but I'm afraid that's not it. There's only 1 hero with the ability. Also, the sound is put into the actual .mdx file, not played via trigger.
 
Level 11
Joined
Jun 2, 2013
Messages
613
So here's my thoughts If I understood correctly:

If you're playing a sound through the actual model, it would only sound for the owner of that unit. For example - when you are playing standard melee or (anything really), when you see enemy units move, you don't hear their movement sounds. You only hear their sounds if you are the controller of said unit. What you may be able to try is setting it to the ATTACK sound. This is only a theory, as I'm not sure what you are attaching your sound to in model editor.
 
Level 14
Joined
Aug 30, 2004
Messages
909
I think I misdiagnosed the problem, as I'm now noticing it doesn't work consistently in 1 player mode either. (please accept + rep by way of apology)

I believe it has something to do with the sound range of the sound effect. To be clear what I've done:

The sound effect (a ticking sound) is a custom sound that I have uploaded. The custom sound overwrites the "silence" sound effect: Abilities\Spells\Other\Silence\Silence1.wav. The model is also custom, and calls the Silence sound effect during its stand animation (I think). Since the Silence sound effect is overwritten, when this .mdx is used it beeps. I then assigned the .mdx that calls the Silence effect to the Parasite ability.

Putting it all together, it should work like this:

The player casts Parasite. Parasite puts a buff with the bomb .mdx file on the player. That .mdx file calls the Silence effect sound, which plays the custom beeping sound.

This works fine up close, but at maximum range it no longer seems to play the sound. I looked at the uploaded sound file and it has:

Min Distance: 600
Max Distance: 10,000

Is there some other effect that determines at what range a buff-based sound will play?

UPDATE: AARRGGHH!!! Now it seems to play about half the time regardless of the range. I give up... I have no idea why a sound would play sometimes and not others.
 
Status
Not open for further replies.
Top