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 05-01-13, 09:29 AM   #1
Mikemike47
Grey Wolf
 
Join Date: Sep 2006
Location: NY
Posts: 989
Downloads: 1081
Uploads: 6
Default Cosmetic door bug-F7 Battlestations

Disabling the F7 Battlestations command opens all sub doors except one. The door between the cook and engine room compartments does not reopen. All other subdoors reopen.

I can click the door between the cook and engine room to open or close it using the mouse. Enabling the F7 Battlestations command closes all subdoors, including the door between the cook and engine room.

Sorry, TDW, I did not write about this sooner. It has been there for quite a few patch versions.

I saw the following: "starting with v1.0.39.0...........- Note: There are 2 doors I haven't got working correctly yet but all the others work excellent."

Perhaps it has been forgotten about or bigger issues to work on. Thanks everybody for working on the rudder and circle torpedo issues lately.

P.S. I, too, have seen auto TDC not working properly as stated in the last few days posts.
Mikemike47 is offline   Reply With Quote
Old 05-01-13, 02:21 PM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

I finally have completed all the code changes for the torpedoes Wow, that was a nightmare

The torpedoes sim file will need to be updated. The code assumes ALL values whose notes say percent or percentage are in the range of 0.0-1.0 (being 0% - 100%). If someone wants to take on the updating of the torpedoes sim file that would be great Using the stock torpedoes sim file will result in strange things happening with the new torpedoes code patches I'll be releasing new version of patcher here soon

Another note: regarding impact angles for the dud chances: the code assumes a perpendicular hit as 90 degrees and a glancing shot (or parallel hit) as 0 degrees. Here is an example of correct entries:
TheDarkWraith is offline   Reply With Quote
Old 05-01-13, 02:30 PM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

v1.0.86.0 released. See post #1

Starting with v1.0.86.0 revised all the torpedo failures in the game. The code will now follow what the torpedo's .sim file says. The code assumes all values in the torpedo's sim file whose comments say percent or percentage are in the range 0.0-1.0 (0% - 100%)

No whining about the failures with the torpedo's now The code (game) will now follow what is specified in the torpedo's sim file. If you don't like the high failure rates then edit the torpedo's sim file

I also rewrote the whole torpedo impact checking code for the game. The old code was severely flawed and my previous patch to fix it was just a Band-Aid. The new code is robust and works great!

TheDarkWraith is offline   Reply With Quote
Old 05-01-13, 02:33 PM   #4
Choum
Sparky
 
Join Date: Aug 2012
Posts: 157
Downloads: 344
Uploads: 3
Default

thanks
Choum is offline   Reply With Quote
Old 05-01-13, 02:57 PM   #5
Fifi
Navy Seal
 
Fifi's Avatar
 
Join Date: Dec 2012
Location: France
Posts: 6,254
Downloads: 510
Uploads: 0


Default

Thanks

Quote:
Originally Posted by TheDarkWraith View Post
I also rewrote the whole torpedo impact checking code for the game. The old code was severely flawed and my previous patch to fix it was just a Band-Aid. The new code is robust and works great!
What do you mean with the rewrote of torpedo impact?
The efficiency of torpedo or the visual effects?
Fifi is offline   Reply With Quote
Old 05-01-13, 03:05 PM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Fifi View Post
What do you mean with the rewrote of torpedo impact?
The efficiency of torpedo or the visual effects?
I had to rewrite the whole code dealing with checking/computing torpedo impact angle to unit. The old code was garbage - it appears many different people 'worked' on it as there was no agreement to what the values meant. The torpedo impact angle passed to the function was a SIN value and the function checking torpedo impact angle to values in the torpedo's sim file was using COS values....that's just one example. It was garbage is the only way to describe it
TheDarkWraith is offline   Reply With Quote
Old 05-01-13, 02:54 PM   #7
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,292
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by TheDarkWraith View Post
I finally have completed all the code changes for the torpedoes Wow, that was a nightmare
That's great
Thank you

Quote:
Originally Posted by TheDarkWraith View Post
The torpedoes sim file will need to be updated. The code assumes ALL values whose notes say percent or percentage are in the range of 0.0-1.0 (being 0% - 100%). If someone wants to take on the updating of the torpedoes sim file that would be great Using the stock torpedoes sim file will result in strange things happening with the new torpedoes code patches I'll be releasing new version of patcher here soon
I be able.. what needs to do/to edit? exactly?
I could to update stock and FX Update torpedoes .sim files.. and also magnetic detonators range 4m for stock and FX Update..
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 05-01-13, 03:07 PM   #8
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by volodya61 View Post
I be able.. what needs to do/to edit? exactly?
I could to update stock and FX Update torpedoes .sim files.. and also magnetic detonators range 4m for stock and FX Update..
Follow my example screenshot posted a few posts back. Basically ANY value whose comments/notes say it is a percent or percentage HAS to be in the range 0.0-1.0. No 0-100 values for those! Make sense

Notice the number of patches available just for torpedoes in the SHSim patch file You should be able to customize the realism/difficulty wanted quite easily dealing with torpedo failures
TheDarkWraith is offline   Reply With Quote
Old 05-01-13, 03:26 PM   #9
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,292
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by TheDarkWraith View Post
Follow my example screenshot posted a few posts back. Basically ANY value whose comments/notes say it is a percent or percentage HAS to be in the range 0.0-1.0. No 0-100 values for those! Make sense
I already was sorted out with this.. and now, after your explanations, it's absolutely clearly

Quote:
Originally Posted by TheDarkWraith View Post
Notice the number of patches available just for torpedoes in the SHSim patch file You should be able to customize the realism/difficulty wanted quite easily dealing with torpedo failures
I wanted to keep percentages by default, as they were given by devs.. anyway, I'll edit the files and will post them here.. you could to check them if you want to..
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 05-01-13, 03:37 PM   #10
Fifi
Navy Seal
 
Fifi's Avatar
 
Join Date: Dec 2012
Location: France
Posts: 6,254
Downloads: 510
Uploads: 0


Default

On side note, opening torpedo file with S3D give of course same value as Goblin, but more understable for me using real percent values, instead of 0 to 1...
Same torp type opened with S3D as TDW picture above:

Basically same stuff, but for noob like me, everytime i clic a value or a name in window, a description appears on bottom page
(to answer Volodya question of other thread)
Fifi is offline   Reply With Quote
Old 05-01-13, 03:40 PM   #11
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Fifi View Post
On side note, opening torpedo file with S3D give of course same value as Goblin, but more understable for me using real percent values, instead of 0 to 1...
Same torp type opened with S3D as TDW picture above:

Basically same stuff, but for noob like me, everytime i clic a value or a name in window, a description appears on bottom page
(to answer Volodya question of other thread)
It doesn't matter what you use as long as the values written to the file are in the 0.0-1.0 range

How is 0-1 not understandable? 0 = 0%, 1 = 100%, 0.5 = 50% (simple fractions)
TheDarkWraith is offline   Reply With Quote
Old 05-01-13, 04:12 PM   #12
Fifi
Navy Seal
 
Fifi's Avatar
 
Join Date: Dec 2012
Location: France
Posts: 6,254
Downloads: 510
Uploads: 0


Default

Quote:
Originally Posted by TheDarkWraith View Post
How is 0-1 not understandable? 0 = 0%, 1 = 100%, 0.5 = 50% (simple fractions)
Yes of course...but still 50% writen 50 is quicker understable than 0.5
Nitpicking i admit
But remains the descriptions are very useful to me...!

Ok, installed your new version, and will see the changes
The number of patches concerning torpedos are now impressive
You did a stunning job in very short time!
If all working as intented, it will be the more important generic patcher version ever to me
Fifi is offline   Reply With Quote
Old 05-01-13, 04:20 PM   #13
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
v1.0.86.0 released.
Great work! Thank you TDW

Quote:
Originally Posted by TheDarkWraith View Post
The torpedoes sim file will need to be updated.
Quote:
Originally Posted by volodya61 View Post
I be able.. what needs to do/to edit? exactly?
Volodya, I have a suggestion if you don't mind:

don't waste too much of your time on the torpedo failure settings. Just give them some generic values which we will use ad interim for testing the new patches by TDW. For the definitive values, we should wait for Rongel to adjust them; havig worked on this mod, he is the one who knows more on the topic of torpedo malfunctions at various stages of the war, and hopefully he saved the raw data that his mod was based on in a safe place

Quote:
Originally Posted by Fifi View Post
Basically same stuff, but for noob like me, everytime i clic a value or a name in window, a description appears on bottom page
(to answer Volodya question of other thread)
Fifi, I agree with you that S3d is still a valid tool (when needed, I use it myself), but the very same descriptions pointed by you are displayed by Goblin Editor. They are probably stored somewhere in the binary files.
gap is offline   Reply With Quote
Old 05-01-13, 04:24 PM   #14
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,292
Downloads: 374
Uploads: 0


Default

I just have looked into the files.. I am perplexed by some numbers by devs..
circle runner chance - 0.5.. is this mean 50%? throughout the whole war? or rather this mean - 0.5%, i.e. 1 circle runner by 200 torpedoes shots

Gap!!! Are you here?!!
Have you historically accurate numbers? or Rongel only?

EDIT: oops.. you already answered on my question..
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 05-04-13, 02:28 PM   #15
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Mikemike47 View Post
Disabling the F7 Battlestations command opens all sub doors except one. The door between the cook and engine room compartments does not reopen. All other subdoors reopen.

I can click the door between the cook and engine room to open or close it using the mouse. Enabling the F7 Battlestations command closes all subdoors, including the door between the cook and engine room.

Sorry, TDW, I did not write about this sooner. It has been there for quite a few patch versions.

I saw the following: "starting with v1.0.39.0...........- Note: There are 2 doors I haven't got working correctly yet but all the others work excellent."

Perhaps it has been forgotten about or bigger issues to work on. Thanks everybody for working on the rudder and circle torpedo issues lately.

P.S. I, too, have seen auto TDC not working properly as stated in the last few days posts.
I'm at a stopping point on the development of the Destroyed marks patch and Carriers launching airplanes until I can find some code in the exe and act files that does what I'm looking for. Thus I'm now going back and looking over previous patches and fixing bugs/errors in them. This is on my list to look over again. Knowing what I know now I should be able to improve them considerably
TheDarkWraith 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 09:02 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.