Well, I don't know if it is still interesting, but I've been researching a little bit the question of construction and recruitment of rebels.
export_descr_buildings
The first finding that shocked me was that the term slave in
Code:
requires factions {slave, }
has no effect.
The rebels recruit the troops and construct buildings following the indications of the culture assigned to them in each region.
But, where is the assignation?
descr_rebel_factions
This file is only important (apparently) for the rebels that appear in regions controlled by named factions. The units assigned to the rebels will appear in the rebellion, although I'm not sure if ALL the units appear ALWAYS in each rebellion.
descr_regions
In this file, the name of the rebels that appears in descr_rebel_factions is assigned to each region.
It is also assigned a culture tag to the region, which is used in case of a rebel region, but only for the initial buildings.
Example: the culture tag is gauls, the buildings will have barbarian style.
descr_strat
This file is very important to control the construction and recruitment of rebels.
controls the building tree and the recruitment system of the rebels in that settlement.
Example: if the region with a culture tag gauls (descr_regions) has faction_creator seleucid, the rebels will construct seleucid buildings and recruit seleucid units.
But, which units?
This point was also difficult for me. I tried to put the slave units (those included in descr_rebel_factions) in export_descr_buildings, but those units didn't appear as recruitable units when playing with the rebels.
Fortunately, there were still some remaining units from the original game and I found that in two regions was possible to recruit greek hoplite militia (thrace).
This made me look at export_descr_unit and descr_model_battle.
export_descr_unit
When I looked at the entry for greek hoplite militia, I had
Code:
owner greek_cities, thrace, slave
I imagined that the rebel faction recruited those units belonging to the faction_creator (thrace) that were also assigned to slave faction.
I had several units of different factions, included in export_descr_buildings, with textures also assigned to slave faction in descr_model_battle.
Thus I put slave as the second owner in export_descr_unit and... voilà, the units were recruitable in each settlement with a muster_field, depending on the faction_creator.
I hope that with a complete recruitment tree, and perhaps a higher initial treasure, the rebels will be more challenging in the campaign.
Sorry if it is difficult to understand my poor English.
Bookmarks