• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

Weapon sound situation

Status
Not open for further replies.
Level 14
Joined
Oct 16, 2010
Messages
748
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 14
Joined
Oct 16, 2010
Messages
748
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