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-04-13, 02:21 PM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Fifi View Post
And what if we use your new torp file without the torp patches?

EDIT:
Tested by 2 times both your new files with my usual MS20 1942 mission, with all torp patches activated, and no one of my torp had issues that i could see, nor dud...
All were launched max speed with magnetic detonation.
Even the one i fired from stern hitted target at high open angle.
So i don't know if it's working as intented...all torp were working nice!
If you had magnetic detonators enabled then that's probably why. The torpedo never impacted the unit because the magnetic detonator sensed the magnetic field of the unit and detonated the torpedo first. Disable the magnetic detonators and try again.

Also if your values are incorrect in the torpedo's .sim file then the new patches will not work correctly. The new patches expect all values whose notes say value is percent or percentage to be in 0.0-1.0 values. The new code compares these values to random values in range 0.0-1.0. If the values in the torpedo's .sim file are in the 0-100 range then you will never have any failures.
TheDarkWraith is offline   Reply With Quote
Old 05-04-13, 02:48 PM   #2
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
Also if your values are incorrect in the torpedo's .sim file then the new patches will not work correctly. The new patches expect all values whose notes say value is percent or percentage to be in 0.0-1.0 values. The new code compares these values to random values in range 0.0-1.0. If the values in the torpedo's .sim file are in the 0-100 range then you will never have any failures.
His values are correct.. he used my edited torpedoes .sim files here - http://www.subsim.com/radioroom/show...postcount=1773
all values in my files are within 0.0-1.0


@ Fifi

Try this one - http://rghost.ru/45766406
all values for TI and TII torpedoes were set to 0.9 (ie 90%)..
__________________
.
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, 03:50 PM   #3
Fifi
Navy Seal
 
Fifi's Avatar
 
Join Date: Dec 2012
Location: France
Posts: 6,254
Downloads: 510
Uploads: 0


Default

Quote:
Originally Posted by volodya61 View Post
@ Fifi

Try this one - http://rghost.ru/45766406
all values for TI and TII torpedoes were set to 0.9 (ie 90%)..
I will

All my torp were set on magnetic though, as you said i should try only impact...
I thought magnetics were the ones with big failures in RL, that's why.
On other hand, make sens that only impact should be angle dud affected
So logically, when we have a target almost 90%, we'd better use impact...and when target is at bad angle, we 'd better use magnetic!
Fifi is offline   Reply With Quote
Old 05-04-13, 04:41 PM   #4
Choum
Sparky
 
Join Date: Aug 2012
Posts: 157
Downloads: 344
Uploads: 3
Default

works great

Choum is offline   Reply With Quote
Old 05-04-13, 05:11 PM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

v1.0.88.0 released. See post #1

Starting with v1.0.88.0 Fixed CTD that happens when the Battlestations close/open doors patch is enabled and sub is near port
TheDarkWraith is offline   Reply With Quote
Old 05-04-13, 05:26 PM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

I'm finding it quite difficult to fix the small 'problem' that the patch that prevents units from falling through the sea floor causes with the subnets. The problem is once the unit is 'destroyed' it's Commanders controller (this controller contains all the data about unit's type, classname, name, country, etc.) is destroyed also and set to a null pointer. Thus there's no way for me to get the unit's type (i.e. 102, 200, 303, etc.) to prevent the patch from 'working' on special units. I'm still looking for alternate ways but so far it doesn't look good
TheDarkWraith is offline   Reply With Quote
Old 05-04-13, 05:32 PM   #7
Tonci87
Samurai Navy
 
Join Date: Jun 2012
Posts: 590
Downloads: 119
Uploads: 0


Default

Quote:
Originally Posted by TheDarkWraith View Post
v1.0.88.0 released. See post #1

Starting with v1.0.88.0 Fixed CTD that happens when the Battlestations close/open doors patch is enabled and sub is near port

Nice!

One little question inspired by Choums screenshot:
What happens if the plane, or it´s remains, fall on the sub?

The subnet issue is really most unfortunate. I guess other static objects won´t work properly too?
Tonci87 is offline   Reply With Quote
Old 05-04-13, 05:58 PM   #8
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Tonci87 View Post
One little question inspired by Choums screenshot:
What happens if the plane, or it´s remains, fall on the sub?

The subnet issue is really most unfortunate. I guess other static objects won´t work properly too?
You will get damaged

Static objects aren't affected. It's only game units that are. To get the mines and subnets working I created new 'units' for them. The game doesn't recognize units with a unit type >= 500 (which are the mines and subnets) so I had to find another solution for them

Never give up hope. I just haven't found the existing code that will get me the data I'm looking for yet. More digging around to do
TheDarkWraith is offline   Reply With Quote
Old 05-04-13, 06:19 PM   #9
Fifi
Navy Seal
 
Fifi's Avatar
 
Join Date: Dec 2012
Location: France
Posts: 6,254
Downloads: 510
Uploads: 0


Default

Quote:
Originally Posted by volodya61 View Post
@ Fifi

Try this one - http://rghost.ru/45766406
all values for TI and TII torpedoes were set to 0.9 (ie 90%)..
Ok, tested it with my 1942 test mission, and all torps were or circling or deviating No one good to hit...
Tested with all torp speeds, and both impact/magnetic.
Seems those torp settings test are way too much! (as expected)
So i'll keep your first adjusted file, and see what's happening along my career.
Fifi is offline   Reply With Quote
Old 05-04-13, 06:26 PM   #10
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
I'm finding it quite difficult to fix the small 'problem' that the patch that prevents units from falling through the sea floor causes with the subnets. The problem is once the unit is 'destroyed' it's Commanders controller (this controller contains all the data about unit's type, classname, name, country, etc.) is destroyed also and set to a null pointer. Thus there's no way for me to get the unit's type (i.e. 102, 200, 303, etc.) to prevent the patch from 'working' on special units. I'm still looking for alternate ways but so far it doesn't look good
Quote:
Originally Posted by TheDarkWraith View Post
Never give up hope. I just haven't found the existing code that will get me the data I'm looking for yet. More digging around to do
Couldn't you use subnet/mine's unique Id instead of their UnitType to identify them?
gap is offline   Reply With Quote
Old 05-05-13, 04:02 AM   #11
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 Fifi View Post
Ok, tested it with my 1942 test mission, and all torps were or circling or deviating No one good to hit...
Tested with all torp speeds, and both impact/magnetic.
Seems those torp settings test are way too much! (as expected)
So i'll keep your first adjusted file, and see what's happening along my career.
I edited this file specifically for you , so you can see that all the torpedoes patches work as intended within the 0.0-1.0
__________________
.
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-05-13, 03:12 PM   #12
Choum
Sparky
 
Join Date: Aug 2012
Posts: 157
Downloads: 344
Uploads: 3
Default

One small bug I found with the Battlestations close/open doors patch.

All door close with the F7 ability but when you disengage it, two door remain closed (the torpedo room one) and the one near the central and the bosco.

And this patch doesn't work on old savegame apparently (even with bunker save)

Last edited by Choum; 05-05-13 at 03:29 PM.
Choum is offline   Reply With Quote
Old 05-05-13, 03:17 PM   #13
Tonci87
Samurai Navy
 
Join Date: Jun 2012
Posts: 590
Downloads: 119
Uploads: 0


Default

Quote:
Originally Posted by Choum View Post
One small bug I found with the Battlestations close/open doors patch.

All door close with the F7 ability but when you disengage it, two door remain closed (the torpedo room one) and the one near the central and the bosco.

The engine room door can remain closed as far as I am concerned
Tonci87 is offline   Reply With Quote
Old 05-06-13, 02:43 PM   #14
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Choum View Post
One small bug I found with the Battlestations close/open doors patch.

All door close with the F7 ability but when you disengage it, two door remain closed (the torpedo room one) and the one near the central and the bosco.

And this patch doesn't work on old savegame apparently (even with bunker save)
I checked over the code and every door asked to be closed is also being asked to be opened. There must be something wrong with the PortalSystem.act code then.

There's no reason this patch change wouldn't effect everything. It's part of the main game loop code and thus is always called/checked. The new code will not close/open doors if you are close to port. Go out to sea and try it again.

Working on fixing the problem with the TDC AOB/Speed dials patch currently
TheDarkWraith is offline   Reply With Quote
Old 05-06-13, 02:55 PM   #15
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
Working on fixing the problem with the TDC AOB/Speed dials patch currently
great..
also some people have difficulties with the Render Patches.. I mean changes for map rendering..
__________________
.
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
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 02:25 PM.


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.