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

Reply
 
Thread Tools Display Modes
Old 03-12-10, 03:46 PM   #1
Ali Fish
Seaman
 
Join Date: Mar 2010
Posts: 33
Downloads: 5
Uploads: 0
Default [REQ] how to mod the chrono parts of the clock

i have made a nice kreigsmarine facia for the clock, its a very dark face. the problem is the the chronograph moving parts are always blue. anyone any expereince with this ? need a solution. thx.
Ali Fish is offline   Reply With Quote
Old 03-12-10, 04:02 PM   #2
Decoman
Frogman
 
Join Date: Sep 2005
Location: Oslo, Norway
Posts: 306
Downloads: 24
Uploads: 0
Default

The blue dial/arm is caused in part by the alpha channel. Somewhere, there is probably a setting that tells that dial to be colored blue. Varying degrees of alpha 50% vs 30% for example, will lead to a different shades of blue.

So the dial/arm is both colored and transparent.

The stopwatch clock texture is the texture file called clock.dds.

I believe I saw a config file that has text that dictates where the dials are positioned, and perhaps how the clock works to some extent.

When firing a torpedo, a red dial/arm will appear indicating time to impact. This dial/arm uses apparantly the same clock.dds texture, just colored with red instead of blue.
Decoman is offline   Reply With Quote
Old 03-12-10, 04:10 PM   #3
Ali Fish
Seaman
 
Join Date: Mar 2010
Posts: 33
Downloads: 5
Uploads: 0
Default

understood!. if anybody happens to find the file. pls let me know if i dont find it first.

WIP
Ali Fish is offline   Reply With Quote
Old 03-12-10, 04:28 PM   #4
Decoman
Frogman
 
Join Date: Sep 2005
Location: Oslo, Norway
Posts: 306
Downloads: 24
Uploads: 0
Default

This one might be it, but I thought I saw another file yesterday, I am not sure:

D:\Games\Ubisoft\Silent Hunter 5\data\Menu\cfg\dials.cfg

There are also PY (python?) files lying around.
Decoman is offline   Reply With Quote
Old 03-12-10, 05:54 PM   #5
Decoman
Frogman
 
Join Date: Sep 2005
Location: Oslo, Norway
Posts: 306
Downloads: 24
Uploads: 0
Default

Found it:
D:\Games\Ubisoft\Silent Hunter 5\data\Menu\Pages\Page Clock.cfg

Example:
[G29 I5]
Name=Chronometer Minute
Type=1031;Stat bmp array
ItemID=0x2902000F
ParentID=0x29020000
Pos=116,-94,8,52
Zone= 840 614 8 52 0 1 0x2902000C 0.5 -0.09 0x2902000F -0.5 0 0 0
Color=0x80FE
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/skins/american/gui/clock.dds
Crop 0=0.910156,0.410156,0.015625,0.203125
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=false
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
Decoman is offline   Reply With Quote
Old 03-12-10, 05:57 PM   #6
AVGWarhawk
Lucky Jack
 
AVGWarhawk's Avatar
 
Join Date: Jun 2005
Location: In a 1954 Buick.
Posts: 28,254
Downloads: 90
Uploads: 0


Default

Quote:
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
These are your colors I believe. I think you have to find the correct sequence of letters and number for the color you want.
__________________
“You're painfully alive in a drugged and dying culture.”
― Richard Yates, Revolutionary Road
AVGWarhawk is offline   Reply With Quote
Old 03-12-10, 06:01 PM   #7
Decoman
Frogman
 
Join Date: Sep 2005
Location: Oslo, Norway
Posts: 306
Downloads: 24
Uploads: 0
Default

I found the small dials/arms:

D:\Games\Ubisoft\Silent Hunter 5\data\Menu\Gui\Chrono.dds

The dials/arms are like the blue stopwatch dial/arm, determined by the alpha. Seems like they are colored red.

Here is also a small metal dot, found at the center of the stopwatch.
Decoman 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 09:23 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.