1
0
forked from 0ad/0ad

Fix AI attacking some bridges.

Our bridges are nothing more than actors, so using one is correct.
We also delete the template files to prevent others from making the same
mistake (if someone encountered and fixed the bug in a mod they have
modified templates anyway).

Patch by: @Langbart
Differential revision: https://code.wildfiregames.com/D4297
Reviewed by: @bb
Comments by: @Angen
Fixes #6352

This was SVN commit r25972.
This commit is contained in:
Freagarach 2021-10-26 16:34:44 +00:00
parent b4fbbed379
commit a00c2674b5
19 changed files with 34 additions and 92 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,29 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure">
<Capturable disable=""/>
<Footprint>
<Square width="62" depth="15.5"/>
<Height>10.0</Height>
</Footprint>
<Health>
<Max>200000</Max>
</Health>
<Identity>
<GenericName>Bridge</GenericName>
<SpecificName>Bridge</SpecificName>
<Icon>gaia/special_blank.png</Icon>
</Identity>
<Minimap disable=""/>
<Obstruction>
<Obstructions>
<Edge width="59" depth="4" x="0" z="5"/>
</Obstructions>
</Obstruction>
<ProductionQueue disable=""/>
<Selectable>
<EditorOnly/>
</Selectable>
<VisualActor>
<Actor>props/special/eyecandy/bridge_edge_hele.xml</Actor>
</VisualActor>
</Entity>

View File

@ -1,29 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure">
<Capturable disable=""/>
<Footprint>
<Square width="62" depth="15.5"/>
<Height>10.0</Height>
</Footprint>
<Health>
<Max>200000</Max>
</Health>
<Identity>
<GenericName>Wooden Bridge</GenericName>
<SpecificName>Wooden Bridge</SpecificName>
<Icon>gaia/special_blank.png</Icon>
</Identity>
<Minimap disable=""/>
<Obstruction>
<Obstructions>
<Edge width="59" depth="4" x="0" z="5"/>
</Obstructions>
</Obstruction>
<ProductionQueue disable=""/>
<Selectable>
<EditorOnly/>
</Selectable>
<VisualActor>
<Actor>props/special/eyecandy/bridge_edge_wooden.xml</Actor>
</VisualActor>
</Entity>