![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
05-23-12, 06:13 PM
|
#481 |
|
Ace of the Deep
![]() Join Date: Mar 2005
Location: Bucharest, Romania
Posts: 1,056
Downloads: 3
Uploads: 3
|
Just out of my head and I'm really really sleepy, I think the duds are influenced by some skills (maintenance of torpedoes etc) but also by the impact angle and torpedo speed.
Regarding magnetic premature detonation i think we took into account running depth, speed and wave state. Also there was at least one torpedo speed ability supposed to simulate pre-heating the G7e-s, the electric ones.
__________________
With strength I burn... |
|
|
05-23-12, 06:53 PM
|
#482 |
|
Black Magic
![]() |
I'm kinda sick and tired of these uber reliable torpedoes we have in SH5. I want to see more failures
So some questions:- how reliable were the torpedoes in regards to set speed? Did they maintain this speed all throughout it's run or did the speed vary a little bit? Any records of torpedoes not running at set speed when launched? I'm thinking of adding a small chance (say 1%) that the torpedo does not run at selected speed when launched. - how reliable were the torpedoes in regards to maximum range at selected speed? Any record of some going farther/shorter? I'm thinking of adding a small chance (say 1%) that the torpedo's maximum range is shorter (maybe add longer also) than intended maximum range - Any records of torpedoes guidance system freezing after making initial turn (like it's rudder jams)? I'm thinking about adding a small chance (say 1%) that the torpedo's rudder can jam after making initial turn - Any records of just total failure in general during it's run (not accounting for premature detonations)? I'm thinking of adding a small chance (say 1%) that the torpedo's propulsion system fails at some point during it's run. Torpedo would then be a dud for game account. What other possible failures could there be?
|
|
|
05-23-12, 10:49 PM
|
#483 |
|
Swabbie
![]() Join Date: Sep 2007
Location: East Van
Posts: 10
Downloads: 268
Uploads: 0
|
I just found some pieces of information
in this link check description of G7a http://www.navweaps.com/Weapons/WTGER_WWII.htm next one is more about damage torpedo could cos http://www.defence.gov.au/sydneyii/S...M.003.0042.pdf influence of preheating here http://www.uboat.net/technical/torpedoes.htm yadda yadda about everything http://www.uboataces.com/weapon-torpedo.shtml real life account http://books.google.ca/books?id=LJJe...ailure&f=false If that's the case sorry for discovering wheel and gunpowder again nynek
__________________
|
|
|
05-24-12, 12:33 AM
|
#484 | |
|
Commander
![]() Join Date: May 2004
Location: Texas, USA
Posts: 470
Downloads: 78
Uploads: 0
|
Quote:
__________________
Ansonsten, Herr Lutter, ist alles in Butter Liqui-cooled Intel i2550K @ 4.2 GHz, 8 Gb RAM, GTX 970 GPU |
|
|
|
05-24-12, 12:36 AM
|
#485 | |
|
Black Magic
![]() |
Quote:
More patches coded in: - removed the kiddy factor from the torpedo circle runner chance. Now you will have a chance of getting circle runners (game sometimes multiplies circle runner chance read from torpedoes .file with 0 - so you never got a circle runner. If it wasn't 0 it was some fractional value thus the value specified in torpedoes .sim file was never really used) - added some cool code that gives a 5% chance of the torpedoe's rudder jamming as it is making it's initial turn. Once jammed it's effectively a circle runner. Torpedo has to have moved 100m before it can do it's initial turn (game design - I can change that value though All these patches have used up the available 'space' in the code (.text) section of the SHSim.act file. Thus I have to revise the patcher app so that it can add more free space to any section (.text, .bss, etc.) in a file it's patching (not free space in memory but physical free space in the file itself on your hard drive). Once the patcher app is updated I'll release the new version. I'm planning on adding 3 torpedo failures to this upcoming next version: - 3% chance that torpedoe's max range is less than actual (could be up to 25% less) - 5% chance that torpedoe's speed is less than actual (could be up to 5% less) - 2% chance that torpedo experiences propulsion failure and thus dies (comes to stop and sinks to bottom). When torpedo is initialized a random value will be asked for and scaled to 0-100. If this random value is <= 2 then another random value will be asked for scaled to 0.0-1.0. This 0.0-1.0 random scaled value will be multiplied by the torpedoes max range. The result will be stored as the new torpedo max range. I'm also toying with the idea of adding some drift to the torpedo's ordered heading. I have a very hard time believing that the torpedo ran a perfectly straight line to the target. Wind, waves, and currents could cause it to drift. Thus a very very small amount of drift (a signed value + or -) could be added to the ordered heading every frame update or every 10 frame updates or more? ![]() I have almost all the variables mapped out for the torpedo so I can do just about anything I want with them ![]()
Last edited by TheDarkWraith; 05-24-12 at 12:53 AM. |
|
|
|
05-24-12, 03:09 AM
|
#486 |
|
Eternal Patrol
![]() |
The 1% chance of various failures sounds good to me, but as for accurate records of short/long runs and inaccurate speeds, how would anyone know? From inside the boat one couldn't tell how far the fish ran, or how fast. They would only know that it missed. I don't think anyone ever did the kind of extensive testing this would require.
__________________
“Never do anything you can't take back.” —Rocky Russo |
|
|
05-24-12, 04:35 AM
|
#487 | ||
|
Grey Wolf
![]() Join Date: Jan 2009
Location: Finland
Posts: 857
Downloads: 174
Uploads: 0
|
Quote:
![]() Quote:
|
||
|
|
05-24-12, 02:37 PM
|
#488 | |
|
Swabbie
![]() Join Date: Sep 2007
Location: East Van
Posts: 10
Downloads: 268
Uploads: 0
|
Quote:
nynek
__________________
|
|
|
|
05-24-12, 04:41 PM
|
#489 | |
|
Sonar Guy
![]() Join Date: Sep 2010
Location: Switzerland
Posts: 384
Downloads: 86
Uploads: 0
|
Quote:
__________________
Von den 40'000 deutschen U-Boot-Männern des Zweiten Weltkrieges kehrten 30'000 nicht zurück... 40’000 German sailors served on U-boats during World War II – 30’000 never returned home... |
|
|
|
05-24-12, 06:11 PM
|
#490 |
|
Ace of the deep .
|
It would be good to have a random dud failure between 20% and 80% by campaign date 1\1\1938 - 24\12\1942
Every torpedo launch gives a possible random failure % in that range between those dates . 25\12\1942 - 31\12\1949 random dud failure between 10% and 40% for every torpedo launch . or does this already work using the file torpedoes_g7a-e.sim I will send you a file of the torpedoes_g7a-e.sim I interpret some of the values diffrently than you . It is the amun_torpedo Type 1 Last edited by THE_MASK; 05-24-12 at 08:07 PM. |
|
|
05-24-12, 07:54 PM
|
#491 |
|
Black Magic
![]() |
I amaze myself sometimes
New patcher app is almost complete. It now allows you to specify new sections to add to the file you are patching Adding a new section is as simple as:- adding a [Section x] header - adding a Name= and giviting it a name (8 characters max - limitation of PE format) - adding a Size= and specifying the size (size needs to be SectionAlignment size as specified in PE header - use a tool like PEDumper to view PE header). This is a hex value - adding a Characteristics= and specifying the characteristics (Read, Write, Executable, etc.). This is a hex value. If you're not familiar with PE format you should read up on it ![]() SHSim is getting two new sections - a code section and a data section. This will allow me to store my own data in my own section and place all my patch code in it's own code section
Last edited by TheDarkWraith; 05-24-12 at 09:10 PM. |
|
|
05-24-12, 08:48 PM
|
#492 | |
|
Black Magic
![]() |
Quote:
|
|
|
|
05-24-12, 10:51 PM
|
#493 |
|
Black Magic
![]() |
Patcher app got an overhaul. There is a new node, NT, which lists all the NT data read from the file. There is another new node, Sections, which lists all the sections found in the file. Each section has sub-nodes that tell about the section. And finally there is another new node, Patches, which has all the patches listed under it. You can now right click on Patches and select Enable all patches or Disable to patches. You can also right click on each patch under patches and select Enable all changes or Disable all changes. And finally you can right click on each change and select Enable change or Disable change. Makes it really easy to enable/disable now. I was getting sick and tired of having to click every single one to enable/disable
Much easier now.I don't have the new patch files ready but I will release the new version of the patcher app as it much more user friendly ![]() Oh yeah, biggest change is it's target audience - it's now generic in nature. Thus you can write patch files for any file now (and with the new ability to add sections to a file it's a snap to create your own code/data sections in a file now!)
|
|
|
05-24-12, 11:06 PM
|
#494 |
|
Ace of the deep .
|
Thanks for the sdk then
|
|
|
05-24-12, 11:13 PM
|
#495 |
|
Black Magic
![]() |
Gives you some insight into the NT structure and PE format in general
v1.0.29.0 released. See post #1 Major overhaul to the patcher app. One, it's now generic so can be used to patch any file. Two, it's much more user friendly. Three, you can add you own sections now (and the Windows loader will load them in)
Last edited by TheDarkWraith; 05-24-12 at 11:41 PM. |
|
|
![]() |
|
|
