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 > SHIII Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 05-08-11, 06:55 PM   #16
frau kaleun
Rear Admiral
 
Join Date: Nov 2009
Location: Skyri--oh who are we kidding, I'm probably at Lowe's. Again.
Posts: 11,274
Downloads: 168
Uploads: 0


Default

Now I'm playing around with the same stuff in the II .dat file, but no matter what image I embed for the Tactical.tga (the map on the left of the chart table) it gets blown up several times over in the model preview. Not sure how to make it show up with the correct sizing, and that seems to be the only thing that's not working out.
frau kaleun is offline   Reply With Quote
Old 05-09-11, 01:05 PM   #17
Volk2
Medic
 
Join Date: Sep 2010
Posts: 160
Downloads: 25
Uploads: 0
Default

Quote:
Originally Posted by frau kaleun View Post
The second one down, circled in red, only had the Label entry Map_tactic_M appended underneath it. The ones with the green dot next to them, I added using the other entry for Tactical.tga (visible a few entries up) as a guide. For the embedded image I exported the one from that other entry to my desktop and then imported it back in under the second entry.

The entry for strategica.tga had only the two entries for Embedded image and the Label: strategica. I added the other ones, again to match what was already there under that first Tactical.tga entry.

The model preview is what that Node looks like now after the additions.
I take my hat off to you, frau kaleun - it looks like you have managed to repair what others could not! I have now no time to check it in game until weekend, but on the screenshots it looks very good. I hope that it will be similar with type II (as I remember correctly, the problem was more visible in type II, especially at night with red light) - I will check it in silent 3ditor in weekend. Thanks for your work
__________________
Volk2 is offline   Reply With Quote
Old 05-09-11, 01:44 PM   #18
frau kaleun
Rear Admiral
 
Join Date: Nov 2009
Location: Skyri--oh who are we kidding, I'm probably at Lowe's. Again.
Posts: 11,274
Downloads: 168
Uploads: 0


Default

Quote:
Originally Posted by ---1074;---1086;---1083;---1082; View Post
I take my hat off to you, frau kaleun - it looks like you have managed to repair what others could not! I have now no time to check it in game until weekend, but on the screenshots it looks very good. I hope that it will be similar with type II (as I remember correctly, the problem was more visible in type II, especially at night with red light) - I will check it in silent 3ditor in weekend. Thanks for your work
You don't really need to add all the extra entries, I think just making sure the Ambient Occlusion one is there for all instances of Tactical.tga and strategical.tga where it's missing. I duplicated everything at first but IIRC as long as the correct AO is appended it worked fine. If not, duplicate the Embedded image as well. the MipMapBias stuff doesn't seem to make a difference, heck I don't even know what that is.

In the type II if you do the same thing - add the appropriate AO, I think there it's Lm_Druck.tga - you will have the same good results except for the fact that the images already embedded for those two maps don't seem to work very well with the way those nodes are modeled, or the shape/size whatever. I'm clueless about that stuff. Anyway I ended up importing in the strategica.tga image from the Type XI dat file, which worked well there.

The Tactical is giving me fits, I don't know what texture size that thing wants but the ones I could find in the game files are way too small (?) and seem to get resized up by 50% or more. Which makes what you can see of them not look so great, and the visible area there that has to be filled is quite a different shape than in the other boats, where at least one of the existing files fits quite nicely but not so in the II. This is with the .dat files currently in my playable installation, which is heavily modded at the moment, so your mileage may vary, but I think I looked in every type 2 CR .dat file on my 'puter trying to find something that looked good there and had no luck. Will probably do some experimenting and just cobble together a .tga for that spot from the existing stuff once I have a better idea of how to size it and position the content.


Edit: oh also in the Type II look for a blueprint.tga entry, in mine the AO was missing on that too.

Edit again: I should also add that I did not have time last night after all the fiddling to take any of the updated .dat files out for a test drive, so if you get the chance to do so and can confirm that the changes made don't bork anything up, that would be great.

Last edited by frau kaleun; 05-09-11 at 03:21 PM.
frau kaleun is offline   Reply With Quote
Old 05-09-11, 08:01 PM   #19
frau kaleun
Rear Admiral
 
Join Date: Nov 2009
Location: Skyri--oh who are we kidding, I'm probably at Lowe's. Again.
Posts: 11,274
Downloads: 168
Uploads: 0


Default

Well this is what I have right now. Not bad for a n00b, if I do say so myself.

frau kaleun is offline   Reply With Quote
Old 05-09-11, 11:09 PM   #20
Gerald
SUBSIM Newsman
 
Gerald's Avatar
 
Join Date: May 2008
Location: Close to sea
Posts: 17,029
Downloads: 572
Uploads: 0


Quote:
Originally Posted by frau kaleun View Post
Well this is what I have right now. Not bad for a n00b, if I do say so myself.

Not bad at all,
__________________
Nothing in life is to be feard,it is only to be understood.

Marie Curie





Gerald is offline   Reply With Quote
Old 05-10-11, 12:16 AM   #21
Fish In The Water
Prince of
the Sea


SUBSIM
Welcome
Committee

 
Join Date: Jul 2009
Location: Watching over U-253
Posts: 3,495
Downloads: 98
Uploads: 2
Default

Quote:
Originally Posted by frau kaleun View Post
Well this is what I have right now. Not bad for a n00b, if I do say so myself.
Looking good...

Might have to kick you up a notch from n00b status.
Fish In The Water is offline   Reply With Quote
Old 05-10-11, 06:00 AM   #22
DivingDuck
Grey Wolf
 
Join Date: Jul 2006
Location: Germany
Posts: 879
Downloads: 10
Uploads: 1
Default

Moin,

as the maps are too bright, they do have a lightmap assigned. Thatīs for sure. Otherwise they would stay dark and foggy.

If the mapīs 3d object has been altered, the problem most probably lies with the tex coords for the lightmap. Check the 3d model whether a second map channel is present or not. In case it is, check the second map channel in S3Dīs preview window to see whether map channel #1 and #2 are different.

They should be different as the devs used to place lightmaps for several objects in one texture file.
  1. If they are not different, the second map channelīs tex coords (responsible for the ligthmapping) will point to wrong "shadow decals" on the correlated lightmap texture. As a result, the lit and shadowy areas got "screwed".
  2. If they are different, the second map channel has the wrong lightmap assigned and is therefore pointing to the wrong "shadow decals".

Regards,
DD
DivingDuck is offline   Reply With Quote
Old 05-10-11, 07:35 AM   #23
clouclou
Gunner
 
Join Date: Apr 2005
Posts: 91
Downloads: 244
Uploads: 0
Default

Frau Kaleun,
What Mod do you use for your interiors?
It's great.
Claude
clouclou is offline   Reply With Quote
Old 05-10-11, 07:48 AM   #24
frau kaleun
Rear Admiral
 
Join Date: Nov 2009
Location: Skyri--oh who are we kidding, I'm probably at Lowe's. Again.
Posts: 11,274
Downloads: 168
Uploads: 0


Default

Quote:
Originally Posted by clouclou View Post
Frau Kaleun,
What Mod do you use for your interiors?
It's great.
Claude
In the VIIs and IXs everything starts with FM New Interiors and DD's Open Hatch and works off of that.
frau kaleun is offline   Reply With Quote
Old 05-10-11, 08:16 AM   #25
clouclou
Gunner
 
Join Date: Apr 2005
Posts: 91
Downloads: 244
Uploads: 0
Default

Merci, super
clouclou is offline   Reply With Quote
Old 05-10-11, 09:51 AM   #26
frau kaleun
Rear Admiral
 
Join Date: Nov 2009
Location: Skyri--oh who are we kidding, I'm probably at Lowe's. Again.
Posts: 11,274
Downloads: 168
Uploads: 0


Default

Quote:
Originally Posted by DivingDuck View Post
Moin,

as the maps are too bright, they do have a lightmap assigned. Thatīs for sure. Otherwise they would stay dark and foggy.

If the mapīs 3d object has been altered, the problem most probably lies with the tex coords for the lightmap. Check the 3d model whether a second map channel is present or not. In case it is, check the second map channel in S3Dīs preview window to see whether map channel #1 and #2 are different.



They should be different as the devs used to place lightmaps for several objects in one texture file.
  1. If they are not different, the second map channelīs tex coords (responsible for the ligthmapping) will point to wrong "shadow decals" on the correlated lightmap texture. As a result, the lit and shadowy areas got "screwed".
  2. If they are different, the second map channel has the wrong lightmap assigned and is therefore pointing to the wrong "shadow decals".
Regards,
DD
Er... thanks! I am going to assume that somehow this will all make sense to me once I have S3D running and am looking at the file again.

Cuz right now it just feels like I'm in a Charlie Brown cartoon and .

(That's no comment on the quality of your explanation, DD, just on me not yet having a clue about what most of it means. )
frau kaleun is offline   Reply With Quote
Old 05-10-11, 12:59 PM   #27
Volk2
Medic
 
Join Date: Sep 2010
Posts: 160
Downloads: 25
Uploads: 0
Default

Hehe, yeah, DivingDuck, please remember that you are speaking with amateurs - well, at least with me as an amateur, because Frau Kaleun is now real Silent 3ditor wizard The most important thing is - frau kaleun method works, that is inserting ambient occlusion in those places, where developers forget to insert them.

I've checked yesterday type IX in 3ditor, inserted AO in tactical, strategic, and blueprint maps and it is repaired Later I will check type II.

Btw. - it looks like in type IX and II there are much more places without proper AO, like in different clocks and dials circles near the maps, just compare it with type VII in 3ditor to see it.
__________________
Volk2 is offline   Reply With Quote
Old 05-10-11, 01:16 PM   #28
frau kaleun
Rear Admiral
 
Join Date: Nov 2009
Location: Skyri--oh who are we kidding, I'm probably at Lowe's. Again.
Posts: 11,274
Downloads: 168
Uploads: 0


Default

Quote:
Originally Posted by ---1074;---1086;---1083;---1082; View Post
Hehe, yeah, DivingDuck, please remember that you are speaking with amateurs - well, at least with me as an amateur, because Frau Kaleun is now real Silent 3ditor wizard The most important thing is - frau kaleun method works, that is inserting ambient occlusion in those places, where developers forget to insert them.
Hardly my method surely, I just read what was here in the thread and looked at the file and added in what was already known to be missing. Tweren't no big thang.

Now... making that newfangled Tactical.tga file? That were a relatively big thang, lol. Took actual time and work and semi-meticulous planning and a lot of trial and error and all that stuff.

Quote:
Btw. - it looks like in type IX and II there are much more places without proper AO, like in different clocks and dials circles near the maps, just compare it with type VII in 3ditor to see it.
Yeah, I was so focused on the maps I didn't notice that either until I posted the pics here and looked at them again this morning. I've only taken short test drives in the II and IX boats to make sure none of my mods break anything in them, I never really spent enough time in them to notice a lot of smaller details. I only hit on the blueprint.tga thing because it happened to be right next to the other two entries and I clicked on it accidentally.
frau kaleun is offline   Reply With Quote
Old 05-10-11, 02:18 PM   #29
DivingDuck
Grey Wolf
 
Join Date: Jul 2006
Location: Germany
Posts: 879
Downloads: 10
Uploads: 1
Default

Good to know youīre sorted and have found a working solution.

Hereīs something additional information you might consider useful. The LM entry is pointing towards the lightmap texture file. It may be an embedded texture or an external file. In Frau Kaleunīs screenie the LM is labeled 'CR9C_LM.tga'. There is no embedded texture node attached to it. This does not necessarily indicates the absence of an embedded texture. Further up the tree you probably find the lightmap. If not, it is external indeed.

@frau kaleun:
Shall I consider you being Sally Brown and me Charlie Brown, both listening to the teacher? Remember, the teacher does not know the location of the holy grail. It just sounds like he does.

Regards,
DD
DivingDuck is offline   Reply With Quote
Old 05-10-11, 05:28 PM   #30
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia Ū
Posts: 2,481
Downloads: 122
Uploads: 1
Default

In original game all LM textures are embedded...
__________________
Alex Ū


Moses said: "Don't create yourself an idol"...
Anvart 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:33 AM.


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.