PDA

View Full Version : Messed up submarine skin when swapping conning towers.


Royale-Adio
04-04-10, 05:23 PM
I just want to know why the submarine skin is always messed up when I swap the coning towers... The conning tower skin is right but the submarine one is all messed up.

The result of the swap:

http://img189.imageshack.us/img189/5582/37526618.jpg

It's like the skin of my XVIII is mixed with the O01 of the IX9D2
What I don't understand is why is the tower skin is okay and not the sub because both skins lightmaps and T01 are separate files.

What do I do now? Any help is welcome. Thanks for fast replies.

EDIT: I think that by putting the tower of the XVIII on the IXD2, the XVIII automatically imported the texture of it's sub. I also think that we are seeing the O01 of the IXD2 but it could be the XVIII one, I'm not sure... I think that the XVIII tower and the XVIII textures are connected, maybe there's a way to diconnect them somehow.

Silverwolf
04-04-10, 08:49 PM
When you edited the IXD2 unit parts .upc file did you only replace this line with the tower you wanted?

ExternalLinkName3D= data/objects/Turm_9d2_1

Cause if you mess with anything below the line the texture changes.

Royale-Adio
04-04-10, 09:35 PM
When you edited the IXD2 unit parts .upc file did you only replace this line with the tower you wanted?

ExternalLinkName3D= data/objects/Turm_9d2_1

Cause if you mess with anything below the line the texture changes.

I'll check it out

EDIT: I actually edited the UPC file in Submarine folder

;************************************************* ***********
;
; SUBMARINE TYPE DEFINITION
;
;************************************************* ***********

;------------------------------------------------------------
; Crew Evolutions
;------------------------------------------------------------
;Evolution= Normal
;Evolution= Battle_Stations

[UserPlayerUnit 1]
ID=IXD2
NameDisplayable=Type IX D2 U-boat
UnitName= U-179
Type=IXD2
UpgradeClass=1
UnitInterval= 1941-12-31, 1967-06-01
ExternalClassName=SSTypeIXD2
Nationality=German
CrewRanks=15
Evolution= Normal
Damage= 0
TextureName=data/Submarine/NSS_Uboat9d2/NSS_Uboat9d2_T01.tga
LightmapTextureName=data/Submarine/NSS_Uboat9d2/NSS_Uboat9d2_O01.tga
NormalmapTextureName= NULL
MenuSilhouetteTextureName= Typ_9_1.tga
MaxPettyOfficers=32 ; max number of crewmembers over rank 4
MaxOfficers=6 ; max number of crewmembers over rank 7

[UserPlayerUnit 1.UnitPartSlot 1]
ID=IXD2ConningSlot
NameDisplayable=Conning Tower Mount
Type=NULL
AcceptedTypes=XVIIIConningTower ;Only UnitParts of this type could be placed here
IDLinkUnitPartIntervalDefault1= 1939-01-01, 1945-12-31, XVIIITower
ExternalNodeName3D= Z01

Royale-Adio
04-04-10, 09:48 PM
It works!

Only problem now:

http://img15.imageshack.us/img15/1552/29256974.jpg

Where are my Flak guns? How do I put the originals back on?

Sledgehammer427
04-05-10, 12:34 AM
euh.

now that you got your IXD2 tower to look like a type XVIII tower (:O:)
you have to edit your IXD2 flak guns to be XVIII flak guns. I do believe that would require editing the UnitParts1IXD2.upc file in Data/UPCDataGE/UPCUnitsData
it's an educated guess and I'm a little busy with other things to instruct you further. I hope it ends up working for ya!:yeah:

Royale-Adio
04-05-10, 02:23 AM
Thanks slege, but I have no results so far. At least, I made the new skin (Hi-Res). To anybody willing to help, please do so, it will be very appreciated as I now intend to make it a download.

The result so far, without the turrets :damn: :

http://img25.imageshack.us/img25/2663/37426128.jpg

I hope to hear from you all soon.

Thanks!

Jan Kyster
04-05-10, 03:21 AM
:hmmm: hmmm, it reminds me of something...


http://i189.photobucket.com/albums/z15/subject_rod/smilies/av-28925.gif



:rotfl2: sorry, couldn't resist.

But I wish you a happy journey on the path to knowledge. With the friendly people onboard, I 'm sure you'll arrive safe and well! :up:

Royale-Adio
04-05-10, 04:00 AM
euh.

now that you got your IXD2 tower to look like a type XVIII tower (:O:)
you have to edit your IXD2 flak guns to be XVIII flak guns. I do believe that would require editing the UnitParts1IXD2.upc file in Data/UPCDataGE/UPCUnitsData
it's an educated guess and I'm a little busy with other things to instruct you further. I hope it ends up working for ya!:yeah:

I think it's something else. I edited the UPCUnitsData but it still doesn't work. :damn:

Karle94
04-05-10, 05:15 AM
I think it's something else. I edited the UPCUnitsData but it still doesn't work. :damn:

It is the right file. Scroll down to the bottom and you will find a section dedicated to upgrades. Find both Upack20mmSingle and replace both with Upack20mmTwinXVIII. If it doesn`t work then I`m clueless.

Silverwolf
04-05-10, 05:19 AM
As far as I know the AA guns are controlled by the upgrade pack slot in the unitpartsupc. You could also check the equipment file in the submarine folder. It's .eqp, then look for A01 and A02, those are the flak gun blocks.

They deal with which model the sub uses for the guns so you're going to have to open the flak gun .dat file and find the model name.

Here's an example of what the blocks are in the equipment file. The link name is for the model name in the .dat file.

[Equipment 14]
NodeName=A01
LinkName=NULL
StartDate=19450101
EndDate=19600631

[Equipment 15]
NodeName=A02
LinkName=NULL
StartDate=19410101
EndDate=19440901

Royale-Adio
04-05-10, 05:47 AM
As far as I know the AA guns are controlled by the upgrade pack slot in the unitpartsupc. You could also check the equipment file in the submarine folder. It's .eqp, then look for A01 and A02, those are the flak gun blocks.

They deal with which model the sub uses for the guns so you're going to have to open the flak gun .dat file and find the model name.

Here's an example of what the blocks are in the equipment file. The link name is for the model name in the .dat file.

[Equipment 14]
NodeName=A01
LinkName=NULL
StartDate=19450101
EndDate=19600631

[Equipment 15]
NodeName=A02
LinkName=NULL
StartDate=19410101
EndDate=19440901

I shall reply only with this:

http://img40.imageshack.us/img40/3568/47006505.jpg

:rock::yeah::rock:

Now just tell me how to create a whole new boat with the .DAT file, textures and all to make this baby available to you...

Royale-Adio
04-05-10, 06:36 AM
Bit of a problem here...

http://img62.imageshack.us/img62/3667/11681542.jpg

Wondering how to remove this. Is it a setting with the crew?

McHibbins
04-05-10, 06:47 AM
Stock bug...still in

Royale-Adio
04-05-10, 07:10 AM
Stock bug...still in

Thought it was removed with early updates... Any ideas?