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 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 07-10-14, 04:45 PM   #1
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by Gibus View Post
This is indeed true.
For the tests I performed multiple combinations. Hence my conclusion, perhaps hasty, that Armor_Level and Hit_Points are not the dominant parameters to address the problem.
they are the dominant parameters its just that for "some" ships those values don't register for that ship so some "other" ships parameters are being used by the game for that ship making the files you are editing basically useless.

where it gets fuzzy is its not all the values in the file, sometimes its the draft or the center point of gravity or the guns that have issues so a file may work fine for 5 out of 6 parameters then you find one that doesn't respond to your changes because some coding error has it using some unknown ships file you aren't working on.

some ships have only submerged draft heights and some have surface draft heights and some have both. when I did my draft fix mod I found I had to delete the submerged drafts for those ships before the game would use my surfaced draft heights. there is a lot of buggy code in the game so you have to play detective and seek out what could be controlling it if the values you are changing have no effect
  Reply With Quote
Old 07-12-14, 01:50 AM   #2
Gibus
Ensign
 
Join Date: Nov 2009
Location: France
Posts: 223
Downloads: 42
Uploads: 0
Default

Quote:
Originally Posted by Webster View Post
There is a lot of buggy code in the game so you have to play detective and seek out what could be controlling it if the values you are changing have no effect
Bonjour,
I understand. I think I'll stop using the sun.
__________________

"Pacific is a big ocean. You don't have to find the enemy if you don't want to."
Dick O'Kane
Gibus is offline   Reply With Quote
Old 07-12-14, 02:43 AM   #3
TorpX
Silent Hunter
 
Join Date: Sep 2010
Posts: 3,969
Downloads: 153
Uploads: 11
Default

Quote:
Originally Posted by Webster View Post
some ships have only submerged draft heights and some have surface draft heights and some have both.
I've wondered about that.


TorpX is offline   Reply With Quote
Old 07-19-14, 03:54 AM   #4
Gibus
Ensign
 
Join Date: Nov 2009
Location: France
Posts: 223
Downloads: 42
Uploads: 0
Default

Bonjour,

After extensive research, and thanks to my friend Jean74 also registered on this forum, the reason for the fragility of CA Deutchland (which explodes at the first torpedo) was identified.
This is a big bug in the file NCA_Deutchland.zon about 12 collision spheres.
After correction, 4 torpedoes are now needed to sink the pocket battleship.

Thank you to those who participated in this thread.

Gibus
__________________

"Pacific is a big ocean. You don't have to find the enemy if you don't want to."
Dick O'Kane
Gibus is offline   Reply With Quote
Old 07-19-14, 10:34 AM   #5
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by Gibus View Post
Bonjour,

After extensive research, and thanks to my friend Jean74 also registered on this forum, the reason for the fragility of CA Deutchland (which explodes at the first torpedo) was identified.
This is a big bug in the file NCA_Deutchland.zon about 12 collision spheres.
After correction, 4 torpedoes are now needed to sink the pocket battleship.

Thank you to those who participated in this thread.

Gibus
please post the fix or upload the fix as a small mod file so others can get their games working better as well
  Reply With Quote
Old 07-19-14, 12:10 PM   #6
Gibus
Ensign
 
Join Date: Nov 2009
Location: France
Posts: 223
Downloads: 42
Uploads: 0
Default

With pleasure. The patch is made and ready to be published.
Would you explain to me the procedure, with simple words because my knowledge of English does not allow me to do it without help.
__________________

"Pacific is a big ocean. You don't have to find the enemy if you don't want to."
Dick O'Kane

Last edited by Gibus; 07-20-14 at 01:34 AM.
Gibus is offline   Reply With Quote
Old 07-19-14, 09:15 PM   #7
TorpX
Silent Hunter
 
Join Date: Sep 2010
Posts: 3,969
Downloads: 153
Uploads: 11
Default

I would also be interested in details about the bug. Do you think the same kind of bug is present in the Shokaku and others?

Anyway, it is good you were able to figure it out.
TorpX is offline   Reply With Quote
Old 07-20-14, 02:13 AM   #8
Gibus
Ensign
 
Join Date: Nov 2009
Location: France
Posts: 223
Downloads: 42
Uploads: 0
Default

Quote:
Originally Posted by TorpX View Post
I would also be interested in details about the bug.
That will not be easy because of my English, but I'll try.

I will not go into the details of operation between:
  • spheres collision
  • boxes compartments
  • the thickness of the shield (armor level)
  • hits points
are not sure of their relation and balance.

In contrast, is known with certainty: the spheres must have the Type = -1. If Type = 0, to the first torpedo impact all points of life other boxes are eaten causing immediate destruction of the ship. Deutschland. zon contains 12 spheres type = 0.
I conducted a verification test with Yamato changing one sphere at random: she is sprayed to the first torpedo.

On the Shokaku, there is no bug of this nature, except a sphere whose type = -1.000003, but the correction does not bring any visible change.
It is perhaps a box or more beyond the shell??
It is very difficult to understand because we do not know the unit of measurement of the coordinates of boxes in 3 dimensions (X, Y and Z). Some coordinates are defined with 8 decimal places. One wonders why this is so accurate?

Here, I hope I was clear enough ...

If you want to patch mod Deutschland, you just tell me how to publish it. Also it contains a Read-Me file that gives all explanations (in French).

Gibus
__________________

"Pacific is a big ocean. You don't have to find the enemy if you don't want to."
Dick O'Kane
Gibus 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 06:30 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.