wc3campaigns
WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Warcraft III Modding > Developer's Corner > Triggers & Scripts
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 11-05-2010, 11:28 PM   #1
rogueteddybear
User
 
Join Date: Jul 2010
Posts: 40

rogueteddybear has little to show at this moment (0)

Question Removing sound from effect?

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?
rogueteddybear is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 11-06-2010, 08:10 AM   #2
Anitarf
Procrastination Incarnate


Development Director
 
Join Date: Feb 2004
Posts: 8,190

Submissions (19)

Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)

2008 Spell olympics - Fire - SilverApproved Map: Old School Alliance TacticsHero Contest #2 - 3rd PlaceSpell making session 2 winner

Default

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.
__________________
Anitarf is offline   Reply With Quote
Old 11-06-2010, 09:52 AM   #3
deolrin
Tas'dingo!
 
deolrin's Avatar
 
Join Date: May 2008
Posts: 873

Submissions (13)

deolrin is a jewel in the rough (167)deolrin is a jewel in the rough (167)

Send a message via MSN to deolrin
Default

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.
__________________
Resources: "I'm going to cut you into strips, dry you, and smoke you in my pipe!"
"Don't wait for the Grim Reaper - I'm going to mow you down!"
"Hasta la vista, baby!"

~Gladiator, Sacred
deolrin is offline   Reply With Quote
Old 11-07-2010, 03:36 AM   #4
Weep
User
 
Join Date: Aug 2009
Posts: 8

Weep has little to show at this moment (9)

Default

As another option, find the "baahh" sound in the Sound Editor and replace it with a silent (or other) imported .wav file.

Last edited by Weep : 11-07-2010 at 03:36 AM.
Weep is offline   Reply With Quote
Old 11-24-2010, 07:07 AM   #5
[VDM]Amn
User
 
[VDM]Amn's Avatar
 
Join Date: Sep 2006
Posts: 85

[VDM]Amn is on a distinguished road (14)

Send a message via ICQ to [VDM]Amn Send a message via AIM to [VDM]Amn Send a message via MSN to [VDM]Amn Send a message via Yahoo to [VDM]Amn
Default

use this one

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

Side effects may include: dry mouth, nausea, vomiting, water
retention, painful rectal itch, hallucination, dementia, psychosis,
coma, death, and halitosis. Magic is not for everyone. Consult your
doctor before use.
[VDM]Amn is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 07:16 PM.


Affiliates
The Hubb The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2019, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services