mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-26 20:14:48 +00:00
36 lines
1.1 KiB
INI
36 lines
1.1 KiB
INI
# For some animations some units use a list of sounds, from which one is
|
|
# randomly picked every time, instead of a single sound. Here the most commonly
|
|
# used lists are wrapped inside macros.
|
|
#
|
|
# These are used in unit .cfg's for example like this:
|
|
#
|
|
# [animation]
|
|
# hits=no
|
|
#
|
|
# [frame]
|
|
# begin=-200
|
|
# end=0
|
|
# sound={SOUND_LIST:MISS}
|
|
# image="units/dwarves/warrior-attack.png"
|
|
# [/frame]
|
|
|
|
#define SOUND_LIST:MISS
|
|
miss-1.ogg,miss-2.ogg,miss-3.ogg #enddef
|
|
|
|
#define SOUND_LIST:SWORD_SWISH
|
|
sword-swish-1.ogg,sword-swish-2.ogg,sword-swish-3.ogg #enddef
|
|
|
|
#define SOUND_LIST:DWARF_HIT
|
|
dwarf-hit-1.ogg,dwarf-hit-2.ogg,dwarf-hit-3.ogg,dwarf-hit-4.ogg #enddef
|
|
|
|
#define SOUND_LIST:DWARF_DIE
|
|
dwarf-die-1.ogg,dwarf-die-2.ogg #enddef
|
|
|
|
#define SOUND_LIST:ZOMBIE_WEAK_HIT
|
|
zombie-hit-4.ogg,zombie-hit-5.ogg,zombie-hit-6.ogg #enddef
|
|
|
|
#define SOUND_LIST:ZOMBIE_HIT
|
|
zombie-hit-1.ogg,zombie-hit-2.ogg,zombie-hit-3.ogg,zombie-hit-4.ogg,zombie-hit-5.ogg,zombie-hit-6.ogg #enddef
|
|
|
|
#define SOUND_LIST:ZOMBIE_STRONG_HIT
|
|
zombie-hit-1.ogg,zombie-hit-2.ogg,zombie-hit-3.ogg #enddef |