Differential D3136 Diff 14167 binaries/data/mods/public/simulation/templates/special/filter/corpse.xml
Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/templates/special/filter/corpse.xml
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||
<Entity filtered=""> | <Entity filtered=""> | ||||
<!-- We only want to include components which are necessary (for the visual previewing of an entity) | <!-- We only want to include components which are necessary (for the visual previewing of an entity) | ||||
and safe (i.e. won't do anything that affects the synchronised simulation state), so additions | and safe (i.e. won't do anything that affects the synchronised simulation state), so additions | ||||
to this list should be carefully considered --> | to this list should be carefully considered --> | ||||
<Attack merge=""/> <!-- Needed for the Actor Viewer --> | <Attack merge=""/> <!-- Needed for the Actor Viewer --> | ||||
<BuildRestrictions merge=""/> | <BuildRestrictions merge=""/> | ||||
<!-- Corpses should include decay components and activate them --> | <!-- Corpses should include decay components and activate them --> | ||||
<Decay merge=""> | <Decay merge=""> | ||||
<Active>true</Active> | <Active>true</Active> | ||||
</Decay> | </Decay> | ||||
<Footprint merge=""/> | <Footprint merge=""/> | ||||
<Identity merge=""/> | <Identity merge=""/> | ||||
<!-- Disable the Obstruction component (if there is one) so it doesn't affect pathfinding | <!-- Disable the Obstruction component (if there is one) so it doesn't affect pathfinding | ||||
(but can still be used for testing this entity for collisions against others) --> | (but can still be used for testing this entity for collisions against others) --> | ||||
<Obstruction merge=""> | <Obstruction merge=""> | ||||
<Active>false</Active> | <DisableBlockMovement>true</DisableBlockMovement> | ||||
<DisableBlockPathfinding>true</DisableBlockPathfinding> | |||||
</Obstruction> | </Obstruction> | ||||
<Ownership merge=""/> | <Ownership merge=""/> | ||||
<Position merge=""/> | <Position merge=""/> | ||||
<Sound merge=""/> <!-- Needed for the Actor Viewer --> | <Sound merge=""/> <!-- Needed for the Actor Viewer --> | ||||
<UnitMotion merge=""/> <!-- Needed for the Actor Viewer --> | <UnitMotion merge=""/> <!-- Needed for the Actor Viewer --> | ||||
<!-- Corpses should remain visible in fog-of-war (for the owner only) --> | <!-- Corpses should remain visible in fog-of-war (for the owner only) --> | ||||
<Visibility> | <Visibility> | ||||
<Corpse>true</Corpse> | <Corpse>true</Corpse> | ||||
</Visibility> | </Visibility> | ||||
<!-- Corpses shouldn't display silhouettes (especially since they're often half underground) --> | <!-- Corpses shouldn't display silhouettes (especially since they're often half underground) --> | ||||
<VisualActor merge=""> | <VisualActor merge=""> | ||||
<SilhouetteDisplay>false</SilhouetteDisplay> | <SilhouetteDisplay>false</SilhouetteDisplay> | ||||
</VisualActor> | </VisualActor> | ||||
</Entity> | </Entity> |
Wildfire Games · Phabricator