![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
The Old Man
![]() Join Date: Dec 2005
Location: Philadelphia Shipyard Brig
Posts: 1,386
Downloads: 160
Uploads: 19
|
![]()
Looking for two things here;
1. Which file or files controls the color of the PPI scope, for example if you want to change the display from red to green? 2. Which file or files controls the depth at which the radar automatically shuts down? |
![]() |
![]() |
![]() |
#2 |
The Old Man
![]() Join Date: Dec 2005
Location: Philadelphia Shipyard Brig
Posts: 1,386
Downloads: 160
Uploads: 19
|
![]()
Nope.
\Data\Library\USSubParts\Sensors_sub_US.sim has a lot of data, but nothing I can find which controls the cutoff depth. \Data\Interior\NSS_Salmon\NSS_Salmon_CT.sim also has a lot of data, but nothing that looks like RGB values. |
![]() |
![]() |
![]() |
#3 |
The Old Man
![]() Join Date: Dec 2005
Location: Philadelphia Shipyard Brig
Posts: 1,386
Downloads: 160
Uploads: 19
|
![]()
Nobody knows even how to change the color from red to green? Possibly the depth cutout is hard coded into an EXE file somewhere, but it's hard to believe there isn't some file with RGB values for the display. The DDS files are actually green so there must be a shader someplace.
|
![]() |
![]() |
![]() |
#4 |
Ocean Warrior
![]() Join Date: Dec 2007
Location: Between test depth and periscope depth
Posts: 3,021
Downloads: 175
Uploads: 16
|
![]()
To answer your second question, try the units cfg file. Specifically the surface depth entry. It's been some time since I've worked on that aspect but I believe that's where you want to look.
__________________
USS Kentucky SSBN 737 (G) Comms Div 2003-2006 Qualified 19 November 03 Yes I was really on a submarine. |
![]() |
![]() |
![]() |
#5 |
The Old Man
![]() Join Date: Dec 2005
Location: Philadelphia Shipyard Brig
Posts: 1,386
Downloads: 160
Uploads: 19
|
![]()
Not finding a units cfg file here.
|
![]() |
![]() |
![]() |
#6 |
Ocean Warrior
![]() Join Date: Dec 2007
Location: Between test depth and periscope depth
Posts: 3,021
Downloads: 175
Uploads: 16
|
![]()
Sorry, NSS_Sargo.cfg. That make more sense?
__________________
USS Kentucky SSBN 737 (G) Comms Div 2003-2006 Qualified 19 November 03 Yes I was really on a submarine. |
![]() |
![]() |
![]() |
#7 |
The Old Man
![]() Join Date: Dec 2005
Location: Philadelphia Shipyard Brig
Posts: 1,386
Downloads: 160
Uploads: 19
|
![]()
Makes sense but no joy.
\Data\Submarine\NSS_Sargo\NSS_Sargo.cfg [Unit] ClassName=SSSargo 3DModelFileName=data/Submarine/NSS_Sargo/NSS_Sargo HumanPlayable=YES Interior=data/Interior/NSS_Salmon/NSS_Salmon UnitType=200 MaxSpeed=21 MaxSpeedSubmerged=8.75 Length=94.6404 Width=8.1788 RenownAwarded=130 [Salvo] 1=1,3,2,4 2=1,2,4 3=1,3,4 4=1,4 5=2,3 6=1,3 7=2,4 [Properties] PeriscopeDepth=16.7;meters SnorkelDepth=15;meters CrashDepth=40;meters MaxDepth=100;meters SurfaceDepth=5.061;meters TorpLaunchMaxDepth=30;meters StormConditions=9,0.1;max wind speed [m/s], max rain intensity [0,1] [EngineProperties] AllStop=0.00 AheadSlow=0.40 AheadOneThird=0.57 AheadStandard=0.80 AheadFull=0.94 AheadFlank=1.00 BackSlow=-0.26 BackStandard=-0.40 BackFull=-0.53 BackEmergency=-0.66 Nothing in there about radar. ![]() |
![]() |
![]() |
![]() |
#8 |
The Old Man
![]() Join Date: Dec 2005
Location: Philadelphia Shipyard Brig
Posts: 1,386
Downloads: 160
Uploads: 19
|
![]()
Well, in the library\us subparts\Sensors_sub_US.sim after comparing ID numbers to parent IDs in the dat file, I found the salmon/sargo SJ1 radar specs. Got a min and max height and a min and max sensor height, changing the min sensor height to -50 or whatever seems to have no effect. I know that number 55 in that file is the correct one because in addition to checking the ID with the parent ID I changed the sweep period from 20 to 6, and ingame the radar sweep takes 6 seconds instead of 20 for a complete rotation. I'd leave it that way (IIRC modern radar PPI scopes have a six second sweep) but then the sweep arc has to be changed from 9 degrees to 1 so it don't look weird, and the spike on the A scope don't look right either.
Questions not either self explanatory or explained by the descriptions; RPMDetLevel=0.0 - Detection level at percentage of maximum RPM (between 0 and 1). SkipSweep=true - When sweeping sensor skip invalid sectors. Okay, but what do those mean, what do they affect? |
![]() |
![]() |
![]() |
#9 |
The Old Man
![]() Join Date: Dec 2005
Location: Philadelphia Shipyard Brig
Posts: 1,386
Downloads: 160
Uploads: 19
|
![]()
I'm keeping this thread going in the hope that someone will eventually know the answer to one of these two questions. Automatic shutoff depth for the SJ radar is 40 feet, since I got one of those flat calms today I was able to test this - the SJ antenna doesn't actually go under on the SARGO until a depth of 50 feet. Makes no sense that the SJ cuts off when the antenna is still 10 feet above the water, makes even less sense that the crew AI doesn't have enough brainpower to turn it back on automatically when it keeps cutting out in heavy seas, and makes zero sense that there isn't a simple way to adjust the cutoff depth.
|
![]() |
![]() |
![]() |
#10 | |
Pacific Thunder
|
![]() Quote:
Hitman, Nisgeis, Frederf, Anvart & Capt Scurvy all came to mind on this radar topic. I must remember: Stock PPI is red, Stock PPI is red, Stock PPI is red, Stock PPI is red, .... I'm guessing the red green 'switch' is in the Conning Tower Interior *.dat and/or *.sim files for each boat? Last edited by aanker; 05-04-15 at 07:10 PM. |
|
![]() |
![]() |
![]() |
#11 |
The Old Man
![]() Join Date: Dec 2005
Location: Philadelphia Shipyard Brig
Posts: 1,386
Downloads: 160
Uploads: 19
|
![]()
"in RFB the A-Scope is green and his PPI red"
In the stock 1.4 game the A-scope is green and the PPI is red, no different from RFB. I have a mod that adds range rings, but it's still red. ![]() I labeled them to avoid confusion because the buttons on the bottom are reversed, "Go to PPI radar" takes you to the A-scope, "Go to A-scope" takes you to the PPI. Fortunately the main radar button takes you to the PPI when double clicked. (This image is an interior lighting mod for the conning tower plus a camera hack for the conning tower interior view, I haven't uploaded either yet since I haven't bought 1.5 yet.) I understand how colors work, 255, 0, 0 is red, change to 255, 255, 0 and you get yellow. Problem is I can't find anything in any file that has radar color data in it. |
![]() |
![]() |
![]() |
#12 | |
Pacific Thunder
|
![]() Quote:
OK, it's been so long since I saw Stock - That is my only excuse .... I just now fired up Stock 1.5 plus looked at screenshots from earlier versions, and sure enough there's a RED PPI. Sorry........ Last edited by aanker; 05-04-15 at 07:54 PM. |
|
![]() |
![]() |
![]() |
#13 | |
Silent Hunter
![]() Join Date: Sep 2010
Posts: 3,975
Downloads: 153
Uploads: 11
|
![]() Quote:
I can only take a guess, but I think the first is related to detection being a function of how fast the beam is sweeping by. |
|
![]() |
![]() |
![]() |
#14 |
The Old Man
![]() Join Date: Dec 2005
Location: Philadelphia Shipyard Brig
Posts: 1,386
Downloads: 160
Uploads: 19
|
![]()
Probably a reasonable reasoning. Percentage of maximum RPM could easily be a feature that was never finished (no control over sweep RPM in game, the only way to adjust it is by hacking the file) so they disabled it by setting it to zero.
Skip sweep who knows, in the real world there would be a huge blob at 180 minimum range if one of the periscopes was raised. I'll have to try setting it to FALSE and see if it replicates that effect. 3d models of the radar masts, I've looked at assorted 3D models in S3d without the slightest idea what I'm looking at - every time I've ever tried to learn even the most simple modeling program it beats me up and takes my lunch money. ![]() |
![]() |
![]() |
![]() |
#15 | ||
Pacific Thunder
|
![]() Quote:
http://www.subsim.com/radioroom/showthread.php?t=115207 In the mod are Radar.dds, ppiCircles.dds, & in the Shaders folder is a fix for PPIRadarPS.fx by Anvart. The CT *.sims were included in a version 1.21. Readme: Quote:
![]() Screenshot from: http://www.subsim.com/radioroom/show...=115207&page=6 Last edited by aanker; 05-05-15 at 02:55 PM. |
||
![]() |
![]() |
![]() |
|
|