Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/templates/template_unit_hero.xml
Show All 24 Lines | <Cost> | ||||
</Resources> | </Resources> | ||||
</Cost> | </Cost> | ||||
<Health> | <Health> | ||||
<Max>600</Max> | <Max>600</Max> | ||||
</Health> | </Health> | ||||
<Identity> | <Identity> | ||||
<GenericName>Hero</GenericName> | <GenericName>Hero</GenericName> | ||||
<Classes datatype="tokens">Organic Human</Classes> | <Classes datatype="tokens">Organic Human</Classes> | ||||
<VisibleClasses datatype="tokens">Hero Soldier</VisibleClasses> | <VisibleClasses datatype="tokens">Hero</VisibleClasses> | ||||
<RequiredTechnology>phase_city</RequiredTechnology> | <RequiredTechnology>phase_city</RequiredTechnology> | ||||
</Identity> | </Identity> | ||||
<Loot> | <Loot> | ||||
<xp>400</xp> | <xp>400</xp> | ||||
<food>10</food> | <food>10</food> | ||||
<wood>0</wood> | <wood>0</wood> | ||||
<stone>0</stone> | <stone>0</stone> | ||||
<metal>25</metal> | <metal>25</metal> | ||||
</Loot> | </Loot> | ||||
<Minimap> | <Minimap> | ||||
<Type>hero</Type> | <Type>hero</Type> | ||||
</Minimap> | </Minimap> | ||||
<Selectable> | <Selectable> | ||||
<Overlay> | <Overlay> | ||||
<AlwaysVisible/> | <AlwaysVisible/> | ||||
<Texture> | <Texture> | ||||
<MainTexture>star/256x256.png</MainTexture> | <MainTexture>star/256x256.png</MainTexture> | ||||
<MainTextureMask>star/256x256_mask.png</MainTextureMask> | <MainTextureMask>star/256x256_mask.png</MainTextureMask> | ||||
</Texture> | </Texture> | ||||
</Overlay> | </Overlay> | ||||
</Selectable> | </Selectable> | ||||
<Sound> | <Sound> | ||||
<SoundGroups> | <SoundGroups> | ||||
<attack>attack/weapon/sword.xml</attack> | <attack>attack/weapon/sword.xml</attack> | ||||
<death>actor/human/death/death.xml</death> | <death>actor/human/death/{gender}_death.xml</death> | ||||
<select>voice/{lang}/civ/civ_{gender}_select.xml</select> | |||||
<order_walk>voice/{lang}/civ/civ_{gender}_walk.xml</order_walk> | |||||
<order_attack>voice/{lang}/civ/civ_{gender}_attack.xml</order_attack> | |||||
<order_gather>voice/{lang}/civ/civ_{gender}_gather.xml</order_gather> | |||||
<order_repair>voice/{lang}/civ/civ_{gender}_repair.xml</order_repair> | |||||
<order_garrison>voice/{lang}/civ/civ_{gender}_garrison.xml</order_garrison> | |||||
</SoundGroups> | </SoundGroups> | ||||
</Sound> | </Sound> | ||||
<TrainingRestrictions> | <TrainingRestrictions> | ||||
<Category>Hero</Category> | <Category>Hero</Category> | ||||
</TrainingRestrictions> | </TrainingRestrictions> | ||||
<UnitMotion> | <UnitMotion> | ||||
<WalkSpeed>10.5</WalkSpeed> | <WalkSpeed>10.5</WalkSpeed> | ||||
<Run> | <Run> | ||||
<Speed>22.5</Speed> | <Speed>22.5</Speed> | ||||
</Run> | </Run> | ||||
</UnitMotion> | </UnitMotion> | ||||
<Vision> | <Vision> | ||||
<Range>88</Range> | <Range>88</Range> | ||||
</Vision> | </Vision> | ||||
</Entity> | </Entity> |
Wildfire Games · Phabricator