What's your language for non-Unicode programs set for?
How would I check that?
What's your language for non-Unicode programs set for?
I believe flags will indeed work during the on_death events. The character is still sort of alive until that's done.[if by using the on_death action would the character flag work for that ?
From the control panel, where you set languages. I'd need to know what version of Windows you have to be more specific.
The capital will be put in the richest province in the de jure area at start.
Can't really say much about the other problems without seeing your files. Have you run your mod through Validator?
Cheers buddyI believe flags will indeed work during the on_death events. The character is still sort of alive until that's done.
troops = {
archers = { 1000 }
pikemen = { 800 }
light_cavalry = { 1000 }
light_infantry = { 2000 }
heavy_infantry = { 1400 }
knights = { 600 }
}
How are the numbers of event troops controlled? When I try to have a character start with a specific number it gives me something else entirely.
Code:troops = { archers = { 1000 } pikemen = { 800 } light_cavalry = { 1000 } light_infantry = { 2000 } heavy_infantry = { 1400 } knights = { 600 } }
If I set the above number of troops to spawn at a start date it gives me three thousand and fifty instead, which isn't close to what I intended.
troops = {
archers = { 1000 1000 }
pikemen = { 800 800 }
light_cavalry = { 1000 1000 }
light_infantry = { 2000 2000 }
heavy_infantry = { 1400 1400 }
knights = { 600 600 }
}
I ended up with 3758 troops this time. I know that code works for events, I've used it to spawn event troops, but I'm putting these into a character file.I think you've got to repeat the number twice. e.g.,
Code:troops = { archers = { 1000 1000 } pikemen = { 800 800 } light_cavalry = { 1000 1000 } light_infantry = { 2000 2000 } heavy_infantry = { 1400 1400 } knights = { 600 600 } }
I might be wrong on that, though. Haven't tested it.
205523 = {
name="Boudewijn" #Boudewijn IX + I
# AKA: Baudouin
dynasty=724
martial=5
diplomacy=4
intrigue=7
stewardship=6
religion="catholic"
culture="dutch"
father=205520
mother=212589
1171.7.1={
birth="1171.7.1"
}
1186.1.1={
add_spouse=205965
}
1204.5.16={
name="Baudouin"
add_claim = c_mesembria
add_claim = c_karvuna
add_claim = c_tyrnovo
add_claim = c_strymon
add_claim = d_thessalonika
add_claim = d_athens
add_claim = d_epirus
add_claim = d_achaia
add_claim = d_nikaea
add_claim = d_samos
effect = {
create_character = {
random_traits = yes
dynasty = random
religion = ROOT
culture = ROOT
female = no
age = 23
attributes = {
martial = 6
}
trait = tough_soldier
}
new_character = {
spawn_unit = {
province = 496 # Constantinople
owner = PREV
match_character = ROOT
troops = {
archers = { 1000 1000 }
pikemen = { 800 800 }
light_cavalry = { 1000 1000 }
light_infantry = { 2000 2000 }
heavy_infantry = { 1400 1400 }
knights = { 600 600 }
}
}
}
create_character = {
random_traits = yes
dynasty = random
religion = ROOT
culture = ROOT
female = no
age = 30
attributes = {
martial = 5
}
trait = tough_soldier
}
new_character = {
spawn_unit = {
province = 496 # Constantinople
owner = PREV
match_character = ROOT
troops = {
archers = { 1000 1000 }
pikemen = { 800 800 }
light_cavalry = { 1000 1000 }
light_infantry = { 2000 2000 }
heavy_infantry = { 1400 1400 }
knights = { 600 600 }
}
}
}
create_character = {
random_traits = yes
dynasty = random
religion = ROOT
culture = ROOT
female = no
age = 27
attributes = {
martial = 5
}
trait = tough_soldier
}
new_character = {
spawn_unit = {
province = 496 # Constantinople
owner = PREV
match_character = ROOT
troops = {
archers = { 1000 1000 }
pikemen = { 800 800 }
light_cavalry = { 1000 1000 }
light_infantry = { 2000 2000 }
heavy_infantry = { 1400 1400 }
knights = { 600 600 }
}
}
}
}
}
1204.5.16={
culture="frankish"
}
1205.6.1={
death="1205.6.1"
}
}
This is usually due to a bad namespace event in on_actions. Run your mod through Validator if possible.I have trouble in my mod - my vassals are assassinating themselves en masse. I even tried to disable assassinations in lua (SEND_ASSASSIN_INTERACTION_ENABLED = 0) but it doesn't help. Is this a common issue with an easy fix? If not, I could upload a mod and files and let some more experienced modder check it out.
If you put a replace_path = localisation line in your .mod, remove it.