Skip to content

Vilsepi/stalker2-sunshine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stalker2-sunshine

A tunable mod for Stalker 2 to improve the always lousy weather.

This mod only modifies the following file:

Stalker2\Content\GameLite\GameData\WeatherSelectionPrototypes.cfg

Usage

Create a patch file in YAML format in src/config/ directory (e.g., test.yml).

Run the patcher:

cd src
python3 main.py test.yml

Development

Convert all line endings to CRLF Windows line endings which the game uses:

sed -i 's/$/\r/' src/config/original_chunked/*.cfg

Packaging

Use repak to package the config file into a .pak, and copy it under Game folder\Stalker2\Content\Paks\~mods.

This will conflict with any other mod that modifies WeatherSelectionPrototypes.cfg.

You should make a directory structure sunshine\Stalker2\Content\GameLite\GameData\WeatherSelectionPrototypes.cfg.

Then:

repak pack sunshine sunshine.pak

Weather mods by other authors

There is already a bunch of existing weather mods, but none of them did what I wanted.

  • Sunny Weather: This mod was my original inspiration. However, it forces nearly 100% clear weather everywhere, so it simplifies the game's weather too much.
  • Less Pleasant Weather 2: This felt promising, but it uses an old version of the WeatherSelectionPrototypes.cfg as a base, so it is completely missing some weather config for the game.
  • Dynamic Weather Overhaul: Completely reworks the weather to be even more dramatic, and for example makes nights even darker.