1
0
forked from 0ad/0ad

Added rubble_stone_6x6 and set to CC deaths

This was SVN commit r12734.
This commit is contained in:
Enrique 2012-10-06 14:04:18 +00:00
parent 45de2907ea
commit fc294e5ff9
6 changed files with 160 additions and 115 deletions

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<actor version="1">
<group>
<variant name="decal_dirt_6x6">
<decal angle="0" depth="22" offsetx="0" offsetz="0" width="22"/>
<textures>
<texture file="props/decal_destruct_large.png" name="baseTex"/>
</textures>
</variant>
</group>
<material>terrain_base.xml</material>
</actor>

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<actor version="1">
<castshadow/>
<group>
<variant name="stone rubble 6x6">
<mesh>props/rubble_stone_6x6.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_6x6.xml" attachpoint="root"/>
</props>
<textures>
<texture file="props/rubble_stone.png" name="baseTex"/>
<texture file="props/ao/rubble_stone_6x6_AO.png" name="aoTex"/>
</textures>
</variant>
</group>
<material>basic_trans_ao.xml</material>
</actor>

Binary file not shown.

Binary file not shown.

View File

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

View File

@ -1,115 +1,115 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_civic">
<Armour>
<Hack>20.0</Hack>
<Pierce>40</Pierce>
<Crush>10.0</Crush>
<Foundation>
<Hack>5.0</Hack>
<Pierce>8.0</Pierce>
<Crush>3.0</Crush>
</Foundation>
</Armour>
<Attack>
<Ranged>
<Hack>0.0</Hack>
<Pierce>25.0</Pierce>
<Crush>0.0</Crush>
<MaxRange>60.0</MaxRange>
<MinRange>10.0</MinRange>
<ProjectileSpeed>75.0</ProjectileSpeed>
<PrepareTime>1200</PrepareTime>
<RepeatTime>2000</RepeatTime>
<Spread>1.5</Spread>
</Ranged>
</Attack>
<BuildingAI>
<DefaultArrowCount>1</DefaultArrowCount>
<GarrisonArrowMultiplier>0.5</GarrisonArrowMultiplier>
</BuildingAI>
<BuildRestrictions>
<Territory>own neutral</Territory>
<Category>CivilCentre</Category>
<Distance>
<FromCategory>CivilCentre</FromCategory>
<MinDistance>180</MinDistance>
</Distance>
</BuildRestrictions>
<Cost>
<PopulationBonus>20</PopulationBonus>
<BuildTime>300</BuildTime>
<Resources>
<food>0</food>
<wood>500</wood>
<stone>500</stone>
<metal>500</metal>
</Resources>
</Cost>
<Footprint>
<Square width="32.0" depth="32.0"/>
<Height>8.0</Height>
</Footprint>
<GarrisonHolder>
<Max>20</Max>
<EjectHealth>0.1</EjectHealth>
<List datatype="tokens">Support Infantry Cavalry</List>
<BuffHeal>1</BuffHeal>
<LoadingRange>2</LoadingRange>
</GarrisonHolder>
<Health>
<Max>3000</Max>
<SpawnEntityOnDeath>rubble/rubble_6x6</SpawnEntityOnDeath>
</Health>
<Identity>
<GenericName>Civic Centre</GenericName>
<Tooltip>Build to acquire large tracts of territory. Train citizens. Garrison: 20.</Tooltip>
<Classes datatype="tokens">
Village
Defensive
CivCentre
</Classes>
<Icon>structures/civic_centre.png</Icon>
<RequiredTechnology>phase_town</RequiredTechnology>
</Identity>
<Loot>
<xp>200</xp>
<food>0</food>
<wood>50</wood>
<stone>50</stone>
<metal>50</metal>
</Loot>
<Obstruction>
<Static width="30.0" depth="30.0"/>
</Obstruction>
<ProductionQueue>
<Entities datatype="tokens">
units/{civ}_support_female_citizen
</Entities>
<Technologies datatype="tokens">
phase_town
phase_city
</Technologies>
</ProductionQueue>
<ResourceDropsite>
<Types>food wood stone metal</Types>
</ResourceDropsite>
<Sound>
<SoundGroups>
<select>interface/select/building/sel_civ_center.xml</select>
<constructed>interface/complete/building/complete_civ_center.xml</constructed>
<attack>attack/weapon/arrowfly.xml</attack>
<death>attack/destruction/building_collapse_large.xml</death>
</SoundGroups>
</Sound>
<TerritoryInfluence>
<Root>true</Root>
<Radius>140</Radius>
<Weight>65536</Weight>
</TerritoryInfluence>
<Vision>
<Range>90</Range>
</Vision>
<VisualActor>
<FoundationActor>structures/fndn_6x6.xml</FoundationActor>
</VisualActor>
</Entity>
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_civic">
<Armour>
<Hack>20.0</Hack>
<Pierce>40</Pierce>
<Crush>10.0</Crush>
<Foundation>
<Hack>5.0</Hack>
<Pierce>8.0</Pierce>
<Crush>3.0</Crush>
</Foundation>
</Armour>
<Attack>
<Ranged>
<Hack>0.0</Hack>
<Pierce>25.0</Pierce>
<Crush>0.0</Crush>
<MaxRange>60.0</MaxRange>
<MinRange>10.0</MinRange>
<ProjectileSpeed>75.0</ProjectileSpeed>
<PrepareTime>1200</PrepareTime>
<RepeatTime>2000</RepeatTime>
<Spread>1.5</Spread>
</Ranged>
</Attack>
<BuildingAI>
<DefaultArrowCount>1</DefaultArrowCount>
<GarrisonArrowMultiplier>0.5</GarrisonArrowMultiplier>
</BuildingAI>
<BuildRestrictions>
<Territory>own neutral</Territory>
<Category>CivilCentre</Category>
<Distance>
<FromCategory>CivilCentre</FromCategory>
<MinDistance>180</MinDistance>
</Distance>
</BuildRestrictions>
<Cost>
<PopulationBonus>20</PopulationBonus>
<BuildTime>300</BuildTime>
<Resources>
<food>0</food>
<wood>500</wood>
<stone>500</stone>
<metal>500</metal>
</Resources>
</Cost>
<Footprint>
<Square width="32.0" depth="32.0"/>
<Height>8.0</Height>
</Footprint>
<GarrisonHolder>
<Max>20</Max>
<EjectHealth>0.1</EjectHealth>
<List datatype="tokens">Support Infantry Cavalry</List>
<BuffHeal>1</BuffHeal>
<LoadingRange>2</LoadingRange>
</GarrisonHolder>
<Health>
<Max>3000</Max>
<SpawnEntityOnDeath>rubble/rubble_stone_6x6</SpawnEntityOnDeath>
</Health>
<Identity>
<GenericName>Civic Centre</GenericName>
<Tooltip>Build to acquire large tracts of territory. Train citizens. Garrison: 20.</Tooltip>
<Classes datatype="tokens">
Village
Defensive
CivCentre
</Classes>
<Icon>structures/civic_centre.png</Icon>
<RequiredTechnology>phase_town</RequiredTechnology>
</Identity>
<Loot>
<xp>200</xp>
<food>0</food>
<wood>50</wood>
<stone>50</stone>
<metal>50</metal>
</Loot>
<Obstruction>
<Static width="30.0" depth="30.0"/>
</Obstruction>
<ProductionQueue>
<Entities datatype="tokens">
units/{civ}_support_female_citizen
</Entities>
<Technologies datatype="tokens">
phase_town
phase_city
</Technologies>
</ProductionQueue>
<ResourceDropsite>
<Types>food wood stone metal</Types>
</ResourceDropsite>
<Sound>
<SoundGroups>
<select>interface/select/building/sel_civ_center.xml</select>
<constructed>interface/complete/building/complete_civ_center.xml</constructed>
<attack>attack/weapon/arrowfly.xml</attack>
<death>attack/destruction/building_collapse_large.xml</death>
</SoundGroups>
</Sound>
<TerritoryInfluence>
<Root>true</Root>
<Radius>140</Radius>
<Weight>65536</Weight>
</TerritoryInfluence>
<Vision>
<Range>90</Range>
</Vision>
<VisualActor>
<FoundationActor>structures/fndn_6x6.xml</FoundationActor>
</VisualActor>
</Entity>