ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
[REL] S.T.A.L.K.E.R. Weather Overhauled v3 - feedback

« Previous 10 events | 1 2 3 4 5 6 7 ... 39 | Next 10 events »
Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  13:23:43  17 February 2009
profilee-mailreply Message URLTo the Top
trojanuch
Senior Resident
 

 
On forum: 04/08/2007
 

Message edited by:
trojanuch
02/17/2009 13:26:07
Messages: 1444

---QUOTATION---
straight copying the core files over top of ol2.2 definitely doesn't work, yields the following:

[error]Expression : fatal error
[error]Function : CScriptEngine::lua_error
[error]File : E:\stalker\sources\trunk\xr_3da\xrGame\script_engine.cpp
[error]Line : 73
[error]Description : <no expression>
[error]Arguments : LUA error: ...ow of chernobyl\gamedata\scripts\bind_stalker.script:63: attempt to call field 'dynamic_weather_level' (a nil value)
This could be a version issue of some kind.
I just checked the SWO 3.0 package and it looks like it doesn't include the latest level_weathers.script - could be a simple glitch in packaging but the workaround should be simple: grab the level_weathers.script from the latest version of Dynamic Weather mod.
---END QUOTATION---



Shit - I just gathered that this might be actually true... and pretty lame on my part....

There is already one Quick Fix - i think I'll have to do and post another one right away...

EDIT:
If you grab w new version from DW mod - make sure to change the following line level.weather.script:

from:

local trans_prob = self.cycles[cycle_id].from_weight * self.cycle_time / 2160

into:

local trans_prob = self.cycles[cycle_id].from_weight * self.cycle_time / 2160 + 20
  13:49:41  17 February 2009
profilee-mailreply Message URLTo the Top
notanumber
mod abuser & exploiter
(Resident)

 

 
On forum: 03/22/2008
Messages: 2832
Well, that's what some times happens when release packages are being built - even for some big software companies

Note that this level_weathers.script update only relates to OL2.2 compatibility so you don't need to grab the updated file unless you are using OL2.2.

Like trojanuch wrote you should tweak the probability function a bit. You might also want to disable debug messages, but since OL2.2 compatibility is largely untested it might be better to leave it on for now...
  14:26:22  17 February 2009
profilee-mailreply Message URLTo the Top
Wolfehunter
Mod Guru
(Resident)

 

 
On forum: 07/03/2007
Messages: 2748
There are 3 files which are not compatible from SW0 v3 to OL2.2

First is under scripts\level_weathers.script

Second is config\weathers\environment.ltx

Third is the config\weathers\weather_default.ltx

First two causes CTDs, Some AMK missing some commands or somesuch.

Third one has odd weather behaviors. Like bright 4:00AM morings

Rest of the files weather related core files for SWO v3.0 are working. sounds textures etc.

I using MAX settings I don't need the rest of the options because there already included in the SmP.

Anyhow those 3 files needs to be worked right for OL2.2

Nandersen I'm hoping you have courage enough to take on the challenge before someone hurts themselves trying to merge this. hehehe
  14:42:20  17 February 2009
profilee-mailreply Message URLTo the Top
notanumber
mod abuser & exploiter
(Resident)

 

 
On forum: 03/22/2008
 

Message edited by:
notanumber
02/17/2009 14:45:47
Messages: 2832

---QUOTATION---
Nandersen I'm hoping you have courage enough to take on the challenge before someone hurts themselves trying to merge this. hehehe
---END QUOTATION---


Thanks for the confidence Wolf
...and for pointing out another build issue.

The two sections in environment.ltx probably need to look like this:
[weathers]:weather_dynamic
map		= sect_map
test		= sect_test
default		= sect_default_weather
indoor          = sect_indoor
indoor_x18      = sect_indoor
pripyat	    	= sect_default_weather
radar           = sect_default_weather
rain            = sect_default_weather
sarkofag        = sect_indoor
stancia         = sect_default_weather
stancia2        = sect_default_weather
yantar          = sect_default_weather
yantar_indoor   = sect_indoor
00_flares_fix	= 00_sect_flares_fix
pre_blow        = sect_stancia
chernobyl       = sect_stancia


[weather_effects]
surge_day       = sect_surge_day
p_surge_day     = sect_p_surge_day
amk_surge_day   = amk_sect_surge_day
amk_p_surge_day = amk_sect_p_surge_day


I don't expect weather_default.ltx to cause any problems when environment.ltx is fixed.
  14:44:54  17 February 2009
profilee-mailreply Message URLTo the Top
trojanuch
Senior Resident
 

 
On forum: 04/08/2007
Messages: 1444

---QUOTATION---
There are 3 files which are not compatible from SW0 v3 to OL2.2

First is under scripts\level_weathers.script

Second is config\weathers\environment.ltx

Third is the config\weathers\weather_default.ltx

First two causes CTDs, Some AMK missing some commands or somesuch.

Third one has odd weather behaviors. Like bright 4:00AM morings

Rest of the files weather related core files for SWO v3.0 are working. sounds textures etc.

I using MAX settings I don't need the rest of the options because there already included in the SmP.

Anyhow those 3 files needs to be worked right for OL2.2

Nandersen I'm hoping you have courage enough to take on the challenge before someone hurts themselves trying to merge this. hehehe
---END QUOTATION---



Bright 4am mornings - are already fixed in first QUICK FIX - just follow the link form my sig.

Weather_default - this can be anything (currently it's a copy of cloudy_light) really. SWOv3 does not use weather_default at all. I've just put it there so there is no trace of ugly vanilla weather anywhere.

For envirnoment.ltx - it can also be anything just make sure that there are lines:

#include "weather_flares_fix.ltx"

[weathers]:weather_dynamic

and

[weather_effects]
surge_day = sect_surge_day
p_surge_day = sect_p_surge_day

present.
  14:54:01  17 February 2009
profilee-mailreply Message URLTo the Top
Wolfehunter
Mod Guru
(Resident)

 

 
On forum: 07/03/2007
 

Message edited by:
Wolfehunter
02/17/2009 15:06:35
Messages: 2748

---QUOTATION---
Nandersen I'm hoping you have courage enough to take on the challenge before someone hurts themselves trying to merge this. hehehe
Thanks for the confidence Wolf
...and for pointing out another build issue.

The two sections in environment.ltx probably need to look like this:
[weathers]:weather_dynamic
map		= sect_map
test		= sect_test
default		= sect_default_weather
indoor          = sect_indoor
indoor_x18      = sect_indoor
pripyat	    	= sect_default_weather
radar           = sect_default_weather
rain            = sect_default_weather
sarkofag        = sect_indoor
stancia         = sect_default_weather
stancia2        = sect_default_weather
yantar          = sect_default_weather
yantar_indoor   = sect_indoor
00_flares_fix	= 00_sect_flares_fix
pre_blow        = sect_stancia
chernobyl       = sect_stancia


[weather_effects]
surge_day       = sect_surge_day
p_surge_day     = sect_p_surge_day
amk_surge_day   = amk_sect_surge_day
amk_p_surge_day = amk_sect_p_surge_day


I don't expect weather_default.ltx to cause any problems when environment.ltx is fixed.
---END QUOTATION---

Ok thanks for this.

Update:

I got this error,

Expression : fatal error
Function : CInifile::r_section
File : E:\stalker\sources\trunk\xrCore\Xr_ini.cpp
Line : 342
Description : <no expression>
Arguments : Can't open section 'sect_stancia'

Ah nevermind I figure it out
  14:55:51  17 February 2009
profilee-mailreply Message URLTo the Top
Wolfehunter
Mod Guru
(Resident)

 

 
On forum: 07/03/2007
Messages: 2748

---QUOTATION---
There are 3 files which are not compatible from SW0 v3 to OL2.2

First is under scripts\level_weathers.script

Second is config\weathers\environment.ltx

Third is the config\weathers\weather_default.ltx

First two causes CTDs, Some AMK missing some commands or somesuch.

Third one has odd weather behaviors. Like bright 4:00AM morings

Rest of the files weather related core files for SWO v3.0 are working. sounds textures etc.

I using MAX settings I don't need the rest of the options because there already included in the SmP.

Anyhow those 3 files needs to be worked right for OL2.2

Nandersen I'm hoping you have courage enough to take on the challenge before someone hurts themselves trying to merge this. hehehe

Bright 4am mornings - are already fixed in first QUICK FIX - just follow the link form my sig.

Weather_default - this can be anything (currently it's a copy of cloudy_light) really. SWOv3 does not use weather_default at all. I've just put it there so there is no trace of ugly vanilla weather anywhere.

For envirnoment.ltx - it can also be anything just make sure that there are lines:

#include "weather_flares_fix.ltx"

[weathers]:weather_dynamic

and

[weather_effects]
surge_day = sect_surge_day
p_surge_day = sect_p_surge_day

present.
---END QUOTATION---

I didn't know that hehehe. Good to know but I did see a difference between the two. Oh well...
  15:09:47  17 February 2009
profilee-mailreply Message URLTo the Top
notanumber
mod abuser & exploiter
(Resident)

 

 
On forum: 03/22/2008
 

Message edited by:
notanumber
02/17/2009 15:10:17
Messages: 2832

---QUOTATION---
Expression : fatal error
Function : CInifile::r_section
File : E:\stalker\sources\trunk\xrCore\Xr_ini.cpp
Line : 342
Description : <no expression>
Arguments : Can't open section 'sect_stancia'

Ah nevermind I figure it out
---END QUOTATION---


I'm sure you have figured it out but for the sake of others' mental health I'll explain anyway: The problem is caused by missing include directive. The following needs to be added near the top of environment.ltx:
#include "weather_stancia.ltx"

  15:10:45  17 February 2009
profilee-mailreply Message URLTo the Top
Wolfehunter
Mod Guru
(Resident)

 

 
On forum: 07/03/2007
 

Message edited by:
Wolfehunter
02/17/2009 15:20:57
Messages: 2748

---QUOTATION---
Expression : fatal error
Function : CInifile::r_section
File : E:\stalker\sources\trunk\xrCore\Xr_ini.cpp
Line : 342
Description : <no expression>
Arguments : Can't open section 'sect_stancia'

Ah nevermind I figure it out
I'm sure you have figured it out but for the sake of others' mental health I'll explain anyway: The problem is caused by missing include directive. The following needs to be added near the top of environment.ltx:
#include "weather_stancia.ltx"


---END QUOTATION---


ya I get this now though,,

Expression : it!=WeatherCycles.end()
Function : CEnvironment::SetWeather
File : E:\stalker\sources\trunk\xr_3da\Environment.cpp
Line : 133
Description : Invalid weather name.
Arguments : amk_for_blow

Update:

I found this line?
amk_for_blow = amk_sect_for_sun

What to do with it? Commented out?

Nevermind I forgot to add it.

It works now. the only one I haven't merged yet is the level weather script... thats beyond my skills.
  15:19:48  17 February 2009
profilee-mailreply Message URLTo the Top
trojanuch
Senior Resident
 

 
On forum: 04/08/2007
 

Message edited by:
trojanuch
02/17/2009 15:20:29
Messages: 1444

---QUOTATION---
Expression : fatal error
Function : CInifile::r_section
File : E:\stalker\sources\trunk\xrCore\Xr_ini.cpp
Line : 342
Description : <no expression>
Arguments : Can't open section 'sect_stancia'

Ah nevermind I figure it out
I'm sure you have figured it out but for the sake of others' mental health I'll explain anyway: The problem is caused by missing include directive. The following needs to be added near the top of environment.ltx:
#include "weather_stancia.ltx"


ya I get this now though,,

Expression : it!=WeatherCycles.end()
Function : CEnvironment::SetWeather
File : E:\stalker\sources\trunk\xr_3da\Environment.cpp
Line : 133
Description : Invalid weather name.
Arguments : amk_for_blow

Update:

I found this line?
amk_for_blow = amk_sect_for_sun

What to do with it? Commented out?
---END QUOTATION---



This mght be connected with flares fix - SWO has it's own method of making the flares visible (which can be disabled in OL). So - try deleting:

00_flares_fix = 00_sect_flares_fix
and
#include "weather_flares_fix.ltx

in envirnoment.ltx

Also make shure that all adddtional files from OL config > weathers are present!
 
Each word should be at least 3 characters long.
Search:    
Search conditions:    - spaces as AND    - spaces as OR   
 
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
 

All short dates are in Month-Day-Year format.


 

Copyright © 1995-2021 GSC Game World. All rights reserved.
This site is best viewed in Internet Explorer 4.xx and up and Javascript enabled. Webmaster.
Opera Software products are not supported.
If any problem concerning the site functioning under Opera Software appears apply
to Opera Software technical support service.