SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   Changing torpedo tubes. (https://www.subsim.com/radioroom/showthread.php?t=147680)

NEON DEON 02-01-09 01:41 PM

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?

peabody 02-01-09 04:31 PM

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

LukeFF 02-02-09 02:05 AM

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).

NEON DEON 02-02-09 04:19 AM

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.


All times are GMT -5. The time now is 10:05 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.