1 | <?xml version="1.0" encoding="utf-8"?>
|
---|
2 | <Entity parent="template_unit_siege">
|
---|
3 | <Attack>
|
---|
4 | <Ranged>
|
---|
5 | <AttackName>Bow</AttackName>
|
---|
6 | <Damage>
|
---|
7 | <Pierce>12</Pierce>
|
---|
8 | <Crush>2.5</Crush>
|
---|
9 | </Damage>
|
---|
10 | <MaxRange>55</MaxRange>
|
---|
11 | <Origin>
|
---|
12 | <X>0</X>
|
---|
13 | <Y>10</Y>
|
---|
14 | <Z>0</Z>
|
---|
15 | </Origin>
|
---|
16 | <PrepareTime>1200</PrepareTime>
|
---|
17 | <RepeatTime>2000</RepeatTime>
|
---|
18 | <Projectile>
|
---|
19 | <Speed>100</Speed>
|
---|
20 | <Spread>2</Spread>
|
---|
21 | <Gravity>50</Gravity>
|
---|
22 | <FriendlyFire>false</FriendlyFire>
|
---|
23 | <LaunchPoint y="3"/>
|
---|
24 | </Projectile>
|
---|
25 | <PreferredClasses datatype="tokens">Human</PreferredClasses>
|
---|
26 | <RangeOverlay>
|
---|
27 | <LineTexture>outline_border.png</LineTexture>
|
---|
28 | <LineTextureMask>outline_border_mask.png</LineTextureMask>
|
---|
29 | <LineThickness>0.175</LineThickness>
|
---|
30 | </RangeOverlay>
|
---|
31 | </Ranged>
|
---|
32 | </Attack>
|
---|
33 | <BuildingAI>
|
---|
34 | <DefaultArrowCount>0</DefaultArrowCount>
|
---|
35 | <GarrisonArrowMultiplier>1</GarrisonArrowMultiplier>
|
---|
36 | <MaxArrowCount>10</MaxArrowCount>
|
---|
37 | <GarrisonArrowClasses>Infantry</GarrisonArrowClasses>
|
---|
38 | </BuildingAI>
|
---|
39 | <Cost>
|
---|
40 | <BuildTime>40</BuildTime>
|
---|
41 | <Resources>
|
---|
42 | <wood>500</wood>
|
---|
43 | <metal>300</metal>
|
---|
44 | </Resources>
|
---|
45 | </Cost>
|
---|
46 | <Footprint replace="">
|
---|
47 | <Square width="12.0" depth="12.0"/>
|
---|
48 | <Height>30.0</Height>
|
---|
49 | </Footprint>
|
---|
50 | <GarrisonHolder>
|
---|
51 | <Max>20</Max>
|
---|
52 | <EjectHealth>0.1</EjectHealth>
|
---|
53 | <EjectClassesOnDestroy datatype="tokens">Unit</EjectClassesOnDestroy>
|
---|
54 | <List datatype="tokens">Support Infantry</List>
|
---|
55 | <BuffHeal>0</BuffHeal>
|
---|
56 | <LoadingRange>2</LoadingRange>
|
---|
57 | </GarrisonHolder>
|
---|
58 | <Health>
|
---|
59 | <Max>500</Max>
|
---|
60 | </Health>
|
---|
61 | <Identity>
|
---|
62 | <VisibleClasses datatype="tokens">Ranged SiegeTower</VisibleClasses>
|
---|
63 | <GenericName>Siege Tower</GenericName>
|
---|
64 | <Tooltip>Garrison units for transport and to increase firepower.</Tooltip>
|
---|
65 | </Identity>
|
---|
66 | <Loot>
|
---|
67 | <xp>250</xp>
|
---|
68 | <wood>100</wood>
|
---|
69 | <metal>60</metal>
|
---|
70 | </Loot>
|
---|
71 | <Selectable>
|
---|
72 | <Overlay>
|
---|
73 | <Texture>
|
---|
74 | <MainTexture>256x256/rounded_rectangle.png</MainTexture>
|
---|
75 | <MainTextureMask>256x256/rounded_rectangle_mask.png</MainTextureMask>
|
---|
76 | </Texture>
|
---|
77 | </Overlay>
|
---|
78 | </Selectable>
|
---|
79 | <Sound>
|
---|
80 | <SoundGroups>
|
---|
81 | <select>attack/siege/siege_select.xml</select>
|
---|
82 | <order_attack>attack/siege/ram_move.xml</order_attack>
|
---|
83 | <order_walk>attack/siege/ram_move.xml</order_walk>
|
---|
84 | <attack_impact_ranged>attack/impact/arrow_metal.xml</attack_impact_ranged>
|
---|
85 | <attack_ranged>attack/weapon/arrowfly.xml</attack_ranged>
|
---|
86 | <trained>attack/siege/ram_trained.xml</trained>
|
---|
87 | </SoundGroups>
|
---|
88 | </Sound>
|
---|
89 | <StatusBars>
|
---|
90 | <HeightOffset>12.0</HeightOffset>
|
---|
91 | </StatusBars>
|
---|
92 | <Resistance>
|
---|
93 | <Entity>
|
---|
94 | <Damage>
|
---|
95 | <Pierce>50</Pierce>
|
---|
96 | </Damage>
|
---|
97 | </Entity>
|
---|
98 | </Resistance>
|
---|
99 | <UnitMotion>
|
---|
100 | <WalkSpeed op="mul">0.7</WalkSpeed>
|
---|
101 | <Acceleration op="mul">0.7</Acceleration>
|
---|
102 | </UnitMotion>
|
---|
103 | <Vision>
|
---|
104 | <Range>80</Range>
|
---|
105 | </Vision>
|
---|
106 | </Entity>
|
---|