![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#361 | |
sim2reality
![]() Join Date: Jun 2007
Location: AM 82
Posts: 2,280
Downloads: 258
Uploads: 30
|
![]() Quote:
Although it will be next week before I get to do anything with it. Yes thats the same Hex Editor I'm using, got it from the downloads section. ![]() |
|
![]() |
![]() |
![]() |
#362 |
sim2reality
![]() Join Date: Jun 2007
Location: AM 82
Posts: 2,280
Downloads: 258
Uploads: 30
|
![]()
Ok just took a quick stab at it.
Copied all the files from the NLL to the NKL and renamed them to suit. Edited the NKL.cfg and NKL.1st to show the dir as: 3DModelFileName=data/Sea/NKL/NKL and data\Sea\NKL\NKL_FX.GR2 Placed a new skin called NLL_AO04.dds in the NLL folder (Skin is red in colour). Here's the results: When viewing model from afar: ![]() Notice the red skins on every second ship model ![]() Now look what happens as we move closer: ![]() The red skin disappears and is replaced by a Grey skin ![]() I noticed this behavior for the stock models too. Look at the next 2 pics. The middle ship is Grey from afar. ![]() But as we get closer it changes to camo. ![]() So what I have concluded from all this is A. The Lod.gr2 only points to a Base skin for the model that is used as the standard paint job. B. Alternative Skins are not assigned from the Lod.gr2 but elsewhere - I have no idea what file controls these. Are they randomly assigned once placed in the models folder ??? |
![]() |
![]() |
![]() |
#363 |
The Old Man
![]() Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
|
![]()
Did you change all the skin names in the .GR2 to use this new texture? I am not really sure how the skins for the ships work as I have not looked into it but you might try renaming all of the skin .dds files to use the same one.
Also, if you are only going to change one skin file name in the .GR2, make sure that you change every instance of that file name. When using the find string search, keep running it and changing the file name until it says string not found. There is usually 3 instances of the same texture file name in any given .GR2.
__________________
![]() He sank 198,650 tons....who you ask?....Erich Topp, that's who! |
![]() |
![]() |
![]() |
#364 | |
sim2reality
![]() Join Date: Jun 2007
Location: AM 82
Posts: 2,280
Downloads: 258
Uploads: 30
|
![]() Quote:
Yes renamed all instances of the NLL_AO01.dds to NLL_AO04.dds (My Red skin). Now if you look thru the Lod file NLL_AO01.dds is the only skin refrenced anywhere - so its a default skin for long distance that is applied to the model. Now the other skins in the folder NLL_AO02.dds (Blue) and NLL_AO03.dds (Camo) are not refrenced in the Lod.gr2 file at all. This lead me to conclude that alternative skins from the base skin are assigned elsewhere, the problem is where ![]() |
|
![]() |
![]() |
![]() |
#365 | |
The Old Man
![]() Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
|
![]() Quote:
![]() Also, you probably already know this, but the AO files are just the light/shadow maps for the ship, they are not the actual textures themselves for the ships. The actual textures for the ships come from the Ship_T0.....dds files. Again, you most likely already know that, wanted to say it just in case.
__________________
![]() He sank 198,650 tons....who you ask?....Erich Topp, that's who! |
|
![]() |
![]() |
![]() |
#366 | |
sim2reality
![]() Join Date: Jun 2007
Location: AM 82
Posts: 2,280
Downloads: 258
Uploads: 30
|
![]() Quote:
Thanks SteelViking for the info. Why is NLL_AO2.dds in camo print, does it just make the camo darker ![]() Also where are the SHip_To...dds files located, maybe they are the key to the puzzle. ![]() |
|
![]() |
![]() |
![]() |
#367 |
The Old Man
![]() Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
|
![]()
The thing is, the camo is not actually being rendered with the ship textures themselves, it is being simulated by a light overlay produced from the shadow map(NLL_AO02.dds). The Ship_T0.....dds files are located in the Textures/TNormal/tex folder. I ran across them a long time ago looking for interior textures.
__________________
![]() He sank 198,650 tons....who you ask?....Erich Topp, that's who! |
![]() |
![]() |
![]() |
#368 |
Black Magic
![]() |
![]()
NLL cloned far:
NLL cloned close: made the textures darker on clone to see difference ![]() |
![]() |
![]() |
![]() |
#369 |
The Old Man
![]() Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
|
![]()
Yes, but they are still changing at different distances, which is what is confusing me.
__________________
![]() He sank 198,650 tons....who you ask?....Erich Topp, that's who! |
![]() |
![]() |
![]() |
#370 |
Black Magic
![]() |
![]()
just because of the way I did the textures. I did that on purpose to see the LOD kick in at far distance and go away at close distance. I wanted to see an obvious change in the color when LOD kicked in.
|
![]() |
![]() |
![]() |
#371 | |
sim2reality
![]() Join Date: Jun 2007
Location: AM 82
Posts: 2,280
Downloads: 258
Uploads: 30
|
![]() Quote:
![]() But it proves the Lod is for the base skin, and as SV says the other dds files for just shadow maps. In process of doing a new skin and see if it renders on the clone. ![]() |
|
![]() |
![]() |
![]() |
#372 |
The Old Man
![]() Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
|
![]()
Ah, it makes sense that the AOs would turn on at whatever the lod distance was set on, I have seen those controllers around before. For instance, the Unified Render Controller has lod distance incorporated in it. Only thing is, I just looked through Goblin, and I cannot find an lod controller at all for adjusting what distance it renders for the NLL(have not looked at any other ships yet).
__________________
![]() He sank 198,650 tons....who you ask?....Erich Topp, that's who! |
![]() |
![]() |
![]() |
#373 |
Black Magic
![]() |
![]()
is this better for you?
close: far: |
![]() |
![]() |
![]() |
#374 | |
Black Magic
![]() |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#375 | |
The Old Man
![]() Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
|
![]() Quote:
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 ![]() ![]()
__________________
![]() He sank 198,650 tons....who you ask?....Erich Topp, that's who! |
|
![]() |
![]() |
![]() |
|
|