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
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 09-06-07, 03:26 AM   #1
Coletrains
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default Problem manually solved

I had the same problem when ever I tried to change the gun type within a career. I am playing with v1.2 knowing that I always have to set my gun type when offered a new bot. Unfortunately with the new Balao class I installed a bow gun instead of stern (I always used stern since I need the the gun only if i cant dive due to hull damage and a destroyer is following me).

Solution (not so easy) to replace a Bow deck gun with a Stern deck gun (2 crewmen):
all entrances are in the file of your savegame:
-ActiveUserPlayerUnits.upc (backup it!)

-Search for the compartments 7 (Stern gun) and 8 (Bow gun)
they start with "UserPlayerUnit 1.Compartment 7"
-Get a feeling of the file structure and write it down (compare sections of savegames with Stern and Bow type gun for instance and see differences)
-do not change "UserPlayerUnit 1.Compartment 7/8"
-now exchange the weapon entrances:
for instance replace "[UserPlayerUnit 1.Compartment 7.CrewMemberSlotAdditionalRepository 1]" (which means nothing is installed at stern)
with all sub categories beginning with "[UserPlayerUnit 1.Compartment 8.WeaponSlot 1.Weapon]" to "[UserPlayerUnit 1.Compartment 8.CrewMemberSlot 2.CrewMember.Rank.CrewMember3D]"
-you can simply cut/copy and paste.
-now change the numbers "7" to "8" and "8" to "7" of the moved categories

Some small changes left:
-in "[UserPlayerUnit 1.Compartment 7.WeaponSlot 1]" enter the gun type:
-"IDLinkWeaponLoaded=x", x=gun type for me it was 4in50calUS
-search in compartments 7 and 8 for (multiple entries) :
"ID=CrewMemberSlot_x", x should be DGun for Stern and DGgun2 for Bow (note that there is another extension C1 and L for crew and leader which you dont need to change like DGun2L)
-search for "WatchCrewMemberSlot3D=WM2@slot_M0x", x=1 for Bow, and x=2 for Stern (if you don't adjust this you have a shooting non visible gun crew)

-search for "CurrentUpgradePack=Upack4in50calDGBow" and change this to "CurrentUpgradePack=Upack4in50calDGStern" (this is only for the description in the docks)

------
I am German. Do you know that "Bow" means in German "Bug" ....and we all now what a game Bug is.
  Reply With Quote
Old 09-06-07, 02:02 PM   #2
neumanf15
Seaman
 
Join Date: Aug 2007
Posts: 41
Downloads: 7
Uploads: 0
Default

Coletrains,
Thank you! I now have a working fore gun! I've had this problem both with and without TM 1.6, and you have helped me at least get it working!

A thought for you (this worked for me): I replaced the stern gun with a fore gun in my game, letting it take away the slots. Then I followed your directions for swapping the crew. My crewmen's data was in the "Compartment 7 ...AdditionalRepository" slots.
It already had the gun mounted correctly, so all I had to move was the crew slots.

Again, THANK YOU!
neumanf15 is offline   Reply With Quote
Old 09-07-07, 05:13 PM   #3
madcat
Swabbie
 
Join Date: Apr 2007
Posts: 11
Downloads: 1
Uploads: 0
Default

Thank you very much, did what you said & fixed it . All so now I under stand how it works I could fix the 40mm as well.

Thanks again
madcat is offline   Reply With Quote
Reply


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 10:33 PM.


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.