Medieval 2 Total War
Discussione generale sul videogioco Medieval 2 : Total War
Cattedra
Guide & Tutorial a cura dei maggiori esperti di modding
Medieval 2 Total War Cantiere
Progettazione di Mod relativi al videogame Medieval 2 Total War

 

 

Nuova Discussione
Rispondi
 
Stampa | Notifica email    
Autore

script di resurrezione fazioni - potrebbe funzionare?

Ultimo Aggiornamento: 20/10/2021 17:14
10/09/2021 11:16
 
Email
 
Scheda Utente
 
Modifica
 
Cancella
 
Quota
OFFLINE
Post: 69
Registrato il: 10/11/2014
Età: 44
Ausiliario
Ho trovato questo script per Third Age TW (di cui posto un estratto sotto)... con le opportune modifiche, potrebbe funzionare anche per Bellum?

nel caso la risposta fosse si, il resto delle modifiche non dovrebbero essere un problema... ma non so come creare l evento storico collegato all' estinzione\resurrezione della fazione, a cui il trigger dello script è collegato (più o meno ho capito come far capitare un evento storico che accada ad un certo turno specifico, ma non so come invece collegarlo ad un evento).

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Gondor ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;#########################Resurrect Rohan
declare_counter sicily_milan
monitor_event FactionTurnStart FactionType sicily
and I_CompareCounter go_resurrect = 1
and FactionIsLocal
and I_NumberOfSettlements milan = 0
and DiplomaticStanceFromFaction milan = Allied
historic_event rohan_fallen
set_counter sicily_milan 1
terminate_monitor
end_monitor

monitor_event FactionTurnStart FactionType sicily
and I_CompareCounter go_resurrect = 1
and I_CompareCounter sicily_milan = 1
and FactionIsLocal
and I_NumberOfSettlements milan = 0
and I_SettlementOwner Anorien = sicily
and I_SettlementOwner Kings-Land = sicily
historic_event rohan_resurrection true
terminate_monitor
end_monitor

monitor_conditions I_EventCounter rohan_resurrection_accepted = 1
if I_LocalFaction sicily
spawn_army
faction milan
character random_name, named character, age 30, x 196, y 155, family
traits LoyaltyStarter 2 , GoodCommander 2 , ReligionStarter 1
unit rohan bodyguards exp 2 armour 1 weapon_lvl 0
unit militia exp 0 armour 0 weapon_lvl 0
unit militia exp 0 armour 0 weapon_lvl 0
unit Rohan Axemen exp 0 armour 0 weapon_lvl 0
unit Rohan Axemen exp 0 armour 0 weapon_lvl 0
unit Dismounted Eored Lancers exp 0 armour 0 weapon_lvl 0
unit Dismounted Eored Lancers exp 0 armour 0 weapon_lvl 0
unit spearmens exp 0 armour 0 weapon_lvl 0
unit spearmens exp 0 armour 0 weapon_lvl 0
unit archers exp 0 armour 0 weapon_lvl 0
unit archers exp 0 armour 0 weapon_lvl 0
unit archers exp 0 armour 0 weapon_lvl 0
unit archers exp 0 armour 0 weapon_lvl 0
unit rohan rider exp 0 armour 0 weapon_lvl 0
unit rohan rider exp 0 armour 0 weapon_lvl 0
unit Rohan Horsearchers exp 0 armour 0 weapon_lvl 0
unit eorlingas exp 0 armour 0 weapon_lvl 0
unit eorlingas exp 0 armour 0 weapon_lvl 0
end
faction_emerge milan sicily 0 400.0 0.0 1.2 town false unused_label1 unused_name 30
move_strat_camera 196, 155
zoom_strat_camera 0.5
add_money sicily 10000
add_money milan 5000
set_faction_standing sicily milan 9.9
console_command diplomatic_stance sicily milan Allied
historic_event rohan_is_resurrected
end_if
terminate_monitor
end_monitor

;#########################Resurrect Eriador
declare_counter sicily_turks
monitor_event FactionTurnStart FactionType sicily
and I_CompareCounter go_resurrect = 1
and FactionIsLocal
and I_NumberOfSettlements turks = 0
and DiplomaticStanceFromFaction turks = Allied
historic_event eriador_fallen
set_counter sicily_turks 1
terminate_monitor
end_monitor

monitor_event FactionTurnStart FactionType sicily
and I_CompareCounter go_resurrect = 1
and I_CompareCounter sicily_turks = 1
and FactionIsLocal
and I_NumberOfSettlements turks = 0
and I_SettlementOwner Anorien = sicily
and I_SettlementOwner Bree = sicily
historic_event eriador_resurrection true
terminate_monitor
end_monitor

monitor_conditions I_EventCounter eriador_resurrection_accepted = 1
if I_LocalFaction sicily
spawn_army
faction turks
character random_name, named character, age 30, x 129, y 257, family
traits LoyaltyStarter 2 , GoodCommander 2 , ReligionStarter 1
unit Mounted Dunedain BG exp 2 armour 1 weapon_lvl 0
unit Breeland Militia exp 0 armour 0 weapon_lvl 0
unit Breeland Militia exp 0 armour 0 weapon_lvl 0
unit Lumbermen exp 0 armour 0 weapon_lvl 0
unit Lumbermen exp 0 armour 0 weapon_lvl 0
unit Greenway Sentries exp 0 armour 0 weapon_lvl 0
unit Greenway Sentries exp 0 armour 0 weapon_lvl 0
unit Bree Archer Militia exp 0 armour 0 weapon_lvl 0
unit Bree Archer Militia exp 0 armour 0 weapon_lvl 0
unit Bree Archer Militia exp 0 armour 0 weapon_lvl 0
unit Bree Archer Militia exp 0 armour 0 weapon_lvl 0
unit Woodland Hunters exp 0 armour 0 weapon_lvl 0
unit Woodland Hunters exp 0 armour 0 weapon_lvl 0
unit Greenway Guards exp 0 armour 0 weapon_lvl 0
unit Greenway Guards exp 0 armour 0 weapon_lvl 0
unit Merchants exp 0 armour 0 weapon_lvl 0
unit Merchants exp 0 armour 0 weapon_lvl 0
unit Mounted Dunedain exp 0 armour 0 weapon_lvl 0
end
faction_emerge turks sicily 0 400.0 0.0 1.2 town false unused_label1 unused_name 30
move_strat_camera 129, 257
zoom_strat_camera 0.5
add_money sicily 10000
add_money turks 5000
set_faction_standing sicily turks 9.9
console_command diplomatic_stance sicily turks Allied
historic_event eriador_is_resurrected
end_if
terminate_monitor
end_monitor

Amministra Discussione: | Chiudi | Sposta | Cancella | Modifica | Notifica email Pagina precedente | 1 | Pagina successiva
Nuova Discussione
Rispondi
Cerca nel forum
Tag discussione
Discussioni Simili   [vedi tutte]

Feed | Forum | Album | Utenti | Cerca | Login | Registrati | Amministra
Crea forum gratis, gestisci la tua comunità! Iscriviti a FreeForumZone
FreeForumZone [v.6.1] - Leggendo la pagina si accettano regolamento e privacy
Tutti gli orari sono GMT+01:00. Adesso sono le 08:34. Versione: Stampabile | Mobile
Copyright © 2000-2024 FFZ srl - www.freeforumzone.com