Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/templates/template_unit_ship.xml
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||
<Entity parent="template_unit"> | <Entity parent="template_unit"> | ||||
<Armour> | <Armour> | ||||
<Hack>5</Hack> | <Hack>5</Hack> | ||||
<Pierce>10</Pierce> | <Pierce>10</Pierce> | ||||
<Crush>5</Crush> | <Crush>5</Crush> | ||||
</Armour> | </Armour> | ||||
<Cost> | |||||
<Population>1</Population> | |||||
<BuildTime>20</BuildTime> | |||||
<Resources> | |||||
<food>0</food> | |||||
<wood>50</wood> | |||||
<stone>0</stone> | |||||
<metal>0</metal> | |||||
</Resources> | |||||
</Cost> | |||||
<Decay> | <Decay> | ||||
<SinkingAnim>true</SinkingAnim> | <SinkingAnim>true</SinkingAnim> | ||||
<DelayTime>0.0</DelayTime> | <DelayTime>0.0</DelayTime> | ||||
<SinkRate>0.5</SinkRate> | <SinkRate>0.5</SinkRate> | ||||
<SinkAccel>7.0</SinkAccel> | <SinkAccel>7.0</SinkAccel> | ||||
</Decay> | </Decay> | ||||
<Footprint replace=""> | <Footprint replace=""> | ||||
<Square width="6.0" depth="30.0"/> | <Square width="5.0" depth="20.0"/> | ||||
<Height>8.0</Height> | <Height>10.0</Height> | ||||
Nescio: A placeholder value that's not actually used, but is necessary to replace the… | |||||
Not Done Inline ActionsSo when it is merely a placeholder, why change it? Freagarach: So when it is merely a placeholder, why change it? | |||||
Done Inline ActionsSince there needs to be something, we might as well have sensible values with a ratio that matches the overlay texture defined below. Nescio: Since there needs to be something, we might as well have sensible values with a ratio that… | |||||
<MaxSpawnDistance>10</MaxSpawnDistance> | <MaxSpawnDistance>10</MaxSpawnDistance> | ||||
</Footprint> | </Footprint> | ||||
<GarrisonHolder> | |||||
<Max>10</Max> | |||||
<List datatype="tokens">FemaleCitizen Infantry Healer Dog</List> | |||||
<EjectHealth>0</EjectHealth> | |||||
<EjectClassesOnDestroy datatype="tokens">FemaleCitizen Infantry Healer Dog</EjectClassesOnDestroy> | |||||
<BuffHeal>0</BuffHeal> | |||||
<LoadingRange>10</LoadingRange> | |||||
<Pickup>true</Pickup> | |||||
</GarrisonHolder> | |||||
<Health> | <Health> | ||||
<Unhealable>true</Unhealable> | <Unhealable>true</Unhealable> | ||||
<Max>200</Max> | |||||
</Health> | </Health> | ||||
<Identity> | <Identity> | ||||
<GenericName>Ship</GenericName> | |||||
<Classes datatype="tokens">-Organic</Classes> | <Classes datatype="tokens">-Organic</Classes> | ||||
<VisibleClasses datatype="tokens">Ship</VisibleClasses> | <VisibleClasses datatype="tokens">Ship</VisibleClasses> | ||||
<GenericName>Ship</GenericName> | |||||
<Formations disable=""/> | <Formations disable=""/> | ||||
</Identity> | </Identity> | ||||
<Loot> | |||||
<xp>60</xp> | |||||
<food>0</food> | |||||
<wood>50</wood> | |||||
<stone>0</stone> | |||||
<metal>25</metal> | |||||
</Loot> | |||||
<Position> | <Position> | ||||
<Anchor>upright</Anchor> | <Anchor>upright</Anchor> | ||||
<Floating>true</Floating> | <Floating>true</Floating> | ||||
<FloatDepth>0.0</FloatDepth> | <FloatDepth>0.0</FloatDepth> | ||||
<TurnRate>3.0</TurnRate> | <TurnRate>3.0</TurnRate> | ||||
</Position> | </Position> | ||||
<Repairable> | <Repairable> | ||||
<RepairTimeRatio>4.0</RepairTimeRatio> | <RepairTimeRatio>4.0</RepairTimeRatio> | ||||
</Repairable> | </Repairable> | ||||
<ResourceGatherer> | |||||
<MaxDistance>4.0</MaxDistance> | |||||
<BaseSpeed>1.0</BaseSpeed> | |||||
<Capacities> | |||||
<food>40</food> | |||||
<wood>20</wood> | |||||
<stone>20</stone> | |||||
<metal>20</metal> | |||||
</Capacities> | |||||
</ResourceGatherer> | |||||
<Selectable> | <Selectable> | ||||
<Overlay> | <Overlay> | ||||
<Texture> | <Texture> | ||||
<MainTexture>circle/256x256.png</MainTexture> | <MainTexture>circle/256x256.png</MainTexture> | ||||
<MainTextureMask>circle/256x256_mask.png</MainTextureMask> | <MainTextureMask>circle/256x256_mask.png</MainTextureMask> | ||||
</Texture> | </Texture> | ||||
</Overlay> | </Overlay> | ||||
</Selectable> | </Selectable> | ||||
NescioAuthorUnsubmitted Done Inline ActionsThese lines warrant a rebase. Nescio: These lines warrant a rebase. | |||||
NescioAuthorUnsubmitted Done Inline ActionsActually it still seems to work, I just tested, thus no need for a rebase. Nescio: Actually it still seems to work, I just tested, thus no need for a rebase. | |||||
<Sound> | <Sound> | ||||
<SoundGroups> | <SoundGroups> | ||||
<trained>interface/alarm/alarm_create_warship.xml</trained> | <trained>interface/alarm/alarm_create_warship.xml</trained> | ||||
<select>actor/ship/ship_select_01.xml</select> | <select>actor/ship/ship_select_01.xml</select> | ||||
<order_walk>actor/ship/warship_move_01.xml</order_walk> | <order_walk>actor/ship/warship_move_01.xml</order_walk> | ||||
<order_attack>actor/ship/warship_move_01.xml</order_attack> | <order_attack>actor/ship/warship_move_01.xml</order_attack> | ||||
<order_gather>actor/ship/warship_move_01.xml</order_gather> | <order_gather>actor/ship/warship_move_01.xml</order_gather> | ||||
<death>actor/ship/warship_death.xml</death> | <death>actor/ship/warship_death.xml</death> | ||||
</SoundGroups> | </SoundGroups> | ||||
</Sound> | </Sound> | ||||
<StatusBars> | <StatusBars> | ||||
<BarWidth>6.0</BarWidth> | <BarWidth>6.0</BarWidth> | ||||
<BarHeight>0.5</BarHeight> | <BarHeight>0.5</BarHeight> | ||||
<HeightOffset>6.0</HeightOffset> | <HeightOffset>6.0</HeightOffset> | ||||
</StatusBars> | </StatusBars> | ||||
<UnitMotion> | <UnitMotion> | ||||
<PassabilityClass>ship</PassabilityClass> | <PassabilityClass>ship</PassabilityClass> | ||||
</UnitMotion> | </UnitMotion> | ||||
<Vision> | |||||
<Range>90</Range> | |||||
</Vision> | |||||
</Entity> | </Entity> |
Wildfire Games · Phabricator
A placeholder value that's not actually used, but is necessary to replace the <Footprint/Circle> inherited from template_unit.xml.