For an example: I added Hippeis to the Seleukid & Ptolemaic roster in my own EB 1.1.
So here's a code example of how that would go:
In the sp game edu backup folder; I changed the Hippeis entry of the export_descr_unit.txt file:
Code:
;183
type greek cavalry hippeis
dictionary greek_cavalry_hippeis ; Hippeis
category cavalry
class heavy
voice_type General_1
soldier hellenistic_cavalry_hippeis, 25, 0, 1
mount medium horse
mount_effect elephant -1, chariot +2
attributes sea_faring, hide_forest, hardy
formation 1.5, 4, 3, 6, 4, square
stat_health 1, 1
stat_pri 8, 27, no, 0, 0, melee, simple, piercing, spear, 0 ,0.15
stat_pri_attr no
stat_sec 9, 15, no, 0, 0, melee, simple, slashing, sword, 0 ,0.13
stat_sec_attr no
stat_pri_armour 7, 10, 2, leather
stat_sec_armour 0, 0, flesh
stat_heat 2
stat_ground 0, 0, -4, -2
stat_mental 12, disciplined, highly_trained
stat_charge_dist 40
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 2151, 538, 40, 60, 2151
ownership greek_cities, romans_julii, numidia, thrace, slave, seleucid
In the EB\data folder I changed the Hippeis entry of the descr_model_battle.txt file:
Code:
; Hellenistic cavalry - Hippeis / Mistophoroi Hippeis
type hellenistic_cavalry_hippeis
skeleton fs_o_m_spearman, fs_hc_swordsman
indiv_range 40
texture greek_cities, eb/data/models_unit/textures/hellenistic/ebhellenistic_cavalry_hippeis_spw_greek.tga
texture seleucid, eb/data/models_unit/textures/hellenistic/ebhellenistic_cavalry_hippeis_spw_greek.tga
texture thrace, eb/data/models_unit/textures/hellenistic/ebhellenistic_cavalry_hippeis_spw_thrace.tga
texture slave, eb/data/models_unit/textures/hellenistic/ebhellenistic_cavalry_hippeis_spw_slave.tga
texture romans_julii, eb/data/models_unit/textures/hellenistic/ebhellenistic_cavalry_hippeis_spw_slave.tga
texture numidia, eb/data/models_unit/textures/hellenistic/ebhellenistic_cavalry_hippeis_spw_merc.tga
texture merc, eb/data/models_unit/textures/hellenistic/ebhellenistic_cavalry_hippeis_spw_merc.tga
model_flexi eb/data/models_unit/ebhellenic_cavalry_hippeis_spw_high.cas, 15
model_flexi eb/data/models_unit/ebhellenic_cavalry_hippeis_spw_med.cas, 30
model_flexi eb/data/models_unit/ebhellenic_cavalry_hippeis_spw_low.cas, 40
model_flexi eb/data/models_unit/ebhellenic_cavalry_hippeis_spw_lowest.cas, max
model_sprite greek_cities, 60.0, eb/data/sprites/greek/ebsprite_greek_cavalry_hippeis_all.spr
model_sprite seleucid, 60.0, eb/data/sprites/greek/ebsprite_greek_cavalry_hippeis_all.spr
model_sprite thrace, 60.0, eb/data/sprites/greek/ebsprite_greek_cavalry_hippeis_thrace.spr
model_sprite slave, 60.0, eb/data/sprites/greek/ebsprite_greek_cavalry_hippeis_slave.spr
model_sprite numidia, 60.0, eb/data/sprites/greek/ebsprite_greek_cavalry_hippeis_merc.spr
model_sprite romans_julii, 60.0, eb/data/sprites/greek/ebsprite_greek_cavalry_hippeis_slave.spr
model_sprite merc, 60.0, eb/data/sprites/greek/ebsprite_greek_cavalry_hippeis_merc.spr
model_tri 400, 0.5f, 0.5f, 0.5f
And finally I edited the export_descr_buildings.txt file to contain:
Code:
city_barracks_J1 requires factions { romans_julii, numidia, } and building_present_min_level government gov3 and not hidden_resource not_here
{
capability
{
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource EA and hidden_resource C and hidden_resource n1 and hidden_resource n2 and hidden_resource y4 and hidden_resource n8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource SW and hidden_resource C and hidden_resource n1 and hidden_resource y2 and hidden_resource y4 and hidden_resource y8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource EA and hidden_resource E and hidden_resource n1 and hidden_resource n2 and hidden_resource n4 and hidden_resource n8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource EA and hidden_resource D and hidden_resource y1 and hidden_resource y2 and hidden_resource y4 and hidden_resource n8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource EA and hidden_resource C and hidden_resource n1 and hidden_resource n2 and hidden_resource n4 and hidden_resource y8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource SW and hidden_resource C and hidden_resource y1 and hidden_resource y2 and hidden_resource n4 and hidden_resource y8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource EA and hidden_resource C and hidden_resource n1 and hidden_resource y2 and hidden_resource y4 and hidden_resource n8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource EA and hidden_resource D and hidden_resource n1 and hidden_resource n2 and hidden_resource n4 and hidden_resource y8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource SW and hidden_resource D and hidden_resource y1 and hidden_resource y2 and hidden_resource y4 and hidden_resource n8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource NW and hidden_resource D and hidden_resource n1 and hidden_resource n2 and hidden_resource n4 and hidden_resource n8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource SW and hidden_resource B and hidden_resource n1 and hidden_resource y2 and hidden_resource n4 and hidden_resource y8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource SW and hidden_resource B and hidden_resource n1 and hidden_resource n2 and hidden_resource n4 and hidden_resource y8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource SW and hidden_resource C and hidden_resource y1 and hidden_resource y2 and hidden_resource y4 and hidden_resource n8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource SW and hidden_resource C and hidden_resource n1 and hidden_resource y2 and hidden_resource n4 and hidden_resource n8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource EA and hidden_resource B and hidden_resource n1 and hidden_resource y2 and hidden_resource y4 and hidden_resource n8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource EA and hidden_resource E and hidden_resource y1 and hidden_resource n2 and hidden_resource n4 and hidden_resource n8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource SW and hidden_resource C and hidden_resource y1 and hidden_resource y2 and hidden_resource y4 and hidden_resource y8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource NW and hidden_resource A and hidden_resource n1 and hidden_resource y2 and hidden_resource n4 and hidden_resource n8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource EA and hidden_resource E and hidden_resource n1 and hidden_resource y2 and hidden_resource n4 and hidden_resource n8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource SW and hidden_resource C and hidden_resource n1 and hidden_resource n2 and hidden_resource n4 and hidden_resource n8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource SW and hidden_resource B and hidden_resource y1 and hidden_resource y2 and hidden_resource n4 and hidden_resource y8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource SW and hidden_resource D and hidden_resource y1 and hidden_resource y2 and hidden_resource y4 and hidden_resource y8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource SW and hidden_resource D and hidden_resource y1 and hidden_resource y2 and hidden_resource n4 and hidden_resource n8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource SW and hidden_resource D and hidden_resource n1 and hidden_resource y2 and hidden_resource n4 and hidden_resource y8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource SW and hidden_resource D and hidden_resource y1 and hidden_resource n2 and hidden_resource n4 and hidden_resource n8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource EA and hidden_resource C and hidden_resource n1 and hidden_resource y2 and hidden_resource n4 and hidden_resource y8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource SW and hidden_resource A and hidden_resource y1 and hidden_resource y2 and hidden_resource y4 and hidden_resource y8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource NW and hidden_resource A and hidden_resource n1 and hidden_resource n2 and hidden_resource y4 and hidden_resource y8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource SW and hidden_resource C and hidden_resource n1 and hidden_resource n2 and hidden_resource y4 and hidden_resource y8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource SW and hidden_resource D and hidden_resource y1 and hidden_resource n2 and hidden_resource y4 and hidden_resource n8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource SW and hidden_resource D and hidden_resource n1 and hidden_resource n2 and hidden_resource y4 and hidden_resource n8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource SW and hidden_resource C and hidden_resource n1 and hidden_resource n2 and hidden_resource n4 and hidden_resource y8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource SW and hidden_resource A and hidden_resource n1 and hidden_resource n2 and hidden_resource n4 and hidden_resource n8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource NW and hidden_resource D and hidden_resource y1 and hidden_resource n2 and hidden_resource y4 and hidden_resource y8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource SW and hidden_resource D and hidden_resource n1 and hidden_resource y2 and hidden_resource y4 and hidden_resource n8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource SW and hidden_resource D and hidden_resource n1 and hidden_resource y2 and hidden_resource y4 and hidden_resource y8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource SW and hidden_resource C and hidden_resource y1 and hidden_resource n2 and hidden_resource y4 and hidden_resource y8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource SW and hidden_resource D and hidden_resource n1 and hidden_resource n2 and hidden_resource n4 and hidden_resource y8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource SW and hidden_resource D and hidden_resource y1 and hidden_resource n2 and hidden_resource y4 and hidden_resource y8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource SW and hidden_resource D and hidden_resource n1 and hidden_resource y2 and hidden_resource n4 and hidden_resource n8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource SW and hidden_resource B and hidden_resource n1 and hidden_resource n2 and hidden_resource y4 and hidden_resource y8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource EA and hidden_resource C and hidden_resource y1 and hidden_resource y2 and hidden_resource n4 and hidden_resource n8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource EA and hidden_resource C and hidden_resource y1 and hidden_resource n2 and hidden_resource n4 and hidden_resource y8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource EA and hidden_resource C and hidden_resource y1 and hidden_resource y2 and hidden_resource n4 and hidden_resource y8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource NW and hidden_resource D and hidden_resource y1 and hidden_resource y2 and hidden_resource y4 and hidden_resource y8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource EA and hidden_resource E and hidden_resource y1 and hidden_resource y2 and hidden_resource n4 and hidden_resource n8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource SW and hidden_resource C and hidden_resource y1 and hidden_resource n2 and hidden_resource n4 and hidden_resource y8
recruit "greek cavalry hippeis" 0 requires factions { romans_julii, numidia, } and hidden_resource SW and hidden_resource B and hidden_resource y1 and hidden_resource n2 and hidden_resource y4 and hidden_resource y8
Since I wasn't in any way particularly concerned with changing AOR and such I kept & copied that code to army_barracks_J1 and royal_barracks_J1 as well. (Otherwise I would be unable to train hippeis in levels beyond city_barracks_J1....)
Bookmarks