SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   Silent Hunter 4: Wolves of the Pacific (https://www.subsim.com/radioroom/forumdisplay.php?f=202)
-   -   Problem with compass on bridge? (https://www.subsim.com/radioroom/showthread.php?t=166160)

Barso 03-25-10 05:41 PM

Problem with compass on bridge?
 
I have a problem with the compass on the bridge.
The compass face looks as if it has been flipped on its side.
Any help appreciated.
These are the mods I have installed:
OM720,
OMEGU300,
RSDC

Sammi79 04-18-10 05:01 AM

Hi Barso, I noticed exactly this same problem with the uboat bridge compass' there are 2 of them 1 by the attack scope and 1 by the uzo. The problem seems to be that they are designed as rotating dials (which is correct of course) but as you change heading, they both rotate around the x axis (left to right) as opposed to the y axis (up to down).

I have trawled these forums for any info on this but it seems not many people either have this same problem or most have not noticed/do not care. I am looking through the files using S3D but I am very new to this program and know very little about this modding process/file structure. As yet I have been unable to find exactly where these axes are set.

If/When I find them I will try to implement a change, maybe make my first mod! Anyway I thought I would reply to bump this post as it's an issue that damages the immersion for me albeit slightly so if any experienced modders out there read this maybe you could point me/us in the the right direction. :hmmm:

The file I am looking at atm is : SH4install/Data/Objects/turm7b_1_hd.cam

index's 22-26 appear to contain info relevant to these dials and their ranges although there is no mention of the axes so maybe in a different file?
There are a lot of files to scan through though so it is going to take a while.:yawn:

nearly forgot mods I am running are :-
OM720 patch 3
OMEGU 300 patch 5a (I replaced the type 7 uboat textures with hires ones from those FUBAR ones)
OM Harder Escorts L2
German Map Labels
ATO Captains Office
Das Boot Music + patch (also tweaked to play more like I want it - put main theme as main menu loop etc.)

peabody 04-18-10 11:56 AM

Quote:

Originally Posted by Sammi79 (Post 1364018)
Hi Barso, I noticed exactly this same problem with the uboat bridge compass' there are 2 of them 1 by the attack scope and 1 by the uzo. The problem seems to be that they are designed as rotating dials (which is correct of course) but as you change heading, they both rotate around the x axis (left to right) as opposed to the y axis (up to down).

I have trawled these forums for any info on this but it seems not many people either have this same problem or most have not noticed/do not care. I am looking through the files using S3D but I am very new to this program and know very little about this modding process/file structure. As yet I have been unable to find exactly where these axes are set.

If/When I find them I will try to implement a change, maybe make my first mod! Anyway I thought I would reply to bump this post as it's an issue that damages the immersion for me albeit slightly so if any experienced modders out there read this maybe you could point me/us in the the right direction. :hmmm:

The file I am looking at atm is : SH4install/Data/Objects/turm7b_1_hd.cam

index's 22-26 appear to contain info relevant to these dials and their ranges although there is no mention of the axes so maybe in a different file?
There are a lot of files to scan through though so it is going to take a while.:yawn:

nearly forgot mods I am running are :-
OM720 patch 3
OMEGU 300 patch 5a (I replaced the type 7 uboat textures with hires ones from those FUBAR ones)
OM Harder Escorts L2
German Map Labels
ATO Captains Office
Das Boot Music + patch (also tweaked to play more like I want it - put main theme as main menu loop etc.)

I am by no means even close to an experience modder, SH4 is my first attempt at modding. But the compass by the uzo looks like it is in the .dat file and it is "pick_01_Turm7b_1" I do not have Omegu or OM patch 3 only OM, so it may be different. But in the .dat the dial is rotated 90 degrees on the Z axis which may be causing the problem. It is a 3D model and the models axis should have been fixed in the 3D program before importing so it could rotate around the x axis. As it sits it needs to rotate around the Z axis to work partially right but in the "dial" node (.cam file) it does not give you a choice of which axis to rotate around. And the object it is attached to is tipped so I don't think it would rotate properly anyway.
It looks like the object the dial is on is a fixed part of the tower, if it was a separate object you could postion it properly using rotation on the "base" and link the dial to it at a 0,0,0 rotatation and eliminate the problem.
That may give you a starting point.

Peabody

dezertflyr 04-18-10 03:10 PM

Quote:

Originally Posted by peabody (Post 1364348)
I am by no means even close to an experience modder...
Peabody


No way, Peabody..we won't be satisfied until you devise an authentic gimbal-based instrument that reacts directly to the roll of the ship :D

Sammi79 04-21-10 04:50 PM

HA! Ok, I have managed to tweak the .dat file in my SH4 install (keeping a backup of the original of course) and when I play in a type 7B, both gyrocompasses on the bridge now function correctly! :DL my do I feel smug now. Now if only I could remember exactly what I did....

[edit] just to avoid confusion I have deleted part of this post, as I am learning and now realise that half of what I had originally thought and written was not at all true.

Before I can post these files though I'd better speak to Lurker, as the files I'm tweaking come straight from his superb OpMonsun mod, maybe he can just incorporate them in a patch or something - I mean I can't really take credit for polishing somebody elses creation can I! also I will have to get the original files tweaked not my already modded versions as well as look through the other sub types and fix any others that need it... I shall start tomorrow though this could be my first contribution to subsim. give me a week or so I'll see how much work there is to do.

Sammi79 04-21-10 07:54 PM

More to do...
 
Doh! I just realised the telegraph by the uzo has the exact same problem... :yawn: must fix... sleep can wait...

Right, I now have working telegraph+both gyrocompass on the bridge in a type 7B.
'twas simple to fix -
The chunk object needs rotating until the rotational axis is in the correct direction, then the 3D model needs exporting, rotating to the correct orientation then reimporting. Now I have to do this with all the other Uboat CTs that still have non functioning dials, hopefully it won't be long before I make this a mini mod available to everyone or maybe Lurker hlb can update his OpMonsun with them.

P.S. thankyou Peabody for your reply giving me the impetus to jump into this stuff albeit blindly, the pick_01 etc. chunks seem to relate to the tooltip cursor effect in game - the word "compass" or "telegraph" pops up when you mouse over these objects on the bridge, as well as the cursor highlighting. The chunks I edited regarding these dials are :
Turm7b_1_ac buso 1_High,
Turm7b_1_ac buso 2_High and
Turm7b_1_ac telegraph_High.

Sammi79 04-22-10 07:34 AM

Done.
 
Okay I have finished the first instance of these modifications, I am just waiting to hear back from Lurker before I decide to post them on here.

I guess maybe this thread should be moved to the ATO forum? I don't believe this problem occurs on the Fleet Boats.

Sammi79 04-24-10 04:17 AM

Fixed!
 
OK, Lurker_hlb3 has released his OM/OMEGU patches which contain fixed dials on most of the type 7s, I have subsequently fixed nearly all of the playable Uboat bridge dials, though having trouble finding where to correct the type 21s.:ping:


All times are GMT -5. The time now is 10:45 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.