Differential D215 Diff 780 binaries/data/mods/public/simulation/templates/special_filter/resource.xml
Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/templates/special_filter/resource.xml
- This file was added.
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
<?xml version="1.0" encoding="utf-8"?> | |||||
<Entity filtered=""> | |||||
<AIProxy merge=""/> | |||||
<Footprint merge=""/> | |||||
<Identity merge=""/> | |||||
<Minimap merge=""/> | |||||
<!-- When dying, resources lose the unitMotion component, this causes them to have no clearance. | |||||
Since unit obstructions no longer have a radius, this makes them unreachable in some cases (see #3530). | |||||
Instead, create a static, unblocking (see #3530 for why) static obstruction. | |||||
TODO: this should probably be generalized as a parameter on entity death or something. | |||||
--> | |||||
<Obstruction replace=""> | |||||
<Active>true</Active> | |||||
<BlockMovement>false</BlockMovement> | |||||
<BlockPathfinding>false</BlockPathfinding> | |||||
<BlockFoundation>false</BlockFoundation> | |||||
<BlockConstruction>false</BlockConstruction> | |||||
<DisableBlockMovement>false</DisableBlockMovement> | |||||
<DisableBlockPathfinding>false</DisableBlockPathfinding> | |||||
<Static width="2.0" depth="2.0"/> | |||||
</Obstruction> | |||||
<OverlayRenderer merge=""/> | |||||
<Ownership merge=""/> | |||||
<Position merge=""/> | |||||
<ResourceSupply merge=""/> | |||||
<Selectable merge=""/> | |||||
<StatusBars merge=""/> | |||||
<VisualActor merge=""/> | |||||
</Entity> |
Wildfire Games · Phabricator