Index: ps/trunk/binaries/data/mods/public/simulation/data/civs/cart.json =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/data/civs/cart.json (revision 21217) +++ ps/trunk/binaries/data/mods/public/simulation/data/civs/cart.json (revision 21218) @@ -1,181 +1,182 @@ { "Code": "cart", "Culture": "cart", "Name": "Carthaginians", "Emblem": "session/portraits/emblems/emblem_carthaginians.png", "History": "Carthage, a city-state in modern-day Tunisia, was a formidable force in the western Mediterranean, eventually taking over much of North Africa and modern-day Spain in the third century B.C. The sailors of Carthage were among the fiercest contenders on the high seas, and masters of naval trade. They deployed towered War Elephants on the battlefield to fearsome effect, and had defensive walls so strong, they were never breached.", "Music":[ {"File":"Mediterranean_Waves.ogg", "Type":"peace"}, {"File":"Harsh_Lands_Rugged_People.ogg", "Type":"peace"}, {"File":"Peaks_of_Atlas.ogg", "Type":"peace"} ], "Factions": [ { "Name": "", "Description": "", "Technologies": [ { "Name": "Exploration", "History": "Nobody knew better than the Carthaginians where in the ancient world they were going and going to go; their merchant traders had missions to everywhere.", "Description": "All Traders and Ships +25% vision range." }, { "Name": "Colonization", "History": "Carthaginians established many trading centers as colonies and ultimately held dominion over 300 cities and towns in North Africa alone.", "Description": "Civic Centers, Temples, and Houses -25% build time." } ], "Heroes": [ { "Name": "Hannibal Barca", "Class": "", "Armament": "", "Emblem": "", "History": "Carthage's most famous son. Hannibal Barca was the eldest son of Hamilcar Barca and proved an even greater commander than his father. Lived 247-182 B.C. While he ultimately lost the Second Punic War his victories at Trebia, Lake Trasimene, and Cannae, and the feat of crossing the Alps have secured his position as among the best tacticians and strategists in history." }, { "Name": "Hamilcar Barca", "Class": "", "Armament": "", "Emblem": "", "History": "Father of Hannibal and virtual military dictator. Hamilcar Barca was a soldier and politician who excelled along his entire career. Lived 275-228 B.C. While overshadowed by his sons, Hamilcar was great general in his own right, earning the nickname Baraq or Barca for the lightning speed of his advance." }, { "Name": "Maharbal", "Class": "", "Armament": "", "Emblem": "", "History": "Maharbal was Hannibal Barca's 'brash young cavalry commander' during the 2nd Punic War. He is credited with turning the wing of the legions at Cannae resulting in defeat in which 30,000 of 50,000 Romans were lost, as well as significant contributions to the winning of many other battles during the 2nd Punic War. He is known for having said, after the battle of Cannae, 'Hannibal, you know how to win the victory; just not what to do with it.'" } ] } ], "CivBonuses": [ { "Name": "Triple Walls", "History": "Carthaginians built triple city walls.", "Description": "Carthaginian walls, gates, and towers have 3x health of a standard wall, but also 2x build time." }, { "Name": "Roundup", "History": "Not unlike the Iberian Peninsula, North Africa was known as horse country, capable of producing up to 100,000 new mounts each year. It was also the home of the North African Forest Elephant.", "Description": "The resource cost of training elephant-mounted (war elephant) or horse-mounted units (cavalry) is reduced by 5% per animal corralled (as appropriate)." } ], "TeamBonuses": [ { "Name": "Trademasters", "History": "The Phoenicians and Carthaginians were broadly known as the greatest trading civilization of the ancient and classical world.", "Description": "10% bonus of trade profit for allies' international routes." } ], "Structures": [ { "Name":"Naval Shipyard", "Class":"", "Emblem":"", "History":"The structure is based upon the center island of the inner harbour constructed to house the war fleet of the Carthaginian navy at Carthage.", "Requirements":".", "Phase":"", "Special":"Construct the powerful warships of the Carthaginian navy." }, { "Name":"Celtic Embassy", "Class":"", "Emblem":"", "History":"The Celts supplied fierce warrior mercenaries for Carthaginian armies.", "Requirements":".", "Phase":"", "Special":"Hire Celtic mercenaries." }, { "Name":"Italiote Embassy", "Class":"", "Emblem":"", "History":"When Hannibal invaded Italy and defeated the Romans in a series of battles, many of the Italian peoples subject to Rome, including the Italian Greeks and powerful Samnites, revolted and joined the Carthaginian cause.", "Requirements":".", "Phase":"", "Special":"Hire Italian mercenaries." }, { "Name":"Iberian Embassy", "Class":"", "Emblem":"", "History":"The Iberians were known as fierce mercenaries, loyal to their paymasters.", "Requirements":".", "Phase":"", "Special":"Hire Iberian mercenaries." } ], "WallSets": [ "other/wallset_palisade", "structures/cart_wallset_short", "structures/cart_wallset_stone" ], "StartEntities": [ { "Template": "structures/cart_civil_centre" }, { "Template": "units/cart_support_female_citizen", "Count": 4 }, { "Template": "units/cart_infantry_spearman_b", "Count": 2 }, { "Template": "units/cart_infantry_archer_b", "Count": 2 }, { "Template": "units/cart_cavalry_javelinist_b" } ], "Formations": [ "special/formations/null", "special/formations/box", "special/formations/column_closed", "special/formations/line_closed", "special/formations/column_open", "special/formations/line_open", "special/formations/flank", "special/formations/skirmish", "special/formations/wedge", - "special/formations/battle_line" + "special/formations/battle_line", + "special/formations/phalanx" ], "AINames": [ "Hannibal Barca", "Hamilcar Barca", "Hasdrubal Barca", "Hasdrubal Gisco", "Hanno the Elder", "Maharbal", "Mago Barca", "Hasdrubal the Fair", "Hanno the Great", "Himilco", "Hampsicora", "Hannibal Gisco", "Dido", "Xanthippus", "Himilco Phameas", "Hasdrubal the Boetharch" ], "SkirmishReplacements": { "skirmish/units/default_infantry_ranged_b": "units/cart_infantry_archer_b", "skirmish/structures/default_house_10": "structures/{civ}_house" }, "SelectableInGameSetup": true } Index: ps/trunk/binaries/data/mods/public/simulation/data/civs/pers.json =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/data/civs/pers.json (revision 21217) +++ ps/trunk/binaries/data/mods/public/simulation/data/civs/pers.json (revision 21218) @@ -1,169 +1,170 @@ { "Code": "pers", "Culture": "pers", "Name": "Persians", "Emblem": "session/portraits/emblems/emblem_persians.png", "History": "The Persian Empire, when ruled by the Achaemenid dynasty, was one of the greatest empires of antiquity, stretching at its zenith from the Indus Valley in the east to Greece in the west. The Persians were the pioneers of empire-building of the ancient world, successfully imposing a centralized rule over various peoples with different customs, laws, religions and languages, and building a cosmopolitan army made up of contingents from each of these nations.", "Music":[ {"File":"Eastern_Dreams.ogg", "Type":"peace"}, {"File":"Valley_of_the_Nile.ogg", "Type":"peace"}, {"File":"Land_between_the_two_Seas.ogg", "Type":"peace"}, {"File":"Sands_of_Time.ogg", "Type":"peace"} ], "Factions": [ { "Name": "", "Description": "", "Technologies": [ { "Name": "Naval Craftsmanship", "History": "Early Achaemenid rulers acted towards making Persia the first great Asian empire to rule the seas. The Great King behaved favourably towards the various sea peoples in order to secure their services, but also carried out various marine initiatives. During the reign of Darius the Great, for example, a canal was built in Egypt and a Persian navy was sent exploring the Indus river. According to Herodotus, some 300 ships in the Persian navy were retrofitted to carry horses and their riders.", "Description": "Phoenician triremes gain the unique ability to train cavalry units." }, { "Name": "Persian Architecture", "History": "The Persians built the wonderful 2700 kilometer-long Royal Highway from Sardis to Susa; Darius the Great and Xerxes also built the magnificent Persepolis; Cyrus the Great greatly improved Ecbatana and virtually 'rebuilt' the old Elamite capital of Susa.", "Description": "Increases hitpoints of all structures, but build time increased appropriately." }, { "Name": "Immortals", "History": ".", "Description": "Reduces train time for Anusiya champion infantry by half." }, { "Name": "Nisean War Horses", "History": "The beautiful and powerful breed of Nisean horses increases health for Persian cavalry.", "Description": "+25% health for cavalry, but +10% train time." } ], "Heroes": [ { "Name": "Kurush II", "Class": "", "Armament": "", "Emblem": "", "History": "Cyrus (ruled 559-530 B.C.) The son of a Median princess and the ruler of Anshan; justly called the 'Father of the Empire', Cyrus the Great conquered Media, Lydia, Babylonia and Bactria, thereby establishing the Persian Empire. He was also renown as a benevolent conqueror. (OP - Kurush). Technically the second ruler of the Persians by that name, and so appears as Kurush II on his documents and coins. Kurush I was his grandfather." }, { "Name": "Darayavahush I", "Class": "", "Armament": "", "Emblem": "", "History": "Darius (ruled 522-486 B.C.) The son of Vishtaspa (Hystaspes), the satrap of Parthia and Hyrcania; a great administrator as well as a decent general, Darius introduced the division of the empire into satrapies and conquered NW India, Thrace and Macedonia. He was called the 'Merchant of the Empire'." }, { "Name": "Xsayarsa I", "Class": "", "Armament": "", "Emblem": "", "History": "Xerxes (ruled 485-465 B.C.) The son of Darius the Great and Atoosa, a daughter of Cyrus the Great, Xerxes was an able administrator, who also extended Imperial rule into Chorasmia. Apart from his failed invasion of Greece, he was famous for his extensive building programme, especially at Persepolis." } ] } ], "CivBonuses": [ { "Name": "Corral Camels and Horses", "History": "While the Persians employed camelry only in a few cases, its use was always accompanied by great success (most notably during the battle of Sardis in 546 B.C.) The satrapy of Bactria was a rich source of 'two-hump' camels, while Northern Arabia supplied 'one-hump' camels.", "Description": "The resource cost of training camel-mounted (trader) or horse-mounted units (cavalry) is reduced by 5% per animal (as appropriate) corralled." }, { "Name": "Great King's Levy", "History": "The Persians could and did levy a large number of infantry during wartime due to the sheer size of the Achaemenid Empire and the way in which it was set-up. In general the Persian infantry was well trained and fought with great tenacity. However while this was true the infantry were poor hand-to-hand, close combat fighters. Also, with the exception of the elite regiments, the Persian infantry was not a standing professional force.", "Description": "Persians have a +10% population cap bonus (e.g. 330 pop cap instead of the usual 300)." } ], "TeamBonuses": [ { "Name": "Royal Road", "History": "Coinage was invented by the Lydians in 7th Century B.C., but it was not very common until the Persian period. Darius the Great standardized coined money and his golden coins (known as 'darics') became commonplace not only throughout his empire, but as far to the west as Central Europe.", "Description": "Higher income (+15%) from land trade routes for ally's traders." } ], "Structures": [ { "Name": "Cavalry Stables", "Class": "", "Emblem": "", "History": "The Persian Empire's best soldiers were Eastern horsemen.", "Requirements": "", "Phase": "Town", "Special": "Train Cavalry citizen-soldiers." }, { "Name": "Apadana", "Class": "", "Emblem": "", "History": "The term Apadana designates a large hypostyle palace found in Persia. The best known example, and by far the largest, was the great Apadana at Persepolis. Functioning as the empire's central audience hall, the palace is famous for the reliefs of the tribute-bearers and of the army, including the Immortals.", "Requirements": "", "Phase": "City", "Special": "Train heroes and Persian Immortals. Gives a slow trickle of all resources as 'Satrapy Tribute.'" } ], "WallSets": [ "other/wallset_palisade", "structures/pers_wallset_stone" ], "StartEntities": [ { "Template": "structures/pers_civil_centre" }, { "Template": "units/pers_support_female_citizen", "Count": 4 }, { "Template": "units/pers_infantry_spearman_b", "Count": 2 }, { "Template": "units/pers_infantry_archer_b", "Count": 2 }, { "Template": "units/pers_cavalry_javelinist_b" } ], "Formations": [ "special/formations/null", "special/formations/box", "special/formations/column_closed", "special/formations/line_closed", "special/formations/column_open", "special/formations/line_open", "special/formations/flank", "special/formations/skirmish", "special/formations/wedge", - "special/formations/battle_line" + "special/formations/battle_line", + "special/formations/phalanx" ], "AINames": [ "Kurush II the Great", "Darayavahush I", "Cambyses II", "Bardiya", "Xsayarsa I", "Artaxshacha I", "Darayavahush II", "Darayavahush III", "Artaxshacha II", "Artaxshacha III", "Haxamanish", "Xsayarsa II" ], "SkirmishReplacements": { "skirmish/units/default_infantry_ranged_b": "units/pers_infantry_archer_b", "skirmish/structures/default_house_10" : "structures/{civ}_house" }, "SelectableInGameSetup": true } Index: ps/trunk/binaries/data/mods/public/simulation/templates/special/formations/phalanx.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/special/formations/phalanx.xml (revision 21217) +++ ps/trunk/binaries/data/mods/public/simulation/templates/special/formations/phalanx.xml (revision 21218) @@ -1,19 +1,41 @@ formations/phalanx.png 10 10 hoplite infantry required Phalanx 0.6 0.6 4 5 20 8 0.9 + + + 1..2,1..-1: phalanx_idle; + 3..4,1..-1: phalanx_idle; + 5..6,1..-1: phalanx_back_idle + + + 1..2,1..-1: phalanx_walk; + 3..4,1..-1: phalanx_walk; + 5..6,1..-1: phalanx_walk + + + 1..2,1..-1: phalanx_run; + 3..4,1..-1: phalanx_run; + 5..6,1..-1: phalanx_run + + + 1..2,1..-1: phalanx_attack; + 3..4,1..-1: phalanx_attack; + 5..6,1..-1: phalanx_idle + + false Index: ps/trunk/binaries/data/mods/public/simulation/templates/template_unit_champion_infantry_spearman_hoplite.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/template_unit_champion_infantry_spearman_hoplite.xml (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/templates/template_unit_champion_infantry_spearman_hoplite.xml (revision 21218) @@ -0,0 +1,8 @@ + + + + + special/formations/phalanx + + + Index: ps/trunk/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_spearman_hoplite.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_spearman_hoplite.xml (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_spearman_hoplite.xml (revision 21218) @@ -0,0 +1,8 @@ + + + + + special/formations/phalanx + + + Index: ps/trunk/binaries/data/mods/public/simulation/templates/template_unit_infantry_melee.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/template_unit_infantry_melee.xml (revision 21217) +++ ps/trunk/binaries/data/mods/public/simulation/templates/template_unit_infantry_melee.xml (revision 21218) @@ -1,25 +1,24 @@ 1 0 0.0 4.0 500 1000 Human 100 Melee Infantry Melee - special/formations/phalanx special/formations/testudo Index: ps/trunk/binaries/data/mods/public/simulation/templates/template_unit_infantry_melee_spearman_hoplite.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/template_unit_infantry_melee_spearman_hoplite.xml (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/templates/template_unit_infantry_melee_spearman_hoplite.xml (revision 21218) @@ -0,0 +1,8 @@ + + + + + special/formations/phalanx + + + Index: ps/trunk/binaries/data/mods/public/simulation/templates/units/athen_champion_infantry.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/units/athen_champion_infantry.xml (revision 21217) +++ ps/trunk/binaries/data/mods/public/simulation/templates/units/athen_champion_infantry.xml (revision 21218) @@ -1,13 +1,13 @@ - + athen greek City Guard Epílektos units/athen_champion_infantry.png units/athenians/infantry_spearman_c.xml Index: ps/trunk/binaries/data/mods/public/simulation/templates/units/athen_hero_pericles.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/units/athen_hero_pericles.xml (revision 21217) +++ ps/trunk/binaries/data/mods/public/simulation/templates/units/athen_hero_pericles.xml (revision 21218) @@ -1,17 +1,17 @@ - + units/heroes/athen_hero_pericles_1 units/heroes/athen_hero_pericles_2 athen greek Pericles Periklēs units/athen_hero_pericles.png units/athenians/hero_infantry_spearman_pericles.xml Index: ps/trunk/binaries/data/mods/public/simulation/templates/units/athen_infantry_spearman_b.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/units/athen_infantry_spearman_b.xml (revision 21217) +++ ps/trunk/binaries/data/mods/public/simulation/templates/units/athen_infantry_spearman_b.xml (revision 21218) @@ -1,30 +1,30 @@ - + 6.0 structures/athen_gymnasion structures/athen_theatron structures/athen_prytaneion structures/athen_royal_stoa athen greek units/athen_infantry_spearman_b Athenian Hoplite Hoplítēs Athēnaîos units/athen_infantry_spearman.png units/athen_infantry_spearman_a units/athenians/infantry_spearman_b.xml Index: ps/trunk/binaries/data/mods/public/simulation/templates/units/cart_champion_infantry.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/units/cart_champion_infantry.xml (revision 21217) +++ ps/trunk/binaries/data/mods/public/simulation/templates/units/cart_champion_infantry.xml (revision 21218) @@ -1,12 +1,12 @@ - + cart Sacred Band Infantry Sacred Band of Ba'al units/cart_champion_infantry.png units/carthaginians/infantry_spearman_c.xml Index: ps/trunk/binaries/data/mods/public/simulation/templates/units/cart_infantry_spearman_b.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/units/cart_infantry_spearman_b.xml (revision 21217) +++ ps/trunk/binaries/data/mods/public/simulation/templates/units/cart_infantry_spearman_b.xml (revision 21218) @@ -1,24 +1,24 @@ - + structures/cart_super_dock structures/cart_embassy_celtic structures/cart_embassy_iberian structures/cart_embassy_italiote cart units/cart_infantry_spearman_b Libyan Spearman Sǝḫīr Ḥanīt units/cart_infantry_spearman.png units/cart_infantry_spearman_a units/carthaginians/infantry_spearman_b.xml Index: ps/trunk/binaries/data/mods/public/simulation/templates/units/mace_champion_infantry_a.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/units/mace_champion_infantry_a.xml (revision 21217) +++ ps/trunk/binaries/data/mods/public/simulation/templates/units/mace_champion_infantry_a.xml (revision 21218) @@ -1,18 +1,18 @@ - + mace greek Macedonian Shield Bearer Hypaspistḗs units/mace_hypaspist.png units/mace_champion_infantry_a units/mace_champion_infantry_e 2000 units/macedonians/infantry_spearman_c_a.xml Index: ps/trunk/binaries/data/mods/public/simulation/templates/units/pers_kardakes_hoplite.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/units/pers_kardakes_hoplite.xml (revision 21217) +++ ps/trunk/binaries/data/mods/public/simulation/templates/units/pers_kardakes_hoplite.xml (revision 21218) @@ -1,19 +1,19 @@ - + 0 2 pers Cardaces Hoplite Hoplites Kardakes units/pers_kardakes.png Mercenary units/persians/infantry_spearman_c3.xml Index: ps/trunk/binaries/data/mods/public/simulation/templates/units/samnite_spearman.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/units/samnite_spearman.xml (revision 21217) +++ ps/trunk/binaries/data/mods/public/simulation/templates/units/samnite_spearman.xml (revision 21218) @@ -1,13 +1,13 @@ - + gaia Samnite Spearman Samnite Spearman Mercenary units/samnite_spearman.png units/carthaginians/infantry_spearman_c_samnite.xml Index: ps/trunk/binaries/data/mods/public/simulation/templates/units/spart_champion_infantry_spear.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/units/spart_champion_infantry_spear.xml (revision 21217) +++ ps/trunk/binaries/data/mods/public/simulation/templates/units/spart_champion_infantry_spear.xml (revision 21218) @@ -1,13 +1,13 @@ - + spart greek Spartan Hoplite Spartiátēs units/spart_champion_infantry_spear.png units/spartans/infantry_spearman_c.xml Index: ps/trunk/binaries/data/mods/public/simulation/templates/units/spart_hero_agis.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/units/spart_hero_agis.xml (revision 21217) +++ ps/trunk/binaries/data/mods/public/simulation/templates/units/spart_hero_agis.xml (revision 21218) @@ -1,16 +1,16 @@ - + 2000 spart greek Agis III Agis units/spart_hero_agis.png units/spartans/hero_infantry_spearman_agis.xml Index: ps/trunk/binaries/data/mods/public/simulation/templates/units/spart_hero_leonidas.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/units/spart_hero_leonidas.xml (revision 21217) +++ ps/trunk/binaries/data/mods/public/simulation/templates/units/spart_hero_leonidas.xml (revision 21218) @@ -1,16 +1,16 @@ - + units/heroes/spart_hero_leonidas spart greek Leonidas I Leōnídēs units/spart_hero_leonidas.png units/spartans/hero_infantry_spearman_leonidas.xml Index: ps/trunk/binaries/data/mods/public/simulation/templates/units/spart_infantry_spearman_b.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/units/spart_infantry_spearman_b.xml (revision 21217) +++ ps/trunk/binaries/data/mods/public/simulation/templates/units/spart_infantry_spearman_b.xml (revision 21218) @@ -1,25 +1,25 @@ - + structures/spart_syssiton structures/spart_theatron structures/spart_royal_stoa -structures/{civ}_wallset_stone spart greek units/spart_infantry_spearman_b Perioikoi Hoplite Hoplítēs Períoikos units/spart_infantry_spearman.png units/spart_infantry_spearman_a units/spartans/infantry_spearman_b.xml Index: ps/trunk/binaries/data/mods/public/simulation/templates/units/thebes_sacred_band_hoplitai.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/units/thebes_sacred_band_hoplitai.xml (revision 21217) +++ ps/trunk/binaries/data/mods/public/simulation/templates/units/thebes_sacred_band_hoplitai.xml (revision 21218) @@ -1,14 +1,14 @@ - + gaia greek Theban Sacred Band Hoplite Hieroû Thebaíou Lókhou Hoplítai Champion Spearman. units/thebes_sacred_band_hoplitai.png units/hellenes/infantry_spearman_c_sacred_band.xml