forked from 0ad/0ad
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.
34 lines
874 B
XML
34 lines
874 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Entity parent="template_structure">
|
|
<BuildRestrictions>
|
|
<Category>Special</Category>
|
|
</BuildRestrictions>
|
|
<Footprint>
|
|
<Square width="62" depth="15.5"/>
|
|
<Height>10.0</Height>
|
|
</Footprint>
|
|
<Health>
|
|
<Max>200000</Max>
|
|
</Health>
|
|
<Identity>
|
|
<Civ>gaia</Civ>
|
|
<GenericName>Bridge</GenericName>
|
|
<SpecificName>Bridge</SpecificName>
|
|
<History>Roman engineers constructed bridges using concrete, which they called Opus caementicium.</History>
|
|
<Icon>gaia/special_blank.png</Icon>
|
|
</Identity>
|
|
<Obstruction>
|
|
<Static width="59" depth="15"/>
|
|
</Obstruction>
|
|
<Selectable>
|
|
<EditorOnly/>
|
|
</Selectable>
|
|
<Vision>
|
|
<Range>72</Range>
|
|
<RetainInFog>true</RetainInFog>
|
|
</Vision>
|
|
<VisualActor>
|
|
<Actor>props/special/eyecandy/bridge_edge_hele.xml</Actor>
|
|
</VisualActor>
|
|
</Entity>
|