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

Reply
 
Thread Tools Display Modes
Old 08-27-07, 10:12 PM   #1
panthercules
The Old Man
 
Join Date: Apr 2005
Posts: 1,336
Downloads: 6
Uploads: 0
Default [REL] Fix for Early Gato AA Bathtub blocking view

In response to a question from Redwine, we have developed a fix to the problem some folks have experienced with the early war Gato AA gun weather farings ("bathtub") blocking your view of the guns, sight and target when you traverse the twin 20mm flak guns to point toward the sides of your boat.

The fix I came up with was simply to use minitweaker on the cameras.dat file to change the CameraParams Clipdistance settings to 0.45 (I did it for both dropdowns - "AA20mmPortGun" and "AA20mmStarbGun" - not sure if that's really necessary or not). A sample screenshot showing the result (i.e., with the bathtub not blocking your view) is shown below:



In addition to this minitweaker fix, DyingCrow appears to have come up with an alternative fix approach using the Silent 3ditor program - see DyingCrow's post (#21) in Redwine's thread here for more details of the problem and the alternative solutions: http://www.subsim.com/radioroom/show...=120905&page=2

I and others in Redwine's thread thought that we had seen a fix for this posted around here a while back, but I wasn't able to find it so I had to create it from scratch - apologies to the original fixer if there is one - feel free to update this thread with links to the original fix if there was one and someone knows where it is, and give credit to the original fixer. Remembering Mav87th's early work on getting the conning tower/bridge crew to disappear from the binoculars view by increasing the clipping distance happened to provide my inspiration/epiphany for my minitweaker tweak for this bathtub thing, so thanks again Mav87th

Hope you early Gato drivers enjoy this. Works fine with patch 1.3, and doesn't seem to have screwed up any other boat/gun combos that I've tried so far, but I haven't tested them all by any means so feel free to post here if you spot any unintended consequences.

Good luck, and good hunting!
__________________
panthercules is offline   Reply With Quote
Old 08-28-07, 12:49 AM   #2
LukeFF
Silent Hunter
 
Join Date: Apr 2005
Location: Riverside, California
Posts: 3,610
Downloads: 41
Uploads: 5
Default

Yep, I noticed a problem. On the Porpoise class, the aft 20mm AA gun (single barrel) has its gunsight clipped off with this camera setting.
LukeFF is offline   Reply With Quote
Old 08-28-07, 01:40 AM   #3
panthercules
The Old Man
 
Join Date: Apr 2005
Posts: 1,336
Downloads: 6
Uploads: 0
Default

Quote:
Originally Posted by LukeFF
Yep, I noticed a problem. On the Porpoise class, the aft 20mm AA gun (single barrel) has its gunsight clipped off with this camera setting.
Ahh - thanks - I'll check this out tomorrow and see if one of the other settings makes both work - if not, I suspect this might have to be something you activate only if you have an early Gato with the problem, and revert back to stock for any other boat - thank goodness JSGME makes it really easy to do something like that (I've made a Gato-only version of the cameras.dat file that I've set up by itself in a JSGME-ready mod, and just load it up via JSGME whenever I have a Gato and unload it when I don't - works like a charm).
__________________
panthercules is offline   Reply With Quote
Old 08-28-07, 12:34 PM   #4
Redwine
Sea Lord
 
Join Date: Jan 2002
Location: San Martin de los Andes, Neuquen, , Argentina.
Posts: 1,962
Downloads: 10
Uploads: 0
Default

many thanks...
Redwine is offline   Reply With Quote
Old 08-28-07, 09:15 PM   #5
panthercules
The Old Man
 
Join Date: Apr 2005
Posts: 1,336
Downloads: 6
Uploads: 0
Default

Well, bummer - maybe DyingCrow will have better luck with his Silent 3ditor approach, but I was not able to find a combination with the minitweaker settings that would fix it for the Twin-gunned early Gato without screwing it up for the single 20mm guns on other boats. So, my recommendation would be to load this up in a Gato-only JSGME-ready mod (using a copy of the cameras.dat file of your otherwise-modded install), so you can use JSGME to just activate it when you have a Gato and de-activate it when you don't.

As they say, half a loaf ...
__________________
panthercules is offline   Reply With Quote
Old 08-28-07, 10:49 PM   #6
clayp
The Old Man
 
Join Date: Mar 2007
Posts: 1,554
Downloads: 340
Uploads: 0
What if a person cant fix it with any of those programs?
__________________
clayp

clayp is offline   Reply With Quote
Old 08-29-07, 01:51 AM   #7
panthercules
The Old Man
 
Join Date: Apr 2005
Posts: 1,336
Downloads: 6
Uploads: 0
Default

Quote:
Originally Posted by clayp
What if a person cant fix it with any of those programs?
Not sure what you mean? Do you mean if someone doesn't know how to use minitweaker, or JSGME or something else?

Surely, nobody who uses mods can not know how to use JSGME (it's UNTHINKABLE! ), so maybe you mean minitweaker?

That can be a bit tricky, but it's well worth learning how to use. However, for anybody who doesn't know/want to try using minitweaker for this, if they want to send me a copy of their current version of their cameras.dat file I'd be happy to tweak it for this and put it into a Gato-only JSGME-ready mod and send it back to them - just PM me with an e-mail address for me to e-mail or a link to where you have uploaded the copy of cameras.dat you want me to use.
__________________
panthercules is offline   Reply With Quote
Old 12-21-07, 09:03 AM   #8
Reece
CINC Pacific Fleet
 
Reece's Avatar
 
Join Date: Sep 2003
Location: Down Under
Posts: 34,718
Downloads: 171
Uploads: 0
Default

I have this problem & tried opening the cameras.dat file with minitweaker but the entries are wierd, possably due to version 1.4:

Is there a later version of this tweak file?
Thanks.
__________________

Sub captains go down with their ship!
Reece is offline   Reply With Quote
Old 12-21-07, 09:05 AM   #9
DrBeast
The Old Man
 
Join Date: Oct 2007
Location: Somewhere Out In Space
Posts: 1,408
Downloads: 36
Uploads: 0
Default

Quote:
Originally Posted by Reece
I have this problem & tried opening the cameras.dat file with minitweaker but the entries are wierd, possably due to version 1.4:
*snip!*
Is there a later version of this tweak file?
Thanks.
Nothing to do with the patch. The tweak file just reads the value in the wrong format. Don't remember if there's a tweaker file that reads the right format. Try S3D Editor, IIRC it's listed correctly there.

ETA: Yup, just opened up a cameras.dat file with S3D, it reads the clipping distance parameter correctly.
__________________



Let the Beast inside you free!
DrBeast is offline   Reply With Quote
Old 12-21-07, 09:11 AM   #10
Reece
CINC Pacific Fleet
 
Reece's Avatar
 
Join Date: Sep 2003
Location: Down Under
Posts: 34,718
Downloads: 171
Uploads: 0
Default

I would but I don't want .NET on my machine, causes too many problems!
__________________

Sub captains go down with their ship!
Reece is offline   Reply With Quote
Old 12-21-07, 09:15 AM   #11
DrBeast
The Old Man
 
Join Date: Oct 2007
Location: Somewhere Out In Space
Posts: 1,408
Downloads: 36
Uploads: 0
Default

Quote:
Originally Posted by Reece
I would but I don't want .NET on my machine, causes too many problems!
Sorry to hear that, works fine for me (and I'm pretty trigger-happy when it comes to Microsoft and its products ).
__________________



Let the Beast inside you free!
DrBeast is offline   Reply With Quote
Old 12-21-07, 11:11 AM   #12
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 26
Uploads: 3
Default

What problems does .NET give you?
skwasjer is offline   Reply With Quote
Old 12-21-07, 08:53 PM   #13
Reece
CINC Pacific Fleet
 
Reece's Avatar
 
Join Date: Sep 2003
Location: Down Under
Posts: 34,718
Downloads: 171
Uploads: 0
Default

On my XP Pro, I get lock ups, reboots whenever it feels like it!, I have probably installed v1.1 & 2 atleast 3 or 4 times & wierd thing start happening, lucky I allways ghost my machine regularly & each time I can go back and all runs ok again, there maybe a problem with this installed version of XP, it's the same version I installed quite a few years ago, I would hate to have to re-install from scratch, would take weeks to get it all back in!! I have Trainz 2006 & this requires .NET but rather give it a miss than install, one thing that annoys me is the fact that you have to have all the various versions in, for the app that the version was designed in, typical Microsoft!
__________________

Sub captains go down with their ship!
Reece is offline   Reply With Quote
Old 12-21-07, 09:43 PM   #14
donut
The Old Man
 
Join Date: Apr 2004
Location: The Shifting, Whispering Sands, NM
Posts: 1,463
Downloads: 10
Uploads: 0
I hate to ask

is this mod, patch 1.4 compatible ? I hope,someone was asking for a fix recently
donut is offline   Reply With Quote
Old 12-21-07, 10:27 PM   #15
Reece
CINC Pacific Fleet
 
Reece's Avatar
 
Join Date: Sep 2003
Location: Down Under
Posts: 34,718
Downloads: 171
Uploads: 0
Default

Not with the minitweaker only with S3D Editor, I would just ask someone to do the mod for me but there are different versions of cameras.dat, I'm using ROW mod version.
__________________

Sub captains go down with their ship!
Reece 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 05:09 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.