gestire il reclutamento di truppe cambiando le disponibilità per le fazioni, i limiti temporali e gli edifici di reclutamento
ciao ragazzi, in questo piccolo tutorial spiegherò (gradualmente visto che in questo periodo non ho molto tempo) il funzionamento base del reclutamento focalizzando l'attenzione sugli edifici relativi, in modo da permettervi di cambiare a vostro piacimento la possibilità di reclutare truppe prima (o dopo) del tempo previsto (se giocate ad un mod che prevede truppe tor), renderle disponibili a fazioni che non possono reclutarle, e permettere il reclutamento di truppe aor in regioni in cui non sono inizialmente disponibili
per prima cosa vediamo qual è il file in cui operare
CAPITOLO 1
il file che ci serve è: export_descr_buildings, che troverete nella cartella mods/bellum crucis/data
Come potete vedere è una lista di tutti gli edifici presenti nel gioco, ma ovviamente noi ci limiteremo a quelli di reclutamento; il primo che incontriamo scorrendo il file sono le scuderie, denominate "building equestrian", di cui riporto (al momento) la descrizione iniziale ed il primo livello "stables"
;;;;;;;;;scuderie
building equestrian
{
levels stables knights_stables barons_stables earls_stables kings_stables
{
stables castle requires factions { northern_european, middle_eastern, eastern_european, greek, southern_european, normans, }
{
capability
{
;;; I LIV
recruit_pool "Mounted Sergeants" 1 0.21 3 0 requires factions { milan, pisa, venice, papal_states, } and building_present_min_level castle_smith c_leather_tanner
recruit_pool "Mounted Sergeants" 1 0.21 3 0 requires factions { sicily, england, hre, france, denmark, normans, } and building_present_min_level castle_smith c_leather_tanner
recruit_pool "Jinetes" 1 0.21 3 0 requires factions { spain, portugal, aragon, } and building_present_min_level castle_smith c_leather_tanner
recruit_pool "EE Light Cavalry" 1 0.21 3 0 requires factions { russia, novgorod, hungary, } and building_present_min_level castle_smith c_leather_tanner
recruit_pool "Polish Shooters" 1 0.21 3 0 requires factions { poland, } and building_present_min_level castle_smith c_leather_tanner
recruit_pool "Cuman Light Cav" 1 0.21 3 0 requires factions { cumans, } and building_present_min_level castle_smith c_leather_tanner
recruit_pool "Granadine Jinetes" 1 0.21 3 0 requires factions { moors, } and building_present_min_level castle_smith c_blacksmith
recruit_pool "Isl Light Cav" 1 0.21 3 0 requires factions { egypt, moors, } and building_present_min_level castle_smith c_leather_tanner
recruit_pool "Isl HA Cav" 1 0.21 3 0 requires factions { turks, zenghids, }
recruit_pool "Border Horse" 1 0.21 3 0 requires factions { scotland, } and building_present_min_level castle_smith c_leather_tanner
recruit_pool "Cuman Horse Archers" 1 0.21 3 0 requires factions { cumans, }
recruit_pool "Greek Militia Cavalry" 1 0.21 3 0 requires factions { byzantium, aztecs, } and building_present_min_level castle_smith c_leather_tanner
recruit_pool "Skythikon" 1 0.21 3 0 requires factions { byzantium, aztecs, } and hidden_resource alania or hidden_resource bulgaria or hidden_resource carpazia
recruit_pool "Mongol Horse Archers" 1 0.21 3 0 requires factions { mongols, timurids, }
;"""""""""""Barons Emirs""""""
recruit_pool "Mounted Sergeants" 1 0.21 3 0 requires factions { barons, } and building_present_min_level castle_smith c_leather_tanner
recruit_pool "Isl Light Cav" 1 0.21 3 0 requires factions { emirs, } and building_present_min_level castle_smith c_leather_tanner
recruit_pool "Mounted Hashishim" 1 0.2 3 0 requires factions { emirs, } and building_present_min_level castle_smith c_blacksmith
;;;;;;;;;;;;;;;;;;;;;;;;AOR;;;;;;;;;;;;;;;;;;;;;;;;;;;
recruit_pool "Hobilars" 0 0.21 3 0 requires factions { northern_european, eastern_european, greek, middle_eastern, southern_european, } and hidden_resource inghilterra and building_present_min_level castle_smith c_leather_tanner
recruit_pool "Scouts" 0 0.21 3 0 requires factions { northern_european, eastern_european, greek, middle_eastern, southern_european, } and hidden_resource scandinavia and building_present_min_level castle_smith c_leather_tanner
recruit_pool "Kazaks" 0 0.21 3 0 requires factions { northern_european, eastern_european, greek, middle_eastern, southern_european, } and hidden_resource russiacentro
recruit_pool "Turkish Horse Archers" 0 0.21 3 0 requires factions { northern_european, eastern_european, greek, middle_eastern, southern_european, } and hidden_resource turchia
recruit_pool "Horseboys" 0 0.21 3 0 requires factions { northern_european, eastern_european, greek, middle_eastern, southern_european, } and hidden_resource irlanda
recruit_pool "Mordvini" 0 0.21 3 0 requires factions { northern_european, eastern_european, greek, middle_eastern, southern_european, } and hidden_resource bulgaria and building_present_min_level castle_smith c_blacksmith
recruit_pool "Trapezitoi" 0 0.21 3 0 requires factions { northern_european, eastern_european, greek, middle_eastern, southern_european, } and hidden_resource bizantinia and building_present_min_level castle_smith c_leather_tanner
recruit_pool "Monapire" 0 0.21 3 0 requires factions { northern_european, eastern_european, greek, middle_eastern, southern_european, } and hidden_resource georgia and building_present_min_level castle_smith c_leather_tanner