Hello everyone,
I got a lofty goal that probably isn't possible, but I'm gonna ask it anyway, just in case someone thought way outside the box.
What I want to do is make my map feel more realistic by syncing sound effects with the current weapon the hero has equipped. And conversely, reverting to unarmed combat sound effects if the hero unequips the weapon.
The closest way I thought of by myself was to manipulate the unit's attack settings a little bit in the object editor to have Attack 1 be unamrmed combat in terms of sound, while Attack 2 would be Armed combat, say a light metal attack type of sound.
The problem is it's not easy to toggle between the two. I thought if I slapped some techtree requirements to attack 2 and trigger a little I could do it. I.E. a trigger that researches the necessary techtree when the weapon is equipped. The problem with that though is techtrees cannot be unresearched, so if the hero unequips the item, it will still sound like Attack 2, despite appearances and his weapon is actually gathering dust in the inventory.
I think you guys get the picture, feel free to comment with any ideas.
Thanks!
I got a lofty goal that probably isn't possible, but I'm gonna ask it anyway, just in case someone thought way outside the box.
What I want to do is make my map feel more realistic by syncing sound effects with the current weapon the hero has equipped. And conversely, reverting to unarmed combat sound effects if the hero unequips the weapon.
The closest way I thought of by myself was to manipulate the unit's attack settings a little bit in the object editor to have Attack 1 be unamrmed combat in terms of sound, while Attack 2 would be Armed combat, say a light metal attack type of sound.
The problem is it's not easy to toggle between the two. I thought if I slapped some techtree requirements to attack 2 and trigger a little I could do it. I.E. a trigger that researches the necessary techtree when the weapon is equipped. The problem with that though is techtrees cannot be unresearched, so if the hero unequips the item, it will still sound like Attack 2, despite appearances and his weapon is actually gathering dust in the inventory.
I think you guys get the picture, feel free to comment with any ideas.
Thanks!