View Single Post
Old 05-16-12, 05:57 PM   #13
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by yoshida-kun View Post
Thank you, I also would like to know how to remove a conning tower that isn't in the dat file??
Not sure I understand the question, you want to remove a tower that isn't there?

I assume you might mean your sub doesn't have a conning tower?

Well anyway here are the files:

1. In the submarine.dat file is a Z01 node, that is for the conning tower.
like this: cfg#Z01_NSS_Balao
2. In the submarine.upc file is an entry like this which point to the Z01 node and textures etc:

[UserPlayerUnit 1.UnitPartSlot 1]
ID=BalaoConningSlot
NameDisplayable=Conning Tower Mount
Type=NULL
AcceptedTypes=GatoConningTower ;Only UnitParts of this type could be placed here
IDLinkUnitPartIntervalDefault1= NULL, 1944-04-01, BalaoConningMs9
IDLinkUnitPartIntervalDefault2= 1944-04-02, NULL, BalaoConningMs32
ExternalNodeName3D= Z01

3. The actual towers.dat, sim etc are in the Objects folder.

4. The upc files for the tower are in the UPCData/UPCUnitsData/UnitParts#subname.upc.

So if you need to eliminate the tower, you delete #1 and #2. BUT your deckwatch, radars, radio, periscopes, flak guns are all in the tower. So if you eliminate the tower you need to transfer the UnitParts#Subname.upc stuff into the Submarine.upc file (the equipment and if you want, the crew) and renumber compartments for them.

Then you take the stuff that is needed from the Objects folder for the equipment and put it into the submarine.dat, .sim, etc. make sure you use the same Object 'tower' as the Unitparts 'tower'.

Edit: Sorry I didn't say that right it doesn't contain the radars in contains the radar antenna, radio antenna and so on. Not the actual radar unit itself.

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.


Last edited by peabody; 05-16-12 at 06:11 PM.
peabody is offline   Reply With Quote