Differential D3466 Diff 15660 binaries/data/mods/public/simulation/templates/template_structure_defensive_wall_tower.xml
Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/templates/template_structure_defensive_wall_tower.xml
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||
<Entity parent="template_structure_defensive_wall"> | <Entity parent="template_structure_defensive_wall"> | ||||
<Attack> | |||||
<Ranged> | |||||
<AttackName>Bow</AttackName> | |||||
<Damage> | |||||
<Hack>0</Hack> | |||||
<Pierce>6</Pierce> | |||||
<Crush>0</Crush> | |||||
</Damage> | |||||
<MaxRange>40</MaxRange> | |||||
<MinRange>12</MinRange> | |||||
<PrepareTime>1200</PrepareTime> | |||||
<RepeatTime>2000</RepeatTime> | |||||
<Delay>0</Delay> | |||||
<Projectile> | |||||
<Speed>100.0</Speed> | |||||
<Spread>1.5</Spread> | |||||
<Gravity>50.0</Gravity> | |||||
<FriendlyFire>false</FriendlyFire> | |||||
<LaunchPoint y="3"/> | |||||
</Projectile> | |||||
<PreferredClasses datatype="tokens">Human</PreferredClasses> | |||||
<RangeOverlay> | |||||
<LineTexture>outline_border.png</LineTexture> | |||||
<LineTextureMask>outline_border_mask.png</LineTextureMask> | |||||
<LineThickness>0.175</LineThickness> | |||||
</RangeOverlay> | |||||
</Ranged> | |||||
</Attack> | |||||
<BuildingAI> | |||||
<DefaultArrowCount>0</DefaultArrowCount> | |||||
<GarrisonArrowMultiplier>1</GarrisonArrowMultiplier> | |||||
<GarrisonArrowClasses>Infantry</GarrisonArrowClasses> | |||||
</BuildingAI> | |||||
<Cost> | <Cost> | ||||
<BuildTime>80</BuildTime> | <BuildTime>16</BuildTime> | ||||
<Resources> | <Resources> | ||||
<stone>90</stone> | <stone>16</stone> | ||||
</Resources> | </Resources> | ||||
</Cost> | </Cost> | ||||
<GarrisonHolder> | <GarrisonHolder> | ||||
<Max>2</Max> | <Max>2</Max> | ||||
<List datatype="tokens">Support Infantry</List> | |||||
</GarrisonHolder> | </GarrisonHolder> | ||||
<Health> | <Health> | ||||
<Max>1000</Max> | <Max>1400</Max> | ||||
<SpawnEntityOnDeath>decay|rubble/rubble_stone_wall_tower</SpawnEntityOnDeath> | <SpawnEntityOnDeath>decay|rubble/rubble_stone_wall_tower</SpawnEntityOnDeath> | ||||
</Health> | </Health> | ||||
<Identity> | <Identity> | ||||
<GenericName>Wall Turret</GenericName> | <GenericName>Wall Turret</GenericName> | ||||
<SelectionGroupName>template_structure_defensive_wall_tower</SelectionGroupName> | <SelectionGroupName>template_structure_defensive_wall_tower</SelectionGroupName> | ||||
<Tooltip>Garrison Infantry for additional arrows.</Tooltip> | |||||
<Classes datatype="tokens">WallTower</Classes> | <Classes datatype="tokens">WallTower</Classes> | ||||
<Icon>structures/tower.png</Icon> | <Icon>structures/tower.png</Icon> | ||||
</Identity> | </Identity> | ||||
<Loot> | <Loot> | ||||
<stone>18</stone> | <stone>18</stone> | ||||
</Loot> | </Loot> | ||||
<Obstruction> | <Obstruction> | ||||
<ControlPersist/> | <ControlPersist/> | ||||
</Obstruction> | </Obstruction> | ||||
<Sound> | <Sound> | ||||
<SoundGroups> | <SoundGroups> | ||||
<select>interface/select/building/sel_tower.xml</select> | <select>interface/select/building/sel_tower.xml</select> | ||||
<constructed>interface/complete/building/complete_tower.xml</constructed> | |||||
<attack_ranged>attack/weapon/bow_attack.xml</attack_ranged> | |||||
<attack_impact_ranged>attack/impact/arrow_impact.xml</attack_impact_ranged> | |||||
</SoundGroups> | </SoundGroups> | ||||
</Sound> | </Sound> | ||||
<Vision> | <TurretHolder> | ||||
<Range>60</Range> | <TurretPoints> | ||||
</Vision> | <One> | ||||
<X>1.5</X> | |||||
<Y>19.4</Y> | |||||
<Z>0</Z> | |||||
</One> | |||||
<Two> | |||||
<X>-1.5</X> | |||||
<Y>19.4</Y> | |||||
<Z>0</Z> | |||||
</Two> | |||||
</TurretPoints> | |||||
</TurretHolder> | |||||
<Upgrade> | |||||
<Tower> | |||||
<Entity>structures/{civ}/defense_tower</Entity> | |||||
<Time>200</Time> | |||||
<Cost> | |||||
<wood>100</wood> | |||||
<stone>100</stone> | |||||
</Cost> | |||||
<CheckPlacementRestrictions/> | |||||
</Tower> | |||||
</Upgrade> | |||||
<VisualActor> | <VisualActor> | ||||
<FoundationActor>structures/fndn_3x3_tower.xml</FoundationActor> | <FoundationActor>structures/fndn_3x3_tower.xml</FoundationActor> | ||||
</VisualActor> | </VisualActor> | ||||
</Entity> | </Entity> |
Wildfire Games · Phabricator