• 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.

Weapon sound situation

Status
Not open for further replies.
Level 13
Joined
Oct 16, 2010
Messages
737
I was wondering, if I made 2 items. One a sword and one a hammer that had visual effects on the holder (so the user would actually hold a sword or a hammer). Would I be able to change the sound used when the holder attacks? Or would I have to make both weapons work as orbs or something? I would prefer to do it triggers....
 
Level 3
Joined
Apr 18, 2012
Messages
47
Anyone got any clue on how to do the sound part without triggers or jass?

I had the idea of removing the unit's attack sound and making a passive item ability with 100% chance to trigger that fired a sound (with the "Sound - Effect Sound" in the object editor). So if you have two different items, they will have two different passive item abilities with two different sounds solving the problem.

However when I tried it out, the passive never ever triggers that sound. I made the passive ability trigger an effect on the unit it was used on, and that effect had a sound in its field, still no sound ever triggered and I never saw the Effect being triggered. Buffs weren't being triggered either. Am I doing something wrong or is this just how passive abilities work?
 
Level 13
Joined
Oct 16, 2010
Messages
737
I think I'll try the orb idea. Would anyone know how to make it so that only one weapon would appear as being held. If you had 2 weapons in your inventory for example, the highest one would be visible on your character but not any others? Just wondered but I think I'll use some kind of system to make it so you can only hold 1 of each type of equipment. Excluding bonuses like rings, potions etc. Thanks anyway! :D
 
Status
Not open for further replies.
Top