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 03-08-09, 08:59 AM   #1
vanjast
Sea Lord
 
Join Date: Jun 2006
Location: Somewhere else now
Posts: 1,734
Downloads: 825
Uploads: 4
Default [REQ] Uboat Gradations scales

Does anybody know how to get rid of the Scale lines on the UBoat scopes.
I've managed to get rid of the text, but worried that the scales might be in code




Thanks for any help
Van
vanjast is offline   Reply With Quote
Old 03-08-09, 10:11 AM   #2
keltos01
Silent Hunter
 
Join Date: Feb 2008
Location: Milan Italy
Posts: 4,999
Downloads: 114
Uploads: 18
Default

yes it can be done, post the files for me and I'll modify them sometimes this week.

Keltos

ps but if you really wanna help me back find me real proof of how those lines looked on an IJN periscope
__________________
"Honorable Builder of Sinking Ships"

keltos01 is offline   Reply With Quote
Old 03-08-09, 11:36 AM   #3
vanjast
Sea Lord
 
Join Date: Jun 2006
Location: Somewhere else now
Posts: 1,734
Downloads: 825
Uploads: 4
Default

Quote:
Originally Posted by keltos01
yes it can be done, post the files for me and I'll modify them sometimes this week.
Hmm, which files are you talking about.
I've modified the scope skin files, and didn't see it there.
I found the text pieces in the menu_1024_768.ini file, but haven't found the scale lines here yet. I've tried editing some marker dds file... no luck yet.

Quote:
Originally Posted by keltos01
ps but if you really wanna help me back find me real proof of how those lines looked on an IJN periscope
It's bad enough finding the UBoat scope stuff, but I'll have a go.
vanjast is offline   Reply With Quote
Old 03-08-09, 11:40 AM   #4
keltos01
Silent Hunter
 
Join Date: Feb 2008
Location: Milan Italy
Posts: 4,999
Downloads: 114
Uploads: 18
Default

Quote:
Originally Posted by vanjast
Quote:
Originally Posted by keltos01
yes it can be done, post the files for me and I'll modify them sometimes this week.
Hmm, which files are you talking about.
I've modified the scope skin files, and didn't see it there.
I found the text pieces in the menu_1024_768.ini file, but haven't found the scale lines here yet. I've tried editing some marker dds file... no luck yet.

Quote:
Originally Posted by keltos01
ps but if you really wanna help me back find me real proof of how those lines looked on an IJN periscope
It's bad enough finding the UBoat scope stuff, but I'll have a go.
I think it's in the alpha channel of the periscope.dds

but we have to be sure which one it uses, I modified a german scope but not both I think...

it's just drawing with photoshop really but I'm not too good at it.

keltos
__________________
"Honorable Builder of Sinking Ships"

keltos01 is offline   Reply With Quote
Old 03-08-09, 12:09 PM   #5
vanjast
Sea Lord
 
Join Date: Jun 2006
Location: Somewhere else now
Posts: 1,734
Downloads: 825
Uploads: 4
Default

I've played with all the available 'periscope.dds' files = no luck.

I'll just carry on looking
vanjast is offline   Reply With Quote
Old 03-08-09, 03:11 PM   #6
Hitman
Pacific Aces Dev Team
 
Hitman's Avatar
 
Join Date: Sep 2002
Location: Spain
Posts: 6,109
Downloads: 109
Uploads: 2


Default

The scale is encoded but if you use the cameras.dat values I told you in the readme file they will go out of the mask. Of course you will also have a smaller field of view than supposed, but since screen resolution is limited it doesn't hurt to be able to see images bigger (Reducing FOV does the same effect as increasing the zoom).
__________________
One day I will return to sea ...
Hitman is offline   Reply With Quote
Old 03-08-09, 07:47 PM   #7
joegrundman
Ocean Warrior
 
Join Date: May 2007
Posts: 2,689
Downloads: 34
Uploads: 0
Default

so what does this scale do, here?

(from sh3periscope dds in sh4)

__________________
"Enemy submarines are to be called U-Boats. The term submarine is to be reserved for Allied under water vessels. U-Boats are those dastardly villains who sink our ships, while submarines are those gallant and noble craft which sink theirs." Winston Churchill
joegrundman is offline   Reply With Quote
Old 03-09-09, 12:58 AM   #8
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by joegrundman
so what does this scale do, here?

(from sh3periscope dds in sh4)

that sure looks like it to me
  Reply With Quote
Old 03-09-09, 04:58 AM   #9
vanjast
Sea Lord
 
Join Date: Jun 2006
Location: Somewhere else now
Posts: 1,734
Downloads: 825
Uploads: 4
Default

I've masked that one out in those image files - makes no difference.
What i managed to do in the menu_1024_768.ini file is move the text into the 'masked' top left corner, but when I saw the zoom value indicator change, I sort of knew this was hardcoded .
vanjast is offline   Reply With Quote
Old 03-09-09, 05:09 AM   #10
vanjast
Sea Lord
 
Join Date: Jun 2006
Location: Somewhere else now
Posts: 1,734
Downloads: 825
Uploads: 4
Default

In the Cameras.dat file, you have only one FOV and zoom section that works on both US and Axis subs. This causes a problem if you want to match the zoom scales/FOV/Bearing indicators to the correct scaling.

One can scale the US scopes by changing the skin files, but cannot do this with the Axis scope because of this hardcoding.
Well you might think why not scale both to the Axis sub - and then the Bearing indicator will be out of sync for both scopes.

I think the only solution is to overlay the skin file over the hard coded section and hope it fits OK.


Last edited by vanjast; 03-09-09 at 08:24 AM.
vanjast is offline   Reply With Quote
Old 03-09-09, 08:20 AM   #11
vanjast
Sea Lord
 
Join Date: Jun 2006
Location: Somewhere else now
Posts: 1,734
Downloads: 825
Uploads: 4
Default

Decided to combine the two together, so as not to mess it up too much.

Attack scope with minimal night time additions.. Just managed to cover the scales, although not completely


And obsscope.. with sextant thingy


As the UBoat scope is now it should just pass the AOBWheel test... I'll put this up later tonight.
vanjast is offline   Reply With Quote
Old 03-09-09, 08:25 AM   #12
keltos01
Silent Hunter
 
Join Date: Feb 2008
Location: Milan Italy
Posts: 4,999
Downloads: 114
Uploads: 18
Default

how did you do it ? what files did you change and how ?

keltos
__________________
"Honorable Builder of Sinking Ships"

keltos01 is offline   Reply With Quote
Old 03-09-09, 08:36 AM   #13
vanjast
Sea Lord
 
Join Date: Jun 2006
Location: Somewhere else now
Posts: 1,734
Downloads: 825
Uploads: 4
Default

The Uboat scaling is very close to mine (or the other way round ).

I just played with the Alpha and Red layers, and blanked out the Green and Blue.
to get the scales to align I took a screen grab (image is the same size) and after adjusting the opacity (to make it see-through), positioned it over the the alpha layer.

These are the scope skin DDS files of course..
vanjast is offline   Reply With Quote
Old 03-09-09, 08:46 AM   #14
Hitman
Pacific Aces Dev Team
 
Hitman's Avatar
 
Join Date: Sep 2002
Location: Spain
Posts: 6,109
Downloads: 109
Uploads: 2


Default

Quote:
I've masked that one out in those image files - makes no difference.
What i managed to do in the menu_1024_768.ini file is move the text into the 'masked' top left corner, but when I saw the zoom value indicator change, I sort of knew this was hardcoded .
LOL I told you it was hardcoded

Quote:
In the Cameras.dat file, you have only one FOV and zoom section that works on both US and Axis subs. This causes a problem if you want to match the zoom scales/FOV/Bearing indicators to the correct scaling.

One can scale the US scopes by changing the skin files, but cannot do this with the Axis scope because of this hardcoding.
Well you might think why not scale both to the Axis sub - and then the Bearing indicator will be out of sync for both scopes.

I think the only solution is to overlay the skin file over the hard coded section and hope it fits OK.
You have another alternative:

In the US periscopes the game doesn't place reticles or whatever, they are in the Alpha Channel of the periscope mask. So you can:

1.- Increase the FOV like I suggested (Angularvalue=47) and use the mask to hide the reticle in the german scope

2.- Make a bigger mask for the US scope, effectively still using all field of view.
__________________
One day I will return to sea ...
Hitman is offline   Reply With Quote
Old 03-09-09, 11:38 AM   #15
vanjast
Sea Lord
 
Join Date: Jun 2006
Location: Somewhere else now
Posts: 1,734
Downloads: 825
Uploads: 4
Default

From what I remember ( I must check again), when I started this scheme, is that when playing with the zoom factors, you could misalign the bearing indicator at the top of the scope, so I set the zoom factors to match the bearing indicator, then set the gradations on the scope skin masks/layers.

This was the reason why I avoided going the larger FOV mask route
vanjast 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 06:11 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.