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

Reply
 
Thread Tools Display Modes
Old 04-05-09, 02:24 PM   #1
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 26
Uploads: 3
Default

Quote:
Originally Posted by DarkFish View Post
Hey skwasjer,
I want to change some of the in-game fonts but S3D crashes whenever I open an off file. I've tried both editing existing .off files and creating a new one, but whatever I try it just don't work
I've tried it on two different PC's, one XP and one Vista, but all I get is the following message (in Dutch but that shouldn't be a problem to you):

I'm using S3D v0.9.4
I hope you can fix this or tell me how to successfully edit those files if it's not s3d related
Hi DarkFish, it seems like I've mistakenly left out one DLL from the installation program which is required for editting the OFF files. Thank you for the information, I will fix this asap. I can not give you a quick fix right now, because I don't have a copy of the DLL anymore that works with 0.9.4 as changes have incremented over the past months resulting in an incompatibility. Stay tuned for a full fix in the next weeks.
skwasjer is offline   Reply With Quote
Old 04-06-09, 01:29 PM   #2
DarkFish
Sea Lord
 
Join Date: Aug 2008
Location: Stinking drunk in Eindhoven, the Netherlands
Posts: 1,844
Downloads: 28
Uploads: 0
Default

Quote:
Originally Posted by skwasjer View Post
Hi DarkFish, it seems like I've mistakenly left out one DLL from the installation program which is required for editting the OFF files. Thank you for the information, I will fix this asap. I can not give you a quick fix right now, because I don't have a copy of the DLL anymore that works with 0.9.4 as changes have incremented over the past months resulting in an incompatibility. Stay tuned for a full fix in the next weeks.
okay, thnx. I already figured it was something like that (what else can a missing assembly be?) but I had absolutely no idea what file was missing from where.
.off eding isn't exactly the most used function of S3D so I guess it's not hard to forget adding the .dll
BTW thanks for creating S3D, I've used it ever since v0.7 and it just keeps getting better and better! can't wait for v1 to be released!
DarkFish is offline   Reply With Quote
Old 04-07-09, 07:43 AM   #3
thyro
Commander
 
Join Date: Mar 2006
Location: on a rock surrounded by water, that people call it UK
Posts: 473
Downloads: 31
Uploads: 0
Default

Please could someone give me some tips on how to get a texture be applied on a 3D object.

ouside S3D I have an object with texture

On S3D when I import the object plus add its texture on the node it shows the object with the texture. But when I launch SH4 the object is black.

I don't know what I'm doing wrong...

S3D doesn't complain on object import and it shows the object with correct texture... so why SH4 doesn't show the correct texture?

Help!!!

Thanks
__________________
"The good news is that you’re never, ever more than 6 miles from land. The bad news is, the land is straight down!"


thyro is offline   Reply With Quote
Old 04-07-09, 08:39 AM   #4
DarkFish
Sea Lord
 
Join Date: Aug 2008
Location: Stinking drunk in Eindhoven, the Netherlands
Posts: 1,844
Downloads: 28
Uploads: 0
Default

Quote:
Originally Posted by thyro View Post
Please could someone give me some tips on how to get a texture be applied on a 3D object.

ouside S3D I have an object with texture

On S3D when I import the object plus add its texture on the node it shows the object with the texture. But when I launch SH4 the object is black.

I don't know what I'm doing wrong...

S3D doesn't complain on object import and it shows the object with correct texture... so why SH4 doesn't show the correct texture?

Help!!!

Thanks
There are a number of things that could cause this. 1st, are you sure the uv2-map is textured right? just enable ambient occlusion map in S3D model preview to check this. maybe it's just the O01 texture that's causing the blackness.
2nd: SH4 doesn't seem to like it if the index of the texture is higher than the object's index. Look if the texture is placed above the object in the S3D tree (as it should) or below.
I've had this problem a number of times and usually it's one of these 2 problems that causes black textures.
DarkFish is offline   Reply With Quote
Old 04-07-09, 01:54 PM   #5
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 26
Uploads: 3
Default

Correct
skwasjer is offline   Reply With Quote
Old 04-07-09, 06:25 PM   #6
thyro
Commander
 
Join Date: Mar 2006
Location: on a rock surrounded by water, that people call it UK
Posts: 473
Downloads: 31
Uploads: 0
Default

here are the pictures





Now the above 3D object appears black on SH4... what I'm missing here? Thanks
__________________
"The good news is that you’re never, ever more than 6 miles from land. The bad news is, the land is straight down!"


thyro is offline   Reply With Quote
Old 04-07-09, 08:53 PM   #7
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 26
Uploads: 3
Default

Your material has the same texture linked for the lightmap (ambient occlusion map) which is wrong. The lightmap is always a different texture, which contains lighting/shading info. Secondly, do you even have the texture coordinates for the lightmap (uv2) on the model? If not, then you should remove the 'yellow bulb' chunk, so the game can render the model with only a diffuse pass. If you do, then the 'yellow bulb' chunk should point to a proper ambient occlusion texture, for the ambient occlusion pass to work. If not, well, black...

Note: S3D behaves a little differently in some scenario's.
skwasjer 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 03:58 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.