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 > Silent Hunter 4: Wolves of the Pacific > SH4 ATO Mods
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 11-02-09, 12:31 PM   #1
etheberge
Watch Officer
 
Join Date: Nov 2007
Location: Montreal, QC
Posts: 345
Downloads: 614
Uploads: 10
Default

Quote:
Originally Posted by lurker_hlb3 View Post
Go to c:\Documents and Settings\xxxxx\My Documents\SH4\data\cfg\SaveGames
And your most current import save


Edit ActiveUserPlayerUnits.upc

Fine the following:

[UserPlayerUnit 1.UnitPartSlot 1.UnitPart.Compartment 1.EquipmentSlot 10]
ID=TarnmatteSlot
NameDisplayable=Tarnmatte Schnorkel Head Coating
Type=NULL
AcceptedTypes=NULL
UserCustomizable=No
ExternalNodeName3D=TAR
ExternalDamageZoneTypeID3D=28
IDLinkEquipmentLoaded=NULL

And insert this right after it

[UserPlayerUnit 1.UnitPartSlot 1.UnitPart.Compartment 1.EquipmentSlot 11]
ID=EmblemSlot
NameDisplayable=Conning tower emblem
Type=NULL
AcceptedTypes=NULL
UserCustomizable=Yes
ExternalNodeName3D=EMB
ExternalDamageZoneTypeID3D=-1
IDLinkEquipmentLoaded=NULL

Save and restart the game and the emblem addon should be there
Lurker, Akula and everyone else that wants to add this mod to an existing career,

I had the same problem as Akula, after adding the extra section as described above it still wasn't showing up in the selection screen.

It turns out there a second section that needs to be added.

Find the last section with the header [UserPlayerUnit 1.UnitPartSlot 1.UnitPart.UpgradePackSlot xx] --->the number here may vary depending on type of boat and time period, look for the last one.

Immediately below that section copy this new section:

[UserPlayerUnit 1.UnitPartSlot 1.UnitPart.UpgradePackSlot xx+1]
ID=UpgEmblem
NameDisplayable=Conning tower emblem
Type=NULL
AcceptedTypes=utypEmblemSmall
UserCustomizable=Yes
IDLinkUpgradePackSlots=EmblemSlot
CurrentUpgradePack=
IDLinkUpgradePackSlotsLoaded=NULL

Be sure to replace xx+1 with the number appropriate in your new case.

This should work, it was tested with IIB in Sep. 1939.
__________________

11 War Patrols / 56 ships sunk or damaged for 212,022 tons
Zero casualties throughout the war
Scuttled on 8 May, 1945 in Sonderburg Bay, after German surrender
etheberge is offline   Reply With Quote
Old 11-02-09, 12:47 PM   #2
Akula4745
Convicted Ship Killer
 
Join Date: Mar 2009
Location: Just out of sight... plotting your course and speed
Posts: 846
Downloads: 371
Uploads: 1
Default

Yer da bomb, big E! Will try it as soon as I am home from work.

WoO-HOo!
__________________
Akula4745



"If you sit by the river long enough... the body of your enemy will float by -- SunTzu"
Akula4745 is offline   Reply With Quote
Old 11-02-09, 01:35 PM   #3
etheberge
Watch Officer
 
Join Date: Nov 2007
Location: Montreal, QC
Posts: 345
Downloads: 614
Uploads: 10
Default IID bugfix

Othr,

Found the problem with the emblem not showing up on the IID. There's a typo in UnitParts11IID.upc.

Change:
[UnitPart 1.Compartment 1.EquipmentSlot 9]<------
ID= EmblemSlot
NameDisplayable= Conning tower emblem
Type=NULL
AcceptedTypes=NULL
UserCustomizable=Yes
IDLinkEquipmentIntervalDefault1= NULL, NULL, NULL
ExternalNodeName3D= EMB
ExternalDamageZoneTypeID3D= -1

to:
[UnitPart 1.Compartment 1.EquipmentSlot 8]<------
ID= EmblemSlot
NameDisplayable= Conning tower emblem
Type=NULL
AcceptedTypes=NULL
UserCustomizable=Yes
IDLinkEquipmentIntervalDefault1= NULL, NULL, NULL
ExternalNodeName3D= EMB
ExternalDamageZoneTypeID3D= -1

That did the trick for me. Tested with IID 1st Flotilla/Sept.1940.

__________________

11 War Patrols / 56 ships sunk or damaged for 212,022 tons
Zero casualties throughout the war
Scuttled on 8 May, 1945 in Sonderburg Bay, after German surrender
etheberge is offline   Reply With Quote
Old 11-02-09, 05:31 PM   #4
othr
Mate
 
Join Date: Jul 2009
Posts: 54
Downloads: 83
Uploads: 0
Default

Thanks a bunch, most issues now fixed in 0.4.
othr is offline   Reply With Quote
Old 11-02-09, 06:02 PM   #5
Akula4745
Convicted Ship Killer
 
Join Date: Mar 2009
Location: Just out of sight... plotting your course and speed
Posts: 846
Downloads: 371
Uploads: 1
Default

Works like a champ now. My thanks to all who helped get me working!!

I played around with a few emblems and this method does not flip the image - so it works great for non-directional emblems like shields and such - directional emblems like the snorting bull, smiling sawfish, and leaping devil will be aiming forward on the port side... and to the rear on the starboard side. Risking a stupid question... is there a way to flip the image for opposing sides?
__________________
Akula4745



"If you sit by the river long enough... the body of your enemy will float by -- SunTzu"
Akula4745 is offline   Reply With Quote
Old 11-02-09, 06:10 PM   #6
etheberge
Watch Officer
 
Join Date: Nov 2007
Location: Montreal, QC
Posts: 345
Downloads: 614
Uploads: 10
Default

Othr,

I think the 0.4 archive may be corrupted. I tried downloading twice from filefront but no joy.

Akula were you able to get the new version?
__________________

11 War Patrols / 56 ships sunk or damaged for 212,022 tons
Zero casualties throughout the war
Scuttled on 8 May, 1945 in Sonderburg Bay, after German surrender
etheberge is offline   Reply With Quote
Old 11-02-09, 06:11 PM   #7
lurker_hlb3
Admiral
 
Join Date: Apr 2005
Location: San Diego Calif
Posts: 2,290
Downloads: 187
Uploads: 12
Default

Quote:
Originally Posted by etheberge View Post
Othr,

I think the 0.4 archive may be corrupted. I tried downloading twice from filefront but no joy.

Akula were you able to get the new version?
I can confirm that it is corrupted
lurker_hlb3 is offline   Reply With Quote
Old 11-02-09, 06:36 PM   #8
othr
Mate
 
Join Date: Jul 2009
Posts: 54
Downloads: 83
Uploads: 0
Default

Quote:
Originally Posted by Akula4745 View Post
Works like a champ now. My thanks to all who helped get me working!!

I played around with a few emblems and this method does not flip the image - so it works great for non-directional emblems like shields and such - directional emblems like the snorting bull, smiling sawfish, and leaping devil will be aiming forward on the port side... and to the rear on the starboard side. Risking a stupid question... is there a way to flip the image for opposing sides?
I'll look into that, if it means doubling the amount of entries in the .dat files and the UPC files I probably won't do it.
othr is offline   Reply With Quote
Old 11-02-09, 10:06 PM   #9
othr
Mate
 
Join Date: Jul 2009
Posts: 54
Downloads: 83
Uploads: 0
Default

Quote:
Originally Posted by Akula4745 View Post
Works like a champ now. My thanks to all who helped get me working!!

I played around with a few emblems and this method does not flip the image - so it works great for non-directional emblems like shields and such - directional emblems like the snorting bull, smiling sawfish, and leaping devil will be aiming forward on the port side... and to the rear on the starboard side. Risking a stupid question... is there a way to flip the image for opposing sides?
As etherberge pointed out this would be really easy to do, however, any emblems with text in them will get the 'mirrored' effect on one of the sides. That is a problem and there really is no easy way to approach this other than creating duplicates of already created emblems.

I guess there could be an addon on top of this addon to make what you want happen, pretty dirty and I don't like it but there really isn't much else we can do.
othr is offline   Reply With Quote
Old 11-03-09, 07:41 AM   #10
etheberge
Watch Officer
 
Join Date: Nov 2007
Location: Montreal, QC
Posts: 345
Downloads: 614
Uploads: 10
Default

I suppose it would be possible to include two versions of the .dat files, one with the emblem facing backwards on one side but not mirrored and the other with both sides facing forwards but one side mirrored.

Leave it up to the users to choose which one they want by manually copying the files or through JSGME. This way everyone could have their cake and eat it too.
__________________

11 War Patrols / 56 ships sunk or damaged for 212,022 tons
Zero casualties throughout the war
Scuttled on 8 May, 1945 in Sonderburg Bay, after German surrender
etheberge is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 07:15 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.