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

Reply
 
Thread Tools Display Modes
Old 07-23-08, 06:17 AM   #1
Hitman
Pacific Aces Dev Team
 
Hitman's Avatar
 
Join Date: Sep 2002
Location: Spain
Posts: 6,109
Downloads: 109
Uploads: 2


Default Removing/repositioning peri/uzo reticle?

Is it possible at all to remove/repostion the graded reticle lines in the periscope/uzo views:hmm: ?

I'm just interested in leaving the central crosshair because I'm adding my custom reticle to the Alpha Channel and the old one makes an odd effect
__________________
One day I will return to sea ...
Hitman is offline   Reply With Quote
Old 07-23-08, 08:05 AM   #2
onelifecrisis
Maverick Modder
 
Join Date: Aug 2007
Location: England
Posts: 3,895
Downloads: 65
Uploads: 3
Default

Quote:
Originally Posted by Hitman
Is it possible at all to remove/repostion the graded reticle lines in the periscope/uzo views:hmm: ?

I'm just interested in leaving the central crosshair because I'm adding my custom reticle to the Alpha Channel and the old one makes an odd effect
It's sortof possible... by messing around with the scope zoom levels and angular angle (in cameras.dat) but you might not like the kind of zoom levels you have to use in order to get rid of them (especially on the UZO)!
__________________
Freedom of speech - priceless. For everything else there's Mastercard.
onelifecrisis is offline   Reply With Quote
Old 07-23-08, 08:25 AM   #3
Hitman
Pacific Aces Dev Team
 
Hitman's Avatar
 
Join Date: Sep 2002
Location: Spain
Posts: 6,109
Downloads: 109
Uploads: 2


Default

Thanks I discovered that already

I have achieved a reasonable result with a 30º field of view -leaves the reticle out of the image- but I wanted to know if it could be done keeping the historic 40º. Apparently not
__________________
One day I will return to sea ...
Hitman is offline   Reply With Quote
Old 07-23-08, 09:58 AM   #4
onelifecrisis
Maverick Modder
 
Join Date: Aug 2007
Location: England
Posts: 3,895
Downloads: 65
Uploads: 3
Default

Quote:
Originally Posted by Hitman
Thanks I discovered that already

I have achieved a reasonable result with a 30º field of view -leaves the reticle out of the image- but I wanted to know if it could be done keeping the historic 40º. Apparently not
I tried and tried, but no joy. There are ways but they have problems.

One way involves adding a new, "fake" zoom level at the first position (the first zoom level in the list determines how the lines are drawn). So you have zoom levels like this:
1) something very big (i.e. small angle, to get rid of the lines)
2) first "real" zoom level
3) second "real" zoom level

The problem is that when you zoom "in" from zoom level 3, you go back to zoom level 1 (some sort of engine bug). But, you could actually get around that bug (as well as prevent zooming "out" from zoom level 2) by using AutoHotkey... :hmm:
__________________
Freedom of speech - priceless. For everything else there's Mastercard.
onelifecrisis is offline   Reply With Quote
Old 07-23-08, 12:11 PM   #5
Hitman
Pacific Aces Dev Team
 
Hitman's Avatar
 
Join Date: Sep 2002
Location: Spain
Posts: 6,109
Downloads: 109
Uploads: 2


Default

Hmmm too complicated for me. I'm sticking with my current solution of leaving a FOV of 30º through the Alpha Channel. That hides the reticles well enough and accentuates the effect I was seeking of looking actually *through* an eyepiece...

Observation Scope:




Attack Scope:


__________________
One day I will return to sea ...

Last edited by Hitman; 07-23-08 at 01:01 PM.
Hitman is offline   Reply With Quote
Old 07-23-08, 12:17 PM   #6
onelifecrisis
Maverick Modder
 
Join Date: Aug 2007
Location: England
Posts: 3,895
Downloads: 65
Uploads: 3
Default

Nice effect
__________________
Freedom of speech - priceless. For everything else there's Mastercard.
onelifecrisis is offline   Reply With Quote
Old 07-23-08, 03:33 PM   #7
Seeadler
Pacific Aces Dev Team
 
Join Date: Mar 2001
Location: Northern Germany
Posts: 1,096
Downloads: 169
Uploads: 0


Default

Quote:
Originally Posted by Hitman
Is it possible at all to remove/repostion the graded reticle lines in the periscope/uzo views:hmm: ?
Aren't the lines stored in the persicope.tga, below in the pic with the other alpha channel objects? If so, the alpha channel for them can be edited out with Photoshop which makes them invisible.
__________________
--
Vapor-ware is always easier to sell because there's no limit what it can do!
Seeadler is offline   Reply With Quote
Old 07-23-08, 05:24 PM   #8
De@dMe@t
Loader
 
Join Date: Jul 2006
Location: colchester uk
Posts: 83
Downloads: 141
Uploads: 0
Default

merge all \ flatten select the center section with magic wand tollerance 0, ctrl+shift+v to invert selection ctrl+c then ctrl+v you have periscope with no alpha just a hole in the middle. create a new background 1024x1024 copy the no alpha layer onto the new background, ie paste as new layer. move to bottom, overlay your new marks by copy and pasting, if you have to copy and paste the origional scope on top to use as a guide for line\marks & then delete it afterwards thats fine,just dont forget to delete it. once finished select merge visible, export as png, psp, tga, i always do 3 incase it messes up while exporting. if you want it as a dds convert the png to dds.

failing that if you have a steady hand and lots of patience try the background eraser.
__________________


FX6450 X6 3.9GHZ, 8GB DDR3 RIPJAWS, MSI GF760GTX OC. MSI 890FXA-GD65.
De@dMe@t is offline   Reply With Quote
Old 07-23-08, 06:09 PM   #9
badwolf
XO
 
Join Date: Jun 2008
Posts: 427
Downloads: 59
Uploads: 0
Default

Quote:
Aren't the lines stored in the persicope.tga
No. hardcoded.

Hitman ! It look great, is that your own reticle ? Your not doing a luminent one for night vision and tying it to the redmask are you and putting it over the top ?
badwolf is offline   Reply With Quote
Old 07-24-08, 01:54 AM   #10
Hitman
Pacific Aces Dev Team
 
Hitman's Avatar
 
Join Date: Sep 2002
Location: Spain
Posts: 6,109
Downloads: 109
Uploads: 2


Default

Quote:
Aren't the lines stored in the persicope.tga, below in the pic with the other alpha channel objects? If so, the alpha channel for them can be edited out with Photoshop which makes them invisible.
It seemed so at first sight but no, they are elsewhere , probably hardcoded like SH2 red triangle

Quote:
merge all \ flatten select the center section with magic wand tollerance 0, ctrl+shift+v to invert selection ctrl+c then ctrl+v you have periscope with no alpha just a hole in the middle. create a new background 1024x1024 copy the no alpha layer onto the new background, ie paste as new layer. move to bottom, overlay your new marks by copy and pasting, if you have to copy and paste the origional scope on top to use as a guide for line\marks & then delete it afterwards thats fine,just dont forget to delete it. once finished select merge visible, export as png, psp, tga, i always do 3 incase it messes up while exporting. if you want it as a dds convert the png to dds.
Thanks that's more or less how I did my current reticles the problem is that the original reticle still shows, no matter what you do to the graphic, because it is hardcoded. So I just hided it on the sides as the pictures above show.

Quote:
Hitman ! It look great, is that your own reticle ? Your not doing a luminent one for night vision and tying it to the redmask are you and putting it over the top ?
Those reticles are historical ones. The attack scope has the "10" mark at 6.25 degrees, and not at 10 degrees, because it is using mils (radians) as unit and not degrees. The observation scope also uses mils, and the reticle is an exact copy of the real one which I have in a picture of a real german WW2 periscope manual.

The idea of adding the marks to the redmask so that it turns green by night is very good, thanks for the suggestion
__________________
One day I will return to sea ...
Hitman is offline   Reply With Quote
Old 07-24-08, 09:09 AM   #11
badwolf
XO
 
Join Date: Jun 2008
Posts: 427
Downloads: 59
Uploads: 0
Default

I have been doing a simlar project on my own GUI, after our chat in "[TEC] telemeter Scale in the german optics" thats how I got the redmask idea.
I found you can change things quite a bit. You could make the display area a bit bigger in the camera.dat - camaraParams/Viewpoint to get rid of the marks completely.
Work is on hold at the moment, while I do the ships manual.





badwolf is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 12:18 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.