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-11, 02:35 PM   #181
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Once I fully understand everything about using .dat files I'll redo my tutorial on it. I'm about 80% there of fully understanding what's going on now

Here is damage just from deck gun. The cool thing is 'splash damage' is added by the game engine. There's one shot where I hit the hull but the game engine took the splash damage back to the super structure

Now if I can find the shader responsible for showing these only underwater and make it show above water also we'll be golden!
TheDarkWraith is offline   Reply With Quote
Old 05-01-11, 02:45 PM   #182
Zedi
Sea Lord
 
Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
Default

Awesome! Thanks TDW for you help!

Guys, this is the list of ships I selected from Uekel mod and asked his permission to use them in the new campaign mod. Asked TDW to help fixing these ships and then I will retexture them and add it into the campaign.

NF_boat
NKLCS_Nagara
NKLSS_Hakusika
NKMCS_Akita
NKMCS_Heito
NKMCS_Zinbu
NKMSS_Biyo
NKMSS_Kinposan
NKMSS_WarMelody
NKPMCS_Express
NKSSS_Kasagisan
NLTSf
NMFMPC
NOL_Nippon
NOM_Buzyun
NOM_Paula
NRC_
NSD
Schute_M2

Also there is the 1 more ship from Rongel and the one from Iambecomelife. So there is a pretty big list of imported ships, also a LOT of work to make them float.
Zedi is offline   Reply With Quote
Old 05-01-11, 02:47 PM   #183
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

The _Ox files still need to be worked on for the above ship. The weird texture/light problem you were having was because of the _Ox .dds file. I removed it and used the one from stock SH4 and the weird problem was gone.
TheDarkWraith is offline   Reply With Quote
Old 05-01-11, 02:48 PM   #184
Rongel
Grey Wolf
 
Join Date: Jan 2009
Location: Finland
Posts: 859
Downloads: 174
Uploads: 0
Default

Quote:
Once I fully understand everything about using .dat files I'll redo my tutorial on it. I'm about 80% there of fully understanding what's going on now
Great! I managed to get also same results (holes underwater) just by adding the DMG_col to the whole ships node, but I guess that limits the damage modelling by eliminating different compartments. I guess I'll wait for your new tutorial, uv-mapping and wings 3d is unknow world to me, don't wan't to go there without a guide!
Rongel is offline   Reply With Quote
Old 05-01-11, 02:51 PM   #185
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Rongel View Post
Great! I managed to get also same results (holes underwater) just by adding the DMG_col to the whole ships node, but I guess that limits the damage modelling by eliminating different compartments. I guess I'll wait for your new tutorial, uv-mapping and wings 3d is unknow world to me, don't wan't to go there without a guide!
If you've found another way to do it may I look at your files? I'd like to see what you did If there's an easier way to do this I'm all for it
TheDarkWraith is offline   Reply With Quote
Old 05-01-11, 02:57 PM   #186
Zedi
Sea Lord
 
Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
Default

What about the ship reflection on water? Any chance to solve that?
Zedi is offline   Reply With Quote
Old 05-01-11, 02:59 PM   #187
Rongel
Grey Wolf
 
Join Date: Jan 2009
Location: Finland
Posts: 859
Downloads: 174
Uploads: 0
Default

Quote:
If you've found another way to do it may I look at your files? I'd like to see what you did If there's an easier way to do this I'm all for it
Sure! I'll post a link here soon, I'll put it available to everyone, for educating purposes. I'll just have to test it again, to see that it's the most working version. I believe it's working because the dmg_col_ node is dealing with the whole ships 3d model. Okay, I'll go test it now, and post it soon!
Rongel is offline   Reply With Quote
Old 05-01-11, 03:26 PM   #188
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Rongel View Post
Sure! I'll post a link here soon, I'll put it available to everyone, for educating purposes. I'll just have to test it again, to see that it's the most working version. I believe it's working because the dmg_col_ node is dealing with the whole ships 3d model. Okay, I'll go test it now, and post it soon!
I just noticed that the method I posted a couple of posts above doesn't create any holes in the ship with torpedo impacts. How does your method react to torpedo impacts
TheDarkWraith is offline   Reply With Quote
Old 05-01-11, 03:28 PM   #189
Rongel
Grey Wolf
 
Join Date: Jan 2009
Location: Finland
Posts: 859
Downloads: 174
Uploads: 0
Default

Ok, here is Kasagisan Small Old Split Freighter. I hope the package is allright, didn't have time to double check it. Should work! And this is work in process version, please remember!

Link


Deck gun hits show underwater:


EDIT:

Quote:
I just noticed that the method I posted a couple of posts above doesn't create any holes in the ship with torpedo impacts. How does your method react to torpedo impacts
Just tested this and it works, made two great big holes to the hull, but again you can see them only underwater.
Rongel is offline   Reply With Quote
Old 05-01-11, 03:34 PM   #190
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by TheDarkWraith View Post
I just noticed that the method I posted a couple of posts above doesn't create any holes in the ship with torpedo impacts. How does your method react to torpedo impacts
Well the above was because of playing with the shaders. It works Nice big hole with splash damage to surroundings with torpedo impact. Now to check out Rongel's method
TheDarkWraith is offline   Reply With Quote
Old 05-01-11, 03:58 PM   #191
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Rongel View Post
Ok, here is Kasagisan Small Old Split Freighter. I hope the package is allright, didn't have time to double check it. Should work! And this is work in process version, please remember!

Just tested this and it works, made two great big holes to the hull, but again you can see them only underwater.
I think you found the right combination of everything The great thing is the _B and _F parts of the ship have an 'internal' damage model that shows when the holes are created on the outside of the ship (you can see inside the ship via this hole to the internal damage 3D model). I couldn't get that model to show with my method

Yeah baby we are rockin' and rollin' now

I made a few changes and I'll send the revised package to you.

By embedding the images into the .dat file you've also fixed some of the problems I was having with the _Ox renderings

Now it's time to update how to import new units into SH5 from SH4. We shouldn't mess with SH3 ships anymore as only the SH4 ships have these 'internal' 3D damage models I was speaking about above.
TheDarkWraith is offline   Reply With Quote
Old 05-01-11, 04:06 PM   #192
stoianm
Ocean Warrior
 
Join Date: Dec 2010
Location: Montreal, Canada
Posts: 2,776
Downloads: 833
Uploads: 11
Default

stoianm is offline   Reply With Quote
Old 05-01-11, 04:21 PM   #193
Rongel
Grey Wolf
 
Join Date: Jan 2009
Location: Finland
Posts: 859
Downloads: 174
Uploads: 0
Default

Thanks! Nice to hear you like, TDW!

I'm a bit concerned that does the damage system work now like it should. I have seen how my ship sinks levelled if you know what I mean, the boat stays horizontally straight. Did I take out the different compartments and made it just one bulk? Like one hull only? Phew, well I'm so tired right now that I can't write good english anymore, I'm signing out for the day. Hope the ship will be improved further! Adios!
Rongel is offline   Reply With Quote
Old 05-01-11, 04:33 PM   #194
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Rongel View Post
Thanks! Nice to hear you like, TDW!

I'm a bit concerned that does the damage system work now like it should. I have seen how my ship sinks levelled if you know what I mean, the boat stays horizontally straight. Did I take out the different compartments and made it just one bulk? Like one hull only? Phew, well I'm so tired right now that I can't write good english anymore, I'm signing out for the day. Hope the ship will be improved further! Adios!
You didn't mess anything up with the damage system. The DMG_col_ node defines the 3D model that the game engine uses to determine collision of it and shells/torpedoes/DCs. By attaching it to the main node and using the main node's model (with no maps) you gave the game engine everything it needs to check for collisions

Now once the collision happens the game engine looks for all the sphere's affected (it pulls all these spheres from every part of the ship). Once the sphere's are determined it then looks to see which boxes were affected based on the spheres affected.

Now the reason why your ship sinks the way it does is because of the zones attached to the boxes. By adjusting what zone number goes with which box you can achieve the flooding model wanted.

Here is a pic of the internal damage 3D model I was speaking about earlier. This is Rongel's ship that just took a torpedo impact on the side. Things to note: you can see inside the ship because of the _B and _F's DMG_ node's 3D models. Splash damage was applied to the super structure.


The only changes I made to your files was the ship's .cfg file. I added the ShowInRecManual entry, told it what class of ship it was for the rec manual, commented out all the 2D compartment entries (not needed), removed all the .tga files from the \sea folder, and removed the \data\Textures folder as it's not needed:

RecManualCategory=Freighter
ShowInRecognitionManual=Yes

;[2DCompartments]
;UnitPos=95,0,326,27
;NbOfComp=4
;Name1=Propulsion
;Area1=103,0,30,18
;Name2=Keel
;Area2=166,0,187,10
;Name3=Engines Room
;Area3=214,13,71,18
;Name4=Fuel Bunkers
;Area4=287,13,30,18

Can I send this to Zedi so he can add this ship to the campaign?
TheDarkWraith is offline   Reply With Quote
Old 05-01-11, 04:51 PM   #195
Rongel
Grey Wolf
 
Join Date: Jan 2009
Location: Finland
Posts: 859
Downloads: 174
Uploads: 0
Default

Quote:
You didn't mess anything up with the damage system. The DMG_col_ node defines the 3D model that the game engine uses to determine collision of it and shells/torpedoes/DCs. By attaching it to the main node and using the main node's model (with no maps) you gave the game engine everything it needs to check for collisions
Okay, one message more! If this is really true, then and .

Quote:
Can I send this to Zedi so he can add this ship to the campaign?
You can send it, but what about the fine tuning of the zones attached to the boxes? Can we still improve this even if it's already in the campaign without needing to restart the campaign? I would also like to have the SH 5 wake. If it's possible (well I guess it is) then send away!

In regarding the recent discussions, I have to say that this has been a great example of a good team work! TDW made a tutorial for all and I studied Iambecomelife's Salland-ship and got my ideas from it and then TDW fine tuned my ship further and now Zedi is going to put it to campaign! Great work all!
Rongel is offline   Reply With Quote
Reply


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:11 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.