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 04-21-13, 08:33 AM   #1
hitmanuw
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by volodya61 View Post
Hi TDW

As I mentioned in the NewUIs thread, I returned to the game after a short break and tested today all new patches since the version 1.0.75..

short report:

1. Render Patches
Change12 - Disables rendering of torpedo line
not working at all..

.

2. TDC AOB and Speed dials fix
Change3 - Fixes TDC Speed dial resetting
Change4 - Fixes TDC Speed dial resetting

When these two changes are enabled auto targeting is not working.. Changes 1 and 2 (AOB dial fixes) are working correctly..

3. Fixes torpedo circle runner chance
This patch is not working correctly or, on the other hand, it is working better than excellent .. all eleven torpedoes each test have their 100% chance to be a circle runner ..



Other torpedo patch - Checks for torpedo rudder jam on initial turn - is working properly, one circle runner torpedo for every two-three tests..



4. Revised AI Crew Damage control seems is working correctly so far, but this patch requires much more testing as it happened the last time ..

PS: not tested Orbit Listener patches, there is reason ..
nice collors how u made it ?
  Reply With Quote
Old 04-21-13, 10:27 AM   #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 hitmanuw View Post
nice collors how u made it ?
I will PM you a bit later so as not to spam in the thread ..
__________________
.
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 04-23-13, 12:41 PM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Hello from Portland Got diverted to the main Intel site in Portland for some work for the next two weeks. On the plane flight I managed to generate some code that prevents destroyed ships/subs from sinking through the ocean bottom. The sinking through ocean bottom is actually two problems: the SH5 code does two things with destroyed ships/subs:
- the actual problem of the unit falling through the ocean bottom is because of a timing issue in the code. One part of the code is updating the unit's depth with a new - offset every frame update while another part of the code checks to see if it's under ocean bottom every 5-6 frame updates (which then adds a small offset to try and raise it above the ocean bottom when it finds it below - problem is this small offset addition isn't large enough to counter all the - offsets from the previous frame updates). Once the destroyed sub/ship reached 500m in depth the game would finally remove it. I have code to fix the falling through ocean bottom problem now.
- the other problem with destroyed ships/subs is that there is a deletion timer set to 30.0 seconds. After the destroyed sub/ship hits the sea floor then a deletion timer is started. Once 30.0 seconds is up the destroyed sub/ship is removed from the game. I have code to override this now. The new code reads a memory value that:
- if set to a value less than 0 will cause the unit to never be deleted
- if set to a value >= 0 will cause the unit to be deleted after the deletion timer = value.

There are a couple of small problems I'm still working out on the new code. One is the unit will slightly bob up and down on the sea floor with the new code. I have to modify the new code so that when the unit contacts the sea floor it 'sinks' in just a little and thus doesn't bob up and down. The other small problem is the effects are continually played (destroyed noise and bubble effects) if the unit is set to never delete. I'm still looking for a couple of controllers so that I can disable them when the unit hits the ocean bottom.

Now the great thing about the new code is the game still treats the unit as an active unit in the game - meaning you can still collide into it and it will cause damage, it can be picked up as a contact by destroyes and escorts thus providing a false contact (them thinking it's a sub).

I'm still looking for the code that deletes airplanes immediately when their HPs are <= 0
TheDarkWraith is offline   Reply With Quote
Old 04-23-13, 02:30 PM   #4
Tonci87
Samurai Navy
 
Join Date: Jun 2012
Posts: 590
Downloads: 119
Uploads: 0


Default

Quote:
Originally Posted by TheDarkWraith View Post
Hello from Portland Got diverted to the main Intel site in Portland for some work for the next two weeks. On the plane flight I managed to generate some code that prevents destroyed ships/subs from sinking through the ocean bottom. The sinking through ocean bottom is actually two problems: the SH5 code does two things with destroyed ships/subs:
- the actual problem of the unit falling through the ocean bottom is because of a timing issue in the code. One part of the code is updating the unit's depth with a new - offset every frame update while another part of the code checks to see if it's under ocean bottom every 5-6 frame updates (which then adds a small offset to try and raise it above the ocean bottom when it finds it below - problem is this small offset addition isn't large enough to counter all the - offsets from the previous frame updates). Once the destroyed sub/ship reached 500m in depth the game would finally remove it. I have code to fix the falling through ocean bottom problem now.
- the other problem with destroyed ships/subs is that there is a deletion timer set to 30.0 seconds. After the destroyed sub/ship hits the sea floor then a deletion timer is started. Once 30.0 seconds is up the destroyed sub/ship is removed from the game. I have code to override this now. The new code reads a memory value that:
- if set to a value less than 0 will cause the unit to never be deleted
- if set to a value >= 0 will cause the unit to be deleted after the deletion timer = value.

There are a couple of small problems I'm still working out on the new code. One is the unit will slightly bob up and down on the sea floor with the new code. I have to modify the new code so that when the unit contacts the sea floor it 'sinks' in just a little and thus doesn't bob up and down. The other small problem is the effects are continually played (destroyed noise and bubble effects) if the unit is set to never delete. I'm still looking for a couple of controllers so that I can disable them when the unit hits the ocean bottom.

Now the great thing about the new code is the game still treats the unit as an active unit in the game - meaning you can still collide into it and it will cause damage, it can be picked up as a contact by destroyes and escorts thus providing a false contact (them thinking it's a sub).

I'm still looking for the code that deletes airplanes immediately when their HPs are <= 0
Totally awesome!
Tonci87 is offline   Reply With Quote
Old 04-23-13, 05:01 PM   #5
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 managed to generate some code that prevents destroyed ships/subs from sinking through the ocean bottom...

Now the great thing about the new code is the game still treats the unit as an active unit in the game - meaning you can still collide into it and it will cause damage, it can be picked up as a contact by destroyes and escorts thus providing a false contact (them thinking it's a sub).


Quote:
Originally Posted by TheDarkWraith View Post
I'm still looking for the code that deletes airplanes immediately when their HPs are <= 0
Can't wait for it. As we are at it, please don't forget to check what is preventing planes from dropping bombs with the latest IRAI version
gap is offline   Reply With Quote
Old 04-23-13, 09:10 PM   #6
Jace11
Seasoned Skipper
 
Join Date: Mar 2005
Location: UK
Posts: 683
Downloads: 112
Uploads: 1
Default

The circle runner patch works, and I've combined it with the rudder jam (which is essentially the same thing?) but it's overall frequency is very high. I'm getting far more than 2.5%, anecdotally, it's nearly 40 to 50%. Whether this is affected by gyro angle, or your torpedo man's skills I don't know...
Jace11 is offline   Reply With Quote
Old 04-27-13, 09:54 AM   #7
Mysterius
Swabbie
 
Join Date: Aug 2007
Posts: 10
Downloads: 27
Uploads: 0
Default

Hello,

I have applied all patches using the generic patcher on sh5.exe and the .act files and my game crashes when using the periscope.

As far as i know, everything else is working as intented, but when accessing the attack periscope by clicking on it, the game crashes without any error message.

Any guess?
Mysterius is offline   Reply With Quote
Old 04-27-13, 10:48 AM   #8
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 Mysterius View Post
I have applied all patches using the generic patcher on sh5.exe and the .act files and my game crashes when using the periscope.
....
Any guess?
Try to disable the patches one by one and see/test what happens in the game..
__________________
.
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 04-28-13, 04:22 AM   #9
Choum
Sparky
 
Join Date: Aug 2012
Posts: 157
Downloads: 344
Uploads: 3
Default

Quote:
Originally Posted by Jace11 View Post
The circle runner patch works, and I've combined it with the rudder jam (which is essentially the same thing?) but it's overall frequency is very high. I'm getting far more than 2.5%, anecdotally, it's nearly 40 to 50%. Whether this is affected by gyro angle, or your torpedo man's skills I don't know...
Same problem 50-75% of my torpedo make circle.
Choum is offline   Reply With Quote
Old 04-28-13, 05:07 AM   #10
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 Jace11 View Post
I'm getting far more than 2.5%, anecdotally, it's nearly 40 to 50%. Whether this is affected by gyro angle, or your torpedo man's skills I don't know...
Quote:
Originally Posted by Choum View Post
Same problem 50-75% of my torpedo make circle.
Take a look at my test-report above - http://www.subsim.com/radioroom/showpost.php?p=2044536&postcount=1684

Fixes torpedo circle runner chance patch is not working correctly..
__________________
.
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 12:07 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.