SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SHIII Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=195)
-   -   [WIP] [Deck Gun] Sound mod not working or crashing game? (https://www.subsim.com/radioroom/showthread.php?t=239741)

coldDynamic 01-23-19 05:40 AM

[Deck Gun] Sound mod not working or crashing game?
 
Hello all,

I have been working on a mod for the deck gun sound that replaces the default sound provided by the file "P09_$Gun_muzzle_flash", however when I replace the file the sound either does not play (only playing the very first part of the deck gun sequence, sounds like tapping a tin can before ending) or alternatively crashes the game.

Is file size an issue with a deck gun sound mod replacement? The default "Gun_muzzle_flash" file is 272KB, the new .WAV file I have created blends multiple sounds/voices and comes up at 1.29MB. Does SH3 cap the file size of this sound each time a shot is fired?

Otherwise I thought duration might be a factor. The default sound has a 3 second run time, whereas my new sound runs for 7 seconds (almost the whole reload time for the 88mm gun, as I have put sounds of of the blast, gun breech, empty shell and shouted commands). Perhaps the run time is too long for SH3 to play the sound properly?

Any help or info on why this may be occurring would be greatly appreciated, thank you!

von Zelda 01-23-19 06:01 AM

Deck Gun sound mod already exists
 
Check out: http://www.subsim.com/radioroom/down...o=file&id=3568

It adds files for P03 & P09 and includes voice saying "Los", firing of the shell and clanging sound of casing hitting the deck. Works for both size deck guns. I've set SH3 Commander to allow firing every 5 seconds; I'd say this would be the minimum based on length of sound files. But, for more realism you might up the minimum to 6 or higher seconds.

I hope you find this helpful.

coldDynamic 01-23-19 06:38 AM

Hi von Zelda,

I have had issues with that particular mod in the past unfortunately, the shell will leave the gun before the gunner says "los" and resulting blast sound occurs after the gun has already finished firing :cry:

I have spent a fairly long time creating this one and would like to get it working if it is possible, but many thanks all the same!

ivanov.ruslan 01-23-19 07:17 AM

Try as a mono file

von Zelda 01-23-19 11:42 AM

Quote:

Originally Posted by coldDynamic (Post 2588035)
Hi von Zelda,

I have had issues with that particular mod in the past unfortunately, the shell will leave the gun before the gunner says "los" and resulting blast sound occurs after the gun has already finished firing

Agreed, gunner says "los", shell flash is seen and blast sound is immediately heard. I questioned this myself; but, I justified this as, sound travels slower than light and sight. And, this is the best and only deck gun mod I have.

When you complete yours, I hope soon, you'll upload it for the rest of us to download and use. Remember, apparently and I don't know why, there are 2 sound files that need to be modified: P03 and P09.

coldDynamic 01-24-19 07:49 AM

Thank you ivanov.ruslan! Converting the existing files I created to mono format has made both of them work perfectly!

von Zelda - I have asked permission from the admins to upload this to the downloads section for SH3, will do so as soon as I am able.

ivanov.ruslan 01-24-19 09:25 AM

For nothing :salute:

coldDynamic 01-25-19 01:13 AM

Hi all,

Uploaded, please try it and let me know what you think, thank you for all the help :salute:

http://www.subsim.com/radioroom/down...o=file&id=5416


All times are GMT -5. The time now is 11:35 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.