I don't know if anyone here remembers the Minor Mod "Conqurable Units". It use a script which add an event to the game when a specific city is captured to activate the recruitment of some elite units of the subdued faction. For example, when London is captured by a HRE general, in the campaign_script.txt the following code is executed:
so this line in EDBmonitor_event GeneralCaptureSettlement SettlementName London
and FactionType hre
add_events
event historic hre_conquers_england
date 0 0
end_add_events
end_monitor
would work, enabling the player to recruit Yeoman Archers.recruit_pool "Yeoman Archers" 1 0.7 6 0 requires factions { hre, } and event_counter hre_conquers_england 1
But when I re-read its code, I become quite puzzled: If an AI HRE general captures London, will the player be able to recruit Yeoman Archers as well? I remember in Rome there was a "FactionisLocal" to assure that the script works only for the player.Is necessary to add that or something similar to the original code if I the code work only for player?? If so, can anyone post the modded script here? Any suggestion is welcomed........




Reply With Quote








