HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Removing sound from effect?

11-05-2010, 11:28 PM#1
rogueteddybear
Im trying to use the polymorph effect like so:

Code:
call DestroyEffect(AddSpecialEffect("Abilities\\Spells\\Human\\Polymorph\\PolyMorphTarget.mdl", GetUnitX(bg_lastCreatedUnit), GetUnitY(bg_lastCreatedUnit)))

This creates the effect just fine but It also plays a sound (the sheep "baaahhh").
How can I change or remove this sound?
11-06-2010, 08:10 AM#2
Anitarf
You will need to edit the polymorph model and remove the sound event from it. This shouldn't be too complicated, just export the model from war3.mpq, convert it to .mdl format, open it with a text editor and look a bit until you find the path to the sound, then change that to an empty path, convert back to .mdx, import in your map.
11-06-2010, 09:52 AM#3
deolrin
Alternatively, open the effect in Magos' Model Editor, go to Node Manager, find the "SNDx...." object(SoundxSomething), right click and remove it and finally, save the model.
11-07-2010, 03:36 AM#4
Weep
As another option, find the "baahh" sound in the Sound Editor and replace it with a silent (or other) imported .wav file.
11-24-2010, 07:07 AM#5
[VDM]Amn
use this one

Code:
Abilities\Spells\Human\Polymorph\PolyMorphDoneGround.mdl