forked from mirrors/0ad
3x3 Destruction mesh for example purposes. Others will need to make other rubble meshes based on this example.
Place and "delete/destroy" a Greek house to see in action. This was SVN commit r12719.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<actor version="1">
|
||||
<group>
|
||||
<variant name="decal_dirt_3x3">
|
||||
<decal angle="0" depth="22" offsetx="0" offsetz="0" width="22"/>
|
||||
<textures>
|
||||
<texture file="props/decal_destruct_medium.png" name="baseTex"/>
|
||||
</textures>
|
||||
</variant>
|
||||
</group>
|
||||
<material>terrain_base.xml</material>
|
||||
</actor>
|
||||
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<actor version="1">
|
||||
<castshadow/>
|
||||
<group>
|
||||
<variant name="rubble 3x3">
|
||||
<mesh>props/rubble_wood_3x3.dae</mesh>
|
||||
<props>
|
||||
<prop actor="particle/flame.xml" attachpoint="flame1"/>
|
||||
<prop actor="particle/smoke.xml" attachpoint="flame1"/>
|
||||
<prop actor="particle/flame_jav.xml" attachpoint="flame2"/>
|
||||
<prop actor="particle/smoke_jav.xml" attachpoint="flame2"/>
|
||||
<prop actor="props/structures/decals/destruct_3x3.xml" attachpoint="root"/>
|
||||
</props>
|
||||
<textures>
|
||||
<texture file="props/wood_burned.png" name="baseTex"/>
|
||||
</textures>
|
||||
</variant>
|
||||
</group>
|
||||
<material>basic_trans.xml</material>
|
||||
</actor>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Entity parent="template_rubble">
|
||||
<VisualActor>
|
||||
<Actor>structures/fndn_3x3.xml</Actor>
|
||||
<Actor>structures/destruct_3x3.xml</Actor>
|
||||
</VisualActor>
|
||||
</Entity>
|
||||
|
||||
Reference in New Issue
Block a user