1
0
forked from 0ad/0ad

trying to create a 'whale' object that moves around and must be killed first (probably by warships). Then fishing boats can gather from it. I get an error though when I try to place it in Atlas. Can someone take a look at it for me? <3

This was SVN commit r8518.
This commit is contained in:
Michael D. Hafer 2010-11-01 15:22:43 +00:00
parent 52851faeb6
commit 6351102705

View File

@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_fauna">
<Identity>
<Civ>gaia</Civ>
<GenericName>Whale</GenericName>
<SpecificName>Humpback Whale</SpecificName>
<Tooltip>Collect food from this bountiful oceanic resource.</Tooltip>
<Icon>gaia/fauna_fish.png</Icon>
</Identity>
<VisualActor>
<Actor>fauna/whale.xml</Actor>
</VisualActor>
<Health>
<DeathType>corpse</DeathType>
<Max>500</Max>
<RegenRate>1</RegenRate>
<Healable>false</Healable>
<Repairable>false</Repairable>
</Health>
<UnitMotion>
<WalkSpeed>2.0</WalkSpeed>
<Run>
<Speed>6.0</Speed>
</Run>
</UnitMotion>
<Footprint>
<Circle radius="5.0"/>
<Height>2.5</Height>
</Footprint>
<Obstruction>
<Unit radius="0.1"/>
</Obstruction>
<Position>
<Altitude>-4.0</Altitude>
<Floating>true</Floating>
</Position>
<AnimalAI>
<RoamDistance>20.0</RoamDistance>
<FleeDistance>40.0</FleeDistance>
<RoamTimeMin>10000</RoamTimeMin>
<RoamTimeMax>30000</RoamTimeMax>
<FeedTimeMin>1000</FeedTimeMin>
<FeedTimeMax>2000</FeedTimeMax>
</AnimalAI>
<ResourceSupply>
<KillBeforeGather>true</KillBeforeGather>
<Amount>2000</Amount>
<Type>food.fish</Type>
</ResourceSupply>
</Entity>