mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-23 08:53:00 +00:00
Added support for unit icon sheets.
This was SVN commit r1419.
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
specific="Dude"
|
||||
ranked="Basic Dude"
|
||||
icon="unit_dude"
|
||||
icon_cell=""
|
||||
rollover="Carthaginian Dudes have strong armour, but weaker attack than the other dudes."
|
||||
history="Carthaginian Dude is actually a spy from foreign powers seeking to infiltrate the 0 A.D. development team. Fortunately, the abbreviation of 'Carthaginian' to 'Kart' so confused the Dude that he now spends his days wandering through the Pyrogenesian wastes postulating an entirely new system of philosophy in an effort to understand this seemingly inexplicable act."
|
||||
/>
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
specific="Dude"
|
||||
ranked="Basic Dude"
|
||||
icon="unit_dude"
|
||||
icon_cell=""
|
||||
rollover="Iberian Dudes have average attack and armour."
|
||||
history="After a troubled childhood, Brad Jones took up a career as a stunt double for computer-generated characters. Some time later, he was invited on to the team by Jason Bishop, and can currently be seen playing Iberian Dude in the latest round of combat tests."
|
||||
/>
|
||||
|
||||
@@ -6,14 +6,17 @@
|
||||
<Id
|
||||
civ_code="rome"
|
||||
civ="Pre-Imperial Roman"
|
||||
personal1="rome_male_names_1st.csv"
|
||||
personal2="rome_male_names_2nd.csv"
|
||||
internal_only="false"
|
||||
|
||||
specific="Dude"
|
||||
ranked="Basic Dude"
|
||||
|
||||
personal="Vercinius Testiuso"
|
||||
personal1="rome_male_names_1st.csv"
|
||||
personal2="rome_male_names_2nd.csv"
|
||||
icon="unit_dude"
|
||||
icon_cell=""
|
||||
|
||||
rollover="Roman Dudes deal more damage, but have less armour compared to other Dudes."
|
||||
history="The Dude has little history, since he's only been in the game for a few months."
|
||||
/>
|
||||
|
||||
@@ -3,17 +3,17 @@
|
||||
<Entity Tag="hele_csw_b1" Parent="csw">
|
||||
<Traits>
|
||||
<Id
|
||||
civ="hele"
|
||||
class2="Cavalry"
|
||||
class3="Melee"
|
||||
generic="Cavalry Swordsman"
|
||||
specific="Hyppikon"
|
||||
ranked="Basic Hyppikon"
|
||||
civ_code="hele"
|
||||
civ="Hellenes"
|
||||
personal1="hele_male_names_1st.csv"
|
||||
personal2="hele_male_names_2nd.csv"
|
||||
internal_only="false"
|
||||
icon="sheet_hele"
|
||||
|
||||
specific="Hyppikon"
|
||||
ranked="Basic Hyppikon"
|
||||
|
||||
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>
|
||||
|
||||
@@ -3,15 +3,16 @@
|
||||
<Entity Tag="hele_fem_b1" Parent="fem">
|
||||
<Traits>
|
||||
<Id
|
||||
civ="hele"
|
||||
class2="Support"
|
||||
generic="Female Citizen"
|
||||
specific="Ghune"
|
||||
civ_code="hele"
|
||||
civ="Hellenes"
|
||||
personal1="hele_fem_names_1st.csv"
|
||||
personal2="hele_fem_names_2nd.csv"
|
||||
icon="unit_dudette"
|
||||
internal_only="false"
|
||||
icon="sheet_hele"
|
||||
|
||||
specific="Ghune"
|
||||
|
||||
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>
|
||||
|
||||
@@ -3,39 +3,23 @@
|
||||
<Entity Tag="hele_isp_u1" Parent="isp">
|
||||
<Traits>
|
||||
<Id
|
||||
civ="hele"
|
||||
class2="Infantry"
|
||||
class3="Melee"
|
||||
generic="Infantry Spearman"
|
||||
specific="Hoplite"
|
||||
ranked="Ultimate Hoplite"
|
||||
civ_code="hele"
|
||||
civ="Hellenes"
|
||||
personal1="hele_male_names_1st.csv"
|
||||
personal2="hele_male_names_2nd.csv"
|
||||
icon="unit_dude"
|
||||
internal_only="false"
|
||||
icon="sheet_hele"
|
||||
|
||||
specific="Hoplite"
|
||||
ranked="Ultimate Hoplite"
|
||||
|
||||
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>
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
internal_only="true"
|
||||
version="0.1 pasap2"
|
||||
|
||||
personal=""
|
||||
|
||||
class1="Unit"
|
||||
type.unit="true"
|
||||
type.unit.group="true"
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
<Id
|
||||
generic="Cavalry Spearman"
|
||||
|
||||
icon_cell="16"
|
||||
|
||||
type.unit.mounted.spear="true"
|
||||
type.unit.weapon.spear="true"
|
||||
/>
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
<Id
|
||||
generic="Cavalry Swordsman"
|
||||
|
||||
icon_cell="19"
|
||||
|
||||
type.unit.mounted.sword="true"
|
||||
type.unit.weapon.sword="true"
|
||||
/>
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
<Id
|
||||
generic="Cavalry Archer"
|
||||
|
||||
icon_cell="25"
|
||||
|
||||
type.unit.mounted.bow="true"
|
||||
type.unit.weapon.bow="true"
|
||||
/>
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
<Id
|
||||
generic="Cavalry Javelinist"
|
||||
|
||||
icon_cell="22"
|
||||
|
||||
type.unit.mounted.javelin="true"
|
||||
type.unit.weapon.javelin="true"
|
||||
/>
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
<Id
|
||||
generic="Infantry Spearman"
|
||||
|
||||
icon_cell="4"
|
||||
|
||||
type.unit.foot.spear="true"
|
||||
type.unit.weapon.spear="true"
|
||||
/>
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
<Id
|
||||
generic="Infantry Swordsman"
|
||||
|
||||
icon_cell="1"
|
||||
|
||||
type.unit.foot.sword="true"
|
||||
type.unit.weapon.sword="true"
|
||||
/>
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
<Id
|
||||
generic="Infantry Archer"
|
||||
|
||||
icon_cell="10"
|
||||
|
||||
type.unit.foot.bow="true"
|
||||
type.unit.weapon.bow="true"
|
||||
/>
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
<Id
|
||||
generic="Infantry Javelinist"
|
||||
|
||||
icon_cell="7"
|
||||
|
||||
type.unit.foot.javelin="true"
|
||||
type.unit.weapon.javelin="true"
|
||||
/>
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
<Id
|
||||
generic="Infantry Slinger"
|
||||
|
||||
icon_cell="13"
|
||||
|
||||
type.unit.foot.sling="true"
|
||||
type.unit.weapon.sling="true"
|
||||
/>
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
<Id
|
||||
generic="Bireme"
|
||||
|
||||
icon_cell="40"
|
||||
|
||||
type.unit.group.warship="true"
|
||||
/>
|
||||
</Traits>
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
<Id
|
||||
generic="Merchant Ship"
|
||||
|
||||
icon_cell="39"
|
||||
|
||||
type.unit.group.military="false"
|
||||
type.unit.group.trade="true"
|
||||
/>
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
<Id
|
||||
generic="Quinquereme"
|
||||
|
||||
icon_cell="42"
|
||||
|
||||
type.unit.group.warship="true"
|
||||
/>
|
||||
</Traits>
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
<Id
|
||||
generic="Trireme"
|
||||
|
||||
icon_cell="41"
|
||||
|
||||
type.unit.group.warship="true"
|
||||
/>
|
||||
</Traits>
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
<Id
|
||||
generic="Ballista"
|
||||
|
||||
icon_cell="38"
|
||||
|
||||
type.unit.attack.ranged="true"
|
||||
/>
|
||||
</Traits>
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
<Id
|
||||
generic="Onager"
|
||||
|
||||
icon_cell="36"
|
||||
|
||||
type.unit.attack.ranged="true"
|
||||
/>
|
||||
</Traits>
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
<Id
|
||||
generic="Ram"
|
||||
|
||||
icon_cell="37"
|
||||
|
||||
type.unit.attack.melee="true"
|
||||
/>
|
||||
</Traits>
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
<Id
|
||||
generic="Super Cavalry Unit"
|
||||
|
||||
icon_cell="44"
|
||||
|
||||
class3="Super Cavalry Unit"
|
||||
|
||||
type.unit.material.organic="true"
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
<Id
|
||||
generic="Super Infantry Unit"
|
||||
|
||||
icon_cell="43"
|
||||
|
||||
class3="Super Infantry Unit"
|
||||
|
||||
type.unit.material.organic="true"
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
<Id
|
||||
generic="Super Siege Unit"
|
||||
|
||||
icon_cell="44"
|
||||
|
||||
class3="Super Siege Unit"
|
||||
|
||||
type.unit.material.mechanical="true"
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
<Traits>
|
||||
<Id
|
||||
generic="Female Citizen"
|
||||
|
||||
icon_cell="33"
|
||||
/>
|
||||
</Traits>
|
||||
</Entity>
|
||||
@@ -4,6 +4,8 @@
|
||||
<Traits>
|
||||
<Id
|
||||
generic="Healer"
|
||||
|
||||
icon_cell="34"
|
||||
/>
|
||||
</Traits>
|
||||
</Entity>
|
||||
@@ -5,6 +5,8 @@
|
||||
<Id
|
||||
generic="Trader"
|
||||
|
||||
icon_cell="35"
|
||||
|
||||
type.unit.group.trade="true"
|
||||
/>
|
||||
</Traits>
|
||||
|
||||
Reference in New Issue
Block a user