1
0
forked from 0ad/0ad

Use the new arrow variants to reduce duplication for spart

This was SVN commit r24909.
This commit is contained in:
Stan 2021-02-13 23:51:34 +00:00
parent 808af6148f
commit 3da97821e7
11 changed files with 8 additions and 49 deletions

View File

@ -2,16 +2,10 @@
<actor version="1">
<castshadow/>
<group>
<variant frequency="1" name="RoR">
<animations>
<animation event="0.5" load="0.0" name="attack_ranged" speed="100"/>
</animations>
<variant frequency="1" name="RoR" file="structures/defensive_building.xml">
<mesh>structural/spart_ballista_tower.dae</mesh>
<props>
<prop actor="props/structures/decals/dirt_2x2.xml" attachpoint="root"/>
<prop actor="props/units/weapons/arrow_front.xml" attachpoint="loaded-projectile"/>
<prop actor="props/units/weapons/arrow_front.xml" attachpoint="projectile"/>
<prop attachpoint=""/>
</props>
<textures>
<texture file="structural/sparta_struct.png" name="baseTex"/>

View File

@ -23,7 +23,6 @@
<props>
<prop actor="props/structures/decals/spart_barracks.xml" attachpoint="root"/>
<prop actor="props/structures/spartans/barracks_nature.xml" attachpoint="root"/>
<prop attachpoint=""/>
</props>
<textures>
<texture file="structural/sparta_struct.png" name="baseTex"/>

View File

@ -2,15 +2,10 @@
<actor version="1">
<castshadow/>
<group>
<variant frequency="1" name="Spartan CivicCenter">
<animations>
<animation event="0.5" load="0.0" name="attack_ranged" speed="100"/>
</animations>
<variant frequency="1" name="Spartan CivicCenter" file="structures/defensive_building.xml">
<mesh>structural/sparta_civic_center.dae</mesh>
<props>
<prop actor="props/structures/decals/dirt_5x5.xml" attachpoint="root"/>
<prop actor="props/units/weapons/arrow_front.xml" attachpoint="loaded-projectile"/>
<prop actor="props/units/weapons/arrow_front.xml" attachpoint="projectile"/>
<prop actor="props/structures/spartans/civic_center_nature.xml" attachpoint="root"/>
<prop actor="flora/trees/mediterranean_cypress.xml" attachpoint="bush"/>
<prop actor="flora/trees/mediterranean_cypress.xml" attachpoint="bush_1"/>

View File

@ -2,10 +2,7 @@
<actor version="1">
<castshadow/>
<group>
<variant frequency="1" name="Hellenes_Civic_Centre">
<animations>
<animation event="0.5" load="0.0" name="attack_ranged" speed="100"/>
</animations>
<variant frequency="1" name="Hellenes_Civic_Centre" file="structures/defensive_building.xml">
<mesh>structural/spart_cc_struct.dae</mesh>
<props>
<prop actor="props/structures/spartans/civic_centre_decor.xml" attachpoint="root"/>
@ -15,8 +12,6 @@
<prop actor="props/structures/spartans/civic_centre_struct_b.xml" attachpoint="root"/>
<prop actor="props/structures/spartans/civic_centre_shields.xml" attachpoint="root"/>
<prop actor="props/structures/spartans/civic_centre_tiles.xml" attachpoint="root"/>
<prop actor="props/units/weapons/arrow_front.xml" attachpoint="loaded-projectile"/>
<prop actor="props/units/weapons/arrow_front.xml" attachpoint="projectile"/>
</props>
<textures>
<texture file="structural/hele_struct.dds" name="baseTex"/>

View File

@ -2,15 +2,10 @@
<actor version="1">
<castshadow/>
<group>
<variant frequency="1" name="Spartan Tower">
<animations>
<animation event="0.5" load="0.0" name="attack_ranged" speed="100"/>
</animations>
<variant frequency="1" name="Spartan Tower" file="structures/defensive_building.xml">
<mesh>structural/spart_defense_tower.dae</mesh>
<props>
<prop actor="props/structures/decals/spart_1x1.xml" attachpoint="root"/>
<prop actor="props/units/weapons/arrow_front.xml" attachpoint="loaded-projectile"/>
<prop actor="props/units/weapons/arrow_front.xml" attachpoint="projectile"/>
<prop actor="props/structures/spartans/defense_tower_nature.xml" attachpoint="root"/>
</props>
<textures>

View File

@ -2,15 +2,10 @@
<actor version="1">
<castshadow/>
<group>
<variant frequency="1" name="SpartanFortress">
<animations>
<animation event="0.5" load="0.0" name="attack_ranged" speed="100"/>
</animations>
<variant frequency="1" name="SpartanFortress" file="structures/defensive_building.xml">
<mesh>structural/spart_fortress.dae</mesh>
<props>
<prop actor="props/structures/decals/spart_5x5.xml" attachpoint="root"/>
<prop actor="props/units/weapons/arrow_front.xml" attachpoint="loaded-projectile"/>
<prop actor="props/units/weapons/arrow_front.xml" attachpoint="projectile"/>
</props>
<textures>
<texture file="structural/sparta_struct.png" name="baseTex"/>

View File

@ -2,7 +2,7 @@
<actor version="1">
<castshadow/>
<group>
<variant frequency="100" name="Hellenes Fortress">
<variant frequency="100" name="Hellenes Fortress" file="structures/defensive_building.xml">
<mesh>structural/hele_fortress_up.dae</mesh>
<props>
<prop actor="props/structures/spartans/fortress_shields.xml" attachpoint="root"/>
@ -10,7 +10,6 @@
<prop actor="props/structures/hellenes/fortress_tile_b.xml" attachpoint="root"/>
<prop actor="props/structures/hellenes/fortress_props_up.xml" attachpoint="root"/>
<prop actor="props/structures/decals/dirt_5x5.xml" attachpoint="root"/>
<prop actor="props/units/weapons/arrow_front.xml" attachpoint="projectile"/>
</props>
<textures>
<texture file="structural/hele_struct_b.dds" name="baseTex"/>

View File

@ -7,7 +7,6 @@
<props>
<prop actor="props/structures/decals/dirt_4x4.xml" attachpoint="root"/>
<prop actor="props/structures/decals/celt_barracks.xml" attachpoint="root"/>
<prop attachpoint=""/>
</props>
<textures>
<texture file="structural/sparta_struct.png" name="baseTex"/>

View File

@ -2,15 +2,10 @@
<actor version="1">
<castshadow/>
<group>
<variant frequency="1" name="Spartan Sentry Tower">
<animations>
<animation event="0.5" load="0.0" name="attack_ranged" speed="100"/>
</animations>
<variant frequency="1" name="Spartan Sentry Tower" file="structures/defensive_building.xml">
<mesh>structural/spart_sentry_tower.dae</mesh>
<props>
<prop actor="props/structures/decals/spart_1x1.xml" attachpoint="root"/>
<prop actor="props/units/weapons/arrow_front.xml" attachpoint="loaded-projectile"/>
<prop actor="props/units/weapons/arrow_front.xml" attachpoint="projectile"/>
</props>
<textures>
<texture file="structural/sparta_struct.png" name="baseTex"/>

View File

@ -2,16 +2,10 @@
<actor version="1">
<castshadow/>
<group>
<variant frequency="1" name="Spartan Tower">
<animations>
<animation event="0.5" load="0.0" name="attack_ranged" speed="100"/>
</animations>
<variant frequency="1" name="Spartan Tower" file="structures/defensive_building.xml">
<mesh>structural/spart_tower_bolt.dae</mesh>
<props>
<prop actor="props/structures/decals/spart_1x1.xml" attachpoint="root"/>
<prop actor="props/units/weapons/bolt_tower.xml" attachpoint="loaded-projectile"/>
<prop actor="props/units/weapons/bolt_tower.xml" attachpoint="projectile"/>
<prop attachpoint=""/>
</props>
<textures>
<texture file="structural/sparta_struct.png" name="baseTex"/>

View File

@ -7,7 +7,6 @@
<props>
<prop actor="props/structures/decals/spart_5x5.xml" attachpoint="root"/>
<prop actor="props/structures/decals/iber_corral_mud.xml" attachpoint="root"/>
<prop attachpoint=""/>
</props>
<textures>
<texture file="structural/sparta_struct.png" name="baseTex"/>