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:59 PM   #1
Rongel
Grey Wolf
 
Join Date: Jan 2009
Location: Finland
Posts: 857
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   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
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:34 PM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
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:28 PM   #4
Rongel
Grey Wolf
 
Join Date: Jan 2009
Location: Finland
Posts: 857
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:58 PM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
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   #6
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   #7
Rongel
Grey Wolf
 
Join Date: Jan 2009
Location: Finland
Posts: 857
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   #8
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
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   #9
Rongel
Grey Wolf
 
Join Date: Jan 2009
Location: Finland
Posts: 857
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
Old 05-01-11, 05:09 PM   #10
Stormfly
Serial Port Protector
 
Stormfly's Avatar
 
Join Date: Sep 2002
Posts: 1,424
Downloads: 370
Uploads: 0
Default

good work guys

but no SH3 Merchant Fleet Ships because of the interrior 3D damage model ?
__________________
Stormy......

Stormfly is offline   Reply With Quote
Old 05-02-11, 12:56 AM   #11
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Stormfly View Post
good work guys

but no SH3 Merchant Fleet Ships because of the interrior 3D damage model ?
We can use SH3 ships. I'd just prefer not to because they look like crap (too low poly count) and they are missing items that SH4 ships have (the unified render controller which lets you specify normal _Nxx, occulsion _Oxx, and texture maps _Txx and also missing the interior 3D damage models (the DMG_xx nodes in the SH4 .dat files)
TheDarkWraith 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:09 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.