Now for the fun part. Make a backup copy of both the export_descr_unit and descr_model_battle file in EB. Save them somewhere in a separate folder so they don't get lost.
Bovi is right. The stats in EB are completely different from those in SPQR so porting the unit over as such will be no fun at all. Unless you want to have an über unit that chews trough everthing.
Now this is the fun part. Screwing this up will either make or break your game.
Go into the models_unit and sprites folders in your SPQR\Data folder and copy all the files that the battle model is referring to. I'll make a list:
texture greek_cities, data/models_unit/textures/SPQR_INFANTRY_GREEK_HOPLITE_SPARTAN.TGA
model_flexi_m data/models_unit/SPQR_atg_redspartan_high.cas, 8
model_flexi_m data/models_unit/SPQR_atg_redspartan_med.cas, 15
model_flexi_m data/models_unit/SPQR_atg_redspartan_low.cas, 30
model_flexi data/models_unit/SPQR_atg_redspartan_lowest.cas, max
model_sprite greek_cities, 60.0, data/sprites/greek_cities_greek_hoplite_spartan_pylos_sprite1.s pr
Find these. And copy them to their respective locations in the EB\Data folder.
Once you have done that. Copy the following model info into the DMB (descr_model_battle) file of your EB installation.
Code:
type greek_hoplite_spartan_pylos
skeleton fs_fast_o_f_spearman, fs_fast_swordsman
indiv_range 40
texture greek_cities, data/models_unit/textures/SPQR_INFANTRY_GREEK_HOPLITE_SPARTAN.TGA
model_flexi_m data/models_unit/SPQR_atg_redspartan_high.cas, 8
model_flexi_m data/models_unit/SPQR_atg_redspartan_med.cas, 15
model_flexi_m data/models_unit/SPQR_atg_redspartan_low.cas, 30
model_flexi data/models_unit/SPQR_atg_redspartan_lowest.cas, max
model_sprite greek_cities, 60.0, data/sprites/greek_cities_greek_hoplite_spartan_pylos_sprite1.s pr
model_tri 400, 0.5f, 0.5f, 0.5f
Now open up the EB EDU (edit_descr_unit) file. Find entries ;326 and ;435 which are the Spartan Hoplites and Greek General's Bodyguard respectively. Now the entry for the Spartans looks like this:
Code:
;326
type hellenistic infantry spartiateshoplitai
dictionary hellenistic_infantry_spartiateshoplitai ; Spartiates Hoplitai
category infantry
class heavy
voice_type General_1
soldier hellenistic_infantry_spartiateshoplitai, 30, 0, 1.22
officer ebofficer_hellenic_officer
officer ebofficer_hellenic_standardbearer
mount_effect elephant -1
attributes sea_faring, hide_forest
formation 0.76, 1.2, 1.6, 2.4, 4, square
stat_health 1, 0
stat_pri 16, 8, no, 0, 0, melee, simple, piercing, spear, 0 ,0.13
stat_pri_attr light_spear
stat_sec 0, 0, no, 0, 0, no, no, no, none, 0 ,0.1
stat_sec_attr no
stat_pri_armour 13, 10, 4, metal
stat_sec_armour 0, 0, flesh
stat_heat 5
stat_ground 0, 0, -3, -2
stat_mental 17, disciplined, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 3396, 849, 60, 504, 3396
ownership greek_cities, egypt
The highlighted entry determines the battle model used by the unit. I wan't you to change this so it reads like this:
Code:
;326
type hellenistic infantry spartiateshoplitai
dictionary hellenistic_infantry_spartiateshoplitai ; Spartiates Hoplitai
category infantry
class heavy
voice_type General_1
soldier greek_hoplite_spartan_pylos, 30, 0, 1.22
officer ebofficer_hellenic_officer
officer ebofficer_hellenic_standardbearer
mount_effect elephant -1
attributes sea_faring, hide_forest
formation 0.76, 1.2, 1.6, 2.4, 4, square
stat_health 1, 0
stat_pri 16, 8, no, 0, 0, melee, simple, piercing, spear, 0 ,0.13
stat_pri_attr light_spear
stat_sec 0, 0, no, 0, 0, no, no, no, none, 0 ,0.1
stat_sec_attr no
stat_pri_armour 13, 10, 4, metal
stat_sec_armour 0, 0, flesh
stat_heat 5
stat_ground 0, 0, -3, -2
stat_mental 17, disciplined, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 3396, 849, 60, 504, 3396
ownership greek_cities, egypt
Do the same for the "soldier" entry of the Greek General's Bodyguard. Once you have done all this save the changes you made to your EDU and DMB.
Now go into the UI folder in your SPQR installation. Find the unit card and unit_ifo card for the Spartan Hoplite. The first should be found in the subfolder Units and the second in the Unit_Info subfolder. There may be further subfolders for culture or factions specific units.
Once you have found them copy those over to to their respective folders in EB. Now look for EB Spartan Hoplites and Greek General's Bodyguard unit card and unit_info card. Copy them to secure location. Same place you put the backup EDU and DMB.
Now rename the new unit cards you brought over from the SPQR mod to match the full file name of the unit cards you just removed. You will have to make two copies as both the Spartans and the Bodyguards need their own unit cards and unit_info cards.
Once everything is ready. Close the files you have been editing after saving the changes I specified. Now start up EB and either choose a Custom Battle or continue your Koinon Hellenon campaign. Both the Spartans and your General's Bodyguards should now be using both the models and textures of the SPQR Spartans.
Let me know if you get it working. A screenie would be nice too.
Bookmarks