SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   [TEC] Adding/Importing new units / SH5 Damage/collision models (https://www.subsim.com/radioroom/showthread.php?t=182667)

vdr1981 09-25-16 04:51 PM

Quote:

Originally Posted by gap (Post 2437133)
#141: DMG_Sub_Depot_Ship shouldn't be there :hmmm:

Heh, that's one of thousand things I tried...:)

Jeff-Groves 09-25-16 04:54 PM

That's just the internal damages model for SH4.
SH4 renders a transpartent hole so you can see it.
SH5 needs a different type damage object.
More like a blocky shape around the hull?

I'll put SH5 back on my system. It's on the external 1 TB drive right now.

vdr1981 09-25-16 04:56 PM

Quote:

Originally Posted by Jeff-Groves (Post 2437138)
That's just the internal damages model for SH4.
SH4 renders a transpartent hole so you can see it.
SH5 needs a different type damage object.
More like a blocky shape around the hull?

I'm OK with ship without any holes If that's the price to get rid of that ugly texture mess...

Here's interesting TDW's post but texture mapping is beyond me... http://www.subsim.com/radioroom/show...&postcount=179

Jeff-Groves 09-25-16 05:13 PM

OK SH5 is back on my system.
Let me check the dats for what you linked to.

Jeff-Groves 09-25-16 05:20 PM

OK. Both Units have the DMG_col_ node but no 3D object in it!
:doh:

Send me a link to a ship that looks ok so I can compare.

vdr1981 09-25-16 05:44 PM

Quote:

Originally Posted by Jeff-Groves (Post 2437145)
OK. Both Units have the DMG_col_ node but no 3D object in it!
:doh:

Send me a link to a ship that looks ok so I can compare.

Check post No. 569

Jeff-Groves 09-25-16 05:56 PM

OK. Those HAVE a 3d object for damages.
:)

I'll have to see if I have my software to load my 3D program back up to fix the other 2.

kevinsue 09-25-16 06:02 PM

Quote:

Originally Posted by vdr1981 (Post 2437139)
I'm OK with ship without any holes If that's the price to get rid of that ugly texture mess...

Here's interesting TDW's post but texture mapping is beyond me... http://www.subsim.com/radioroom/show...&postcount=179

Here is another old post by Rongel about importing ships from SH4 to SH5.

http://www.subsim.com/radioroom/show...&postcount=432

Also I think all of the info contained in this thread has been updated to the original TDW tutorial in the first post which may help with the damage texture problem, which was one of the major hurdles they had to overcome when first importing into SH5.

Jeff-Groves 09-25-16 06:42 PM

I've got a dat here for you but mediafire or my motel is being a pain.

gap 09-25-16 07:55 PM

Quote:

Originally Posted by Jeff-Groves (Post 2437145)
OK. Both Units have the DMG_col_ node but no 3D object in it!

That's correct. They have no 3d object in them, but they have the 3d object from the main unit embedde to them. Maybe not the cheapest method, but it worked and it was in the guidelines followed by all the modders onimporting new units in game.

Native SH5 (GR2) units, use a separate low poly mesh which envelops the main model instead. This tell us that the DMG_col node has nothing to do with visual damage, but with damage detection. Try removing one of those nodes (or the embedded mesh), from any dat unit, and it will become invulnerable. :yep:

vdr1981 09-26-16 09:13 AM

Quote:

Originally Posted by Jeff-Groves (Post 2437159)
I've got a dat here for you but mediafire or my motel is being a pain.

Did you fix them already ? :ping: Can you upload them now?

Jeff-Groves 09-26-16 02:51 PM

test dat link sent by PM.

vdr1981 09-26-16 03:25 PM

Quote:

Originally Posted by Jeff-Groves (Post 2437307)
test dat link sent by PM.

Thanks Jeff...:up:

At first testing everything seemed fine but on 2nd try, I've witnessed strange unit disappearance and game freeze after the unit has been declared as dead by the game.

Saw this behavior even before your tweaks so I cant even confirm that it's dat related.

Unfortunately, I don't have any more time for testing but hopefully I'll be back in business in a few weeks...:yep: Thanks again...:up:

Jeff-Groves 09-26-16 03:31 PM

I'll have a few days off to do some testing in the next day or so.
I'll try to run your test mission and tweek the dat a bit more then.
:up:

vdr1981 09-26-16 03:35 PM

Quote:

Originally Posted by Jeff-Groves (Post 2437325)
I'll have a few days off to do some testing in the next day or so.
I'll try to run your test mission and tweek the dat a bit more then.
:up:

RGR that! :up: I've imported a lot of fully functional SH4 units so far, but those two ships are really strange indeed...:yep:


All times are GMT -5. The time now is 09:30 PM.

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.