Is there a way to stop the sound from playing when 'unequip'

Post » Fri Aug 13, 2010 3:51 am

Hello again.


I thought I had it right by running multiple 'PlaySound.3d Mysound' on player twice before the unequip command, while using a sound that has no sound file, but for some reason it all the sudden is not working any longer. Honestly, this whole approach scared me anyhow, considering the fact it could just be anomaly with my sound card, and further more could glitch on other folks end with me never knowing it, and hence the sound would play.

I was hoping to be able to remove the players helmet and shield via this method, and have ended up removing the code and basically have abandoned the idea, because when the sound does play, it really wrecks the scene.

Simple question, does anyone know of a way to stop the sound from playing when running unequip command on player that is reliable?

Ps - I did check the wiki, and although it seems to point to the message Spam technique description as having a fix for getting rid of that sound, there is no such information in regards to the usage of the unequip command, only message spam removal, thats it. Also I tried playSound 2 times before, and 2 times after the unequip command, both did nothing. Further more tried playSound3d mysound twice after unequip, nothing again.

My last attempt, asking you good folks before I completely abandon the possibility.

Truly appreciate any info on this :)
User avatar
suniti
 
Posts: 3176
Joined: Mon Sep 25, 2006 4:22 pm

Post » Fri Aug 13, 2010 8:27 am

Hello again.


I thought I had it right by running multiple 'PlaySound.3d Mysound' on player twice before the unequip command, while using a sound that has no sound file, but for some reason it all the sudden is not working any longer. Honestly, this whole approach scared me anyhow, considering the fact it could just be anomaly with my sound card, and further more could glitch on other folks end with me never knowing it, and hence the sound would play.

I was hoping to be able to remove the players helmet and shield via this method, and have ended up removing the code and basically have abandoned the idea, because when the sound does play, it really wrecks the scene.

Simple question, does anyone know of a way to stop the sound from playing when running unequip command on player that is reliable?

Ps - I did check the wiki, and although it seems to point to the message Spam technique description as having a fix for getting rid of that sound, there is no such information in regards to the usage of the unequip command, only message spam removal, thats it. Also I tried playSound 2 times before, and 2 times after the unequip command, both did nothing. Further more tried playSound3d mysound twice after unequip, nothing again.

My last attempt, asking you good folks before I completely abandon the possibility.

Truly appreciate any info on this :)

from what I can see if you have a blank sound all you need is to point the sound in the correct area. I my self have not done this but if you down load this file http://www.tesnexus.com/downloads/file.php?id=28974 now looking at that in the construction set if you scroll down to Miscellaneous then under that sound find ITMweaponbladeup ITMweaponbladedown and direct both of those to the silent mp3 that should do it for blades. now if you use the esp that I directed you to then you can just do a little copy and pasting. Hope that helps you.
User avatar
Naomi Ward
 
Posts: 3450
Joined: Fri Jul 14, 2006 8:37 pm

Post » Fri Aug 13, 2010 8:57 am

Shouldn't UnequipItemNS do the trick? I seem to remember it being a fulfillment of OBSE wishes "removeitem/addspell/equipitem/whatnot withotu message and sound"
User avatar
sara OMAR
 
Posts: 3451
Joined: Wed Jul 05, 2006 11:18 pm

Post » Thu Aug 12, 2010 10:37 pm

from what I can see if you have a blank sound all you need is to point the sound in the correct area. I my self have not done this but if you down load this file http://www.tesnexus.com/downloads/file.php?id=28974 now looking at that in the construction set if you scroll down to Miscellaneous then under that sound find ITMweaponbladeup ITMweaponbladedown and direct both of those to the silent mp3 that should do it for blades. now if you use the esp that I directed you to then you can just do a little copy and pasting. Hope that helps you.


I appreciate that info, and the link :) I just downloaded it, and will take a look. My primary concern here, is that this will effectively remove the sound always from these objects being unequipped, when of course only wanting this to happen one time. I will check it out tho, and I thank you :)

Shouldn't UnequipItemNS do the trick? I seem to remember it being a fulfillment of OBSE wishes "removeitem/addspell/equipitem/whatnot withotu message and sound"


Indications in the wiki state none of the obse functions in that area remove the sound, they only get rid of the message unfortunately.
User avatar
k a t e
 
Posts: 3378
Joined: Fri Jan 19, 2007 9:00 am

Post » Thu Aug 12, 2010 7:40 pm

I'm working on a mod that regularly adds items to the Player under certain circumstances and I use the message spam technique. not only does it stop the annoying message from displaying at the top of the screen, it also stops the AddItem sound from playing. I don't know if this will work for UnEquip, but it can't hurt to try.

Just before the UnEquip command is called, use these two lines in your script:

Message "  "Message "  "


Note: There a two spaces between each set of " " marks.
User avatar
Dark Mogul
 
Posts: 3438
Joined: Tue Feb 20, 2007 11:51 am

Post » Fri Aug 13, 2010 10:01 am

I'm working on a mod that regularly adds items to the Player under certain circumstances and I use the message spam technique. not only does it stop the annoying message from displaying at the top of the screen, it also stops the AddItem sound from playing. I don't know if this will work for UnEquip, but it can't hurt to try.

Just before the UnEquip command is called, use these two lines in your script:

Message "  "Message "  "


Note: There a two spaces between each set of " " marks.



Thanks for the info :)

Yea, I've been using the message spam method the whole way along, it never removed the sound during unequip for me.

Ah well, not a huge deal, it's not a mod breaker or anything like that to not have this particular function happen during the cutscene.

Ive already packed things up ready for release, so I'll call this one solved.

Thanks again everyone for coming in and lending a hand :)
User avatar
Olga Xx
 
Posts: 3437
Joined: Tue Jul 11, 2006 8:31 pm


Return to IV - Oblivion