1
0
forked from 0ad/0ad

Updated entities: changed placeholder Initial HP to proper HPCurr; changed naming conventions to suit proper structure from Art Dept; added most ID attributes. More parenting organisation to come.

This was SVN commit r1293.
This commit is contained in:
Acumen 2004-11-08 03:45:39 +00:00
parent 31ac2a5e03
commit 11f2aac9c4
15 changed files with 143 additions and 84 deletions

View File

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<Entity Tag="Deciduous Tree 1" Parent="Generic Tree">
<Traits>
<Id
generic="Deciduous Tree 1"
internal_only="false"
icon="flora_deciduotree"
version="0.1 pasap2"
/>
</Traits>
<Actor>Deciduous 1</Actor>
</Entity>

View File

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<Entity Tag="Deciduous Tree 2" Parent="Generic Tree">
<Traits>
<Id
generic="Deciduous Tree 2"
internal_only="false"
icon="flora_deciduotree"
version="0.1 pasap2"
/>
</Traits>
<Actor>Deciduous 2</Actor>
</Entity>

View File

@ -6,10 +6,12 @@
generic="Generic Tree"
internal_only="false"
version="0.1 pasap2"
class1="Gaia"
class2="Trees"
/>
<Health
hitpoints="100"
initial="100"
hpcurr="100"
/>
</Traits>
<Actions>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<Entity Tag="Pine8" Parent="Generic Tree">
<Traits>
<Id
generic="Pine Tree"
icon="flora_deciduotree"
/>
</Traits>
<Actor>Pine8</Actor>
</Entity>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<Entity Tag="Pine9" Parent="Generic Tree">
<Traits>
<Id
generic="Pine Tree"
icon="flora_deciduotree"
/>
</Traits>
<Actor>Pine9</Actor>
</Entity>

View File

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<Entity Tag="House" Parent="Generic Structure">
<Traits>
<Id
generic="House"
internal_only="false"
icon="structure_heleho"
version="0.1 pasap2"
/>
</Traits>
<Actor>Greek House</Actor>
<Footprint Width="12.0" Height="12.0"/>
</Entity>

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<Entity Tag="Hellenes House 1" Parent="Generic Structure">
<Traits>
<Id
generic="House"
specific="Melathron"
icon="structure_heleho"
class2="Structure"
class3="Economic"
rollover="Hellenic houses from the Classical Age were generally humble yet stylish. During the Hellenistic Age, however, luxurious palaces and estates became commonplace in the rich Hellenistic metropolises like Antioch, Alexandria and Seleucia."
/>
</Traits>
<Actor>Hellenes House 1</Actor>
<Footprint Width="12.0" Height="12.0"/>
</Entity>

View File

@ -6,10 +6,11 @@
generic="Generic Structure"
internal_only="false"
version="0.1 pasap2"
class1="Structure"
/>
<Health
hitpoints="100"
initial="80"
hpcurr="80"
/>
</Traits>
<Actions>

View File

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<Entity Tag="Prometheus Dudette" Parent="Generic Dude">
<Traits>
<Id
generic="Prometheus Dudette"
internal_only="false"
icon="unit_dudette"
version="0.1 pasap2"
/>
</Traits>
<Actor>The Dudette</Actor>
</Entity>

View File

@ -1,21 +0,0 @@
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<Entity Tag="Prometheus Equestrian" Parent="Generic Dude">
<Traits>
<Id
generic="Prometheus Equestrian"
internal_only="false"
icon="unit_cavalrydude"
version="0.1 pasap2"
/>
</Traits>
<Actions>
<Move
speed="8.0"
turningRadius="0.0"
/>
</Actions>
<Actor>Draft Horse</Actor>
<Footprint Radius="1.5"/>
</Entity>

View File

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<Entity Tag="Hellenes Cavalry Swordsman" Parent="Generic Unit">
<Traits>
<Id
civ="hele"
class2="Cavalry"
class3="Melee"
generic="Cavalry Swordsman"
specific="Hyppikon"
ranked="Basic Hyppikon"
personal="hele_names.csv"
icon="unit_cavalrydude"
rollover="Cavalry were made up of the upper class since they were the only ones who could afford horses. Initially they were missile troops who avoided close combat, throwing javelins and spears at enemy troops. Later on thanks to developments by the Macedonians they began to close with enemy troops to use their swords. As with all ancient horsemen the Hyppikon did not have stirrups or a saddle."
type="UnitCavalry, UnitCitizenSoldier, UnitMelee, UnitMilitary, UnitMounted, UnitNonMechanical, UnitSwordsman, UnitWorker, CavSword"
/>
</Traits>
<Actions>
<Move
speed="8.0"
turningRadius="0.0"
/>
</Actions>
<Actor>Draft Horse</Actor>
<Footprint Radius="1.5"/>
</Entity>

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<Entity Tag="Hellenes Female Citizen" Parent="Generic Unit">
<Traits>
<Id
civ="hele"
class2="Support"
generic="Female Citizen"
specific="Ghune"
personal="hele_female_names.csv"
icon="unit_dudette"
rollover="Greek women were kept under tight control by their husbands, rarely leaving the home for anything beyond the necessities of daily life. They could not own anything or be involved in any business or legal transaction. They acted as household cook, nurse, seamstress, and early educator to young children. Spartan women were an exception to the normal code of conduct and enjoyed many freedoms."
type="UnitFoot, UnitSupport, UnitWorker"
/>
</Traits>
<Actor>The Dudette</Actor>
</Entity>

View File

@ -0,0 +1,41 @@
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<Entity Tag="Hellenes Ultimate Infantry Spearman" Parent="Generic Unit">
<Traits>
<Id
civ="hele"
class2="Infantry"
class3="Melee"
generic="Infantry Spearman"
specific="Hoplite"
ranked="Ultimate Hoplite"
personal="hele_names.csv"
icon="unit_dude"
rollover="Hoplites were the very symbol of Hellenistic prestige and citizenship, armed with a spear and a large round, bronze-coated shield known as a hoplon. Armor was heavy, with bronze helmets and a cuirass of either bronze or linen, in addition to greaves. Hoplites fought in a tight formation called a phalanx, guarding each other with their shields while they attacked the enemy with their spear or a short iron sword."
type="UnitSpearman, UnitNonMechanical, UnitMilitary, UnitCitizenSoldier"
/>
<Health
hitpoints="250"
hpcurr="10"
/>
</Traits>
<Event On="Initialize">
<![CDATA[
// PASAP wander-between-houses script
houses = entities.subset( "this.template.tag == \"House\"" );
while( houses.length )
{
index = Math.floor( Math.random() * houses.length );
house = houses[index];
console.write( house.position );
this.orderQueued( 4 /* patrol */, house.position.x, house.position.z );
houses.remove( index );
}
console.write( "A new Dude has entered your dungeon." );
]]>
</Event>
<Actor>The Spartan</Actor>
</Entity>

View File

@ -1,16 +1,22 @@
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<Entity Tag="Prometheus Dude" Parent="Generic Dude">
<Entity Tag="Hellenic Infantry Swordsman" Parent="Generic Unit">
<Traits>
<Id
generic="Prometheus Dude"
internal_only="false"
civ="hele"
class2="Infantry"
class3="Melee"
generic="Infantry Swordsman"
specific="Dude"
ranked="Basic Dude"
personal="hele_names.csv"
icon="unit_dude"
version="0.1 pasap2"
rollover="The Dude is hiding among the Hellenic forces, since the Greeks have no swordsmen."
type="UnitSwordsman, UnitNonMechanical, UnitMilitary, UnitCitizenSoldier"
/>
<Health
hitpoints="250"
initial="10"
hpcurr="10"
/>
</Traits>
<Event On="Initialize">

View File

@ -1,15 +1,16 @@
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<Entity Tag="Generic Dude">
<Entity Tag="Generic Unit">
<Traits>
<Id
generic="Generic Dude"
generic="Generic Unit"
internal_only="true"
version="0.1 pasap2"
class1="Unit"
/>
<Health
hitpoints="100"
initial="70"
hpcurr="70"
/>
</Traits>
<Actions>