monitor_event FactionTurnStart FactionType romans_julii
and not I_LocalFaction carthage
and not I_LocalFaction romans_julii
and I_SettlementOwner Rome = romans_julii
and I_SettlementOwner Osca = romans_julii
and not I_SettlementOwner Carthago_Nova = romans_julii
and I_TurnNumber > 140
and I_TurnNumber < 180
and SupportCostsPercentage < 60
and I_NumberOfSettlements romans_julii < 20
and RandomPercent < 30
and not I_CharacterTypeNearTile romans_julii named_character, 1 47,141
and not I_CharacterTypeNearTile romans_brutii named_character, 1 47,141
and not I_CharacterTypeNearTile epirus named_character, 1 47,141
and not I_CharacterTypeNearTile slavs named_character, 1 47,141
and not I_CharacterTypeNearTile macedon named_character, 1 47,141
and not I_CharacterTypeNearTile egypt named_character, 1 47,141
and not I_CharacterTypeNearTile seleucid named_character, 1 47,141
and not I_CharacterTypeNearTile carthage named_character, 1 47,141
and not I_CharacterTypeNearTile parthia named_character, 1 47,141
and not I_CharacterTypeNearTile pontus named_character, 1 47,141
and not I_CharacterTypeNearTile gauls named_character, 1 47,141
and not I_CharacterTypeNearTile germans named_character, 1 47,141
and not I_CharacterTypeNearTile britons named_character, 1 47,141
and not I_CharacterTypeNearTile armenia named_character, 1 47,141
and not I_CharacterTypeNearTile dacia named_character, 1 47,141
and not I_CharacterTypeNearTile greek_cities named_character, 1 47,141
and not I_CharacterTypeNearTile numidia named_character, 1 47,141
and not I_CharacterTypeNearTile scythia named_character, 1 47,141
and not I_CharacterTypeNearTile spain named_character, 1 47,141
and not I_CharacterTypeNearTile thrace named_character, 1 47,141
and not I_CharacterTypeNearTile romans_julii general, 1 47,141
and not I_CharacterTypeNearTile romans_brutii general, 1 47,141
and not I_CharacterTypeNearTile epirus general, 1 47,141
and not I_CharacterTypeNearTile slavs general, 1 47,141
and not I_CharacterTypeNearTile macedon general, 1 47,141
and not I_CharacterTypeNearTile egypt general, 1 47,141
and not I_CharacterTypeNearTile seleucid general, 1 47,141
and not I_CharacterTypeNearTile carthage general, 1 47,141
and not I_CharacterTypeNearTile parthia general, 1 47,141
and not I_CharacterTypeNearTile pontus general, 1 47,141
and not I_CharacterTypeNearTile gauls general, 1 47,141
and not I_CharacterTypeNearTile germans general, 1 47,141
and not I_CharacterTypeNearTile britons general, 1 47,141
and not I_CharacterTypeNearTile armenia general, 1 47,141
and not I_CharacterTypeNearTile dacia general, 1 47,141
and not I_CharacterTypeNearTile greek_cities general, 1 47,141
and not I_CharacterTypeNearTile numidia general, 1 47,141
and not I_CharacterTypeNearTile scythia general, 1 47,141
and not I_CharacterTypeNearTile spain general, 1 47,141
and not I_CharacterTypeNearTile thrace general, 1 47,141
if I_SettlementOwner Carthago_Nova = spain
console_command diplomatic_stance spain romans_julii war
end_if
if I_SettlementOwner Carthago_Nova = carthage
console_command diplomatic_stance carthage romans_julii war
end_if
spawn_army
faction romans_julii
character Sextus, general, command 3, influence 0, management 0, subterfuge 0, age 30, x 47, y 141
unit roman hastati, exp 4 armor 2 weapon_lvl 1
unit roman hastati, exp 4 armor 2 weapon_lvl 1
unit roman princeps, exp 4 armor 2 weapon_lvl 1
unit roman princeps, exp 4 armor 2 weapon_lvl 1
unit roman triarii, exp 5 armor 2 weapon_lvl 1
end
end_monitor
;;;;;
monitor_event FactionTurnStart FactionType romans_julii
and I_CompareCounter capture_second_punic_war1 = 1
and I_CompareCounter capture_second_punic_war2 = 1
and not I_LocalFaction romans_julii
and I_SettlementOwner Carthago_Nova = carthage
and I_NumberOfSettlements carthage > 5
and not I_SettlementOwner Emporiae = romans_julii
and I_SettlementOwner Rome = romans_julii
and I_CompareCounter triumph2 = 2
console_command diplomatic_stance romans_julii carthage war
declare_counter player_faction
if I_LocalFaction romans_julii
set_counter player_faction 1
end_if
if I_LocalFaction romans_brutii
set_counter player_faction 2
end_if
if I_LocalFaction epirus
set_counter player_faction 3
end_if
if I_LocalFaction slavs
set_counter player_faction 4
end_if
if I_LocalFaction macedon
set_counter player_faction 5
end_if
if I_LocalFaction egypt
set_counter player_faction 6
end_if
if I_LocalFaction seleucid
set_counter player_faction 7
end_if
if I_LocalFaction carthage
set_counter player_faction 8
end_if
if I_LocalFaction parthia
set_counter player_faction 9
end_if
if I_LocalFaction pontus
set_counter player_faction 10
end_if
if I_LocalFaction gauls
set_counter player_faction 11
end_if
if I_LocalFaction germans
set_counter player_faction 12
end_if
if I_LocalFaction britons
set_counter player_faction 13
end_if
if I_LocalFaction armenia
set_counter player_faction 14
end_if
if I_LocalFaction dacia
set_counter player_faction 15
end_if
if I_LocalFaction greek_cities
set_counter player_faction 16
end_if
if I_LocalFaction numidia
set_counter player_faction 17
end_if
if I_LocalFaction scythia
set_counter player_faction 18
end_if
if I_LocalFaction spain
set_counter player_faction 19
end_if
if I_LocalFaction thrace
set_counter player_faction 20
end_if
console_command control romans_julii
console_command process_rq Emporiae
console_command process_cq Emporiae
console_command process_rq Osca
console_command process_cq Osca
console_command create_building Emporiae "camilian"
console_command create_building Osca "camilian"
console_command add_population Emporiae -5000
console_command add_population Emporiae -5000
console_command add_population Osca -5000
console_command add_population Osca -5000
console_command capture_settlement Emporiae
console_command create_unit Emporiae "roman hastati" 8 6 2 1
console_command create_unit Emporiae "roman princeps" 8 7 2 1
console_command create_unit Emporiae "roman triarii" 2 5 8 1
console_command create_unit Emporiae "roman light cavalry" 3 5 2 1
console_command capture_settlement Osca
console_command create_unit Osca "roman hastati" 8 6 2 1
console_command create_unit Osca "roman princeps" 7 7 2 1
console_command create_unit Osca "roman triarii" 2 8 2 1
console_command create_unit Osca "roman light cavalry" 3 6 2 1
console_command create_building Emporiae "auxiliaries_phase3"
console_command create_building Emporiae "great_amphitheatre"
console_command create_building Emporiae "romani1"
console_command create_building Osca "auxiliaries_phase3"
console_command create_building Osca "great_amphitheatre"
console_command create_building Osca "romani1"
set_counter triumph2 1
console_command create_building Nepte "triumph3"
console_command diplomatic_stance romans_julii carthage war
if I_CompareCounter player_faction = 1
console_command control romans_julii
end_if
if I_CompareCounter player_faction = 2
console_command control romans_brutii
end_if
if I_CompareCounter player_faction = 3
console_command control epirus
end_if
if I_CompareCounter player_faction = 4
console_command control slavs
end_if
if I_CompareCounter player_faction = 5
console_command control macedon
end_if
if I_CompareCounter player_faction = 6
console_command control egypt
end_if
if I_CompareCounter player_faction = 7
console_command control seleucid
end_if
if I_CompareCounter player_faction = 8
console_command control carthage
end_if
if I_CompareCounter player_faction = 9
console_command control parthia
end_if
if I_CompareCounter player_faction = 10
console_command control pontus
end_if
if I_CompareCounter player_faction = 11
console_command control gauls
end_if
if I_CompareCounter player_faction = 12
console_command control germans
end_if
if I_CompareCounter player_faction = 13
console_command control britons
end_if
if I_CompareCounter player_faction = 14
console_command control armenia
end_if
if I_CompareCounter player_faction = 15
console_command control dacia
end_if
if I_CompareCounter player_faction = 16
console_command control greek_cities
end_if
if I_CompareCounter player_faction = 17
console_command control numidia
end_if
if I_CompareCounter player_faction = 18
console_command control scythia
end_if
if I_CompareCounter player_faction = 19
console_command control spain
end_if
if I_CompareCounter player_faction = 20
console_command control thrace
end_if
end_monitor