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 02-01-09, 01:41 PM   #1
NEON DEON
Ace of the Deep
 
Join Date: Apr 2005
Location: Los Angeles, CA
Posts: 1,207
Downloads: 39
Uploads: 5
Default Changing torpedo tubes.

I am trying to make a boat with old aft tubes and new fore tubes.

The Sargo is the basis of my model.

I changed the sim files to reflect MK 10s both in the tubes and in the storage then I changed Sargo.upc

this line under stern torpedo weaponslot1/2/3/4

IDLinkWeaponIntervalDefault1= NULL, NULL, TorpedoTube21inUS, Mk14Torpedo

I changed it to:


DLinkWeaponIntervalDefault1= NULL, NULL, TorpedoTube21inOldUS, Mk10Torpedo

The torpedo screen for the boat when loading torpedoes shows the correct loadout in stern storage but the stern tubes themselves are now blank.

When I change the one line back to read TorpedoTube21US, The tubes come back loaded with Mk 10s. Not really what I want because I want to restrict them from using the other torpedo types without having to restrict the newer fore tubes.

Is there an id modifier to change this or is there a link file I missed changing? Or is this even possible to do?
__________________
Diesel Boats Forever!
NEON DEON is offline   Reply With Quote
Old 02-01-09, 04:31 PM   #2
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by NEON DEON
I am trying to make a boat with old aft tubes and new fore tubes.

The Sargo is the basis of my model.

I changed the sim files to reflect MK 10s both in the tubes and in the storage then I changed Sargo.upc

this line under stern torpedo weaponslot1/2/3/4

IDLinkWeaponIntervalDefault1= NULL, NULL, TorpedoTube21inUS, Mk14Torpedo

I changed it to:


DLinkWeaponIntervalDefault1= NULL, NULL, TorpedoTube21inOldUS, Mk10Torpedo

The torpedo screen for the boat when loading torpedoes shows the correct loadout in stern storage but the stern tubes themselves are now blank.

When I change the one line back to read TorpedoTube21US, The tubes come back loaded with Mk 10s. Not really what I want because I want to restrict them from using the other torpedo types without having to restrict the newer fore tubes.

Is there an id modifier to change this or is there a link file I missed changing? Or is this even possible to do?
I tried it with one tube and it worked but did not limit the tube to only the Mk10 as the weapons.upc lists. I even went in to the .sim file and changed the aft bunkers from "I" to "Mk10" and it still did not prevent loading other torpedos while in port.

I did notice above a mistake but it may be just a copy/paste mistake, but on the "old" tube you are missing the "I" in IDLink:
Quote:
DLinkWeaponIntervalDefault1= NULL, NULL, TorpedoTube21inOldUS, Mk10Torpedo
But the tube did work.

Peabody
__________________

System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2.

peabody is offline   Reply With Quote
Old 02-02-09, 02:05 AM   #3
LukeFF
Silent Hunter
 
Join Date: Apr 2005
Location: Riverside, California
Posts: 3,610
Downloads: 41
Uploads: 5
Default

Quote:
Originally Posted by NEON DEON
Is there an id modifier to change this or is there a link file I missed changing? Or is this even possible to do?
The file you want to look at to see how this all works is Ammunition.UPC (there's one each for both the US and Germany).
__________________


ROW Sound Effects Contributor
RFB Team Leader
LukeFF is offline   Reply With Quote
Old 02-02-09, 04:19 AM   #4
NEON DEON
Ace of the Deep
 
Join Date: Apr 2005
Location: Los Angeles, CA
Posts: 1,207
Downloads: 39
Uploads: 5
Default

Quote:
Originally Posted by LukeFF
Quote:
Originally Posted by NEON DEON
Is there an id modifier to change this or is there a link file I missed changing? Or is this even possible to do?
The file you want to look at to see how this all works is Ammunition.UPC (there's one each for both the US and Germany).
Kewl.

Thanks luke.
__________________
Diesel Boats Forever!
NEON DEON 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 03:09 PM.


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.