1
0
forked from 0ad/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:
Michael D. Hafer 2012-09-29 21:43:55 +00:00
parent 03261b8ade
commit 439f67b5d8
9 changed files with 51 additions and 1 deletions

View File

@ -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>

View File

@ -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.

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_rubble"> <Entity parent="template_rubble">
<VisualActor> <VisualActor>
<Actor>structures/fndn_3x3.xml</Actor> <Actor>structures/destruct_3x3.xml</Actor>
</VisualActor> </VisualActor>
</Entity> </Entity>