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 08-02-07, 04:59 AM   #1
danlisa
Navy Seal
 
danlisa's Avatar
 
Join Date: Oct 2005
Location: Cornwall, UK
Posts: 5,499
Downloads: 45
Uploads: 1
Default

Those 3 files do control the lightning.

I think you need to look elsewhere, maybe the Environment settings. I reckon the improved environmental effects in SH4 are affecting the lightning. What do they look like with all the filters off?

Also, don't forget that the files are DDS and as such, the further away the lightning is rendered the game will use the reduced version (are they dds is SH4?).
__________________
danlisa is offline   Reply With Quote
Old 08-02-07, 05:09 AM   #2
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

Surprisingly they are TGA's. One of the 1st thing i looked at.
Environment settings might be a lead. Did not yet check that stuff. Will have a look. Thanks!
__________________
CaptainCox is offline   Reply With Quote
Old 08-02-07, 07:32 AM   #3
Dowly
Lucky Jack
 
Join Date: Apr 2005
Location: Finland
Posts: 25,055
Downloads: 32
Uploads: 0


Default

Just a though, check if the alpha channel of the lighting .tga is messed up. If it's solid white or close to solid white, it there's no problem. But if it's very very very transparent white that you can barely see, then that's the problem.
Dowly is offline   Reply With Quote
Old 08-02-07, 07:45 AM   #4
DivingDuck
Grey Wolf
 
Join Date: Jul 2006
Location: Germany
Posts: 902
Downloads: 10
Uploads: 1
Default

Moin CC,

have you checked the selfillumination bytes in the tga´s properties section?

Regards,
DD
DivingDuck is offline   Reply With Quote
Old 08-02-07, 10:34 AM   #5
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

Cheers guys, just home here and will start digging
__________________
CaptainCox is offline   Reply With Quote
Old 08-02-07, 12:05 PM   #6
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

Quote:
Originally Posted by DivingDuck
Moin CC,

have you checked the selfillumination bytes in the tga´s properties section?

Regards,
DD
Where would i find that?
In the TGA itself or do you mean in the particles.dat or...

Cheers!
__________________
CaptainCox is offline   Reply With Quote
Old 08-02-07, 01:11 PM   #7
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 28
Uploads: 3
Default

I think DD means some bytes part of the self illumination chunk, or material chunk that references the tga? My tool does not display them atm though...
skwasjer is offline   Reply With Quote
Old 08-02-07, 01:23 PM   #8
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

Ahhh, cheers. will digg
__________________
CaptainCox is offline   Reply With Quote
Old 08-02-07, 01:49 PM   #9
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

I took apart the funnel_smoke used in particles.dat and found that it used the material DE6E9B8F8621FB6C for the smoke. I found this in the materials.dat and here's the entry before the tga file that's packed in:

02 00 00 00 00 00 00 00 36 00 00 00 DE 6E 9B 8F
86 21 FB 6C 23 FF FF FF 00 E5 E5 E5 00 3F 00 00
1D 85 00 00 2C 00 01 00 E8 91 06 40 00 00 00 00

53 6D 6F 6B 65 5F 76 6F 6C 75 6D 30 32 2E 74 67
61 00

Is the highlighted yellow the self illumination bytes? If so, how do you read this? If it's not, what is this and how do you read it?


EDIT: Stupid me! I knew what the second highlighted text was! I have removed it now. So the question remains what is the above highlighted text?

DD, help! What are these highlighted things? I can't make sense of it.

Not trying to highjack this thread but since self illumination bytes were brought up I thought I'd ask.


If you'd like to see what Visio can do then look here:

http://rapidshare.com/files/46583793...visio.jpg.html

The text is small because the breakdown of funnel_smoke was big! It's just to give you an idea of what you can do with it.

Last edited by TheDarkWraith; 08-02-07 at 03:09 PM.
TheDarkWraith 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 08:12 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.