Differential D3136 Diff 14520 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
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||
<Entity filtered=""> | <Entity filtered=""> | ||||
<AIProxy merge=""/> | <AIProxy merge=""/> | ||||
<Footprint merge=""/> | <Footprint merge=""/> | ||||
<Identity merge=""/> | <Identity merge=""/> | ||||
<Minimap merge=""/> | <Minimap merge=""/> | ||||
<!-- When dying, resources lose the unitMotion component, this causes them to have no clearance. | <!-- 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). | 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. | 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. | TODO: this should probably be generalized as a parameter on entity death or something. | ||||
--> | --> | ||||
<Obstruction replace=""> | <Obstruction replace=""> | ||||
<Active>true</Active> | |||||
<BlockMovement>false</BlockMovement> | <BlockMovement>false</BlockMovement> | ||||
<BlockPathfinding>false</BlockPathfinding> | <BlockPathfinding>false</BlockPathfinding> | ||||
<BlockFoundation>false</BlockFoundation> | <BlockFoundation>false</BlockFoundation> | ||||
<BlockConstruction>true</BlockConstruction> | |||||
<DeleteUponConstruction>true</DeleteUponConstruction> | <DeleteUponConstruction>true</DeleteUponConstruction> | ||||
<DisableBlockMovement>false</DisableBlockMovement> | <DisableBlockMovement>false</DisableBlockMovement> | ||||
<DisableBlockPathfinding>false</DisableBlockPathfinding> | <DisableBlockPathfinding>false</DisableBlockPathfinding> | ||||
<Static width="2.0" depth="2.0"/> | <Static width="2.0" depth="2.0"/> | ||||
</Obstruction> | </Obstruction> | ||||
<OverlayRenderer merge=""/> | <OverlayRenderer merge=""/> | ||||
<Ownership merge=""/> | <Ownership merge=""/> | ||||
<Position merge=""/> | <Position merge=""/> | ||||
<ResourceSupply merge=""/> | <ResourceSupply merge=""/> | ||||
<Selectable merge=""/> | <Selectable merge=""/> | ||||
<StatusBars merge=""/> | <StatusBars merge=""/> | ||||
<VisualActor merge=""/> | <VisualActor merge=""/> | ||||
</Entity> | </Entity> |
Wildfire Games · Phabricator