historic_bruno
7d9e98b00e
Makes all actors selectable in Atlas and gives them selection rings (an EditorOnly flag is used in the template for Atlas-only selectables). Adds player colors to Atlas selection rings. Fixes decal selection by falling back to old-style AABBs. Refs #1032. Replaces UnitManager selections with EntitySelection helpers. Adds DrawOverlays to Atlas views, for Atlas-specific rendering. Fixes bug where selection rings conflicted with Move/rotate tool in Atlas simulation test. This was SVN commit r11177.
29 lines
740 B
XML
29 lines
740 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Entity parent="template_gaia">
|
|
<Footprint>
|
|
<Circle radius="4.0"/>
|
|
<Height>2.5</Height>
|
|
</Footprint>
|
|
<Identity>
|
|
<GenericName>Generic Ruins</GenericName>
|
|
<SpecificName>Ruins</SpecificName>
|
|
<Tooltip>These ruins that can be mined for resources.</Tooltip>
|
|
<Icon>gaia/geology_stone_1.png</Icon>
|
|
</Identity>
|
|
<Minimap>
|
|
<Type>stone</Type>
|
|
<Colour r="128" g="128" b="128"/>
|
|
</Minimap>
|
|
<Obstruction>
|
|
<Static width="7.0" depth="7.0"/>
|
|
</Obstruction>
|
|
<ResourceSupply>
|
|
<KillBeforeGather>false</KillBeforeGather>
|
|
<Amount>500</Amount>
|
|
<Type>stone.ruins</Type>
|
|
</ResourceSupply>
|
|
<Selectable>
|
|
<EditorOnly disable=""/>
|
|
</Selectable>
|
|
</Entity>
|