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.
This commit is contained in:
Dalas121 2025-01-10 19:52:42 -06:00 committed by GitHub
parent 2323153973
commit 18434cb48f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
44 changed files with 93 additions and 0 deletions

View File

@ -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

1 Date File License Author - Real Name(other name);Real Name(other name);etc Notes Needs Update MD5
333 2007/05/16 data/core/sounds/zombie-hit-4.ogg GNU GPL v2+ Lari Nieminen(zookeeper) 18325a354006ff75a51d8a194ab4cc6b
334 2007/05/16 data/core/sounds/zombie-hit-5.ogg GNU GPL v2+ Lari Nieminen(zookeeper) 5342ea54cf24b3bfec6b694ae864587e
335 2007/05/16 data/core/sounds/zombie-hit-6.ogg GNU GPL v2+ Lari Nieminen(zookeeper) 9073318991b1a956c33e65290bfdf78c
336 2025/01/10 data/resources/Weather/sounds/weather-rain.ogg GNU GPL v2+ (inferno8);(dalas) fc7090377ce25be51526afc235557735
337 2025/01/10 data/resources/Weather/sounds/weather-snow.ogg CC0 (kyles) 5b4d185ae84eaf3a7bb20c83f441327c
338 2007/05/16 sounds/arrive.wav GNU GPL v2+ unknown;Lari Nieminen(zookeeper) c7c0a7f2b0ab2e501602fa8ed629b691
339 2018/03/04 sounds/bell.wav CC BY-SA 4.0 Argentum Age 16e38871229e0ee808d427ab2389252a
340 2018/03/04 sounds/button.wav CC BY-SA 4.0 Argentum Age 65a417effb06381a81e85883821becc9

View 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Binary file not shown.