Whats wrong with my weather files?

Discussions on Modding of S.T.A.L.K.E.R. SoC & Clear Sky

Whats wrong with my weather files?

Postby ket on 08 Oct 2010 18:00

This is a bit of a odd problem, hopefully somebody knows. In a nutshell, I've edited the weather files and put them all where they are supposed to go and the necessary #include checks are present. Now, the weathers_default file works wonderfully, but for some reason no other weathers file does. Ideas anyone?
Mobo: MSI X570 Tomahawk
CPU: R7 3700X @ 4.4GHz 1.3v
RAM: 2x16GB Klevv BoltX 3600MHz 16-20-20-35
GPU: Powercolor 6800XT Red Devil
Sound: Asus Xonar DX 7.1 PCI-E, Realtek ALC1200
HDD: 250GB & 500GB nVME 3.0 M.2 drives, 2TB Seagate Barracuda, Sata3 64MB Cache, 250GB Hynix SL301
Opticals: DVD-RW, Blu-Ray
PSU: eVGA 1000w G2 Supernova
Case: NZXT Phantom 530

STALKER: Singularity (SIN) homepage
User avatar
ket
Senior Resident
 
Posts: 1262
Joined: 14 Sep 2008 11:57
Location: The solar system

Re: Whats wrong with my weather files?

Postby Nightwatch on 09 Oct 2010 02:28

Can you post the environment.ltx file please.
NEWSA.SIMBION_TWEAK 3.0
Mod Website= Features, Video, Tips & Download Link: NEWSA.SIMBION_Tweak

Watch the Trailer: http://www.youtube.com/watch?v=1Ajw_f8K ... re=channel
Please Do Not download and install any files from links other than those on the Mod's Website
User avatar
Nightwatch
Site Admin
 
Posts: 2676
Joined: 13 Apr 2007 05:42
Location: London, United Kingdom

Re: Whats wrong with my weather files?

Postby ket on 09 Oct 2010 03:06

Here you go :)

#include "env_ambient.ltx"
#include "flares.ltx"
#include "thunderbolt.ltx"
#include "weather_default.ltx"
#include "weather_sarkofag.ltx"
;#include "weather_mp.ltx"
#include "weather_test.ltx"
#include "weather_map.ltx"
#include "weather_surge.ltx"
#include "weather_rain.ltx"
#include "weather_yantar.ltx"
#include "weather_radar.ltx"
#include "weather_prypyat.ltx"
#include "weather_stancia.ltx"
#include "weather_indoor.ltx"

[weathers]
map = sect_map
test = sect_test
default = sect_default_weather
indoor = sect_indoor
indoor_x18 = sect_indoor_x18
pripyat = sect_default_weather
radar = sect_default_weather
rain = sect_rain
sarkofag = sect_sarkofag
stancia = sect_default_weather
stancia2 = sect_default_weather
yantar = sect_default_weather
yantar_indoor = sect_yantar_indoor


[weather_effects]
surge_day = sect_surge_day
p_surge_day = sect_p_surge_day


Edit - Oh wait massive brainfart I see whats wrong #-o
Mobo: MSI X570 Tomahawk
CPU: R7 3700X @ 4.4GHz 1.3v
RAM: 2x16GB Klevv BoltX 3600MHz 16-20-20-35
GPU: Powercolor 6800XT Red Devil
Sound: Asus Xonar DX 7.1 PCI-E, Realtek ALC1200
HDD: 250GB & 500GB nVME 3.0 M.2 drives, 2TB Seagate Barracuda, Sata3 64MB Cache, 250GB Hynix SL301
Opticals: DVD-RW, Blu-Ray
PSU: eVGA 1000w G2 Supernova
Case: NZXT Phantom 530

STALKER: Singularity (SIN) homepage
User avatar
ket
Senior Resident
 
Posts: 1262
Joined: 14 Sep 2008 11:57
Location: The solar system

Re: Whats wrong with my weather files?

Postby Nightwatch on 09 Oct 2010 03:54

Yup, I think it's what I'm suspecting. That's why I wanted to see the environment.ltx file.
For example, you call
Code: Select all
#include "weather_prypyat.ltx"
#include "weather_yantar.ltx"
#include "weather_stancia.ltx"


and so forth... But on your file, down the file, under the [weathers] section
stancia is pointed to:
stancia = sect_default_weather

instead of it should be:
Code: Select all
stancia         = sect_stancia

and several others on your file go like that.


On the stancia.ltx file which was called, there is no section named as sect_default_weather. There is, however an (activator) section named as: sect_stancia. So the engine can't find the section on the called file.

If you want to apply the default weather (weather_default) values to those areas, keep the vanilla protocol, keep section names and planning the the same, but change the values underneath them with those of default file ones. Or, you may employ new section names on those called files and then point the [weathers] section entries to those; a bit more time consuming thing.
NEWSA.SIMBION_TWEAK 3.0
Mod Website= Features, Video, Tips & Download Link: NEWSA.SIMBION_Tweak

Watch the Trailer: http://www.youtube.com/watch?v=1Ajw_f8K ... re=channel
Please Do Not download and install any files from links other than those on the Mod's Website
User avatar
Nightwatch
Site Admin
 
Posts: 2676
Joined: 13 Apr 2007 05:42
Location: London, United Kingdom

Re: Whats wrong with my weather files?

Postby ket on 09 Oct 2010 04:04

Yup, exactly what I saw. Didn't look far enough in that file. I guess I must of mixed up the vanilla file with a modded one which would explain why half my weather patterns aren't working :p
Mobo: MSI X570 Tomahawk
CPU: R7 3700X @ 4.4GHz 1.3v
RAM: 2x16GB Klevv BoltX 3600MHz 16-20-20-35
GPU: Powercolor 6800XT Red Devil
Sound: Asus Xonar DX 7.1 PCI-E, Realtek ALC1200
HDD: 250GB & 500GB nVME 3.0 M.2 drives, 2TB Seagate Barracuda, Sata3 64MB Cache, 250GB Hynix SL301
Opticals: DVD-RW, Blu-Ray
PSU: eVGA 1000w G2 Supernova
Case: NZXT Phantom 530

STALKER: Singularity (SIN) homepage
User avatar
ket
Senior Resident
 
Posts: 1262
Joined: 14 Sep 2008 11:57
Location: The solar system

Re: Whats wrong with my weather files?

Postby ket on 09 Oct 2010 13:24

Ok, now this is very strange... even after changing environment.ltx to this;

#include "env_ambient.ltx"
#include "flares.ltx"
#include "thunderbolt.ltx"
#include "weather_default.ltx"
#include "weather_sarkofag.ltx"
;#include "weather_mp.ltx"
#include "weather_test.ltx"
#include "weather_map.ltx"
#include "weather_surge.ltx"
#include "weather_rain.ltx"
#include "weather_yantar.ltx"
#include "weather_radar.ltx"
#include "weather_pripyat.ltx"
#include "weather_stancia.ltx"
#include "weather_indoor.ltx"

[weathers]
map = sect_map
test = sect_test
default = sect_default_weather
indoor = sect_indoor
indoor_x18 = sect_indoor_x18
pripyat = sect_radar
radar = sect_radar
rain = sect_rain
sarkofag = sect_sarkofag
stancia = sect_stancia
stancia2 = sect_stancia
yantar = sect_yantar
yantar_indoor = sect_yantar_indoor


[weather_effects]
surge_day = sect_surge_day
p_surge_day = sect_p_surge_day


The different weathers such as for yantar STILL aren't being used. Ideas? :-??
Mobo: MSI X570 Tomahawk
CPU: R7 3700X @ 4.4GHz 1.3v
RAM: 2x16GB Klevv BoltX 3600MHz 16-20-20-35
GPU: Powercolor 6800XT Red Devil
Sound: Asus Xonar DX 7.1 PCI-E, Realtek ALC1200
HDD: 250GB & 500GB nVME 3.0 M.2 drives, 2TB Seagate Barracuda, Sata3 64MB Cache, 250GB Hynix SL301
Opticals: DVD-RW, Blu-Ray
PSU: eVGA 1000w G2 Supernova
Case: NZXT Phantom 530

STALKER: Singularity (SIN) homepage
User avatar
ket
Senior Resident
 
Posts: 1262
Joined: 14 Sep 2008 11:57
Location: The solar system

Re: Whats wrong with my weather files?

Postby Nightwatch on 09 Oct 2010 17:42

Let's see the weather_yantar.ltx then, as you say it's one of those that still don't work. We may see something that may inspire us :mozilla_smile:
NEWSA.SIMBION_TWEAK 3.0
Mod Website= Features, Video, Tips & Download Link: NEWSA.SIMBION_Tweak

Watch the Trailer: http://www.youtube.com/watch?v=1Ajw_f8K ... re=channel
Please Do Not download and install any files from links other than those on the Mod's Website
User avatar
Nightwatch
Site Admin
 
Posts: 2676
Joined: 13 Apr 2007 05:42
Location: London, United Kingdom

Re: Whats wrong with my weather files?

Postby ket on 09 Oct 2010 17:57

Heres the yantar file

[sect_yantar]
00:00:00 = yantar_01
20:00:00 = yantar_01


[yantar_01]
flares =
sky_texture = sky\sky_yantar_cube
sky_rotation = -15
sky_color = 0.7, 0.7, 0.68
clouds_texture = sky\sky_oblaka
clouds_color = 0.55, 0.55, 0.55, 0.55, 0.9
far_plane = 300
fog_distance = 420
fog_color = 0.04, 0.04, 0.05
fog_density = 1.05
rain_density = 0.5
rain_color = 1.2, 1.2, 1.2
thunderbolt =
bolt_period = 3.f
bolt_duration = 0.25f
wind_velocity = 50.0
wind_direction = 0.0
ambient = 0.037, 0.036, 0.035
lmap_color = 1.0, 1.0, 1.0
hemi_color = 0.32, 0.3, 0.28 0.7
sun_color = 0.32, 0.3, 0.28
sun_dir = -90, -61
env_ambient = ambient_env_rain_thickfog


[sect_yantar_indoor]
00:00:00 = yantar_indoor_01
20:00:00 = yantar_indoor_01

[yantar_indoor_01]
flares =
sky_texture = sky\sky_yantar_cube
sky_rotation = -15
sky_color = 0.7, 0.7, 0.68
clouds_texture = sky\sky_oblaka
clouds_color = 0.55, 0.55, 0.55, 0.55, 0.9
far_plane = 300
fog_distance = 420
fog_color = 0.04, 0.04, 0.05
fog_density = 1.05
rain_density = 0.5
rain_color = 1.2, 1.2, 1.2
thunderbolt =
bolt_period = 3.f
bolt_duration = 0.25f
wind_velocity = 50.0
wind_direction = 0.0
ambient = 0.037, 0.036, 0.035
lmap_color = 1.0, 1.0, 1.0
hemi_color = 0.32, 0.3, 0.28 0.7
sun_color = 0.32, 0.3, 0.28
sun_dir = -90, -61
env_ambient = ambient_env_indoor


Everything looks to be in order to me. Once these weather files are sorted I can release a new beta :)
Mobo: MSI X570 Tomahawk
CPU: R7 3700X @ 4.4GHz 1.3v
RAM: 2x16GB Klevv BoltX 3600MHz 16-20-20-35
GPU: Powercolor 6800XT Red Devil
Sound: Asus Xonar DX 7.1 PCI-E, Realtek ALC1200
HDD: 250GB & 500GB nVME 3.0 M.2 drives, 2TB Seagate Barracuda, Sata3 64MB Cache, 250GB Hynix SL301
Opticals: DVD-RW, Blu-Ray
PSU: eVGA 1000w G2 Supernova
Case: NZXT Phantom 530

STALKER: Singularity (SIN) homepage
User avatar
ket
Senior Resident
 
Posts: 1262
Joined: 14 Sep 2008 11:57
Location: The solar system

Re: Whats wrong with my weather files?

Postby Nightwatch on 09 Oct 2010 18:32

Yup, seems OK. But I can't quite comment about sky_rotation and sun_dir as they are significantly different than general vanilla values. I'm trying to say that in general, regardless of these values, you know that if a value is not calculable/applicable, then the game may skip using it. However, those sun_dir and sky_rotation. -or anything to do with sun positioning in the sky, etc- variables are not somethings that I'm quite knowledgeable about , if I know anything. :mozilla_smile: So I just bring them to your attention , those may be quite OK anyway.

Other than that, there may have been something else in some other files in your mod structure that refer to the specific weather files, but they may be pointing to a previously altered and now reverted sections/files. I'm just trying to bring some ideas that may remind you something. You can just inactivate the weather folder (just put XX in front of its name) and let the game run with vanilla files. If you see still none of the other area weathers are being used, then it'd show that mod's weather files are not the problem in this. so the problem may be searched in somewhere else. Just an idea. :mozilla_smile:
NEWSA.SIMBION_TWEAK 3.0
Mod Website= Features, Video, Tips & Download Link: NEWSA.SIMBION_Tweak

Watch the Trailer: http://www.youtube.com/watch?v=1Ajw_f8K ... re=channel
Please Do Not download and install any files from links other than those on the Mod's Website
User avatar
Nightwatch
Site Admin
 
Posts: 2676
Joined: 13 Apr 2007 05:42
Location: London, United Kingdom

Re: Whats wrong with my weather files?

Postby ket on 09 Oct 2010 18:36

I've tried renaming the entire weathers folder and letting vanilla files take over, yantar still doesnt work. I've just reinstalled stalker and made a new fsgame file, so lets see how that does :)
Last edited by ket on 09 Oct 2010 18:54, edited 2 times in total.
Mobo: MSI X570 Tomahawk
CPU: R7 3700X @ 4.4GHz 1.3v
RAM: 2x16GB Klevv BoltX 3600MHz 16-20-20-35
GPU: Powercolor 6800XT Red Devil
Sound: Asus Xonar DX 7.1 PCI-E, Realtek ALC1200
HDD: 250GB & 500GB nVME 3.0 M.2 drives, 2TB Seagate Barracuda, Sata3 64MB Cache, 250GB Hynix SL301
Opticals: DVD-RW, Blu-Ray
PSU: eVGA 1000w G2 Supernova
Case: NZXT Phantom 530

STALKER: Singularity (SIN) homepage
User avatar
ket
Senior Resident
 
Posts: 1262
Joined: 14 Sep 2008 11:57
Location: The solar system

Re: Whats wrong with my weather files?

Postby Nightwatch on 09 Oct 2010 18:53

Yeah, that's interesting. OK, then after the environment.ltx change, everything points that the folder is alright now.
NEWSA.SIMBION_TWEAK 3.0
Mod Website= Features, Video, Tips & Download Link: NEWSA.SIMBION_Tweak

Watch the Trailer: http://www.youtube.com/watch?v=1Ajw_f8K ... re=channel
Please Do Not download and install any files from links other than those on the Mod's Website
User avatar
Nightwatch
Site Admin
 
Posts: 2676
Joined: 13 Apr 2007 05:42
Location: London, United Kingdom

Re: Whats wrong with my weather files?

Postby ket on 09 Oct 2010 18:54

Ok the new install and fsgame file didn't work either. Totally at a loss why the other ltx files arent working.
Mobo: MSI X570 Tomahawk
CPU: R7 3700X @ 4.4GHz 1.3v
RAM: 2x16GB Klevv BoltX 3600MHz 16-20-20-35
GPU: Powercolor 6800XT Red Devil
Sound: Asus Xonar DX 7.1 PCI-E, Realtek ALC1200
HDD: 250GB & 500GB nVME 3.0 M.2 drives, 2TB Seagate Barracuda, Sata3 64MB Cache, 250GB Hynix SL301
Opticals: DVD-RW, Blu-Ray
PSU: eVGA 1000w G2 Supernova
Case: NZXT Phantom 530

STALKER: Singularity (SIN) homepage
User avatar
ket
Senior Resident
 
Posts: 1262
Joined: 14 Sep 2008 11:57
Location: The solar system

Re: Whats wrong with my weather files?

Postby Nightwatch on 09 Oct 2010 19:10

Is config\gamemaps_single also checking with the correct weather destinations? Like:
-------------------------------------
[l08_yantar]
...
weathers = yantar
.....
---------------------------------------

I think you should ask someone who knows these sun direction and sun rotation issues as well. A weather mod maker. Values may be non-calculable there, maybe in relation to their previous set positions, etc.

EDIT: I'm saying it as a side issue that may be worth checking for any later problems. As the weathers didn't work in vanilla either, there is a problem beyond the weather folder obviously, under the circumstances.
NEWSA.SIMBION_TWEAK 3.0
Mod Website= Features, Video, Tips & Download Link: NEWSA.SIMBION_Tweak

Watch the Trailer: http://www.youtube.com/watch?v=1Ajw_f8K ... re=channel
Please Do Not download and install any files from links other than those on the Mod's Website
User avatar
Nightwatch
Site Admin
 
Posts: 2676
Joined: 13 Apr 2007 05:42
Location: London, United Kingdom

Re: Whats wrong with my weather files?

Postby ket on 09 Oct 2010 19:32

I'll check. Odd problems aside I just tested some new changes to the weather and even I thought it looked absolutely drop dead goergeous ^_^

ED - Yep all sections are pointing to the right weather files. Weather_default works no problem, any other weather file even though should work, doesn't.
Mobo: MSI X570 Tomahawk
CPU: R7 3700X @ 4.4GHz 1.3v
RAM: 2x16GB Klevv BoltX 3600MHz 16-20-20-35
GPU: Powercolor 6800XT Red Devil
Sound: Asus Xonar DX 7.1 PCI-E, Realtek ALC1200
HDD: 250GB & 500GB nVME 3.0 M.2 drives, 2TB Seagate Barracuda, Sata3 64MB Cache, 250GB Hynix SL301
Opticals: DVD-RW, Blu-Ray
PSU: eVGA 1000w G2 Supernova
Case: NZXT Phantom 530

STALKER: Singularity (SIN) homepage
User avatar
ket
Senior Resident
 
Posts: 1262
Joined: 14 Sep 2008 11:57
Location: The solar system

Re: Whats wrong with my weather files?

Postby Nightwatch on 09 Oct 2010 23:10

Just a question came to my mind... Do you use any other scripts like abc.script or any other ones that may have blow out/horror-time type controls and/or checks?
NEWSA.SIMBION_TWEAK 3.0
Mod Website= Features, Video, Tips & Download Link: NEWSA.SIMBION_Tweak

Watch the Trailer: http://www.youtube.com/watch?v=1Ajw_f8K ... re=channel
Please Do Not download and install any files from links other than those on the Mod's Website
User avatar
Nightwatch
Site Admin
 
Posts: 2676
Joined: 13 Apr 2007 05:42
Location: London, United Kingdom

Re: Whats wrong with my weather files?

Postby ket on 10 Oct 2010 03:39

I have blowout scripts, but thats all. They always worked fine with the weather files. I can't explain it, with the exception od weather_default the other weather files have just... stopped working for no good reason. Last time I worked on the mod before giving it a rest I was working on the weather files and they were all working fine, nothing has changed in the rest period the files... or something as even vanilla files don't work, have just stopped working.
Mobo: MSI X570 Tomahawk
CPU: R7 3700X @ 4.4GHz 1.3v
RAM: 2x16GB Klevv BoltX 3600MHz 16-20-20-35
GPU: Powercolor 6800XT Red Devil
Sound: Asus Xonar DX 7.1 PCI-E, Realtek ALC1200
HDD: 250GB & 500GB nVME 3.0 M.2 drives, 2TB Seagate Barracuda, Sata3 64MB Cache, 250GB Hynix SL301
Opticals: DVD-RW, Blu-Ray
PSU: eVGA 1000w G2 Supernova
Case: NZXT Phantom 530

STALKER: Singularity (SIN) homepage
User avatar
ket
Senior Resident
 
Posts: 1262
Joined: 14 Sep 2008 11:57
Location: The solar system


Return to Modding Techniques

Who is online

Users browsing this forum: No registered users and 1 guest

cron