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

Post » Wed Nov 30, 2011 6:05 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
Jack Walker
 
Posts: 3457
Joined: Wed Jun 06, 2007 6:25 pm

Post » Wed Nov 30, 2011 11:44 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
Gavin Roberts
 
Posts: 3335
Joined: Fri Jun 08, 2007 8:14 pm

Post » Wed Nov 30, 2011 11:28 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
asako
 
Posts: 3296
Joined: Wed Oct 04, 2006 7:16 am

Post » Wed Nov 30, 2011 11:01 am

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
Michelle Smith
 
Posts: 3417
Joined: Wed Nov 15, 2006 2:03 am

Post » Wed Nov 30, 2011 3:36 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
GRAEME
 
Posts: 3363
Joined: Sat May 19, 2007 2:48 am

Post » Wed Nov 30, 2011 8:24 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
Natalie Harvey
 
Posts: 3433
Joined: Fri Aug 18, 2006 12:15 pm


Return to IV - Oblivion