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)

sirbum69 04-19-11 05:05 PM

funny my wife works for a place called Cray computers that make super computers used all over the world...I think if i remember right she was talking the other day about one they had rolled off the floor about 2 years ago....The name was ummm hmmm TheDarkWraith i believe:yeah::haha::har:

iambecomelife 04-22-11 03:32 PM

I just tried importing a SH3 unit and it's crashing the game. I don't know what the problem could be; I added the node in the dat file, added the ship to the British roster, & checked the eqp file for any SH3 weapons. Everything seems to be OK but it won't work. In either Museum or missions.

I'll give it another go, I think.

TheDarkWraith 04-22-11 04:13 PM

Quote:

Originally Posted by iambecomelife (Post 1648852)
I just tried importing a SH3 unit and it's crashing the game. I don't know what the problem could be; I added the node in the dat file, added the ship to the British roster, & checked the eqp file for any SH3 weapons. Everything seems to be OK but it won't work. In either Museum or missions.

I'll give it another go, I think.

If you want you can send me the work and I'll look it over :up:

Stormfly 04-22-11 04:49 PM

Quote:

Originally Posted by iambecomelife (Post 1648852)
I just tried importing a SH3 unit and it's crashing the game. I don't know what the problem could be; I added the node in the dat file, added the ship to the British roster, & checked the eqp file for any SH3 weapons. Everything seems to be OK but it won't work. In either Museum or missions.

I'll give it another go, I think.

does that mean your thinking about importing the Merchant Fleet Mod into SH5 ? :o :D

iambecomelife 04-22-11 04:49 PM

Quote:

Originally Posted by TheDarkWraith (Post 1648883)
If you want you can send me the work and I'll look it over :up:



http://www.gamefront.com/files/20253...ght+Tanker.rar

TheDarkWraith 04-22-11 05:17 PM

Quote:

Originally Posted by iambecomelife (Post 1648909)

I see many problems. First of which is your telling the game to reference the 3D model T08B but that doesn't exist in the .dat file. I'll correct the errors and send it back to you :up: It will take some time.

iambecomelife 04-22-11 09:09 PM

Quote:

Originally Posted by TheDarkWraith (Post 1648937)
I see many problems. First of which is your telling the game to reference the 3D model T08B but that doesn't exist in the .dat file. I'll correct the errors and send it back to you :up: It will take some time.

I see. Thank you. I am also working on my end; I just renamed the 3d model in the dat file to T08B and deleted all of the SHD entries I could find but it is still crashing. I will keep trying.

If you get it working before I do, could you please let me know what was done wrong for future reference? Thanks; I'd appreciate it.

marleymen 04-22-11 11:38 PM

I´m crossing fingers and praying IABL.

TheDarkWraith 04-23-11 09:05 AM

Quote:

Originally Posted by iambecomelife (Post 1649030)
I see. Thank you. I am also working on my end; I just renamed the 3d model in the dat file to T08B and deleted all of the SHD entries I could find but it is still crashing. I will keep trying.

If you get it working before I do, could you please let me know what was done wrong for future reference? Thanks; I'd appreciate it.

This is obviously an SH4 ship as from the Cfg#TXR nodes. I have changed everything needed to make it render in SH5 but there is still a problem in the _B (back portion of the ship). This one has been a learning experience for me as I never converted an SH4 ship (until now!). Once I narrow down the problem in the back portion of the ship it will quit causing CTDs. I'm slowly narrowing down the problem node(s)....

Had to rename everything correctly (all the NLL_ and _NLL had to be changed to T08B_ and _T08B respectively)

Had to remove all of the following nodes (and their child nodes):
- DynamicShadow
- any nodes with _SHD or _reflect

Converted the cfg#TXR_ nodes to actual type 2/0 nodes (to be safe - not sure if SH5 supports this or not)

Basically all the changes were made because that is what I know works in SH5

EDIT:

two nodes are causing the CTD:

- T08B_B_Cabina
- T08B_B_catarg02

Now to figure out why....

EDIT2:

figured out why. Those two nodes had 'blank' 3D models for them. I removed the 3D model references (and the blank 3D model nodes) and the texture references and so far so good :up:

TheDarkWraith 04-23-11 09:58 AM

And here is the ship in game:
http://www.subsim.com/radioroom/pict...pictureid=4110

And it's damage/collision model is working. Also appears in rec-manual and SOAN:
http://www.subsim.com/radioroom/pict...pictureid=4109

There is still work to do on it but the author can do that. What's left to do:
- improve the bow and stern sprays
- redo the shipwake(s) to use the new SH5 controllers
- verify all the zone numbers referenced in the .zon file exist in SH5's \data\Zones.cfg file
- any other particle generators redo to make to SH5 spec (optional)

I'll send this to the original author now :yeah:

stoianm 04-23-11 09:59 AM

nice:)

Stormfly 04-23-11 10:06 AM

How lovely !

http://i886.photobucket.com/albums/a..._Applaud-1.gif

Zedi 04-23-11 10:32 AM

Isnt this the Cimmaron tanker? Anyway, looking good. :yeah:

TheDarkWraith 04-23-11 10:35 AM

Quote:

Originally Posted by Zedi (Post 1649338)
Isnt this the Cimmaron tanker? Anyway, looking good. :yeah:

I think iambecomelife is just trying to learn how to import SH3/4 units into SH5. His picking was a good choice because it had many errors/problems that had me scratching my head for a little while (I learned from this example as I never converted an SH4 ship [appears to be] to SH5 - I've only done SH3 ships). I sent him the revised files so he can learn from it and hopefully give us more ships :yeah:

He has the hitpoints set WAY too high for this unit. Took all my torpedoes and many shells to finally sink it :o

iambecomelife 04-23-11 10:52 AM

Thanks so much! Sorry about all the mistakes - I guess I will have to be more precise when creating new ships, because SH5 seems pretty sensitive to taking shortcuts with the .dat files.

I am creating some new merchants and will hopefully have pix to share soon.http://i56.photobucket.com/albums/g1...k/1a980730.jpg

@Zedi: This is actually not the Cimmaron; it is based on the MV "Victor Ross" (seen here, sunk 1940), MV "Geo W. McKnight", and a number of sister ships and near sister ships, which were designed in the 1930's for use by Standard Oil (Esso) and its subsidiaries.

http://www.aukevisser.nl/german/id82.htm


All times are GMT -5. The time now is 09:24 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.