source: ps/trunk/binaries/data/mods/public/simulation/templates/units/theb_siege_fireraiser.xml@ 25061

Last change on this file since 25061 was 25061, checked in by Freagarach, 3 years ago

Add range overlay to artillery.

Structures have them since r20608 / rP20608, but units were excluded there due to their mobility and amounts.
Artillery is not that easily massed and also not very mobile, but has a high range and damage with a low reload time, making it nice to know their approximate range.

Patch by: @Nescio
Differential revision: D3606
Comments by: @Angen, @borg-, @wraitii

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/xml
File size: 1.8 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<Entity parent="template_unit_siege">
3 <Attack>
4 <Ranged>
5 <AttackName>Fire</AttackName>
6 <Damage>
7 <Fire>100</Fire>
8 </Damage>
9 <MaxRange>15</MaxRange>
10 <MinRange>10</MinRange>
11 <PrepareTime>2000</PrepareTime>
12 <RepeatTime>2000</RepeatTime>
13 <Delay>0</Delay>
14 <Projectile>
15 <Speed>10</Speed>
16 <Spread>2</Spread>
17 <Gravity>9.81</Gravity>
18 <FriendlyFire>false</FriendlyFire>
19 <LaunchPoint y="3"/>
20 </Projectile>
21 <RangeOverlay>
22 <LineTexture>outline_border.png</LineTexture>
23 <LineTextureMask>outline_border_mask.png</LineTextureMask>
24 <LineThickness>0.175</LineThickness>
25 </RangeOverlay>
26 </Ranged>
27 </Attack>
28 <Cost>
29 <BuildTime>30</BuildTime>
30 <Resources>
31 <wood>300</wood>
32 <metal>150</metal>
33 </Resources>
34 </Cost>
35 <DeathDamage>
36 <Shape>Circular</Shape>
37 <Range>20</Range>
38 <FriendlyFire>true</FriendlyFire>
39 <Damage>
40 <Fire>600</Fire>
41 </Damage>
42 </DeathDamage>
43 <Footprint replace="">
44 <Square width="6.0" depth="20.0"/>
45 <Height>4.5</Height>
46 </Footprint>
47 <Health>
48 <Max>300</Max>
49 </Health>
50 <Identity>
51 <GenericName>Fire Raiser</GenericName>
52 <SpecificName>Pyrobolos</SpecificName>
53 <Icon>units/hele_siege_lithobolos.png</Icon>
54 </Identity>
55 <Loot>
56 <xp>150</xp>
57 <wood>60</wood>
58 <metal>30</metal>
59 </Loot>
60 <Selectable>
61 <Overlay>
62 <Texture>
63 <MainTexture>128x512/rounded_rectangle.png</MainTexture>
64 <MainTextureMask>128x512/rounded_rectangle_mask.png</MainTextureMask>
65 </Texture>
66 </Overlay>
67 </Selectable>
68 <Vision>
69 <Range>60</Range>
70 </Vision>
71 <VisualActor>
72 <Actor>units/thebans/siege_fireraiser.xml</Actor>
73 </VisualActor>
74</Entity>
Note: See TracBrowser for help on using the repository browser.