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 12-16-13, 05:44 AM   #1
Maurox
Swabbie
 
Join Date: Jul 2009
Posts: 8
Downloads: 105
Uploads: 0
Default PPI/AScope radar displays

OK, so after searching for two days (and learning that most of the links here are dead BTW) and not finding any answers I thought I might just ask:

Was ANYONE able to find out which file is responsible for the masks at the radar displays? The bearing lines and range scale in PPI and AScope respectively? I'd appreciate it if someone could point me in the right direction :/
Maurox is offline   Reply With Quote
Old 12-16-13, 11:45 AM   #2
aanker
Eternal Patrol
 
aanker's Avatar
 
Join Date: Apr 2004
Location: Yellow Sea
Posts: 1,894
Downloads: 236
Uploads: 14


Default

RFB incorporates a realistic display. I'm too lazy to verify whose mod idea they used. TMO 2.5 may also use it although I'm not sure. So nice and he poured months of work into it!

I never bothered to search for the files because I was relatively satisfied until I installed RFB, then Wow! sorry I can't be of more help.

Happy Hunting!
__________________
" Bless those who serve beneath the deep,
Through lonely hours their vigil keep.
May peace their mission ever be,
Protect each one we ask of thee.
Bless those at home who wait and pray,
For their return by night and day."

aanker is offline   Reply With Quote
Old 12-16-13, 11:45 AM   #3
CapnScurvy
Admiral
 
CapnScurvy's Avatar
 
Join Date: Apr 2005
Location: Dayton, Ohio
Posts: 2,292
Downloads: 474
Uploads: 64


Default

Quote:
Originally Posted by Maurox View Post
OK, so after searching for two days (and learning that most of the links here are dead BTW) and not finding any answers I thought I might just ask:

Was ANYONE able to find out which file is responsible for the masks at the radar displays? The bearing lines and range scale in PPI and AScope respectively? I'd appreciate it if someone could point me in the right direction :/
First off........Welcome to SubSim Maurox!!

The bearing lines of the PPI display are found as an Alpha Channel in the image files of "Data/Misc/ppiCircles.dds". The A-Scope uses a different way of producing the lines entirely.

If Alpha Channel, .tga, .dds descriptions are sounding like "Greek" to you, then you've got a learning curve ahead of you to master. Not to mention that the stock game didn't do us any favors by employing their values of radar accuracy into the game. The way I'd describe what they did was provide "eye candy" with the radar.....nothing more than fluff......it looks pretty, the line spins around on the PPI screen .....but that's about all you have! No accuracy....no intention of having one!

In order to have accurate line measurements, you'll need to make the radar units "scaled" to the proper size the "masks" are made for. Like I said, the A-Scope doesn't use a mask for producing its inaccurate lines (so you'll have to add one to the game). The "ppiCircles.dds" will have to have them scaled for the three different distances the radar uses. All in all, a pretty large project.

May I suggest you try Optical Targeting Correction....its already fixed the stock radar by making scope overlays for both A-Scope and PPI screens, and reworked the specific radar parameters to have them correctly show targets at accurate distances and power settings.

Here's what the A-Scope station looks like:




Below is a zoomed view of the screen......Yes, this is how the screen will look, I added a feature to zoom-in on the screen when at the two radar stations (giving you a better view to make a range determination).




If the radar distance switch were set to the Low Power\4000 yard setting.....the above target spike would be read on the lower line scale....at 3000 yards distance from the sub. The three power settings of the OTC A-Scope are 4000 yards, 32,000 yards and 60,000 yards.

As a side note, the smaller line at the bottom of the screen is the stock game line that I can't remove from the game (its encoded in files we can't get to, nor change to make it more accurate). I can make it smaller, but I can't get rid of it. Notice the scale...it also reads 4000, but look at where the spike shows the target.....by having to guess the reading, its somewhere around 27-2800. Not at all accurate for reading a target that I know is at 3000 yards distance from the sub (I know because I'm using a test mission I made specific to "test" radar range).

Below is the PPI screen from the Optical Targeting Correction mod:




The range scales are different for the PPI station. The Low Power covers 8,000 yard range, Medium Power is 32,000, High Power is 80,000 yards range. Again, if the same target is at the same distance as the A-Scope target....the above target "Blip" is read on the Low Power scale (the scale that's shared with the High Power scale....on the left) and read at 3000 yards distance, on a relative bearing of about 10 degree's. If the blip were found on the same line as above, yet you've set the radar power switch to the Medium setting of 32,000 yards....the accurate range of the target would be read from the right hand scale (near where the "blip" is positioned)....the range to target would be 12,000 yards.

I'm not trying to deter you from learning how to mod, but for the stock radar, a better experience can be found with OTC.
__________________


The HMS Shannon vs. USS Chesapeake outside Boston Harbor June 1, 1813

USS Chesapeake Captain James Lawrence lay mortally wounded...
Quote:
.."tell the men to fire faster, fight 'till she sinks,..boys don't give up the ship!"
CapnScurvy is offline   Reply With Quote
Old 12-16-13, 12:27 PM   #4
Maurox
Swabbie
 
Join Date: Jul 2009
Posts: 8
Downloads: 105
Uploads: 0
Default

Thanks for the welcome!

Let me start by saying that I actually do have some experience with DDS as
a) I've always been a tinkerer of sorts and I always try to make some little changes to the games I play
b) I've got a bit of history with FSX repaints (since my main area of... let's say "expertise" is aviation But subs proved to be plenty of fun as well, in their own way - though I'm far from playing on 100% realism settings, so far I'm content with manual targeting xD)

Now, coming back to the topic:
I've already tried a few mods, but here is the thing: I have v 1.5 with U-Boot mission campaign and after trying the very same mods you mentioned, I still have the large lines with numbers on the PPI screen and AScope remains completely unchanged.

Now, it could be because I haven't really applied the mod altogether, only the shader and *.dds/*.tga files, but from some of the posts I got the idea that somewhere along the way developers changed something in the files and those lines and numbers on the screen appeared to be somehow hard-coded into the display (though what little experience I have tells me this is not very probable, if at all possible)

One reason why I don't want to install the entire OTC is that I already have a couple of mods that I want to keep and I would need to play with the files to join them together... Which I might do sometime in the future, but right now I wanted to edit just the radar screens. ATM I'm using my own mask for the smaller lines (different from the one posted above), but the numbers and lines located on the screenshot are still there. Any way to remove them?
Maurox is offline   Reply With Quote
Old 12-16-13, 06:03 PM   #5
CapnScurvy
Admiral
 
CapnScurvy's Avatar
 
Join Date: Apr 2005
Location: Dayton, Ohio
Posts: 2,292
Downloads: 474
Uploads: 64


Default

Ok, I see what you're getting at.

I already mentioned you can't do much with the games original numerical additions they have added to several of the screens. You can make them smaller, or move them out of the way, but you can't get rid of them (least I don't know how). Both radar screens have them "magicly" appear (so does the German periscope view with the numbers and the two perpendicular lines drawn on the scope view).

As memory serves me, changing the parameters in the Shaders\Radar\ASCOPERadarPS.fx, and Shaders\Radar\PPIRadarPS.fx (use NotePad to open these files) will change the settings for these number placements. Maybe these files make more sense to you, they don't to me. For me, I know "when to leave sleeping dogs lie"

With the PPI screen, I actually made the Alpha Channel "mask" smaller, to cover over the bearing numbers the game puts on the screen. In the below image, I've got the Alpha Channel for OTC's PPI screen:




Notice where the pointer is located on the top/center of the alpha channel.

In the following "regular" image of the PPI screen, this same spot is about where the mouse pointer is located:




I got around having the games stock relative bearing numbers show by simply covering them up. Their still there, just covered up with my screens relative bearing compass being larger than the Alpha Channel rim.
__________________


The HMS Shannon vs. USS Chesapeake outside Boston Harbor June 1, 1813

USS Chesapeake Captain James Lawrence lay mortally wounded...
Quote:
.."tell the men to fire faster, fight 'till she sinks,..boys don't give up the ship!"
CapnScurvy is offline   Reply With Quote
Old 12-17-13, 02:18 AM   #6
Maurox
Swabbie
 
Join Date: Jul 2009
Posts: 8
Downloads: 105
Uploads: 0
Default

So no one figured out how to remove them... Well, thanks for trying to help anyway

Though if I may ask - do people edit the shaders (*.fx) with some program or just notepad(++ )? I would play around with them, but if possible I want as little trial-and-error process as possible due to obvious reasons (^_^')
Maurox is offline   Reply With Quote
Old 12-17-13, 07:11 AM   #7
CapnScurvy
Admiral
 
CapnScurvy's Avatar
 
Join Date: Apr 2005
Location: Dayton, Ohio
Posts: 2,292
Downloads: 474
Uploads: 64


Default

NotePad is what you'll use to open\save, making changes in that kind of file.

The question is......what changes do you make??? Unless you've got some idea of what to do, trial and error is the only way.
__________________


The HMS Shannon vs. USS Chesapeake outside Boston Harbor June 1, 1813

USS Chesapeake Captain James Lawrence lay mortally wounded...
Quote:
.."tell the men to fire faster, fight 'till she sinks,..boys don't give up the ship!"
CapnScurvy 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 08:41 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.