forked from 0ad/0ad
Ykkrosh
b8925fbbc9
Pass terrain passability data to AI scripts. Expand pathfinder passability data to 16 bits per tile, to allow more classes. Support 16-bit ints in serializer. Partially support JS typed arrays. Allow foundations to be placed on top of units (fixes #499). Stop farms and fishes blocking movement (fixes #534). Add obstruction flags to allow finer control over what they block. Associate entity IDs with obstruction shapes, to allow finding colliding entities. Support moving to the edge of a target entity with inactive obstruction. Support foundation entities in AI. Support playing as non-hele civs. This was SVN commit r8899.
26 lines
681 B
XML
26 lines
681 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Entity parent="template_entity_quasi">
|
|
<Identity>
|
|
<Civ>gaia</Civ>
|
|
<GenericName>Gaia</GenericName>
|
|
</Identity>
|
|
<Vision>
|
|
<Range>0</Range>
|
|
<RetainInFog>true</RetainInFog>
|
|
<AlwaysVisible>false</AlwaysVisible>
|
|
</Vision>
|
|
<StatusBars>
|
|
<BarWidth>2.0</BarWidth>
|
|
<BarHeight>0.333</BarHeight>
|
|
<HeightOffset>5.0</HeightOffset>
|
|
</StatusBars>
|
|
<OverlayRenderer/>
|
|
<Obstruction>
|
|
<Active>true</Active>
|
|
<BlockMovement>true</BlockMovement>
|
|
<BlockPathfinding>true</BlockPathfinding>
|
|
<BlockFoundation>true</BlockFoundation>
|
|
<BlockConstruction>true</BlockConstruction>
|
|
</Obstruction>
|
|
</Entity>
|