SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 04-28-19, 05:31 PM   #1
Slyguy3129
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Maybe get to those ships that you are using, copy them. Rename them "whatever subtender" and then go into those ships dsd files and disconnect it there? That way the normal ships will still alarm but the sun tender ones won't?
  Reply With Quote
Old 04-28-19, 06:53 PM   #2
Sniper297
The Old Man
 
Join Date: Dec 2005
Location: Philadelphia Shipyard Brig
Posts: 1,386
Downloads: 160
Uploads: 19
Default

Good thinking, but looking at the
\Data\Sea\Sub_Depot_Ship\Sub_Depot_Ship.dsd
file, no gots siren in there. In the Sh.sdl file is the only reference I can find,
Ship_CollisionAlarm_EXT.wav is the sound, apparently applied to all ships. The collision detection subroutine is probably in a common file or the main program, can't find anything that controls that for any individual ship type. Editing the Sh.sdl file isn't really a viable option anyway, since a lot of mods change that one.
Sniper297 is offline   Reply With Quote
Old 04-28-19, 07:19 PM   #3
Slyguy3129
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

I would try loading in one and disconnect all the sounds you can, just to see if it snags it.

Or create a copy that has no sound attached.

The only other thing I could think of is the AI activating it.
  Reply With Quote
Old 04-28-19, 09:07 PM   #4
Sniper297
The Old Man
 
Join Date: Dec 2005
Location: Philadelphia Shipyard Brig
Posts: 1,386
Downloads: 160
Uploads: 19
Default

Never cloned a ship before, but it's worth a try.
Sniper297 is offline   Reply With Quote
Old 04-29-19, 12:47 AM   #5
Sniper297
The Old Man
 
Join Date: Dec 2005
Location: Philadelphia Shipyard Brig
Posts: 1,386
Downloads: 160
Uploads: 19
Default

Hmmm, nope. Cloned the tender, changed the name in the .dat file and .cfg, didn't show up in the roster. Roster. Duh. Looked in the roster folder, copied the SubTender.cfg, renamed that and the ship type to SubTender1.

That got some action, launch the ME and get error message, "The unit class SubTender1 from country American not found in the platforms library."

Okay, I'll bite, what and where is the "platforms library"?
Sniper297 is offline   Reply With Quote
Old 04-29-19, 12:06 PM   #6
Slyguy3129
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by Sniper297 View Post
Hmmm, nope. Cloned the tender, changed the name in the .dat file and .cfg, didn't show up in the roster. Roster. Duh. Looked in the roster folder, copied the SubTender.cfg, renamed that and the ship type to SubTender1.

That got some action, launch the ME and get error message, "The unit class SubTender1 from country American not found in the platforms library."

Okay, I'll bite, what and where is the "platforms library"?
Hmmmmm. Isn't there a library folder in the data directory? I'll have to check when I get back.
  Reply With Quote
Old 04-29-19, 01:29 PM   #7
Slyguy3129
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

There is, and it appears to be bits and pieces of the ships in game?

I'd try copying the .dsd file, back it up, and then try and remove all those sound triggers. If you remove everything and the sound still triggers, you know it's being controlled somewhere else.

At the end of the day though, I could personally live with the sound. I'd just consider it a departure/arrival alarm lol.
  Reply With Quote
Old 05-18-19, 05:43 PM   #8
s7rikeback
I break things
 
s7rikeback's Avatar
 
Join Date: Jan 2013
Location: Merry Old England
Posts: 781
Downloads: 1152
Uploads: 10


Default

Quote:
Originally Posted by Sniper297 View Post
Hmmm, nope. Cloned the tender, changed the name in the .dat file and .cfg, didn't show up in the roster. Roster. Duh. Looked in the roster folder, copied the SubTender.cfg, renamed that and the ship type to SubTender1.

That got some action, launch the ME and get error message, "The unit class SubTender1 from country American not found in the platforms library."

Okay, I'll bite, what and where is the "platforms library"?
Hello Sniper297,

If my memory serves me right, the roster is the "platforms library".
So when you cloned the SubTender did you:

1 Rename all the relevant folder & files in the Data > Sea > newUnit to matching names?

2 Did you open the Data > Sea > NewUnit.cfg and change the ClassName to your newly named unit?

3 Have you also copied the roster file over, renamed that roster file and also opened it to change the ClassName to match the class name as in question 1?

Side note - was it a full cloned, with dats & other files copied, if so have you given the unit new I'D's? As shared ID's are direct route to CTD's in-game, if you have already done this, please disregard this.
__________________
s7rikeback is offline   Reply With Quote
Old 05-18-19, 09:29 PM   #9
Sniper297
The Old Man
 
Join Date: Dec 2005
Location: Philadelphia Shipyard Brig
Posts: 1,386
Downloads: 160
Uploads: 19
Default

Can't disregard it, I'm so senile I can't remember if I did all of that or not. Guess I gotta try again, this time I'll follow your checkpoints.

I'll be back.
Sniper297 is offline   Reply With Quote
Reply


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

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

Forum Jump


All times are GMT -5. The time now is 10:38 AM.


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