1
0
forked from 0ad/0ad

[Art] Add a special rubble actor for the Rice Paddy

Reported by: @Gurken_Khan on the forum
This was SVN commit r28079.
This commit is contained in:
wowgetoffyourcellphone 2024-05-09 16:37:33 +00:00
parent 086e95d39c
commit 14ac8fd6e7
3 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<actor version="1">
<group>
<variant name="decal_mud_6x6">
<textures>
<texture file="gaia/tropic_cliff_mud_rice.png" name="baseTex"/>
<texture file="gaia/tropic_cliff_mud_norm.png" name="normTex"/>
<texture file="gaia/tropic_cliff_mud_spec.png" name="specTex"/>
</textures>
</variant>
</group>
<group>
<variant name="a">
<decal angle="0" depth="26" offsetx="0" offsetz="0" width="26"/>
</variant>
<variant name="b">
<decal angle="0" depth="26" offsetx="0" offsetz="0" width="-26"/>
</variant>
<variant name="c">
<decal angle="0" depth="-26" offsetx="0" offsetz="0" width="26"/>
</variant>
<variant name="d">
<decal angle="0" depth="-26" offsetx="0" offsetz="0" width="-26"/>
</variant>
</group>
<material>terrain_norm_spec.xml</material>
</actor>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_rubble">
<Decay>
<DelayTime>30.0</DelayTime>
</Decay>
<VisualActor>
<Actor>structures/plot_field_rice_mud.xml</Actor>
</VisualActor>
</Entity>

View File

@ -6,6 +6,9 @@
<wood>60</wood>
</Resources>
</Cost>
<Health>
<SpawnEntityOnDeath>decay|rubble/rubble_field_rice</SpawnEntityOnDeath>
</Health>
<Footprint>
<Square depth="22.0" width="22.0"/>
<Height>2.0</Height>