Ticket #4941: cav.diff

File cav.diff, 12.0 KB (added by Grugnas, 6 years ago)
  • binaries/data/mods/public/simulation/templates/template_unit_cavalry.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    22<Entity parent="template_unit">
    33  <Armour>
    44    <Hack>3</Hack>
    55    <Pierce>1</Pierce>
    66    <Crush>15</Crush>
    77  </Armour>
    88  <Attack>
    99    <Capture>
    1010      <Value>2</Value>
    1111      <MaxRange>4</MaxRange>
    1212      <RepeatTime>1000</RepeatTime>
    1313      <RestrictedClasses datatype="tokens">Field Palisade SiegeWall StoneWall</RestrictedClasses>
    1414    </Capture>
    1515    <Slaughter>
    1616      <Hack>100.0</Hack>
    1717      <Pierce>0.0</Pierce>
    1818      <Crush>0.0</Crush>
    1919      <MaxRange>4.0</MaxRange>
    2020    </Slaughter>
    2121  </Attack>
    2222  <Cost>
    2323    <Population>1</Population>
    24     <BuildTime>12</BuildTime>
     24    <BuildTime>15</BuildTime>
    2525    <Resources>
    2626      <food>100</food>
    2727    </Resources>
    2828  </Cost>
    2929  <Footprint replace="">
    3030    <Square width="4" depth="6"/>
    3131    <Height>7.5</Height>
    3232  </Footprint>
    3333  <Health>
    34     <Max>160</Max>
     34    <Max>150</Max>
    3535  </Health>
    3636  <Identity>
    3737    <Classes datatype="tokens">CitizenSoldier Human Organic</Classes>
    3838    <VisibleClasses datatype="tokens">Cavalry Citizen Soldier</VisibleClasses>
    3939    <GenericName>Cavalry</GenericName>
    4040    <Rank>Basic</Rank>
    4141    <Formations datatype="tokens">
    4242      special/formations/wedge
    4343    </Formations>
    4444  </Identity>
    4545  <Loot>
    4646    <xp>130</xp>
    4747    <food>10</food>
    4848    <wood>5</wood>
    4949    <stone>0</stone>
    5050    <metal>0</metal>
    5151  </Loot>
    5252  <Position>
    5353    <Anchor>pitch</Anchor>
    5454  </Position>
    5555  <Promotion>
    5656    <RequiredXp>150</RequiredXp>
    5757  </Promotion>
    5858  <ResourceGatherer>
    5959    <MaxDistance>2.0</MaxDistance>
    6060    <BaseSpeed>1.0</BaseSpeed>
    6161    <Rates>
    6262      <food.meat>5</food.meat>
    6363    </Rates>
    6464    <Capacities>
    6565      <food>20</food>
    6666      <wood>20</wood>
    6767      <stone>20</stone>
    6868      <metal>20</metal>
    6969    </Capacities>
    7070  </ResourceGatherer>
    7171  <Selectable>
    7272    <Overlay>
    7373      <Texture>
    7474        <MainTexture>circle/128x128.png</MainTexture>
    7575        <MainTextureMask>circle/128x128_mask.png</MainTextureMask>
    7676      </Texture>
    7777    </Overlay>
    7878  </Selectable>
    7979  <Sound>
    8080    <SoundGroups>
    8181      <select>voice/{lang}/civ/civ_{gender}_select.xml</select>
    8282      <order_walk>voice/{lang}/civ/civ_{gender}_walk.xml</order_walk>
    8383      <order_attack>voice/{lang}/civ/civ_{gender}_attack.xml</order_attack>
    8484      <order_gather>voice/{lang}/civ/civ_{gender}_gather.xml</order_gather>
    8585      <order_garrison>voice/{lang}/civ/civ_{gender}_garrison.xml</order_garrison>
    8686      <walk>actor/mounted/movement/walk.xml</walk>
    8787      <run>actor/mounted/movement/walk.xml</run>
    8888      <attack_impact_ranged>attack/impact/arrow_metal.xml</attack_impact_ranged>
    8989      <attack_melee>attack/weapon/sword.xml</attack_melee>
    9090      <attack_ranged>attack/weapon/arrowfly.xml</attack_ranged>
    9191      <death>actor/fauna/death/death_horse.xml</death>
    9292      <trained>interface/alarm/alarm_create_cav.xml</trained>
    9393    </SoundGroups>
    9494  </Sound>
    9595  <StatusBars>
    9696    <HeightOffset>6.5</HeightOffset>
    9797  </StatusBars>
    9898  <UnitMotion>
    9999    <WalkSpeed op="mul">1.95</WalkSpeed>
    100100    <Run>
    101101      <Speed op="mul">1.95</Speed>
    102102    </Run>
    103103  </UnitMotion>
    104104  <Vision>
    105105    <Range>92</Range>
    106106  </Vision>
    107107</Entity>
  • binaries/data/mods/public/simulation/templates/template_unit_cavalry_melee_spearman.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    22<Entity parent="template_unit_cavalry_melee">
    33  <Attack>
    44    <Melee>
    55      <Hack>6.0</Hack>
    66      <Pierce>13.0</Pierce>
    7       <RepeatTime>3500</RepeatTime>
     7      <RepeatTime>3000</RepeatTime>
     8      <Bonuses>
     9          <BonusCavMelee>
     10            <Classes>Cavalry</Classes>
     11            <Multiplier>1.25</Multiplier>
     12          </BonusCavMelee>
     13      </Bonuses>
    814    </Melee>
    915  </Attack>
    1016  <Cost>
    1117    <Resources>
    1218      <wood>50</wood>
    1319    </Resources>
    1420  </Cost>
    1521  <Identity>
    1622    <VisibleClasses datatype="tokens">Spear</VisibleClasses>
    1723    <GenericName>Cavalry Spearman</GenericName>
    1824  </Identity>
    1925  <UnitMotion>
    2026    <WalkSpeed op="mul">1.25</WalkSpeed>
    2127    <Run>
    2228      <Speed op="mul">1.25</Speed>
    2329    </Run>
    2430  </UnitMotion>
    2531</Entity>
  • binaries/data/mods/public/simulation/templates/template_unit_cavalry_ranged.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    22<Entity parent="template_unit_cavalry">
    33  <Attack>
    44    <Ranged>
    55      <Hack>0</Hack>
    66      <Pierce>9.0</Pierce>
    77      <Crush>0</Crush>
    88      <MaxRange>16.0</MaxRange>
    99      <MinRange>0.0</MinRange>
    1010      <ProjectileSpeed>75.0</ProjectileSpeed>
    1111      <Gravity>9.81</Gravity>
    1212      <PrepareTime>1000</PrepareTime>
    1313      <RepeatTime>1500</RepeatTime>
    1414      <Spread>3.0</Spread>
    1515      <Delay>0</Delay>
    1616      <PreferredClasses datatype="tokens">Human</PreferredClasses>
    1717    </Ranged>
    1818  </Attack>
    1919  <Health>
    20     <Max>120</Max>
     20    <Max>100</Max>
    2121  </Health>
    2222  <Identity>
    2323    <GenericName>Ranged Cavalry</GenericName>
    2424    <VisibleClasses datatype="tokens">Ranged</VisibleClasses>
    2525    <Formations datatype="tokens">
    2626      special/formations/skirmish
    2727    </Formations>
    2828  </Identity>
    2929</Entity>
  • binaries/data/mods/public/simulation/templates/template_unit_cavalry_ranged_javelinist.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    22<Entity parent="template_unit_cavalry_ranged">
    33  <Attack>
    44    <Ranged>
    55      <Hack>0</Hack>
    66      <Pierce>18.0</Pierce>
    77      <Crush>0</Crush>
    88      <MaxRange>28.0</MaxRange>
    99      <MinRange>0.0</MinRange>
    1010      <ProjectileSpeed>62.5</ProjectileSpeed>
    1111      <PrepareTime>750</PrepareTime>
    1212      <RepeatTime>1250</RepeatTime>
    13       <Spread>3.0</Spread>
     13      <Spread>4.0</Spread>
    1414    </Ranged>
    1515  </Attack>
    1616  <Cost>
    1717    <Resources>
    1818      <wood>50</wood>
    1919    </Resources>
    2020  </Cost>
    2121  <Identity>
    2222    <VisibleClasses datatype="tokens">Javelin</VisibleClasses>
    2323    <GenericName>Cavalry Skirmisher</GenericName>
    2424  </Identity>
    2525</Entity>
  • binaries/data/mods/public/simulation/templates/template_unit_champion_cavalry.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    22<Entity parent="template_unit_champion">
    33  <Armour>
    44    <Hack>7</Hack>
    55    <Pierce>5</Pierce>
    66    <Crush>20</Crush>
    77  </Armour>
    88  <Cost>
    99    <Population>1</Population>
    1010    <BuildTime>40</BuildTime>
    1111    <Resources>
    1212      <food>250</food>
    1313      <wood>0</wood>
    1414      <stone>0</stone>
    1515      <metal>100</metal>
    1616    </Resources>
    1717  </Cost>
    1818  <Footprint>
    1919    <Circle radius="2.5"/>
    2020    <Height>5.0</Height>
    2121  </Footprint>
    2222  <Health>
    23     <Max>270</Max>
     23    <Max>200</Max>
    2424  </Health>
    2525  <Identity>
    2626    <GenericName>Champion Cavalry</GenericName>
    2727    <VisibleClasses datatype="tokens">Cavalry</VisibleClasses>
    2828    <Formations datatype="tokens">
    2929      special/formations/wedge
    3030    </Formations>
    3131  </Identity>
    3232  <Position>
    3333    <Anchor>pitch</Anchor>
    3434  </Position>
    3535  <Selectable>
    3636    <Overlay>
    3737      <Texture>
    3838        <MainTexture>arrow/256x256.png</MainTexture>
    3939        <MainTextureMask>arrow/256x256_mask.png</MainTextureMask>
    4040      </Texture>
    4141    </Overlay>
    4242  </Selectable>
    4343  <Sound>
    4444    <SoundGroups>
    4545      <select>voice/{lang}/civ/civ_{gender}_select.xml</select>
    4646      <order_walk>voice/{lang}/civ/civ_{gender}_walk.xml</order_walk>
    4747      <order_attack>voice/{lang}/civ/civ_{gender}_attack.xml</order_attack>
    4848      <order_gather>voice/{lang}/civ/civ_{gender}_gather.xml</order_gather>
    4949      <order_garrison>voice/{lang}/civ/civ_{gender}_garrison.xml</order_garrison>
    5050      <walk>actor/mounted/movement/walk.xml</walk>
    5151      <run>actor/mounted/movement/walk.xml</run>
    5252      <attack_melee>attack/weapon/sword.xml</attack_melee>
    5353      <death>actor/fauna/death/death_horse.xml</death>
    5454      <trained>interface/alarm/alarm_create_cav.xml</trained>
    5555    </SoundGroups>
    5656  </Sound>
    5757  <StatusBars>
    5858    <HeightOffset>6.5</HeightOffset>
    5959  </StatusBars>
    6060  <UnitMotion>
    6161    <WalkSpeed op="mul">2.25</WalkSpeed>
    6262    <Run>
    6363      <Speed op="mul">2.25</Speed>
    6464    </Run>
    6565  </UnitMotion>
    6666  <Vision>
    6767    <Range>96</Range>
    6868  </Vision>
    6969</Entity>
  • binaries/data/mods/public/simulation/templates/template_unit_champion_cavalry_spearman.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    22<Entity parent="template_unit_champion_cavalry">
    33  <Armour>
    44    <Hack op="add">1</Hack>
    55    <Pierce op="add">2</Pierce>
    66  </Armour>
    77  <Attack>
    88    <Melee>
    99      <Hack>12.0</Hack>
    1010      <Pierce>26.0</Pierce>
    1111      <Crush>0.0</Crush>
    1212      <MaxRange>5.0</MaxRange>
    1313      <PrepareTime>500</PrepareTime>
    14       <RepeatTime>3500</RepeatTime>
     14      <RepeatTime>3000</RepeatTime>
    1515      <PreferredClasses datatype="tokens">Human</PreferredClasses>
     16      <Bonuses>
     17          <BonusCavMelee>
     18            <Classes>Cavalry</Classes>
     19            <Multiplier>1.25</Multiplier>
     20          </BonusCavMelee>
     21      </Bonuses>
    1622    </Melee>
    1723  </Attack>
    1824  <Cost>
    1925    <Resources>
    2026      <wood>100</wood>
    2127    </Resources>
    2228  </Cost>
    2329  <Health>
    2430    <Max>300</Max>
    2531  </Health>
    2632  <Identity>
    2733    <VisibleClasses datatype="tokens">Melee Spear</VisibleClasses>
    2834    <GenericName>Champion Cavalry Spearman</GenericName>
    2935  </Identity>
    3036  <UnitMotion>
    3137    <WalkSpeed op="mul">1.2</WalkSpeed>
    3238    <Run>
    3339      <Speed op="mul">1.2</Speed>
    3440    </Run>
    3541  </UnitMotion>
    3642</Entity>
  • binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_spearman.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    22<Entity parent="template_unit_hero_cavalry">
    33  <Armour>
    44    <Hack op="add">1</Hack>
    55    <Pierce op="add">2</Pierce>
    66  </Armour>
    77  <Attack>
    88    <Melee>
    99      <Hack>24.0</Hack>
    1010      <Pierce>52.0</Pierce>
    1111      <Crush>0.0</Crush>
    1212      <MaxRange>6.0</MaxRange>
    1313      <PrepareTime>500</PrepareTime>
    14       <RepeatTime>3500</RepeatTime>
     14      <RepeatTime>3000</RepeatTime>
    1515      <PreferredClasses datatype="tokens">Human</PreferredClasses>
     16      <Bonuses>
     17          <BonusCavMelee>
     18            <Classes>Cavalry</Classes>
     19            <Multiplier>1.25</Multiplier>
     20          </BonusCavMelee>
     21      </Bonuses>
    1622    </Melee>
    1723  </Attack>
    1824  <Identity>
    1925    <VisibleClasses datatype="tokens">Melee Spear</VisibleClasses>
    2026    <GenericName>Hero Cavalry Spearman</GenericName>
    2127  </Identity>
    2228  <UnitMotion>
    2329    <WalkSpeed op="mul">1.0</WalkSpeed>
    2430    <Run>
    2531      <Speed op="mul">1.0</Speed>
    2632    </Run>
    2733  </UnitMotion>
    2834</Entity>