Ticket #4941: cav.diff
File cav.diff, 12.0 KB (added by , 6 years ago) |
---|
-
binaries/data/mods/public/simulation/templates/template_unit_cavalry.xml
1 1 <?xml version="1.0" encoding="utf-8"?> 2 2 <Entity parent="template_unit"> 3 3 <Armour> 4 4 <Hack>3</Hack> 5 5 <Pierce>1</Pierce> 6 6 <Crush>15</Crush> 7 7 </Armour> 8 8 <Attack> 9 9 <Capture> 10 10 <Value>2</Value> 11 11 <MaxRange>4</MaxRange> 12 12 <RepeatTime>1000</RepeatTime> 13 13 <RestrictedClasses datatype="tokens">Field Palisade SiegeWall StoneWall</RestrictedClasses> 14 14 </Capture> 15 15 <Slaughter> 16 16 <Hack>100.0</Hack> 17 17 <Pierce>0.0</Pierce> 18 18 <Crush>0.0</Crush> 19 19 <MaxRange>4.0</MaxRange> 20 20 </Slaughter> 21 21 </Attack> 22 22 <Cost> 23 23 <Population>1</Population> 24 <BuildTime>1 2</BuildTime>24 <BuildTime>15</BuildTime> 25 25 <Resources> 26 26 <food>100</food> 27 27 </Resources> 28 28 </Cost> 29 29 <Footprint replace=""> 30 30 <Square width="4" depth="6"/> 31 31 <Height>7.5</Height> 32 32 </Footprint> 33 33 <Health> 34 <Max>1 60</Max>34 <Max>150</Max> 35 35 </Health> 36 36 <Identity> 37 37 <Classes datatype="tokens">CitizenSoldier Human Organic</Classes> 38 38 <VisibleClasses datatype="tokens">Cavalry Citizen Soldier</VisibleClasses> 39 39 <GenericName>Cavalry</GenericName> 40 40 <Rank>Basic</Rank> 41 41 <Formations datatype="tokens"> 42 42 special/formations/wedge 43 43 </Formations> 44 44 </Identity> 45 45 <Loot> 46 46 <xp>130</xp> 47 47 <food>10</food> 48 48 <wood>5</wood> 49 49 <stone>0</stone> 50 50 <metal>0</metal> 51 51 </Loot> 52 52 <Position> 53 53 <Anchor>pitch</Anchor> 54 54 </Position> 55 55 <Promotion> 56 56 <RequiredXp>150</RequiredXp> 57 57 </Promotion> 58 58 <ResourceGatherer> 59 59 <MaxDistance>2.0</MaxDistance> 60 60 <BaseSpeed>1.0</BaseSpeed> 61 61 <Rates> 62 62 <food.meat>5</food.meat> 63 63 </Rates> 64 64 <Capacities> 65 65 <food>20</food> 66 66 <wood>20</wood> 67 67 <stone>20</stone> 68 68 <metal>20</metal> 69 69 </Capacities> 70 70 </ResourceGatherer> 71 71 <Selectable> 72 72 <Overlay> 73 73 <Texture> 74 74 <MainTexture>circle/128x128.png</MainTexture> 75 75 <MainTextureMask>circle/128x128_mask.png</MainTextureMask> 76 76 </Texture> 77 77 </Overlay> 78 78 </Selectable> 79 79 <Sound> 80 80 <SoundGroups> 81 81 <select>voice/{lang}/civ/civ_{gender}_select.xml</select> 82 82 <order_walk>voice/{lang}/civ/civ_{gender}_walk.xml</order_walk> 83 83 <order_attack>voice/{lang}/civ/civ_{gender}_attack.xml</order_attack> 84 84 <order_gather>voice/{lang}/civ/civ_{gender}_gather.xml</order_gather> 85 85 <order_garrison>voice/{lang}/civ/civ_{gender}_garrison.xml</order_garrison> 86 86 <walk>actor/mounted/movement/walk.xml</walk> 87 87 <run>actor/mounted/movement/walk.xml</run> 88 88 <attack_impact_ranged>attack/impact/arrow_metal.xml</attack_impact_ranged> 89 89 <attack_melee>attack/weapon/sword.xml</attack_melee> 90 90 <attack_ranged>attack/weapon/arrowfly.xml</attack_ranged> 91 91 <death>actor/fauna/death/death_horse.xml</death> 92 92 <trained>interface/alarm/alarm_create_cav.xml</trained> 93 93 </SoundGroups> 94 94 </Sound> 95 95 <StatusBars> 96 96 <HeightOffset>6.5</HeightOffset> 97 97 </StatusBars> 98 98 <UnitMotion> 99 99 <WalkSpeed op="mul">1.95</WalkSpeed> 100 100 <Run> 101 101 <Speed op="mul">1.95</Speed> 102 102 </Run> 103 103 </UnitMotion> 104 104 <Vision> 105 105 <Range>92</Range> 106 106 </Vision> 107 107 </Entity> -
binaries/data/mods/public/simulation/templates/template_unit_cavalry_melee_spearman.xml
1 1 <?xml version="1.0" encoding="utf-8"?> 2 2 <Entity parent="template_unit_cavalry_melee"> 3 3 <Attack> 4 4 <Melee> 5 5 <Hack>6.0</Hack> 6 6 <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> 8 14 </Melee> 9 15 </Attack> 10 16 <Cost> 11 17 <Resources> 12 18 <wood>50</wood> 13 19 </Resources> 14 20 </Cost> 15 21 <Identity> 16 22 <VisibleClasses datatype="tokens">Spear</VisibleClasses> 17 23 <GenericName>Cavalry Spearman</GenericName> 18 24 </Identity> 19 25 <UnitMotion> 20 26 <WalkSpeed op="mul">1.25</WalkSpeed> 21 27 <Run> 22 28 <Speed op="mul">1.25</Speed> 23 29 </Run> 24 30 </UnitMotion> 25 31 </Entity> -
binaries/data/mods/public/simulation/templates/template_unit_cavalry_ranged.xml
1 1 <?xml version="1.0" encoding="utf-8"?> 2 2 <Entity parent="template_unit_cavalry"> 3 3 <Attack> 4 4 <Ranged> 5 5 <Hack>0</Hack> 6 6 <Pierce>9.0</Pierce> 7 7 <Crush>0</Crush> 8 8 <MaxRange>16.0</MaxRange> 9 9 <MinRange>0.0</MinRange> 10 10 <ProjectileSpeed>75.0</ProjectileSpeed> 11 11 <Gravity>9.81</Gravity> 12 12 <PrepareTime>1000</PrepareTime> 13 13 <RepeatTime>1500</RepeatTime> 14 14 <Spread>3.0</Spread> 15 15 <Delay>0</Delay> 16 16 <PreferredClasses datatype="tokens">Human</PreferredClasses> 17 17 </Ranged> 18 18 </Attack> 19 19 <Health> 20 <Max>1 20</Max>20 <Max>100</Max> 21 21 </Health> 22 22 <Identity> 23 23 <GenericName>Ranged Cavalry</GenericName> 24 24 <VisibleClasses datatype="tokens">Ranged</VisibleClasses> 25 25 <Formations datatype="tokens"> 26 26 special/formations/skirmish 27 27 </Formations> 28 28 </Identity> 29 29 </Entity> -
binaries/data/mods/public/simulation/templates/template_unit_cavalry_ranged_javelinist.xml
1 1 <?xml version="1.0" encoding="utf-8"?> 2 2 <Entity parent="template_unit_cavalry_ranged"> 3 3 <Attack> 4 4 <Ranged> 5 5 <Hack>0</Hack> 6 6 <Pierce>18.0</Pierce> 7 7 <Crush>0</Crush> 8 8 <MaxRange>28.0</MaxRange> 9 9 <MinRange>0.0</MinRange> 10 10 <ProjectileSpeed>62.5</ProjectileSpeed> 11 11 <PrepareTime>750</PrepareTime> 12 12 <RepeatTime>1250</RepeatTime> 13 <Spread> 3.0</Spread>13 <Spread>4.0</Spread> 14 14 </Ranged> 15 15 </Attack> 16 16 <Cost> 17 17 <Resources> 18 18 <wood>50</wood> 19 19 </Resources> 20 20 </Cost> 21 21 <Identity> 22 22 <VisibleClasses datatype="tokens">Javelin</VisibleClasses> 23 23 <GenericName>Cavalry Skirmisher</GenericName> 24 24 </Identity> 25 25 </Entity> -
binaries/data/mods/public/simulation/templates/template_unit_champion_cavalry.xml
1 1 <?xml version="1.0" encoding="utf-8"?> 2 2 <Entity parent="template_unit_champion"> 3 3 <Armour> 4 4 <Hack>7</Hack> 5 5 <Pierce>5</Pierce> 6 6 <Crush>20</Crush> 7 7 </Armour> 8 8 <Cost> 9 9 <Population>1</Population> 10 10 <BuildTime>40</BuildTime> 11 11 <Resources> 12 12 <food>250</food> 13 13 <wood>0</wood> 14 14 <stone>0</stone> 15 15 <metal>100</metal> 16 16 </Resources> 17 17 </Cost> 18 18 <Footprint> 19 19 <Circle radius="2.5"/> 20 20 <Height>5.0</Height> 21 21 </Footprint> 22 22 <Health> 23 <Max>2 70</Max>23 <Max>200</Max> 24 24 </Health> 25 25 <Identity> 26 26 <GenericName>Champion Cavalry</GenericName> 27 27 <VisibleClasses datatype="tokens">Cavalry</VisibleClasses> 28 28 <Formations datatype="tokens"> 29 29 special/formations/wedge 30 30 </Formations> 31 31 </Identity> 32 32 <Position> 33 33 <Anchor>pitch</Anchor> 34 34 </Position> 35 35 <Selectable> 36 36 <Overlay> 37 37 <Texture> 38 38 <MainTexture>arrow/256x256.png</MainTexture> 39 39 <MainTextureMask>arrow/256x256_mask.png</MainTextureMask> 40 40 </Texture> 41 41 </Overlay> 42 42 </Selectable> 43 43 <Sound> 44 44 <SoundGroups> 45 45 <select>voice/{lang}/civ/civ_{gender}_select.xml</select> 46 46 <order_walk>voice/{lang}/civ/civ_{gender}_walk.xml</order_walk> 47 47 <order_attack>voice/{lang}/civ/civ_{gender}_attack.xml</order_attack> 48 48 <order_gather>voice/{lang}/civ/civ_{gender}_gather.xml</order_gather> 49 49 <order_garrison>voice/{lang}/civ/civ_{gender}_garrison.xml</order_garrison> 50 50 <walk>actor/mounted/movement/walk.xml</walk> 51 51 <run>actor/mounted/movement/walk.xml</run> 52 52 <attack_melee>attack/weapon/sword.xml</attack_melee> 53 53 <death>actor/fauna/death/death_horse.xml</death> 54 54 <trained>interface/alarm/alarm_create_cav.xml</trained> 55 55 </SoundGroups> 56 56 </Sound> 57 57 <StatusBars> 58 58 <HeightOffset>6.5</HeightOffset> 59 59 </StatusBars> 60 60 <UnitMotion> 61 61 <WalkSpeed op="mul">2.25</WalkSpeed> 62 62 <Run> 63 63 <Speed op="mul">2.25</Speed> 64 64 </Run> 65 65 </UnitMotion> 66 66 <Vision> 67 67 <Range>96</Range> 68 68 </Vision> 69 69 </Entity> -
binaries/data/mods/public/simulation/templates/template_unit_champion_cavalry_spearman.xml
1 1 <?xml version="1.0" encoding="utf-8"?> 2 2 <Entity parent="template_unit_champion_cavalry"> 3 3 <Armour> 4 4 <Hack op="add">1</Hack> 5 5 <Pierce op="add">2</Pierce> 6 6 </Armour> 7 7 <Attack> 8 8 <Melee> 9 9 <Hack>12.0</Hack> 10 10 <Pierce>26.0</Pierce> 11 11 <Crush>0.0</Crush> 12 12 <MaxRange>5.0</MaxRange> 13 13 <PrepareTime>500</PrepareTime> 14 <RepeatTime>3 500</RepeatTime>14 <RepeatTime>3000</RepeatTime> 15 15 <PreferredClasses datatype="tokens">Human</PreferredClasses> 16 <Bonuses> 17 <BonusCavMelee> 18 <Classes>Cavalry</Classes> 19 <Multiplier>1.25</Multiplier> 20 </BonusCavMelee> 21 </Bonuses> 16 22 </Melee> 17 23 </Attack> 18 24 <Cost> 19 25 <Resources> 20 26 <wood>100</wood> 21 27 </Resources> 22 28 </Cost> 23 29 <Health> 24 30 <Max>300</Max> 25 31 </Health> 26 32 <Identity> 27 33 <VisibleClasses datatype="tokens">Melee Spear</VisibleClasses> 28 34 <GenericName>Champion Cavalry Spearman</GenericName> 29 35 </Identity> 30 36 <UnitMotion> 31 37 <WalkSpeed op="mul">1.2</WalkSpeed> 32 38 <Run> 33 39 <Speed op="mul">1.2</Speed> 34 40 </Run> 35 41 </UnitMotion> 36 42 </Entity> -
binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_spearman.xml
1 1 <?xml version="1.0" encoding="utf-8"?> 2 2 <Entity parent="template_unit_hero_cavalry"> 3 3 <Armour> 4 4 <Hack op="add">1</Hack> 5 5 <Pierce op="add">2</Pierce> 6 6 </Armour> 7 7 <Attack> 8 8 <Melee> 9 9 <Hack>24.0</Hack> 10 10 <Pierce>52.0</Pierce> 11 11 <Crush>0.0</Crush> 12 12 <MaxRange>6.0</MaxRange> 13 13 <PrepareTime>500</PrepareTime> 14 <RepeatTime>3 500</RepeatTime>14 <RepeatTime>3000</RepeatTime> 15 15 <PreferredClasses datatype="tokens">Human</PreferredClasses> 16 <Bonuses> 17 <BonusCavMelee> 18 <Classes>Cavalry</Classes> 19 <Multiplier>1.25</Multiplier> 20 </BonusCavMelee> 21 </Bonuses> 16 22 </Melee> 17 23 </Attack> 18 24 <Identity> 19 25 <VisibleClasses datatype="tokens">Melee Spear</VisibleClasses> 20 26 <GenericName>Hero Cavalry Spearman</GenericName> 21 27 </Identity> 22 28 <UnitMotion> 23 29 <WalkSpeed op="mul">1.0</WalkSpeed> 24 30 <Run> 25 31 <Speed op="mul">1.0</Speed> 26 32 </Run> 27 33 </UnitMotion> 28 34 </Entity>