• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

maltsefalcon204

Major
75 Badges
Nov 20, 2012
564
175
  • Europa Universalis IV: Pre-order
  • Steel Division: Normand 44 - Second Wave
  • Stellaris: Synthetic Dawn
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Rights of Man
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II
  • War of the Vikings
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sword of the Stars II
  • Victoria: Revolutions
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Art of War
  • Sword of the Stars
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Hearts of Iron IV: Field Marshal
  • Victoria 2
  • War of the Roses
  • Steel Division: Normandy 44
  • Victoria 3 Sign Up
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • 500k Club
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Way of Life
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV
  • Stellaris: Galaxy Edition
  • Stellaris
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
Hi all,

Currently working away on a little mod that will flip Rurik and his vassals to varangian and as the time period goes on you flip to russian,etc,etc

Currently having one drama and that's with my invasion script.

I'm using the Paradox script used for the Turks, but for some really annoying reason when it activates the following happens.

-The Kievan Rus becomes the vassal of the pope.
-The player receives both his SE troops and money.

Currently just using the E_russia as place holder till I get it to work then I will create a custom title for the schmuck.
The script is as follows:

# Rise of the kievs - notification
narrative_event = {
id = var.4a
title = "EVTNAME60200"
desc = "EVTDESC60200"
major = yes

picture = "GFX_evt_mongols"
border = "GFX_event_narrative_frame_war"

only_playable = yes
hide_from = yes

trigger = {
year = 867
NOT = { year = 1010 }

religion = catholic
controls_religion = yes # Let it happen for the Pope - he's always around

NOT = { has_global_flag = kiev_rumors }
NOT = { has_global_flag = kiev_arrival }
}

mean_time_to_happen = {
months = 4
}

immediate = {
set_global_flag = kiev_rumors
activate_title = { title = e_russia status = yes }
create_random_soldier = {
random_traits = no
name = Yngvar
dynasty = 705 # kiev
culture = varangian
religion = var_slavic_pagan
age = 16
attributes = {
martial = 8
diplomacy = 4
stewardship = 5
intrigue = 4
learning = 3
}
health = 16
fertility = 0.7
trait = brilliant_strategist
trait = wroth
trait = cruel
trait = proud
trait = zealous
}
new_character = {
e_russia = {
gain_title = PREV
}
set_defacto_liege = THIS
}
}

option = {
name = "EVTOPTA60000"
}
}
# Rise of the kievs
narrative_event = {
id = var.4b
title = EVTNAME60201
desc = EVTDESC60201
major = yes
hide_new = yes

picture = GFX_evt_mongols
border = GFX_event_narrative_frame_war

only_playable = yes

trigger = {
year = 888
has_landed_title = e_russia
has_global_flag = kiev_rumors
NOT = { has_global_flag = kiev_arrival }
}

mean_time_to_happen = {
months = 6
}

option = {
name = OK
trigger = {
has_landed_title = e_russia
}
set_global_flag = kiev_arrival
set_character_flag = horde_invader
547 = { # Kiev
kingdom = {
ROOT = {
war = {
casus_belli = tribal_invasion
target = PREVPREV # The top liege of the owner of Kiev
thirdparty_title = PREV # The de jure kingdom
}
}
}
}
wealth = 2500
spawn_unit = {
owner = ROOT
leader = ROOT
province = 414 # Kiev
troops =
{
light_infantry = { 800 800 }
heavy_infantry = { 400 400 }
knights = { 47 47 }
}
}

create_character = {
random_traits = yes
dynasty = random
religion = var_slavic_pagan
culture = varangian
female = no
age = 36
attributes = {
martial = 12
}
trait = brilliant_strategist
}
new_character = {
spawn_unit = {
province = 414 # Dashhowuz
owner = PREV
troops =
{
light_infantry = { 800 800 }
heavy_infantry = { 400 400 }
knights = { 47 47 }
}
}
}
create_character = {
random_traits = yes
dynasty = random
religion = var_slavic_pagan
culture = varangian
female = no
age = 35
attributes = {
martial = 12
}
trait = brilliant_strategist
}
new_character = {
spawn_unit = {
province = 414 # Dashhowuz
owner = PREV
troops =
{
light_infantry = { 800 800 }
heavy_infantry = { 400 400 }
knights = { 47 47 }
}
}
}

create_character = {
random_traits = yes
dynasty = random
religion = var_slavic_pagan
culture = varangian
female = no
age = 35
attributes = {
martial = 12
}
trait = brilliant_strategist
}
new_character = {
spawn_unit = {
province = 414 # Dashhowuz
owner = PREV
troops =
{
light_infantry = { 800 800 }
heavy_infantry = { 400 400 }
knights = { 47 47 }
}
attrition = 0.1
}
}
create_character = {
random_traits = yes
dynasty = random
religion = var_slavic_pagan
culture = varangian
female = no
age = 35
attributes = {
martial = 12
}
trait = brilliant_strategist
}
new_character = {
spawn_unit = {
province = 414 # Dashhowuz
owner = PREV
troops =
{
light_infantry = { 800 800 }
heavy_infantry = { 400 400 }
knights = { 47 47 }
}
}
}
create_character = {
random_traits = yes
dynasty = random
religion = var_slavic_pagan
culture = varangian
female = no
age = 35
attributes = {
martial = 12
}
trait = brilliant_strategist
}
new_character = {
spawn_unit = {
province = 414 # Dashhowuz
owner = PREV
troops =
{
light_infantry = { 800 800 }
heavy_infantry = { 400 400 }
knights = { 47 47 }
}
}
}

create_character = {
random_traits = yes
dynasty = random
religion = var_slavic_pagan
culture = varangian
female = no
age = 35
attributes = {
martial = 12
}
trait = brilliant_strategist
}
new_character = {
spawn_unit = {
province = 414 # Dashhowuz
owner = PREV
troops =
{
light_infantry = { 800 800 }
heavy_infantry = { 400 400 }
knights = { 47 47 }
}
}
}
create_character = {
random_traits = yes
dynasty = random
religion = var_slavic_pagan
culture = varangian
female = no
age = 35
attributes = {
martial = 12
}
trait = brilliant_strategist
}
new_character = {
spawn_unit = {
province = 547 # Kiev
owner = PREV
troops =
{
light_infantry = { 800 800 }
heavy_infantry = { 400 400 }
knights = { 47 47 }
}
attrition = 0.2
}
}
create_character = {
random_traits = yes
dynasty = random
religion = var_slavic_pagan
culture = varangian
female = no
age = 35
attributes = {
martial = 12
}
trait = brilliant_strategist
}
new_character = {
spawn_unit = {
province = 547 # Kiev
owner = PREV
troops =
{
light_infantry = { 800 800 }
heavy_infantry = { 400 400 }
knights = { 47 47 }
}
attrition = 0.2
}
}

# Some extra courtiers
create_character = {
random_traits = yes
dynasty = random
religion = var_slavic_pagan
culture = varangian
female = no
age = 16
}
create_character = {
random_traits = yes
dynasty = random
religion = var_slavic_pagan
culture = varangian
female = no
age = 18
}
create_character = {
random_traits = yes
dynasty = random
religion = var_slavic_pagan
culture = varangian
female = no
age = 18
}
create_character = {
random_traits = yes
dynasty = random
religion = var_slavic_pagan
culture = varangian
female = no
age = 20
}
create_character = {
random_traits = yes
dynasty = none
religion = var_slavic_pagan
culture = varangian
female = no
age = 25
}
create_character = {
random_traits = yes
dynasty = none
religion = var_slavic_pagan
culture = varangian
female = no
age = 26
}
create_character = {
random_traits = yes
dynasty = none
religion = var_slavic_pagan
culture = varangian
female = no
age = 28
}
create_character = {
random_traits = yes
dynasty = none
religion = norse_pagan
culture = varangian
female = yes
age = 16
}
create_character = {
random_traits = yes
dynasty = none
religion = norse_pagan
culture = varangian
female = yes
age = 17
}
}
option = {
name = "EVTOPTB60201"
trigger = {
religion_group = muslim
NOT = { has_landed_title = e_russia }
}
}
option = {
name = "EVTOPTC60201"
trigger = {
religion_group = christian
NOT = { has_landed_title = e_russia }
}
}
option = {
name = "EVTOPTD60201"
trigger = {
NOT = { religion_group = christian }
NOT = { religion_group = muslim }
NOT = { has_landed_title = e_russia }
}
}
}

Any help would be great before I have to stab someone...
 

antidualist

Second Lieutenant
29 Badges
Dec 7, 2009
198
62
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis III Complete
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV
Hi,

What is the purpose of the invasion script. I remember you saying on the Norman thread that you wanted to allow Rurik's son to conquer Kiev - is this script supposed to do that or is it for the expansion of Kiev after it is taken?

If you wanted a way to trigger the invasion then I could send you my Norman invasion script which works by granting a claim on a county in Normandy to a random character and then triggering the claimant adventurer event. It seems to work pretty well and would allow you to tie the invasion to an existing character rather than creating a random one, which might be better if you want to model histrory as you could make it only fire for one particular character (or any character meeting certain stats from the Rurikid dynasty). Let me know if you're interested.
 

antidualist

Second Lieutenant
29 Badges
Dec 7, 2009
198
62
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis III Complete
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV
Yeah sounds good, I'm planning to add some more norse melting pot cultures including one for Iberian, Arabic and Byzantine cultures (although since you went with Varangian for a norse east slavic melting pot might have to find a new name for the last one). I tried to PM you the Normandy code so you can have a look at it but it didn't seem to work. If you know how to send attachments in PMs could you let me know. Else I might have to send each event as a seperate message.