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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 01-30-25, 01:20 PM   #11
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 10,245
Downloads: 466
Uploads: 4


Default

Quote:
Originally Posted by torpedobait View Post
No, I never mess with the Deck Gun. I avoid any issues with it simply accepting what the game gives me.

What I'm referring to is the missing 2nd gunner for the 40mm AA guns. If you add the gun, timely or when first available as a "purchase" with renown, it only comes with one gunner Slot and no space for the loader (or second AA Crewman). The work-around has been to go into the SH4 Documents, the last file in SaveGames. to the ActiveUserPlayerUnits (I think). Then find the Slot 1 Crewmember for the 40mm. That needs to be replicated for a 2nd Crewmember Slot.

Last time I did it for my current patrol, I found the above and below it was a setup for a 2nd Crewmember, but it had another phrase in it that I had to change to "Crewmember Slot 2". That added the 2nd gunner slot. If you add a 2nd 40mm later, you have to do the same thing for the new gun.

I may have not given you the exact wording above, but I bet you will recognize what I was trying to get acress.

If you need me to, I think I can go back to a SaveGame just before adding the first 40mm so I can walk myself through the process and get the exact place/wording. Just let me know.

Thanks!

EDIT: Went back to a Save game taken just before adding the 40mm fore and aft AA Guns. This is what I then did to add the 2nd gunner/loader to both guns:
Went to my Documents/SH4/data/cfg/SaveGames/(my latest Save file) and opened that file.
Searched for "ID=CrewMemberSlot_FlakC1"
In the line immediately above, changed "CrewMemberSlotAdditionalRepository 1" to "CrewMemberSlot 2"

Then, since I had added 2 40mm AA Guns, I changed the Search to "ID=CrewMemberSlot_FlakC2"
In the line just above the Serch Results, changed "CrewMemberSlotAdditionalRepository 1" to CrewMemberSlot 2"

After saving the changed file, I went back to the game loaded the latest Saved File, and now had two Crew Member Slots for each AA.

It's a cumbersome process, I know, and without having the code that generates the texts for the gun slots, I don't know how I could correct the entries for the 2nd Crewmen.

Maybe you know how? I hope so!
The same technique is used to fix crew positions on the deck guns also. It's got slightly different wording. Sometimes, the positions have extra wording, sometimes the positions are missing, and sometimes the gun entry is only part of what should be there, or it's entry is missing completely. These (like others) are ALL issues that have been a part of SH4 since day one... all we can try to do in this case, is apply a bandaid, like you did. We're trying to write a program tool to help the player do the changes, but allowing for the various computer configurations that might be encountered is the main challenge.
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
 

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 02:19 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.