When you unequip and equip stuff there’s always a “schling” if it’s a sword etc. Sometimes I wish, in certain circumstances, that one could somehow block the game from playing these sounds. My guess is that this is impossible and/or hardcoded, but I thought to ask here anyway.
Sure, I could remove certain sounds by putting an identical wav file (with the same name, I mean) that is silent, but then ALL those equip/unequip sounds would go away. I just wish I could script when not wanting the game to play these kind of sounds.
Two examples from the module I’m working on now:
The PC and the party is imprisoned and in a dialogue node I strip the party of their items that are later retrievable. It’s just so darn obvious for the player that this is about to happen since he/she can hear the sound of me unequipping the party.
The PC and the party gets up on horses (just when entering an area) and I want them without weapons on those horses. I do a fade to black so that I hide the getting up on the horses since they are supposed to be on horses when we enter the area. Sure, I could get them up on horses when we jump from the other area, but then there still will be this ugly “schling” sound when the game takes away a sword from a character for example.
hi andgalf .why don’t you do it in a cutscene/dialogue. will the sound be played? / if I don’t know. I think that this can be somehow removed, but for this you need to get the sound being played through the script and play another one, or try to turn off the sounds in the area.
something like that but you need to get your sound somehow and turn it off / replace it.
@Lance_Botelle - I just tried it, but it still makes a sound unfortunately. Here’s the hourse mounting script function that @kevL_s was kind enough to make for me a little while back. I think you can see what I changed:
Yes, and I believe they are mentioned in inventorysnds.2da too. So I could replace all the common sounds from dropping and equipping sounds, I guess, but I don’t like that approach, 'cause sometimes I think it’s good that the game tells the player that he has dropped or picked up or unequipped an item.
I wonder if just leaving the sound is probably the best, as it does give the player the heads up.
Or, hide the sound behind another in some way. Have some guards nearby who are drawing their weapons or a crowd cheering, etc. But that is governed by circumstances. I.e. Disguise the sound in some way.
OK, I checked the toolset and baseitems.2da refer to a sound that is found in the inventorysnds.2da (by the looks of it).
If you still wanted to try to use empty sound files, maybe it is one of those … which you could try, and then play your own equip/unequip sound from that hook when desired.
EG: Replace inventorysnds.2da with a blank/empty version. (Test if that stops the sounds.) Then use the data in that 2da to write an if/else if statement that checks for the 2da ref in the baseitems.2da (InvSoundType) and then manually play its reference, either direct from the script, or referring to your own renamed inventorysnds.2da instead.
This would (in theory) allow you full control over when inventory sounds are played.