
Originally Posted by
Macaras
I think it's a great idea !
To be included in the next version:
Code:
;======================================================================================================
;------- Turcoman Help for Rum -----------------------------------------------------------------------
;======================================================================================================
; by JoC 2020
;====================================================================================================== Turcoman Help for Rum
; the goal is to make the life of Byzantium more difficult early game (when it matters)
; script is a replica of William Wallace script
declare_counter turcoman_rum_uprising_spawned
set_counter turcoman_rum_uprising_spawned 0
monitor_event FactionTurnStart FactionType rum
and I_NumberOfSettlements rum < 2
and I_NumberOfSettlements rum > 0
and I_CompareCounter turcoman_rum_uprising_spawned = 0
set_counter turcoman_rum_uprising_spawned 1
terminate_monitor
end_monitor
monitor_event PreFactionTurnStart FactionType rum
and I_CompareCounter turcoman_rum_uprising_spawned = 1
if RandomPercent > 80
spawn_army
faction rum
character Orhan Arslan, named character, age 35, x 307, y 123, family
traits LoyaltyStarter 1 , MilitaryInclination 1 , Military_Edu 3 , GoodCommander 2 , ReligionStarter 1 , Royal_Blood_Rum_Turkish 1 , BiologicalSon 1 , Handsome 6 , Intelligent 8
unit ME Bodyguard exp 3 armour 1 weapon_lvl 0
unit Turkomans exp 7 armour 1 weapon_lvl 0
unit Turkomans exp 7 armour 1 weapon_lvl 0
unit Turkomans exp 4 armour 1 weapon_lvl 0
unit Turkomans exp 1 armour 1 weapon_lvl 0
unit Turkomans exp 0 armour 1 weapon_lvl 0
unit Turkomans exp 0 armour 0 weapon_lvl 0
unit Turkomans exp 0 armour 0 weapon_lvl 0
unit Turkomans exp 0 armour 0 weapon_lvl 0
unit Turkish Horse Archers exp 7 armour 0 weapon_lvl 0
unit Turkish Horse Archers exp 4 armour 0 weapon_lvl 0
unit Turkish Horse Archers exp 1 armour 0 weapon_lvl 0
unit Turkish Horse Archers exp 0 armour 0 weapon_lvl 0
unit Turkish Horse Archers exp 0 armour 0 weapon_lvl 0
end
end_if
if RandomPercent > 60
spawn_army
faction rum
character Ahmed Arslan, named character, age 25, x 306, y 123, family
traits LoyaltyStarter 1 , MilitaryInclination 1 , Military_Edu 2 , GoodCommander 1 , ReligionStarter 1 , Royal_Blood_Rum_Turkish 1 , BiologicalSon 1 , Handsome 4 , Intelligent 6
unit ME Bodyguard exp 3 armour 1 weapon_lvl 0
unit Turkomans exp 7 armour 1 weapon_lvl 0
unit Turkomans exp 4 armour 1 weapon_lvl 0
unit Turkomans exp 1 armour 1 weapon_lvl 0
unit Turkomans exp 0 armour 1 weapon_lvl 0
unit Turkomans exp 0 armour 0 weapon_lvl 0
unit Turkish Horse Archers exp 1 armour 0 weapon_lvl 0
unit Turkish Horse Archers exp 0 armour 0 weapon_lvl 0
unit Fari Horse Archers exp 4 armour 0 weapon_lvl 0
unit Dismounted Fari Archers exp 4 armour 0 weapon_lvl 0
unit Dismounted Fari Archers exp 1 armour 0 weapon_lvl 0
unit Turkish Archers exp 0 armour 0 weapon_lvl 0
unit Turkish Archers exp 0 armour 0 weapon_lvl 0
end
end_if
if RandomPercent > 40
spawn_army
faction rum
character Fakih Arslan, named character, age 20, x 306, y 124, family
traits LoyaltyStarter 1 , MilitaryInclination 1 , Military_Edu 1 , Auster 1 , ReligionStarter 1 , Royal_Blood_Rum_Turkish 1 , BiologicalSon 1 , Handsome 4 , Intelligent 6
unit ME Bodyguard exp 1 armour 1 weapon_lvl 0
unit Turkomans exp 4 armour 1 weapon_lvl 0
unit Turkomans exp 1 armour 1 weapon_lvl 0
unit Turkomans exp 0 armour 0 weapon_lvl 0
unit Turkomans exp 0 armour 0 weapon_lvl 0
unit Turkish Horse Archers exp 1 armour 0 weapon_lvl 0
unit Turkish Horse Archers exp 0 armour 0 weapon_lvl 0
unit Fari Horse Archers exp 7 armour 0 weapon_lvl 0
unit Fari Horse Archers exp 4 armour 0 weapon_lvl 0
unit Fari Horse Archers exp 1 armour 0 weapon_lvl 0
unit Dismounted Fari Archers exp 7 armour 0 weapon_lvl 0
unit Dismounted Fari Archers exp 4 armour 0 weapon_lvl 0
unit Dismounted Fari Archers exp 1 armour 0 weapon_lvl 0
unit Turkish Archers exp 0 armour 0 weapon_lvl 0
unit Turkish Archers exp 0 armour 0 weapon_lvl 0
end
end_if
historic_event TURCOMAN_HELP_FOR_RUM
if I_SettlementOwner Konya = byzantium
console_command diplomatic_stance rum byzantium war
end_if
if I_SettlementOwner Konya = zengid
console_command diplomatic_stance rum zengid war
end_if
if I_SettlementOwner Konya = jerusalem
console_command diplomatic_stance rum jerusalem war
end_if
if I_SettlementOwner Konya = georgia
console_command diplomatic_stance rum georgia war
end_if
if I_SettlementOwner Konya = abbasid
console_command diplomatic_stance rum abbasid war
end_if
if I_SettlementOwner Konya = mongols
console_command diplomatic_stance rum mongols war
end_if
if I_SettlementOwner Konya = turks
console_command diplomatic_stance rum turks war
end_if
if I_SettlementOwner Konya = kievan_rus
console_command diplomatic_stance rum kievan_rus war
end_if
if I_SettlementOwner Konya = cumans
console_command diplomatic_stance rum cumans war
end_if
if I_SettlementOwner Konya = serbia
console_command diplomatic_stance rum serbia war
end_if
terminate_monitor
end_monitor