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 08-05-07, 03:18 PM   #16
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

Yep those textures looks the stuff
As I explained there are SO!!!! many parameters here with the
Particle.dat
Materials.dat
Scene.dat

And in the materials.dat you have 3 big chunks of stuff that needs to be looked at

@lightning_reflection_on_water0 1-4
@lightning_system01 1-4
@lightning_reflection_on_sky0 1-4

etc etc.
So either really roll up the sleeves here and get more peeps looking at it or simply wait for the S3D tool...
So far we got a decent looking "lightning mod" but it has many flaws

No lightning in daylight conditions
Lightning is spread out over an area (not showing up in one spot) but it does not move with the boat...at least not the way I have the "test mission" set up.

So there are many things to be solved/fixed. The more peeps that chip in the better I think
__________________
CaptainCox is offline   Reply With Quote
Old 08-05-07, 04:32 PM   #17
Delusory
Seaman
 
Join Date: Apr 2007
Location: Klaipeda, Lithuania :)
Posts: 32
Downloads: 0
Uploads: 0
Default

well, i think the lightning shouldn't "follow" the sub, but the storm it self. Maybe the devs tried to do this and just couldn't do in the given time, so they abandoned the idea.
Delusory is offline   Reply With Quote
Old 08-05-07, 04:38 PM   #18
Weather-guesser
Lieutenant
 
Join Date: May 2007
Location: Albany, New York USA
Posts: 260
Downloads: 72
Uploads: 0
Default

I don't know if I would be playing this anymore without all the hard work from all you guys. CHEERS!
__________________

NAVY! It's not just a job. It's a Buck Seventy-Five an hour!
Weather-guesser is offline   Reply With Quote
Old 08-05-07, 04:51 PM   #19
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 Delusory
well, i think the lightning shouldn't "follow" the sub, but the storm it self. Maybe the devs tried to do this and just couldn't do in the given time, so they abandoned the idea.
Now this I totally agree with. Maybe just leave it as it is. But we still have to crack the daylight thingy/transparacy
__________________
CaptainCox is offline   Reply With Quote
Old 08-05-07, 07:20 PM   #20
kapitan_zur_see
Commodore
 
Join Date: Mar 2005
Location: France
Posts: 614
Downloads: 60
Uploads: 0
Default

[/quote]Now this I totally agree with. Maybe just leave it as it is. But we still have to crack the daylight thingy/transparacy[/quote]

Yeah you right, main concern for now. As for myself, i also won't be truly satisfied unless my eyes catch those reflection on sky and water effect should it work i shouldn't have saw those two, now can't help to be obsessed with them eheh

But yep, it's on the good way boys, hope we will have something good enough to be released soon
__________________

kapitan_zur_see is offline   Reply With Quote
Old 08-05-07, 08:37 PM   #21
Fearless
Ace of the Deep
 
Join Date: Feb 2007
Location: Adelaide, Australia
Posts: 1,047
Downloads: 340
Uploads: 1
Default

Quote:
Originally Posted by Delusory
well, i think the lightning shouldn't "follow" the sub, but the storm it self. Maybe the devs tried to do this and just couldn't do in the given time, so they abandoned the idea.
I agree also. Perhaps there's a variable in the scene.dat file that adjusts random lightning locations.
__________________
Fearless

System Specs: AMD Ryzen 7 5800X 8 Core 16 Thread CPU, 3.8GHz Base Clock, 4.7GHz Boost, 105W TDP, 32MB L3 cache | MSI GeForce RTX3060Ti 8Gb Graphics | Corsair Vengeance RGB Pro 32Gb (2x16Gb) 3200 MHz CL16 DDR4 Ram | Samsung 970 Evo Plus NVMe SSD 1TB | Seagate Barracuda 2.5in 2TB HDD | AOC QHD 165 Hz FreeSync HDR curved 31.5in Monitor | ASUS ROG Strix LC 240 ARGB AIO Liquid CPU Cooler White Edition | ASUS ROG Strix Gold 750W Modular Power Supply | Corsair iCUE 5000X RGB Tempered Glass Mid Tower Case White.
Fearless is offline   Reply With Quote
Old 08-06-07, 01:55 AM   #22
Bluesub 6
Loader
 
Join Date: Jul 2007
Location: Germany
Posts: 90
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by Fearless
Quote:
Originally Posted by Delusory
well, i think the lightning shouldn't "follow" the sub, but the storm it self. Maybe the devs tried to do this and just couldn't do in the given time, so they abandoned the idea.
I agree also. Perhaps there's a variable in the scene.dat file that adjusts random lightning locations.
scene.dat cat32:
Lightning
Height = 20
MinDistance = 120
MaxDistance = 180
MinTime = 10
MaxTime = 20

There nothing else about locations.
Bluesub 6 is offline   Reply With Quote
Old 08-06-07, 03:15 AM   #23
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

I think for location and stuff we need to look at the
"Particles.dat"
and the
"Materials.dat"

There are a lot of parameters there but :p
__________________
CaptainCox is offline   Reply With Quote
Old 08-06-07, 04:30 AM   #24
Delusory
Seaman
 
Join Date: Apr 2007
Location: Klaipeda, Lithuania :)
Posts: 32
Downloads: 0
Uploads: 0
Default

I'm not a modder, but maybe there're some files that are related with the weather? Where it would write how the game renders weather in the campain.:hmm:
Delusory is offline   Reply With Quote
Old 08-06-07, 12:42 PM   #25
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

Ok, a small breakthrough on the daylight lightning front

This pic was taken around 9AM (morning) game time


As far as i know (and this is the hard bit, as you tend to change a lot of stuff, and then its hard to remember what you actually did :p)
I (think I ) did these changes in the Materials.dat

As there are 4 Lightning groups I will show them as 1-4

Lifetime 1@ 0058F597=1.5 (FLOAT)
Transparent 1@ 0058F5D1=100 (BYTE)
Opacity 1@ 0058FB03=0 (I THINK THIS IS THE ONE!!!) FLOAT

Lifetime 2@ 005F191D=1.5 (FLOAT)
Transparent 2@ 005F1957=100 (BYTE)
Opacity 2@ 005F1E89=0 (I THINK THIS IS THE ONE!!!) FLOAT

Lifetime 3@ 005F3596=1.5 (FLOAT)
Transparent 3@ 005F35D0=100 (BYTE)
Opacity 3@ 005F3B02=0 (I THINK THIS IS THE ONE!!!) FLOAT

Lifetime 4@ 006153B2=1.5 (FLOAT)
Transparent 4@ 006153EC=100 (BYTE)
Opacity 4@ 0061591E=0 (I THINK THIS IS THE ONE!!!) FLOAT

If someone wants to try it out here is a small Tweakfile I did (should be run with the rest of the settings we found in the Scene.dat

Lightning Transparency Tweakfile:
http://files.filefront.com/Lightning+Transparencyrar/;8243019;;/fileinfo.html

Small edit on this, I found that setting the Mindis=40 and Maxdis=80-100 really gives you lightning in a complete circle around the boat. At least in the test mission I did.
__________________

Last edited by CaptainCox; 08-06-07 at 01:04 PM.
CaptainCox is offline   Reply With Quote
Old 08-06-07, 01:43 PM   #26
chopped50ford
Weps
 
Join Date: Jul 2007
Location: Bentonville, AR
Posts: 367
Downloads: 22
Uploads: 0
Default

I wish I had the talents to tweak, mod and add to the files of this or any games.

I have the deepest respect to you and everyones (DEV's) hard work to making this a "perfect" game.

Also, is this Tweak file a JSME loadable mod?

Thanks again.
__________________
TM2(SS)
USS Asheville - Plankowner, Shellback, "Order of the Ditch"

http://ths-i.com/
chopped50ford is offline   Reply With Quote
Old 08-06-07, 01:49 PM   #27
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

No, sorry, this is for manually "tweaking" the data. You need to run it with Minitweaker and then set the values to what ever you want. I think we are not to far away from a "beta" release at least...

I would like to have LeoVampire to include this in hes next LBO mod as it is using the scene.dat. I hope he wont mind.
__________________
CaptainCox is offline   Reply With Quote
Old 08-06-07, 01:58 PM   #28
chopped50ford
Weps
 
Join Date: Jul 2007
Location: Bentonville, AR
Posts: 367
Downloads: 22
Uploads: 0
Default

awesome, as always...Thanks again.
__________________
TM2(SS)
USS Asheville - Plankowner, Shellback, "Order of the Ditch"

http://ths-i.com/
chopped50ford is offline   Reply With Quote
Old 08-06-07, 03:12 PM   #29
Seaman_Hornsby
Engineer
 
Join Date: Apr 2007
Location: Texas
Posts: 203
Downloads: 71
Uploads: 0
Default

Promising looking work, skippers! This is definitely one to watch. Thanks for your efforts to make this game better guys!
__________________
Friends, when once a man is launched on such an adventure as this, he must bid farewell to hopes and fears, otherwise death or deliverance will both come too late to save his honor and his reason.
Seaman_Hornsby is offline   Reply With Quote
Old 08-06-07, 06:11 PM   #30
Canonicus
XO
 
Join Date: Mar 2007
Location: In your baffles...
Posts: 434
Downloads: 624
Uploads: 7
Default

CC...I've been following this work very closely with keen interest and made all the changes to the various files that are involved and still....

I don't seem to be able to get the lightning to show up....

If you could, very breifly, summarize the procedures you and kapitan_zur_see have been using. That may clear up any problems i seem to be having to getting this to work. ( maybe of help to others, as well)

I know your busy with this, so any help would be appreciated.

Cheers, man.

Last edited by Canonicus; 08-06-07 at 06:24 PM.
Canonicus 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 10:21 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.