In descr_model_battle I put at the bottom:
Code:
type spartan_royal_guard
skeleton fs_fast_spearman, fs_fast_swordsman ; combat spear
indiv_range 40
texture greek_cities, data/models_unit/textures/Royal_Spartan.tga
model_flexi data/models_unit/Royal_Spartan_100.cas, 15
model_flexi data/models_unit/Royal_Spartan_200.cas, 30
model_flexi data/models_unit/Royal_Spartan_300.cas, 40
model_flexi data/models_unit/Royal_Spartan_400.cas, max
model_sprite greek_cities, 60.0, data/sprites/greek_cities_greek_armoured_hoplite_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5f
Code:
type barb_archer
skeleton fs_fast_archer, fs_fast_dagger
indiv_range 40
texture britons, data/models_unit/textures/unit_barb_warband_archer_dacia.tga
texture dacia, data/models_unit/textures/unit_barb_warband_archer_dacia.tga
texture scythia, data/models_unit/textures/unit_barb_warband_archer_scythia.tga
texture slave, data/models_unit/textures/unit_barb_warband_archer_slave.tga
model_flexi data/models_unit/unit_warband_archer_high.cas, 8
model_flexi data/models_unit/unit_warband_archer_med.cas, 15
model_flexi data/models_unit/unit_warband_archer_low.cas, 30
model_flexi data/models_unit/unit_warband_archer_lowest.cas, max
model_sprite slave, 60.0, data/sprites/slave_barb_archer_sprite.spr
model_sprite scythia, 60.0, data/sprites/scythia_barb_archer_sprite.spr
model_sprite dacia, 60.0, data/sprites/dacia_barb_archer_sprite.spr
model_sprite britons, 60.0, data/sprites/dacia_barb_archer_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5f
In export_descr_unit I put:
Code:
type spartan royal guard
dictionary spartan_royal_guard ; Spartan Royal Guard
category infantry
class spearmen
voice_type Heavy_1
soldier spartan_royal_guard, 30, 0, 1
officer greek_standard
attributes sea_faring, hide_forest, can_sap, command, frighten_foot, frighten_mounted
formation 1, 1, 1.7, 0.5, 4, square, phalanx
stat_health 2, 0
stat_pri 27, 8, no, 0, 0, melee, simple, piercing, spear, 25,1
stat_pri_attr spear, long_pike
stat_sec 21, 4, no, 0, 0, melee, simple, piercing, sword, 25, 1
stat_sec_attr no
stat_pri_armour 12, 8, 5, leather
stat_sec_armour 0, 1, flesh
stat_heat -2
stat_ground 2, 0, 0, 0
stat_mental 60, disciplined, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 1000, 220, 130, 190, 1740
ownership greek_cities
Code:
type barb archer britons
dictionary barb_archer_britons ; Archer Warband
category infantry
class missile
voice_type Light_1
soldier barb_archer, 40, 0, 0.9
attributes sea_faring, hide_improved_forest
formation 1.2, 1.2, 2.4, 2.4, 3, square
stat_health 1, 0
stat_pri 9, 2, arrow, 100, 25, missile, archery, piercing, none, 25 ,1
stat_pri_attr no
stat_sec 3, 2, no, 0, 0, melee, simple, piercing, knife, 25 ,1
stat_sec_attr no
stat_pri_armour 3, 2, 0, leather
stat_sec_armour 0, 0, flesh
stat_heat 2
stat_ground 2, -2, 3, 2
stat_mental 4, normal, untrained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 270, 170, 30, 40, 270
ownership britons
Into export_units I added:
Code:
¬----------------
{spartan_royal_guard} Spartan Royal Guard
{spartan_royal_guard_descr}
Legendary warriors they are 'elite perfect soldiers' and nothing else. All of Spartan life is spent training for war. Weaklings perish soon after birth; youths are taught to thieve and terrorize the slave class to harden them; young men are taught nothing unless it has something to do with the arts of war - even music and dance are there only to help keep step when marching and obeying orders.The result is a man who thinks nothing of danger, expects to win, and creates a sense of dread in his opponents.\n\n From this group of men only the best make it in to the Spartan Royal Guard. They carry the Eagle of Olympus as a sign of leadership and to inspire the troops. They also fight in the traditional fashion like hoplites, with a long thrusting spear and the large red round hoplon shield incrusted with the gold symbol of Sparta. They are also protected by an iron breastplate with an external layer of silver.\n\n
The Royal Guard: is an elite unit in Greek Army. A small group of selected soldiers who acted as shock troops. The Thebian army had a group of 300 soldiers. The Spartans had a group of 300 hoplites who were a Royal Guard.
{spartan_royal_guard_descr_short}
The Spartan Royal Guards are elite hoplites trained and selected from the best soldiers of the Spartan Greek units. They are perfect soldiers made in the image of the Thermopylae heroes.
Code:
¬----------------
{barb_archer_britons} Archer Warband
{barb_archer_britons_descr}
Archer warbands are used to harass and break up enemy formations, so that other warriors can then get in amongst their enemies. The members of the warband are lightly armed and equipped, relying more on speed as a protection from foes. Any archers caught in the open by cavalry will be in trouble unless they can withdraw to more favourable ground or behind a shield wall of friendly warriors.\n\nTheir bows have a short range, but each warrior carries a good selection of hunting and war arrows, designed to cause massive bleeding and pierce armour respectively. Their choice of missile is matched to the nature of the target.\n\nThese archers are at their best in wooded country, where their superior stalking skills learned on the hunt can be put to use. Archers from Britannia tend to carry a fewer, heavier shots which have a shorter range, better suited for their style of warfare.
{barb_archer_britons_descr_short}
Archer warbands are used to harass and break up enemy formations, so that other warriors can then get in amongst their enemies.
In export_descr_buildings I put in the units recuitable from the army barracks:
Code:
recruit "spartan royal guard" 0 requires factions { greek_cities, } and hidden_resource sparta
And to units recruitable from the practice field I added:
Code:
recruit "barb archer britons" 0 requires factions { britons, }
In descr_unit_enums I put:
Code:
spartan_royal_guard
spartan_royal_guard_descr
spartan_royal_guard_descr_short
Code:
barb_archer_britons
barb_archer_britons_descr
barb_archer_britons_descr_short
In descr_unit I put:
Code:
type spartan royal guard
dictionary spartan_royal_guard ; Spartan Royal Guard
category infantry
class spearmen
voice_type Heavy_1
soldier spartan_royal_guard, 30, 0, 1
officer greek_standard
attributes sea_faring, hide_forest, can_sap, command, frighten_foot, frighten_mounted
formation 1, 1, 1.7, 0.5, 4, square, phalanx
stat_health 2, 0
stat_pri 27, 8, no, 0, 0, melee, simple, piercing, spear, 25,1
stat_pri_attr spear, long_pike
stat_sec 21, 4, no, 0, 0, melee, simple, piercing, sword, 25, 1
stat_sec_attr no
stat_pri_armour 12, 8, 5, leather
stat_sec_armour 0, 1, flesh
stat_heat -2
stat_ground 2, 0, 0, 0
stat_mental 60, disciplined, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 1000, 220, 130, 190, 1740
ownership greek_cities
Code:
type barb archer britons
dictionary barb_archer_britons ; Archer Warband
category infantry
class missile
voice_type Light_1
soldier barb_archer, 40, 0, 0.9
attributes sea_faring, hide_improved_forest
formation 1.2, 1.2, 2.4, 2.4, 3, square
stat_health 1, 0
stat_pri 9, 2, arrow, 100, 25, missile, archery, piercing, none, 25 ,1
stat_pri_attr no
stat_sec 3, 2, no, 0, 0, melee, simple, piercing, knife, 25 ,1
stat_sec_attr no
stat_pri_armour 3, 2, 0, leather
stat_sec_armour 0, 0, flesh
stat_heat 2
stat_ground 2, -2, 3, 2
stat_mental 4, normal, untrained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 270, 170, 30, 40, 270
ownership britons
I added 4 CAS files into models_units:
Code:
ROYAL_SPARTAN_100
ROYAL_SPARTAN_200
ROYAL_SPARTAN_300
ROYAL_SPARTAN_400
Into Textures I added the files:
Code:
ROYAL_SPARTAN.TGA.DDS
ROYAL_SPARTAN_GLOSS.TGA.DDS
I made a new file called UI, which had two folders inside in, called units and units_info. Those two in turn both had two other folders called greek_cities and britons inside them.
In units/greek_cities I added the file:
Code:
Spartan_Royal_Guard.TGA
In units/britons I added the file:
Code:
BARB_ARCHER_BRITON.TGA
In units_info/greek cities I added the file:
Code:
Spartan_Royal_Guard_INFO.TGA
However, I did not have any unit card info for the briton archers, as it did not come with the download the had the unit card picture in.
Thats everything I've done.
Bookmarks