Differential D2595 Diff 11162 binaries/data/mods/public/simulation/templates/units/maur_elephant_archer_b.xml
Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/templates/units/maur_elephant_archer_b.xml
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||
<Entity parent="template_unit_cavalry_ranged_archer"> | <Entity parent="template_unit_elephant_ranged_archer"> | ||||
<Armour> | |||||
<Hack op="add">1</Hack> | |||||
<Pierce op="add">2</Pierce> | |||||
</Armour> | |||||
<Attack> | |||||
<Capture disable=""/> | |||||
<Ranged> | |||||
<Damage> | |||||
<Hack op="mul">1.5</Hack> | |||||
<Pierce op="mul">1.5</Pierce> | |||||
<Crush op="mul">1.5</Crush> | |||||
</Damage> | |||||
<RepeatTime op="mul">0.75</RepeatTime> | |||||
</Ranged> | |||||
</Attack> | |||||
<Cost> | |||||
<Resources> | |||||
<food>200</food> | |||||
<wood>80</wood> | |||||
<metal>20</metal> | |||||
</Resources> | |||||
</Cost> | |||||
<Footprint replace=""> | |||||
<Circle radius="3.5"/> | |||||
<Height>8.0</Height> | |||||
</Footprint> | |||||
<Health> | |||||
<Max op="mul">2.0</Max> | |||||
</Health> | |||||
<Identity> | <Identity> | ||||
<Civ>maur</Civ> | <Civ>maur</Civ> | ||||
<VisibleClasses datatype="tokens">-Cavalry Elephant</VisibleClasses> | |||||
<GenericName>Elephant Archer</GenericName> | <GenericName>Elephant Archer</GenericName> | ||||
<Icon>units/maur_cavalry_archer.png</Icon> | <Icon>units/maur_cavalry_archer.png</Icon> | ||||
<RequiredTechnology>phase_town</RequiredTechnology> | <RequiredTechnology>phase_town</RequiredTechnology> | ||||
<SelectionGroupName>units/maur_elephant_archer_b</SelectionGroupName> | <SelectionGroupName>units/maur_elephant_archer_b</SelectionGroupName> | ||||
<SpecificName>Vachii Gaja</SpecificName> | <SpecificName>Vachii Gaja</SpecificName> | ||||
</Identity> | </Identity> | ||||
<Loot> | |||||
<xp>260</xp> | |||||
<food>25</food> | |||||
<wood>10</wood> | |||||
<stone>0</stone> | |||||
<metal>5</metal> | |||||
</Loot> | |||||
<Promotion> | <Promotion> | ||||
<Entity>units/maur_elephant_archer_a</Entity> | <Entity>units/maur_elephant_archer_a</Entity> | ||||
</Promotion> | </Promotion> | ||||
<ResourceGatherer disable=""/> | |||||
<Selectable> | |||||
<Overlay> | |||||
<Texture> | |||||
<MainTexture>circle/256x256.png</MainTexture> | |||||
<MainTextureMask>circle/256x256_mask.png</MainTextureMask> | |||||
</Texture> | |||||
</Overlay> | |||||
</Selectable> | |||||
<Sound> | |||||
<SoundGroups> | |||||
<select>actor/fauna/animal/elephant_select.xml</select> | |||||
<order_walk>actor/fauna/animal/elephant_order.xml</order_walk> | |||||
<order_attack>actor/fauna/animal/elephant_attack_order.xml</order_attack> | |||||
<death>actor/fauna/animal/elephant_death.xml</death> | |||||
<trained>actor/fauna/animal/elephant_trained.xml</trained> | |||||
</SoundGroups> | |||||
</Sound> | |||||
<UnitMotion> | |||||
<PassabilityClass>large</PassabilityClass> | |||||
<WalkSpeed op="mul">0.5</WalkSpeed> | |||||
Silier: in result this is 0.975 * template_unit.walkspeed, not changed in new templates | |||||
NescioAuthorUnsubmitted Done Inline ActionsTrue, cavalry practically doubles walk speed (×1.95), which is subsequently halved for elephants (×0.5). Multiplying by ×0.975 seemed unnecessarily precise and about the same as ×1.0, therefore I omitted it. I believe the difference is negligible and won't distort gameplay balance. For comparison: New (left) vs old (right). Nescio: True, cavalry practically doubles walk speed (×1.95), which is subsequently halved for… | |||||
</UnitMotion> | |||||
<VisualActor> | <VisualActor> | ||||
<Actor>units/mauryas/elephantry_archer_b_m.xml</Actor> | <Actor>units/mauryas/elephantry_archer_b_m.xml</Actor> | ||||
</VisualActor> | </VisualActor> | ||||
</Entity> | </Entity> |
Wildfire Games · Phabricator
in result this is 0.975 * template_unit.walkspeed, not changed in new templates