-
-
Notifications
You must be signed in to change notification settings - Fork 991
/
Marauder.cfg
111 lines (104 loc) · 3.46 KB
/
Marauder.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
#textdomain wesnoth-units
#define PATH_TEMP
units/dunefolk/rider/#enddef
#define TORCH_STATIC_IMAGE
{PATH_TEMP}marauder.png~BLIT({PATH_TEMP}marauder-torch-overlay.png,0,0)#enddef
[unit_type]
id=Dune Marauder
name= _ "Dune Marauder"
race=dunefolk
#ifndef __WMLUNITS__
image="{TORCH_STATIC_IMAGE}"
#else
# Shown on units.wesnoth.org instead,
# because Image Path Functions aren't available there.
image="{PATH_TEMP}marauder.png"
#endif
hitpoints=58
movement_type=dunehorse
movement=9
experience=150
level=3
alignment=chaotic
advances_to=null
{AMLA_DEFAULT}
cost=52
undead_variation=mounted
usage=scout
description= _ "Some find themselves well suited to the life of a raider and may even form their own clans with like-minded individuals. Ever roaming the deserts for unwary travelers or vulnerable caravans, these horsemen make their livelihood off scavenging and pilfering. Having no particular specialty, marauders are neither the strongest warriors, nor the most dextrous archers, but are nevertheless among the most dangerous enemies out in the desert due to their sheer maneuverability. A coordinated marauder attack can wipe out medium-sized camps before any response is possible, and guerrilla tactics may allow them to prevail against stronger foes where brute force does not. For this reason, they are sometimes hired by small armies or wealthier caravans as a deterrent to unwanted raids."
die_sound=horse-die.ogg
{DEFENSE_ANIM_FILTERED "{PATH_TEMP}marauder.png" "{PATH_TEMP}marauder.png" {SOUND_LIST:HORSE_HIT} (
[filter_second_attack]
range=ranged
[/filter_second_attack]
)}
{DEFENSE_ANIM_FILTERED "{TORCH_STATIC_IMAGE}" "{TORCH_STATIC_IMAGE}" {SOUND_LIST:HORSE_HIT} (
[filter_second_attack]
range=melee
[/filter_second_attack]
)}
{STANDING_ANIM_BIG_TORCH "{PATH_TEMP}marauder.png" 22 -22 -28}
[movement_anim]
start_time=-0
[frame]
image="{TORCH_STATIC_IMAGE}:150"
[/frame]
[/movement_anim]
[resistance]
blade=80
impact=80
[/resistance]
[defense]
mountains=50
[/defense]
[attack]
name=torch
description= _ "torch"
type=fire
range=melee
damage=11
number=3
icon=attacks/torch.png
[/attack]
[attack]
name=bow
description=_"bow"
type=pierce
range=ranged
damage=10
number=3
icon=attacks/bow-short-reinforced.png
[/attack]
[attack_anim]
[filter_attack]
name=torch
[/filter_attack]
start_time=-250
horse_sound_start_time=-250
[frame]
image="{TORCH_STATIC_IMAGE}:400"
[/frame]
[horse_sound_frame]
sound=horse-canter.wav
[/horse_sound_frame]
{SOUND:HIT_AND_MISS torch.ogg torch-miss.ogg -100}
[/attack_anim]
[attack_anim]
[filter_attack]
name=bow
[/filter_attack]
start_time=-250
missile_start_time=-150
[missile_frame]
duration=150
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
[frame]
image="{PATH_TEMP}marauder.png:300"
[/frame]
{SOUND:HIT_AND_MISS bow-puny.ogg bow-puny-miss.ogg -225}
[/attack_anim]
[/unit_type]
#undef PATH_TEMP
#undef TORCH_STATIC_IMAGE