SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   [REQ] no one wants a working stadimeter?... (https://www.subsim.com/radioroom/showthread.php?t=164727)

TheDarkWraith 03-15-10 03:38 PM

here's what appears to be going on: the stadimeter is using the whole ship in the top split image (even the part underwater). If you move the top split image's bottom part to the top of the highest mast and then add on for what you don't see of the ship underwater the range readings come out fairly accurate (the hard part is guessing how much of the ship is underwater).

Ducimus 03-15-10 03:42 PM

Quote:

Originally Posted by Clacker (Post 1314702)
OK, so just editing the "mast height" in the CFG files is not a temporary work around?
.

Has anyone tried this? Ranging was off in SH4 too. Adjusting mast height in the CFG files was a working solution. I wouldn't think SH5 would be any different.

Maltro 03-15-10 04:25 PM

TheDarkWraith, you are on the good way. :yeah: But no mean to know wich part of the boat is underwater...

If you are right, it is not the boat height which is wrong in the CFG files but the way the program is following to do his calculation. It is too complicate for me :oops: to search how the program do so I try another way but if you could try (I know you or DUCIMUS can! I have download some mods you have made :yeah:)... it would be great.

Otherwise, I can do what REAPER7 told me and he will modify the recognition manual by adding a marking... I have tried but for some ships, it is hard to find a valid point to pick up... For example, target at 1000 meters... :

http://i169.photobucket.com/albums/u...2-02-28-32.jpg

emtguf 03-15-10 04:27 PM

The torpedo depth indicator shows how much is underwater. Is this info taken from a file somewhere? If so cant we just take that data and reduce the Ships height by that value?
This would basically remove the underwater portion from the equation.

Anyone know where that data is saved?

Ducimus 03-15-10 04:30 PM

/data/sea/WhateverShip/WhateverShip.cfg

Maltro 03-15-10 04:58 PM

mmm... so I have opened the cfg file of the Bismark:

[Unit]
ClassName=BBBismark
3DModelFileName=data/Sea/NBB_Bismark/NBB_Bismark
UnitType=11
MaxSpeed=30
Length=270
Width=37
Mast=48.6
Draft=8.83
Displacement=50950
RenownAwarded=1700
RecManualCategory=LargeWarship
BowShape=Raked
Funnels=1

There is probably an error in the stadimeter caculation file but where is it and can we mod it?...
But if we change the value called "Mast=48.6" by "Mast=39.77", maybe it would works?... I am going to try with the buggy Cimarron tanker and will tell you soon.

emtguf 03-15-10 05:11 PM

Good find, if that works We should get a couple of people together to alter that data and release a mod for it.
I will volunteer my time to help out if indeed it does work.

reaper7 03-15-10 05:22 PM

Quote:

Originally Posted by Maltro (Post 1317327)
According with your post, it would be the better and surely the most simply mean to use actual stadimeter.

I have done this little drawing (as I said) but there is not enough ship to be useful for a good mod... and my drawing would be improve (it was a personal use!... :oops::O:)

http://i169.photobucket.com/albums/u...o/02b54cbd.jpg

If I make a complete statement of all of ship, are you really interesting by making a recognition manual mod ? It would be nice...:yeah:

PS : (in French: "AV" means "Front", for front of the boat)

Thanks Maltro yes those drawings are fine, just need the points that the stadimeter is dragged to.

Unless of course we can work out what file to configure to change the correct mast heights, as TheDark mentioned above.

This is what I was hoping to do for the next revision of the Recognition Manual Mod. That is once we figured out the current stadimeter points.

http://i236.photobucket.com/albums/f...Stadimeter.jpg

http://i236.photobucket.com/albums/f...Stadimeter.jpg

Bilge_Rat 03-15-10 05:26 PM

Quote:

Originally Posted by Maltro (Post 1317537)
mmm... so I have opened the cfg file of the Bismark:

[Unit]
ClassName=BBBismark
3DModelFileName=data/Sea/NBB_Bismark/NBB_Bismark
UnitType=11
MaxSpeed=30
Length=270
Width=37
Mast=48.6
Draft=8.83
Displacement=50950
RenownAwarded=1700
RecManualCategory=LargeWarship
BowShape=Raked
Funnels=1

There is probably an error in the stadimeter caculation file but where is it and can we mod it?...
But if we change the value called "Mast=48.6" by "Mast=39.77", maybe it would works?... I am going to try with the buggy Cimarron tanker and will tell you soon.

I think you should also try the inverse, namely 48.6+8.83= 57.43 as well as the other way around.

The problem with the stadimeter so far is that it gives us a range which is too close if we use stock mast height, forcing us to lower the measuring point, namely create a smaller angle.

If you use the same angle, but plug in a lower mast height, it should result in an even closer and still incorrect range.

If the stadimeter is reading the wrong height, we would have to plug in a higher number, so that the stadimeter will give us a longer, presumably correct range.

Maltro 03-15-10 05:37 PM

Damn it... I have tried to change the value of the mast height two times but during the test, my statement have the same wrong results : statement at the higher mast of the CIMARRON gives me 700 m instead of 1000 m... Strange... that means the program do not use this data to give us the distance??? :damn:

REAPER7, I understand what you wants to do but the line you have drawn is too "subjective" to be used with precision at a long distance cause it doesn't match a part of the ship silhouette. (I hope you will understand what I try to explain... :oops: my english is so poor...:damn:)

reaper7 03-15-10 05:47 PM

Quote:

Originally Posted by Maltro (Post 1317630)
REAPER7, I understand what you wants to do but the line you have drawn is too "subjective" to be used with precision at a long distance cause it doesn't match a part of the ship silhouette. (I hope you will understand what I try to explain... :oops: my english is so poor...:damn:)

I didn't expect the stadimeter to be tied into the cfg files, that would have been to easy. Oh well where to look next.
The drawing above are only quick mock ups, I have another idea to show the point on silhouette once I know one of the points I can do up a version for that ship to try.
I have tried to create a mission to get the readings my self, but cant get my mission to appear in the game for selection :damn:.

emtguf 03-15-10 05:55 PM

Yes not tied to the cfg files at all.
Also noticed that the draft reported by the CFG files is not the draft shown in the torpedo depth screen. Took the training mission from my TDC tutorial and adjusted the cfg file, it showed a draft of i believe 3.3 but ingame the draft shows as 6+

this data is definitely coming from somewhere else.

TheDarkWraith 03-15-10 06:03 PM

Quote:

Originally Posted by emtguf (Post 1317664)
Yes not tied to the cfg files at all.
Also noticed that the draft reported by the CFG files is not the draft shown in the torpedo depth screen. Took the training mission from my TDC tutorial and adjusted the cfg file, it showed a draft of i believe 3.3 but ingame the draft shows as 6+

this data is definitely coming from somewhere else.

the .sim file for the ship probably under draught

reaper7 03-15-10 06:05 PM

Quote:

Originally Posted by emtguf (Post 1317664)
Yes not tied to the cfg files at all.
Also noticed that the draft reported by the CFG files is not the draft shown in the torpedo depth screen. Took the training mission from my TDC tutorial and adjusted the cfg file, it showed a draft of i believe 3.3 but ingame the draft shows as 6+

this data is definitely coming from somewhere else.

Which appears to be more accurate in game the cfg file or the onscreen draft gauge.
If its the torpedo draft Gauge selector we could go through all the ship types and note the draft on the Gauge. I could then update the mod to represent the actual draft.
But really whats needed is to find out where the game is getting its values.

reaper7 03-15-10 06:09 PM

Quote:

Originally Posted by TheDarkWraith (Post 1317677)
the .sim file for the ship probably under draught

Whats needed to open and edit .sim files?

Tried it with note pad and found this:
ratio����?���put_on_water�M���Surfaced����displacement��ZF
���draught�š™@���drag� ���LR����? ���UD�š™™>N���Submerged����displacement��F
���draught���ˆA���drag� ���LR����? ���UD�š™™>���Propulsion�,���Propellers� ���NAGC_C 2Appalachian_propeller����max_speed�33ƒA���max_for ce��������eng_power��`E

Maybe its here.


Another quick idea for the stadimeter point on recon manual:

http://i236.photobucket.com/albums/f...tadimeter2.jpg

This shows the water line as on scope and the line to drag ghost image too on stadimeter.
Each ship would have its image line set to its relevant point. (Once found of course).


All times are GMT -5. The time now is 04:31 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.