Move Weather effects into a separate resource
These weather effects are used TSG, TDG, and other WIP campaign revisions. Duplicating them across each campaign seems pointless, so I've moved them into a resource here, following the precedent set by #9669.
@ -333,6 +333,8 @@ Date,File,License,Author - Real Name(other name);Real Name(other name);etc,Notes
|
||||
2007/05/16,data/core/sounds/zombie-hit-4.ogg,GNU GPL v2+,Lari Nieminen(zookeeper),,,18325a354006ff75a51d8a194ab4cc6b
|
||||
2007/05/16,data/core/sounds/zombie-hit-5.ogg,GNU GPL v2+,Lari Nieminen(zookeeper),,,5342ea54cf24b3bfec6b694ae864587e
|
||||
2007/05/16,data/core/sounds/zombie-hit-6.ogg,GNU GPL v2+,Lari Nieminen(zookeeper),,,9073318991b1a956c33e65290bfdf78c
|
||||
2025/01/10,data/resources/Weather/sounds/weather-rain.ogg,GNU GPL v2+,(inferno8);(dalas),,,fc7090377ce25be51526afc235557735
|
||||
2025/01/10,data/resources/Weather/sounds/weather-snow.ogg,CC0,(kyles),,,5b4d185ae84eaf3a7bb20c83f441327c
|
||||
2007/05/16,sounds/arrive.wav,GNU GPL v2+,unknown;Lari Nieminen(zookeeper),,,c7c0a7f2b0ab2e501602fa8ed629b691
|
||||
2018/03/04,sounds/bell.wav,CC BY-SA 4.0,Argentum Age,,,16e38871229e0ee808d427ab2389252a
|
||||
2018/03/04,sounds/button.wav,CC BY-SA 4.0,Argentum Age,,,65a417effb06381a81e85883821becc9
|
||||
|
|
91
data/resources/Weather/_main.cfg
Normal file
@ -0,0 +1,91 @@
|
||||
#textdomain wesnoth-campaign-resources
|
||||
[textdomain]
|
||||
name="wesnoth-campaign-resources"
|
||||
[/textdomain]
|
||||
|
||||
#
|
||||
# This is a resource intended for use in select mainline campaigns, and should not be relied upon for UMC.
|
||||
# It may change in ways that aren't backwards-compatible with or that negatively affect the balance of UMC content that uses it.
|
||||
#
|
||||
#ifdef RESOURCE_WEATHER
|
||||
[binary_path]
|
||||
path=data/resources/Weather
|
||||
[/binary_path]
|
||||
|
||||
#define ADD_WEATHER_RAIN
|
||||
[terrain_graphics]
|
||||
map="
|
||||
1
|
||||
,1
|
||||
1
|
||||
,1"
|
||||
[tile]
|
||||
pos=1
|
||||
set_flag=rain
|
||||
no_flag=rain
|
||||
[/tile]
|
||||
[image]
|
||||
layer=1
|
||||
# make the initial frame noweather.png so that disabling rain in Preferences->Display->Animate Map removes it completely instead of freezing it.
|
||||
# but we don't actually want to show it to the player normally, so give it a 0ms duration
|
||||
name=noweather.png:0,rain/rain-[1~5].png~O(0.5):80
|
||||
[/image]
|
||||
[/terrain_graphics]
|
||||
[terrain_graphics]
|
||||
[tile]
|
||||
x=0
|
||||
y=0
|
||||
set_flag=rain
|
||||
no_flag=rain
|
||||
[/tile]
|
||||
[image]
|
||||
layer=1
|
||||
name=noweather.png:0,rain/rain-[1~5].png~O(0.5):80
|
||||
[/image]
|
||||
[/terrain_graphics]
|
||||
[sound_source]
|
||||
id=rain
|
||||
sounds="weather-rain.ogg"
|
||||
delay=0
|
||||
chance=100
|
||||
loop=-1
|
||||
x,y=1,1
|
||||
full_range=9999
|
||||
check_fogged=no
|
||||
check_shrouded=no
|
||||
[/sound_source]
|
||||
#enddef
|
||||
|
||||
#define ADD_WEATHER_SNOW
|
||||
[terrain_graphics]
|
||||
[tile]
|
||||
x,y=0,0
|
||||
[/tile]
|
||||
[image]
|
||||
layer=1
|
||||
name=noweather.png:0,snow/whiteout.png:60000
|
||||
[/image]
|
||||
[/terrain_graphics]
|
||||
[terrain_graphics]
|
||||
[tile]
|
||||
x,y=0,0
|
||||
[/tile]
|
||||
[image]
|
||||
layer=1
|
||||
name=noweather.png:0,snow/00[01~33].png~O(0.6):80
|
||||
[/image]
|
||||
[/terrain_graphics]
|
||||
[sound_source]
|
||||
id=snow
|
||||
sounds="weather-snow.ogg"
|
||||
delay=0
|
||||
chance=100
|
||||
loop=-1
|
||||
x,y=1,1
|
||||
full_range=9999
|
||||
check_fogged=no
|
||||
check_shrouded=no
|
||||
[/sound_source]
|
||||
#enddef
|
||||
|
||||
#endif
|
BIN
data/resources/Weather/images/terrain/noweather.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
data/resources/Weather/images/terrain/rain/rain-1.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
data/resources/Weather/images/terrain/rain/rain-2.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
data/resources/Weather/images/terrain/rain/rain-3.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
data/resources/Weather/images/terrain/rain/rain-4.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
data/resources/Weather/images/terrain/rain/rain-5.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
data/resources/Weather/images/terrain/snow/0001.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
data/resources/Weather/images/terrain/snow/0002.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
data/resources/Weather/images/terrain/snow/0003.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
data/resources/Weather/images/terrain/snow/0004.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
data/resources/Weather/images/terrain/snow/0005.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
data/resources/Weather/images/terrain/snow/0006.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
data/resources/Weather/images/terrain/snow/0007.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
data/resources/Weather/images/terrain/snow/0008.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
data/resources/Weather/images/terrain/snow/0009.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
data/resources/Weather/images/terrain/snow/0010.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
data/resources/Weather/images/terrain/snow/0011.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
data/resources/Weather/images/terrain/snow/0012.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
data/resources/Weather/images/terrain/snow/0013.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
data/resources/Weather/images/terrain/snow/0014.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
data/resources/Weather/images/terrain/snow/0015.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
data/resources/Weather/images/terrain/snow/0016.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
data/resources/Weather/images/terrain/snow/0017.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
data/resources/Weather/images/terrain/snow/0018.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
data/resources/Weather/images/terrain/snow/0019.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
data/resources/Weather/images/terrain/snow/0020.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
data/resources/Weather/images/terrain/snow/0021.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
data/resources/Weather/images/terrain/snow/0022.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
data/resources/Weather/images/terrain/snow/0023.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
data/resources/Weather/images/terrain/snow/0024.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
data/resources/Weather/images/terrain/snow/0025.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
data/resources/Weather/images/terrain/snow/0026.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
data/resources/Weather/images/terrain/snow/0027.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
data/resources/Weather/images/terrain/snow/0028.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
data/resources/Weather/images/terrain/snow/0029.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
data/resources/Weather/images/terrain/snow/0030.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
data/resources/Weather/images/terrain/snow/0031.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
data/resources/Weather/images/terrain/snow/0032.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
data/resources/Weather/images/terrain/snow/0033.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
data/resources/Weather/images/terrain/snow/whiteout.png
Normal file
After Width: | Height: | Size: 1.5 KiB |