View Single Post
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