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 08-27-10, 06:25 PM   #376
SteelViking
The Old Man
 
Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
Default

Quote:
Originally Posted by TheDarkWraith View Post
actually the AOs kick in at close distance (less than specified LOD distance)
Yes, I know. But, I cannot figure out where the LOD distance is specified for the NLL. Is it set somewhere in the LOD.GR2 itself, and not by an external controller file?
__________________

He sank 198,650 tons....who you ask?....Erich Topp, that's who!
SteelViking is offline   Reply With Quote
Old 08-27-10, 06:29 PM   #377
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by SteelViking View Post
Yes, I know. But, I cannot figure out where the LOD distance is specified for the NLL. Is it set somewhere in the LOD.GR2 itself, and not by an external controller file?
it appears so. I can't open the files with granny viewer anymore as they fail CRC check....but this is good! Now I can use my 'tools' to figure out where it's reading the CRC value from and how it makes it (and to fix the granny viewer)
TheDarkWraith is offline   Reply With Quote
Old 08-27-10, 06:36 PM   #378
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,280
Downloads: 258
Uploads: 30
Default

Quote:
Originally Posted by TheDarkWraith View Post
it appears so. I can't open the files with granny viewer anymore as they fail CRC check....but this is good! Now I can use my 'tools' to figure out where it's reading the CRC value from and how it makes it (and to fix the granny viewer)
How do you do it TDW, your skills are endless.
reaper7 is offline   Reply With Quote
Old 08-27-10, 06:41 PM   #379
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,280
Downloads: 258
Uploads: 30
Default

Quote:
Originally Posted by SteelViking View Post
Are you editing the files I told you about, because I think that is the only way to truly re-skin the subtypes(clones). You will still have to edit the .GR2 for the clones in order to point to the newly made Ship_T0....dds files.

P.S. By the way TDW, remember a while back when I said that I was not going to take the time to figure out Hex Editing.......well.....I lied I am not an expert by any means, but I have already used it for a number of things. So, I am sorry for not listening to you in the first place.
Yes creating a new Ship_T03.dds skin and have it pointed in the Lod.gr2, but no go ingame yet.
Will keep trying. Any luck TDW on getting a Ship_***.dds skin to render on the clone. This is the bit I've been trying to get to work along.
Just happened I was doing the A0 file thinking it was the texture file .

Ya now ya have me Hex Editing too. TDW your creating a master race of hex editors
reaper7 is offline   Reply With Quote
Old 08-27-10, 06:41 PM   #380
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

I love a good challenge. This is going to be a good one
TheDarkWraith is offline   Reply With Quote
Old 08-27-10, 06:42 PM   #381
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by reaper7 View Post
Yes creating a new Ship_T03.dds skin and have it pointed in the Lod.gr2, but no go ingame yet.
Will keep trying. Any luck TDW on getting a Ship_***.dds skin to render on the clone. This is the bit I've been trying to get to work along.
Just happened I was doing the A0 file thinking it was the texture file .
see here: http://www.subsim.com/radioroom/show...&postcount=373
TheDarkWraith is offline   Reply With Quote
Old 08-27-10, 06:45 PM   #382
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,280
Downloads: 258
Uploads: 30
Default

Quote:
Originally Posted by TheDarkWraith View Post
I love a good challenge. This is going to be a good one
likewise, and glad your come on board for this one.
If we can get this working it can be a solution for proper 100% realism use of the RAOBF etc.
I have figured out how to get the clone dds image to display in the Rec man and not the ship image of the parents ship.
So correct speed etc can be dispalyed.
Just need to make the clones look different from the parents ingame


Quote:
Originally Posted by TheDarkWraith View Post

Is that using the NLL_AO01.dds or the Ship_T02.dds fil.

If the first, thats what I had working but its not correct for rendering ship skins.
If the second, how did you get it working.
reaper7 is offline   Reply With Quote
Old 08-27-10, 06:50 PM   #383
SteelViking
The Old Man
 
Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
Default

Quote:
Originally Posted by TheDarkWraith View Post
it appears so. I can't open the files with granny viewer anymore as they fail CRC check....but this is good! Now I can use my 'tools' to figure out where it's reading the CRC value from and how it makes it (and to fix the granny viewer)
Heck, I have been making .GR2 files fail the CRC check for a month. I wish I would have known that you would be interested in finding the culprit, I would have told you about it.
__________________

He sank 198,650 tons....who you ask?....Erich Topp, that's who!
SteelViking is offline   Reply With Quote
Old 08-27-10, 06:56 PM   #384
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by reaper7 View Post
Is that using the NLL_AO01.dds or the Ship_T02.dds fil.

If the first, thats what I had working but its not correct for rendering ship skins.
If the second, how did you get it working.
it's the second Magic.....

It was pretty simple actually. I had to clone all the GR2 files and make adjustments in them to point to new textures. But here in lies the problem in cloning - new IDs have to be assigned or it can possibly cause problems. I'm not sure if it's going to cause problems or not - the two ships rendered in game just fine with the same IDs - this tells me that it uses a hierarchy where the ship's name is the first ladder in that hierarchy
TheDarkWraith is offline   Reply With Quote
Old 08-27-10, 07:00 PM   #385
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,280
Downloads: 258
Uploads: 30
Default

Here's the new skin I did for test, no luck getting it to display yet.
Clone is still showing the default one .



Quote:
Originally Posted by TheDarkWraith View Post
it's the second Magic.....

It was pretty simple actually. I had to clone all the GR2 files and make adjustments in them to point to new textures. But here in lies the problem in cloning - new IDs have to be assigned or it can possibly cause problems. I'm not sure if it's going to cause problems or not - the two ships rendered in game just fine with the same IDs - this tells me that it uses a hierarchy where the ship's name is the first ladder in that hierarchy
thats great TDW, That is what I was doing but I must be missing something. Can you post screenshots of the hex changes maybe.
What is the ID's that need creating - maybe this is why I can't get it to dispaly.
reaper7 is offline   Reply With Quote
Old 08-27-10, 07:03 PM   #386
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by SteelViking View Post
Heck, I have been making .GR2 files fail the CRC check for a month. I wish I would have known that you would be interested in finding the culprit, I would have told you about it.
I'm deep in it now
TheDarkWraith is offline   Reply With Quote
Old 08-27-10, 07:09 PM   #387
SteelViking
The Old Man
 
Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
Default

Quote:
Originally Posted by TheDarkWraith View Post
it's the second Magic.....

It was pretty simple actually. I had to clone all the GR2 files and make adjustments in them to point to new textures. But here in lies the problem in cloning - new IDs have to be assigned or it can possibly cause problems. I'm not sure if it's going to cause problems or not - the two ships rendered in game just fine with the same IDs - this tells me that it uses a hierarchy where the ship's name is the first ladder in that hierarchy
Have the the master and clone ships not been in game together all along? I know that they would have been using the exact same .GR2 file as the master, and that now we are making them read from a different one, but everything else is the same, including the structure of the .GR2s. So I don't think that things sharing the same IDs will cause a problem. Reaper7 just did a test with a whole slew of them together, but maybe we should run a test of a full sized convoy with a mix of these newly created "proper" clones and the masters just to make sure the game does handle it.

Also, which GR2 did you to do that, just the lod.GR2 or did you use the actual base .GR2 for the ship?
__________________

He sank 198,650 tons....who you ask?....Erich Topp, that's who!
SteelViking is offline   Reply With Quote
Old 08-27-10, 07:16 PM   #388
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,280
Downloads: 258
Uploads: 30
Default

Quote:
Originally Posted by SteelViking View Post
Have the the master and clone ships not been in game together all along? I know that they would have been using the exact same .GR2 file as the master, and that now we are making them read from a different one, but everything else is the same, including the structure of the .GR2s. So I don't think that things sharing the same IDs will cause a problem. Reaper7 just did a test with a whole slew of them together, but maybe we should run a test of a full sized convoy with a mix of these newly created "proper" clones and the masters just to make sure the game does handle it.

Also, which GR2 did you to do that, just the lod.GR2 or did you use the actual base .GR2 for the ship?
Did that already, created a mission made up of around 50 ships of the master and clones no problems.

Just need to find out the exact changes needed for the Texture Skin.
And were in business .

This is looking good, may have some use for those clones yet.
reaper7 is offline   Reply With Quote
Old 08-27-10, 07:22 PM   #389
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by SteelViking View Post
Have the the master and clone ships not been in game together all along? I know that they would have been using the exact same .GR2 file as the master, and that now we are making them read from a different one, but everything else is the same, including the structure of the .GR2s. So I don't think that things sharing the same IDs will cause a problem. Reaper7 just did a test with a whole slew of them together, but maybe we should run a test of a full sized convoy with a mix of these newly created "proper" clones and the masters just to make sure the game does handle it.

Also, which GR2 did you to do that, just the lod.GR2 or did you use the actual base .GR2 for the ship?
I cloned all the .GR2 files. So these are my new GR2 files:

NKL.GR2
NKL_FX.GR2
NKL_LOD.GR2

cloned the NLL.MASM file and renamed it NKL.MASM. Edited it to point to the NKL file (data\Sea\NKL\NKL_FX.GR2)

Edited NKL.cfg (3DModelFileName=data/Sea/NKL/NKL)

cloned the NLL_AOxx.dds files and renamed them to NKL_AOxx.dds

cloned the NLL_shp.dds file and renamed it NKL.dds

made copies of the following dds files:
Ship_T02.dds (renamed to Ship_T92.dds)
Ship_hull_T03 (renamed to Ship_hull_T93.dds)

hex edited all the GR2 files with the following changes:
every reference to Ship_T02.dds was changed to Ship_T92.dds
every reference to Ship_hull_T03.dds was changed to Ship_hull_T93.dds
every reference to NLL_AO01 was changed to NKL_AO01

TheDarkWraith is offline   Reply With Quote
Old 08-27-10, 07:30 PM   #390
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,280
Downloads: 258
Uploads: 30
Default

Quote:
Originally Posted by TheDarkWraith View Post
I cloned all the .GR2 files. So these are my new GR2 files:

NKL.GR2
NKL_FX.GR2
NKL_LOD.GR2

cloned the NLL.MASM file and renamed it NKL.MASM. Edited it to point to the NKL file (data\Sea\NKL\NKL_FX.GR2)

Edited NKL.cfg (3DModelFileName=data/Sea/NKL/NKL)

cloned the NLL_AOxx.dds files and renamed them to NKL_AOxx.dds

cloned the NLL_shp.dds file and renamed it NKL.dds

made copies of the following dds files:
Ship_T02.dds (renamed to Ship_T92.dds)
Ship_hull_T03 (renamed to Ship_hull_T93.dds)

hex edited all the GR2 files with the following changes:
every reference to Ship_T02.dds was changed to Ship_T92.dds
every reference to Ship_hull_T03.dds was changed to Ship_hull_T93.dds
every reference to NLL_AO01 was changed to NKL_AO01

Had all that as well, except for the Ship_hull_T03 (At least I know I was on the right track ). Would that cause it not to show .
By the NLL.MASM file do you mean NLL.lst as I don't have a NLL.MASM in the folder or is this located elsewhere, which I pointed to (data\Sea\NKL\NKL_FX.GR2)

EDIT: Sorry just noticed you said all GR2 files I only did the Lod.gr2. That explains it.

Last edited by reaper7; 08-27-10 at 07:44 PM.
reaper7 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 04:37 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.