Differential D2595 Diff 11162 binaries/data/mods/public/simulation/templates/template_unit_elephant_ranged.xml
Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/templates/template_unit_elephant_ranged.xml
- This file was added.
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/xml \ No newline at end of property |
<?xml version="1.0" encoding="utf-8"?> | |||||
<Entity parent="template_unit_elephant"> | |||||
<Armour> | |||||
<Hack>4</Hack> | |||||
<Pierce>3</Pierce> | |||||
<Crush>15</Crush> | |||||
</Armour> | |||||
<Attack> | |||||
<Ranged> | |||||
<Damage> | |||||
<Hack>0</Hack> | |||||
<Pierce>9</Pierce> | |||||
<Crush>0</Crush> | |||||
</Damage> | |||||
<MaxRange>16</MaxRange> | |||||
<MinRange>0</MinRange> | |||||
<PrepareTime>1000</PrepareTime> | |||||
<RepeatTime>1500</RepeatTime> | |||||
<Delay>0</Delay> | |||||
<Projectile> | |||||
<Speed>75</Speed> | |||||
<Spread>3</Spread> | |||||
<Gravity>9.81</Gravity> | |||||
<LaunchPoint y="3"/> | |||||
</Projectile> | |||||
<PreferredClasses datatype="tokens">Human</PreferredClasses> | |||||
</Ranged> | |||||
bb: I see why you add it, not sure if we should. In my secondary attack branch, I plan to allow… | |||||
NescioAuthorUnsubmitted Done Inline ActionsIn principle the *ranged* template step could be omitted and merged with the archer, i.e. template_unit_elephant_archer.xml, which results in less duplication. The *infantry* and *cavalry* equivalents do have such a step, though. I don't really care in this case. Nescio: In principle the `*ranged*` template step could be omitted and merged with the archer, i.e. | |||||
</Attack> | |||||
<Identity> | |||||
<VisibleClasses datatype="tokens">Ranged</VisibleClasses> | |||||
<GenericName>Ranged Elephant</GenericName> | |||||
<Formations datatype="tokens"> | |||||
special/formations/skirmish | |||||
</Formations> | |||||
</Identity> | |||||
</Entity> |
Wildfire Games · Phabricator
I see why you add it, not sure if we should. In my secondary attack branch, I plan to allow arbitrary names for Ranged and Melee, so those could be changed in bow javelin etc. In that system defining this here is useless. Probably meh it for now