I went ahead and did this to my game because I thought it sounded cool.
All of this is ripped from SPQR, I created non of this. In fact, I'm not posting files, just telling you how to extract the data from SPQR yourself.
I hope LT is ok with it, if not, I'll remove all this from my post.
Remember - back up any file you change before you start
Here's what you need to do:
Download SPQR
Run the EXE, but point it to a blank directory - as to not overwrite your game.
Copy the UI/UNIT/ROMAN_*/#ROMAN_LEGION*.tga files to your UI/UNIT/ROMAN_* directories
Copy the UI/UNIT_INFO/ROMAN_*/ROMAN_LEGION*.tga files to your UI/UNIT_INFO/ROMAN_* directories. (there should be 3 ROMAN_JULII, ROMAN_BRUTII and ROMAN_SCIPII) From what I could tell, they didn't make them for the Senate.
In export_descr_unit.txt do the following:
Code:
type roman legion 1
dictionary roman_legion_1 ; Legionary First Cohort
category infantry
class heavy
voice_type Medium_1
soldier roman_legionary_cohort_ii, 60, 0, 1.3
officer roman_centurion
officer roman_standard
;officer roman_standard_eagle
attributes sea_faring, hide_forest, can_sap, hardy, command
formation 1, 2, 2, 3, 4, square, testudo
stat_health 1, 0
stat_pri 13, 3, pilum, 35, 2, thrown, blade, piercing, spear, 25 ,1
stat_pri_attr prec, thrown ap
stat_sec 9, 3, no, 0, 0, melee, simple, piercing, sword, 25 ,1
stat_sec_attr no
stat_pri_armour 12, 5, 5, metal
stat_sec_armour 0, 1, flesh
stat_heat 5
stat_ground 2, 0, 0, 0
stat_mental 10, disciplined, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 2, 1220, 310, 130, 190, 1220
ownership romans_julii,romans_brutii,romans_scipii
Copy the above, paste it 28 times into export_descr_unit.txt and change the Roman Legion 1 and Roman_Legion_1 to Roman Legion 2 and Roman_Legion_2 through 28.
The above code contains the stats for a vanilla game 1st legion cohort, as opposed to SPQR's altered stats. If you use your own mod/stats, adjust the above stats to reflect your 1st legion cohorts, then paste it 28 times.
Please note, I use the Modding_Legions_full 1.3b skinpack. If you do as well, you can uncomment the officer roman_standard_eagle line.
Open the SPQR text\export_units.txt
Copy everything from the line: {roman_legion_1} LEGIO I: AUGUSTA GERMANICUS to the last of the roman legion enries {roman_legion_28}
Paste it into your text\export_units.txt
open your export_descr_buildings.txt
find the royal_barracks entry
with all the other units paste the following:
Code:
recruit "roman legion 1" 2 requires factions { romans_julii,romans_brutii,romans_scipii, } and marian_reforms and hidden_resource legion1
recruit "roman legion 2" 2 requires factions { romans_julii,romans_brutii,romans_scipii, } and marian_reforms and hidden_resource legion2
recruit "roman legion 3" 2 requires factions { romans_julii,romans_brutii,romans_scipii, } and marian_reforms and hidden_resource legion3
recruit "roman legion 4" 2 requires factions { romans_julii,romans_brutii,romans_scipii, } and marian_reforms and hidden_resource legion4
recruit "roman legion 5" 2 requires factions { romans_julii,romans_brutii,romans_scipii, } and marian_reforms and hidden_resource legion5
recruit "roman legion 6" 2 requires factions { romans_julii,romans_brutii,romans_scipii, } and marian_reforms and hidden_resource legion6
recruit "roman legion 7" 2 requires factions { romans_julii,romans_brutii,romans_scipii, } and marian_reforms and hidden_resource legion7
recruit "roman legion 8" 2 requires factions { romans_julii,romans_brutii,romans_scipii, } and marian_reforms and hidden_resource legion8
recruit "roman legion 9" 2 requires factions { romans_julii,romans_brutii,romans_scipii, } and marian_reforms and hidden_resource legion9
recruit "roman legion 10" 2 requires factions { romans_julii,romans_brutii,romans_scipii, } and marian_reforms and hidden_resource legion10
recruit "roman legion 11" 2 requires factions { romans_julii,romans_brutii,romans_scipii, } and marian_reforms and hidden_resource legion11
recruit "roman legion 12" 2 requires factions { romans_julii,romans_brutii,romans_scipii, } and marian_reforms and hidden_resource legion12
recruit "roman legion 13" 2 requires factions { romans_julii,romans_brutii,romans_scipii, } and marian_reforms and hidden_resource legion13
recruit "roman legion 14" 2 requires factions { romans_julii,romans_brutii,romans_scipii, } and marian_reforms and hidden_resource legion14
recruit "roman legion 15" 2 requires factions { romans_julii,romans_brutii,romans_scipii, } and marian_reforms and hidden_resource legion15
recruit "roman legion 16" 2 requires factions { romans_julii,romans_brutii,romans_scipii, } and marian_reforms and hidden_resource legion16
recruit "roman legion 17" 2 requires factions { romans_julii,romans_brutii,romans_scipii, } and marian_reforms and hidden_resource legion17
recruit "roman legion 18" 2 requires factions { romans_julii,romans_brutii,romans_scipii, } and marian_reforms and hidden_resource legion18
recruit "roman legion 19" 2 requires factions { romans_julii,romans_brutii,romans_scipii, } and marian_reforms and hidden_resource legion19
recruit "roman legion 20" 2 requires factions { romans_julii,romans_brutii,romans_scipii, } and marian_reforms and hidden_resource legion20
recruit "roman legion 21" 2 requires factions { romans_julii,romans_brutii,romans_scipii, } and marian_reforms and hidden_resource legion21
recruit "roman legion 22" 2 requires factions { romans_julii,romans_brutii,romans_scipii, } and marian_reforms and hidden_resource legion22
recruit "roman legion 23" 2 requires factions { romans_julii,romans_brutii,romans_scipii, } and marian_reforms and hidden_resource legion23
recruit "roman legion 24" 2 requires factions { romans_julii,romans_brutii,romans_scipii, } and marian_reforms and hidden_resource legion24
recruit "roman legion 25" 2 requires factions { romans_julii,romans_brutii,romans_scipii, } and marian_reforms and hidden_resource legion25
recruit "roman legion 26" 2 requires factions { romans_julii,romans_brutii,romans_scipii, } and marian_reforms and hidden_resource legion26
recruit "roman legion 27" 2 requires factions { romans_julii,romans_brutii,romans_scipii, } and marian_reforms and hidden_resource legion27
recruit "roman legion 28" 2 requires factions { romans_julii,romans_brutii,romans_scipii, } and marian_reforms and hidden_resource legion28
Additionally, put a ; in front of the line:
Code:
recruit "roman legionary first cohort ii" 0 requires factions { roman, } and hidden_resource rome and marian_reforms
I also commented out the early first cohort entries as well (there's one in the army barracks section and one in the royal barracks)
Code:
recruit "roman legionary first cohort i" 0 requires factions { roman, } and hidden_resource rome and marian_reforms
Also at the top of export_descr_buildings.txt find the line that start with hidden_resources and add this on the end of it:
Code:
cohorts legion1 legion2 legion3 legion4 legion5 legion6 legion7 legion8 legion9 legion10 legion11 legion12 legion13 legion14 legion15 legion16 legion17 legion18 legion19 legion20 legion21 legion22 legion23 legion24 legion25 legion26 legion27 legion28
Now the time comsuming part:
Go get a good file compare utility - I suggest the one at www.ultraedit.com.
Compare your world/maps/base/descr_regions.txt (if you are using the imperial campaign) or world/maps/campaign/campaignname/descr_regions.txt
with the one from SPQR.
Find all the lines in SPQR's region file that contain legionX where X is a number from 1 to 28. (legion1, legion2, legion15, etc)
In your region file, copy the line over or add legionX (again X is a number, it should match the one in the SPQR file for that region).
There's only 28 entries, so it really doesn't take that long. I would offer my file, but I have my own customized descr_region.txt which would serve no better than the SPQR one.
Rename your map.rwm file to map.rwm.bak (either in base\ or campaign\campaignname)
Load it up and hope it all goes well. If it crashes straight to the desktop, check your descr_region file, otherwise it'll probably tell you the error (make sure -show_err is in your shortcut line).
From the entries in SPQR's unit file, it sounds like they also have Early 1st Legion Cohorts. I didn't add these to my game, but using the above, you should be able to figure how to do this if you want.
Webbird, to make custom skins what you would need to do is for the officer line that contains the eagle, create a custom descr_model_strat.txt entry for each legion/standard with a custom skin, then replace the soldier line for each legion.
Example:
officer roman_standard_eagle
would be
officer roman_standard_eagle_1
and the roman_standard_eagle_1 entry in the descr_model_strat would point to a custom skin for the 1st legion. I got the roman_standard_eagle model/skin from the modding_legions_full 1.3b mod pack.
Thank you LT for a really neat named legion system.
Hope this was helpful to someone,
BrandonM