source: ps/trunk/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_javelineer.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.3 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<Entity parent="template_unit_hero_infantry">
3 <Attack>
4 <Ranged>
5 <AttackName>Javelin</AttackName>
6 <Damage>
7 <Pierce>50</Pierce>
8 </Damage>
9 <MaxRange>30</MaxRange>
10 <MinRange>0</MinRange>
11 <PrepareTime>600</PrepareTime>
12 <RepeatTime>1000</RepeatTime>
13 <Delay>0</Delay>
14 <Projectile>
15 <Speed>70</Speed>
16 <Spread>0.8</Spread>
17 <Gravity>35</Gravity>
18 <FriendlyFire>false</FriendlyFire>
19 <LaunchPoint y="3"/>
20 </Projectile>
21 <PreferredClasses datatype="tokens">Human</PreferredClasses>
22 </Ranged>
23 </Attack>
24 <Identity>
25 <GenericName>Hero Infantry Javelineer</GenericName>
26 <VisibleClasses datatype="tokens">Ranged Javelineer</VisibleClasses>
27 <Formations datatype="tokens">
28 special/formations/skirmish
29 </Formations>
30 </Identity>
31 <Resistance>
32 <Entity>
33 <Damage>
34 <Hack op="add">-2</Hack>
35 <Pierce op="add">-2</Pierce>
36 </Damage>
37 </Entity>
38 </Resistance>
39 <Sound>
40 <SoundGroups>
41 <attack_ranged>attack/weapon/javelin_attack.xml</attack_ranged>
42 <attack_impact_ranged>attack/impact/javelin_impact.xml</attack_impact_ranged>
43 </SoundGroups>
44 </Sound>
45 <Turretable/>
46</Entity>
Note: See TracBrowser for help on using the repository browser.