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-20-10, 03:21 AM   #16
Hitman
Pacific Aces Dev Team
 
Hitman's Avatar
 
Join Date: Sep 2002
Location: Spain
Posts: 6,109
Downloads: 109
Uploads: 2


Default

Invert the zoom order in cameras.dat and you'll get rid of the reticle. I.e. make the 6x the default zoom,and 1.5x the one you get when swtiching zoom. It worked for Sh3 and SH4 so I guess it should for Sh5.

Quote:
ps. Hitman check PM please
Replied yesterday already

I'm sorry I can't help further, but I don't have SH5
__________________
One day I will return to sea ...
Hitman is offline   Reply With Quote
Old 03-20-10, 03:32 AM   #17
Mav87th
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Hitman thanks for the answer Hitman - as said I understand your reasoning...


Can anyone tell me what [Gxx...] should be changed to change the graphics of the periscope mask?


Hitman gave permission to use his SH-3 graphics and they are, if you may excuse me, very difficult to pass on as they are the most realistic I have ever seen.

Not dissin your graphics Empguf they are great too, but Hitmans are just really really good.
  Reply With Quote
Old 03-20-10, 07:02 AM   #18
Arclight
Navy Seal
 
Join Date: Jun 2008
Location: Land of windmills, tulips, wooden shoes and cheese. Lots of cheese.
Posts: 8,467
Downloads: 53
Uploads: 10
Default

You'll have to draw the markings on "Periscope_Mask_1024_SH5" in ..\Ubisoft\data\Menu\Skins\German\Gui\Layout

Guess you could scale Hitman's graphics to fit the the new mask, and then draw the marks on a new layer (kinda like papertracing, it's how I did the stock markings on mine). Once you have the marks drawn, remove the layer with Hitman's graphics, put the layer with the marks underneath the new mask, and merge those 2 layers.

I can give it a shot if you'd like, but shouldn't be too difficult.
__________________

Contritium praecedit superbia.
Arclight is offline   Reply With Quote
Old 03-20-10, 07:08 AM   #19
Bilge_Rat
Silent Hunter
 
Join Date: Apr 2002
Location: standing watch...
Posts: 3,856
Downloads: 344
Uploads: 0
Default

I read the document Hitman prepared. It was most informative.

It will be great once we get this mod into the game. You can use the 6x zoom to identify the target and the 1.5x zoom to estimate range.

great work everyone.
__________________
Bilge_Rat is offline   Reply With Quote
Old 03-20-10, 08:16 AM   #20
Hitman
Pacific Aces Dev Team
 
Hitman's Avatar
 
Join Date: Sep 2002
Location: Spain
Posts: 6,109
Downloads: 109
Uploads: 2


Default

Here is the file I have been using in my WIP SH3 GUI:

http://www.mediafire.com/?4nm2zjwg03l

Comes in a TGA with Alpha Channel and all. You just need to either A) program the menu.ini in a manner that the image is overlayed as a mask or B) Copy and paste it overthe existing background TGA.

Whatever you do, use the current ingame reticle to ensure that the size is correct. You can compare the space between marks in my reticle and the one in the game, and resize the viewhole so they match. Otherwise the reticle will be useless.

Once installed, you can use the vertical marks to get range to target using following formula:

Target Heigth / Scale X 1000 = Range

The horizontal reticle is in degrees, and most useful for calculating torpedo spreads. Simply count the number of marks the target subtends, and set that value in your Salvo dial.

Good hunting
__________________
One day I will return to sea ...
Hitman is offline   Reply With Quote
Old 03-20-10, 08:31 AM   #21
Arclight
Navy Seal
 
Join Date: Jun 2008
Location: Land of windmills, tulips, wooden shoes and cheese. Lots of cheese.
Posts: 8,467
Downloads: 53
Uploads: 10
Default

Do we need to match up the horizontal or vertical scale to the stock one?

(3 similar ideas, and Hitman does all the work. )
__________________

Contritium praecedit superbia.
Arclight is offline   Reply With Quote
Old 03-20-10, 09:33 AM   #22
Hitman
Pacific Aces Dev Team
 
Hitman's Avatar
 
Join Date: Sep 2002
Location: Spain
Posts: 6,109
Downloads: 109
Uploads: 2


Default

Horizontal. The game's reticle comes in degrees both horizontally and vertically. But my reticle has degrees only horizontally.

Put the crosshair above the game's one, so that the originall one is no longer seen, and simply:

1) Adjust the circle of the periscope to my reticle, so that the border of the black circle matches the curved form of the graticle in the exterior

2) Adjust Angularangle in cameras.dat until the game's reticle is horizontally the same size as mine (In 1.5x zoom)

3) Change the zoom settings so that 6x is by default, and 1.5x the one you get when switching
__________________
One day I will return to sea ...
Hitman is offline   Reply With Quote
Old 03-20-10, 09:50 AM   #23
karamazovnew
The Old Man
 
Join Date: Mar 2009
Location: Bucharest, Romania
Posts: 1,403
Downloads: 151
Uploads: 0


Default

It's a bit harder than some think, because you need to combine 3 aspects:
1. the original marks are in degrees and they need to be outside the viewfinder
2. the periscope viewfinder doesn't take up the entire screen
3. the angular distance must somehow mimic the real periscope
Oh, and the miliradian marks should also take up a proportion of the viewfinder similar to the original ones.

I've already done all of this in KiUB. Camera settings, periscope marks and the periscope viefinder(hole). The marks are at a 1500x1500 resolution and they scale very well for lower resolutions. At 1600x1200 every pixel is displayed 1 to 1.
I've started from Hitman's layout but moved the horizontal scale above the center line because I liked to read horizontal and vertical size by moving the stadimeter image up. You can move it down in Photoshop in a minute.
Get the OMEGU Patch5, it has all the files you need and it's small. Just take the cameras.dat setting, the Ap_Marks.tga and the menu item itself, the alpha channel from the Periscope background image (Periscope_center.tga) and you're done.
To test it, place a few ships at 1000 meters and see if they line up ok at 1.5x zoom.
I advise against using any low resolution template done for SH3 because they'll look like crap at higher resolution.
karamazovnew is offline   Reply With Quote
Old 03-20-10, 09:52 AM   #24
Mav87th
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Arclight if you do item #1

1) Adjust the circle of the periscope to my reticle, so that the border of the black circle matches the curved form of the graticle in the exterior.

Then ship it to me and ill do #2 and #3

2) Adjust Angularangle in cameras.dat until the game's reticle is horizontally the same size as mine (In 1.5x zoom)

3) Change the zoom settings so that 6x is by default, and 1.5x the one you get when switching

too me the last two items are a walk in the park while the first is next to impossible
  Reply With Quote
Old 03-20-10, 10:02 AM   #25
Arclight
Navy Seal
 
Join Date: Jun 2008
Location: Land of windmills, tulips, wooden shoes and cheese. Lots of cheese.
Posts: 8,467
Downloads: 53
Uploads: 10
Default

Quote:
2) Adjust Angularangle in cameras.dat until the game's reticle is horizontally the same size as mine (In 1.5x zoom)
There's a snag: game's reticule disappears at anything over 1x zoom, so can't match it up to 1.5x zoom.

Took a different approach, but don't know if it works: scaled Hitman's markings to the game's markings, and incorporated it into the default mask. Should have the same reult, as the ratios between the marks stays the same.

Ready for JSGME, just requires a cameras.dat to be dropped in the Library folder and it's complete: http://www.filefront.com/15881329/Au...0for%20SH5.zip

I'll follow instruction #1 and provide another one, but it's gonna cut down the viewable area quite bit (that TGA is 500x500)
__________________

Contritium praecedit superbia.
Arclight is offline   Reply With Quote
Old 03-20-10, 10:35 AM   #26
Arclight
Navy Seal
 
Join Date: Jun 2008
Location: Land of windmills, tulips, wooden shoes and cheese. Lots of cheese.
Posts: 8,467
Downloads: 53
Uploads: 10
Default

Here's dds according to that first instruction: http://www.filefront.com/15881717/Pe...k_1024_SH5.dds

Quote:
Adjust the circle of the periscope to my reticle, so that the border of the black circle matches the curved form of the graticle in the exterior.
__________________

Contritium praecedit superbia.
Arclight is offline   Reply With Quote
Old 03-20-10, 01:18 PM   #27
emtguf
Machinist's Mate
 
Join Date: Oct 2005
Posts: 128
Downloads: 44
Uploads: 3
Default

Using Hitman's marks scaled, and redrawn do not seem to work in SH5.
I used his marks as a guide when makign my first version, but could never get distance measurements to work out. Ended up trying several different method to get the marks calibrated at 1.5x and ended up using several methods.

Unfortunatly not as simple as just copy/paste
emtguf is offline   Reply With Quote
Old 03-20-10, 02:17 PM   #28
Arclight
Navy Seal
 
Join Date: Jun 2008
Location: Land of windmills, tulips, wooden shoes and cheese. Lots of cheese.
Posts: 8,467
Downloads: 53
Uploads: 10
Default

It never is.

That's why I was asking for a way to calculate it, rather than the trial and error method.
__________________

Contritium praecedit superbia.
Arclight is offline   Reply With Quote
Old 03-20-10, 03:14 PM   #29
Hitman
Pacific Aces Dev Team
 
Hitman's Avatar
 
Join Date: Sep 2002
Location: Spain
Posts: 6,109
Downloads: 109
Uploads: 2


Default

I just downloaded your Periscope Mask Arclight, and it seems to me correctly done. Theoretically, all that is needed now is to adjust the cameras.dat based on what is rendered on screen ... shouldn't be difficult
__________________
One day I will return to sea ...
Hitman is offline   Reply With Quote
Old 03-20-10, 05:10 PM   #30
Arclight
Navy Seal
 
Join Date: Jun 2008
Location: Land of windmills, tulips, wooden shoes and cheese. Lots of cheese.
Posts: 8,467
Downloads: 53
Uploads: 10
Default

Just timeconsuming.

Shouldn't it be possible to make it work when the marks are scaled up to fit the scope as well?

I mean, as long as the ratios between the marks remain the same, you should be able to find an angular field setting that works out properly. (I think)
__________________

Contritium praecedit superbia.
Arclight 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 11:40 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.