source: ps/trunk/binaries/data/mods/public/simulation/templates/template_unit_champion_infantry_archer.xml@ 25123

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

Technically seperate Turrets from GarrisonHolder.

While they often look alike, their behaviour is totally different.
This split has some implications:

  • There are now separate auras for garrisoning and turrets.
  • Entities can now have both turret points and garrison slots, independent of eachother.

In general previous behaviour is maintained as much as possible.

Differential revision: D3150
Comments by: @Nescio, @wraitii
Tested by: @v32itas

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/xml
File size: 1.4 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<Entity parent="template_unit_champion_infantry">
3 <Attack>
4 <Ranged>
5 <AttackName>Bow</AttackName>
6 <Damage>
7 <Pierce>13.5</Pierce>
8 </Damage>
9 <MaxRange>60</MaxRange>
10 <MinRange>0</MinRange>
11 <PrepareTime>500</PrepareTime>
12 <RepeatTime>1000</RepeatTime>
13 <Delay>0</Delay>
14 <Projectile>
15 <Speed>100</Speed>
16 <Spread>0.8</Spread>
17 <Gravity>50</Gravity>
18 <FriendlyFire>false</FriendlyFire>
19 <LaunchPoint y="3"/>
20 </Projectile>
21 <PreferredClasses datatype="tokens">Human</PreferredClasses>
22 </Ranged>
23 </Attack>
24 <Health>
25 <Max>120</Max>
26 </Health>
27 <Identity>
28 <VisibleClasses datatype="tokens">Ranged Archer</VisibleClasses>
29 <GenericName>Champion Archer</GenericName>
30 <Formations datatype="tokens">
31 special/formations/skirmish
32 </Formations>
33 </Identity>
34 <Resistance>
35 <Entity>
36 <Damage>
37 <Hack op="add">-2</Hack>
38 <Pierce op="add">-2</Pierce>
39 </Damage>
40 </Entity>
41 </Resistance>
42 <Sound>
43 <SoundGroups>
44 <attack_impact_ranged>attack/impact/arrow_impact.xml</attack_impact_ranged>
45 <attack_ranged>attack/weapon/bow_attack.xml</attack_ranged>
46 </SoundGroups>
47 </Sound>
48 <Turretable/>
49 <UnitMotion>
50 <WalkSpeed op="mul">1.2</WalkSpeed>
51 </UnitMotion>
52</Entity>
Note: See TracBrowser for help on using the repository browser.