• 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.

bubcat52

Corporal
90 Badges
Aug 19, 2011
43
3
  • Victoria 3 Sign Up
  • Empire of Sin
  • Europa Universalis 4: Emperor
  • Battle for Bosporus
  • Europa Universalis IV
  • Stellaris: Federations
  • PDXCON 2017 Gold Ticket holder
  • 500k Club
  • Victoria: Revolutions
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis III: Chronicles
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Sengoku
  • Hearts of Iron III Collection
  • Commander: Conquest of the Americas
  • Hearts of Iron IV Sign-up
  • Imperator: Rome Sign Up
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Call to arms event
  • Stellaris Sign-up
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Sunset Invasion
I am still pretty new to modding, but I am trying to mod in Switzerland, but in the game it displays k_switzerland. I know this means an error in the Localisation files, but I can't find one

Code:
[COLOR="#F0FFF0"]#CODE;ENGLISH;FRENCH;GERMAN;;SPANISH;;;;;;;;;x
d_french_switzerland;Romandie;Romandie;Welschland;;Spanish;;;;;;;;;x
d_french_switzerland_adj;Romand;Romande;Welsch;;Spanish;;;;;;;;;x
d_german_switzerland;Deutschschweiz;Suisse Alémanique;Deutschschweiz;;Spanish;;;;;;;;;x
d_german_switzerland_adj;Schweizerdütsch;Suisse Alémanique;Schweizerdütsch;;Spanish;;;;;;;;;x
d_italian_switzerland;Svizzera;Suisse Italienne;Italienische Schweiz;;Spaniash;;;;;;;;;x
d_italian_switzerland_adj;Svizzero;Suisse Italienne;Italienische;;Spanish;;;;;;;;;x
k_switzerland;Switzerland;Suisse;Schweiz;;Spanish;;;;;;;;;x
k_switzerland_adj;Swiss;Suisse;Schweizer;;Spanish;;;;;;;;;x[/COLOR]
 

bubcat52

Corporal
90 Badges
Aug 19, 2011
43
3
  • Victoria 3 Sign Up
  • Empire of Sin
  • Europa Universalis 4: Emperor
  • Battle for Bosporus
  • Europa Universalis IV
  • Stellaris: Federations
  • PDXCON 2017 Gold Ticket holder
  • 500k Club
  • Victoria: Revolutions
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis III: Chronicles
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Sengoku
  • Hearts of Iron III Collection
  • Commander: Conquest of the Americas
  • Hearts of Iron IV Sign-up
  • Imperator: Rome Sign Up
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Call to arms event
  • Stellaris Sign-up
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Sunset Invasion
Another thing, I am trying to make it so that, to create the kingdom, one has to be Italian, Frankish or German and have all three of the duchies...

Code:
[COLOR="#FFF0F5"]	k_switzerland = {
		color={ 255 10 10 }
		color2={ 255 255 255 }

		allow = {
			OR = {
				culture = german
				culture = frankish
				culture = italian
			}
			AND = {
				has_title = d_german_switzerland
				has_title = d_french_switzerland
				has_title = d_italian_switzerland
		
		capital = 244 # Bern

		d_german_switzerland = {
			color={ 255 10 10 }
			color2={ 255 255 255 }
			
			capital = 244 # Bern

			c_bern = {
				color={ 165 26 64 }
				color2={ 255 255 255 }
				
				b_bern = {
				}
				b_interlaken = {
				}
				b_luzern = {
				}
				b_biel = {
				}
				b_sempach = {
				}
				b_langenthal = {
				}
				b_kyburg = {
				}
				b_sursee = {
				}
			}
			c_schwyz = {
				color={ 167 28 66 }
				color2={ 255 255 255 }
				
				b_schwyz = {
				}
				b_engelberg = {
				}
				b_zurich = {
				}
				b_zug = {
				}
				b_altdorf = {
				}
				b_stans = {
				}
				b_glarus = {
				}
				b_winterthur = {
				}
			}
			c_aargau = {
				color={ 169 30 68 }
				color2={ 255 255 255 }
				
				b_aargau = {
				}
				b_basel = {
				}
				b_solothurn = {
				}
				b_habsburg = {
				}
				b_rheinfelden = {
				}
				b_schaffhausen = {
				}
				b_lenzburg = {
				}
				b_laufenburg = {
				}
			}
		}

		d_french_switzerland = {
			color={ 10 10 255 }
			color2={ 255 255 255 }
			
			capital = 239 # Genève

			c_geneve = {
				color={ 113 21 47 }
				color2={ 255 255 255 }
				
				b_geneve = {
				}
				b_romainmotier = {
				}
				b_nyon = {
				}
				b_lausanne = {
				}
				b_echallens = {
				}
				b_aubonne = {
				}
				b_orbe = {
				}
				b_thonon = {
				}
			}
			c_neuchatel = {
				color={ 163 24 62 }
				color2={ 255 255 255 }
				
				b_neuchatel = {
				}
				b_stimier = {
				}
				b_fribourg = {
				}
				b_grandson = {
				}
				b_yverdon = {
				}
				b_estavayer = {
				}
				b_avences = {
				}
				b_murten = {
				}
			}
		}

		d_italian_switzerland = {
			color={ 10 255 10 }
			color2={ 255 255 255 }
			
			capital = 246 # Grisons

			c_grisons = {
				color={ 255 241 230 }
				color2={ 255 255 255 }
				
				b_bellinzona = {
				}
				b_disentis = {
				}
				b_locarno = {
				}
				b_biasca = {
				}
				b_domo = {
				}
				b_lugano = {
				}
				b_musso = {
				}
				b_mendrisio = {
				}
			}
			c_valais = {
				color={ 110 18 44 }
				color2={ 255 255 255 }
				
				b_brig = {
				}
				b_monthey = {
				}
				b_aigle = {
				}
				b_martigny = {
				}
				b_siders = {
				}
				b_sitten = {
				}
				b_greyerz = {
				}
				b_chateaudoex = {
				}
			}
		}
	}[/COLOR]
 

Arko

Red zone
45 Badges
Jul 1, 2009
7.087
1.124
  • Europa Universalis IV
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings II
  • Crusader Kings III
  • Deus Vult
  • Cities: Skylines
  • Magicka
the "allow" block needs to be placed at the end of your kingdom. more preciely after the duchies pointed as requirements for its creation.
 

Korbah

Ratel
137 Badges
Mar 3, 2011
4.758
1.272
  • Europa Universalis IV
  • Crusader Kings II: Holy Knight (pre-order)
  • Cities: Skylines - Snowfall
  • Cities: Skylines - Natural Disasters
  • Cities: Skylines - Campus
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Deluxe edition
  • Stellaris: Federations
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Battle for Bosporus
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Victoria 3 Sign Up
  • Hearts of Iron IV: No Step Back
I have added the brackets, and there were no duplicates, but now the game simply crashes when I try to start at the 'Loading Databases' screen.

I can't see anything wrong with the code you've posted already that should crash the game, perhaps it's related to the extra ; I referred to in the PM?
 

bubcat52

Corporal
90 Badges
Aug 19, 2011
43
3
  • Victoria 3 Sign Up
  • Empire of Sin
  • Europa Universalis 4: Emperor
  • Battle for Bosporus
  • Europa Universalis IV
  • Stellaris: Federations
  • PDXCON 2017 Gold Ticket holder
  • 500k Club
  • Victoria: Revolutions
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis III: Chronicles
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Sengoku
  • Hearts of Iron III Collection
  • Commander: Conquest of the Americas
  • Hearts of Iron IV Sign-up
  • Imperator: Rome Sign Up
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Call to arms event
  • Stellaris Sign-up
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Sunset Invasion
FINALLY figured out the crashing problem. The game was crashing because it didn't understand "has_title", but it does understand "has_landed_title", which is what I wanted anyway. Thank you all so much for your help!
 

Arko

Red zone
45 Badges
Jul 1, 2009
7.087
1.124
  • Europa Universalis IV
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings II
  • Crusader Kings III
  • Deus Vult
  • Cities: Skylines
  • Magicka
FINALLY figured out the crashing problem. The game was crashing because it didn't understand "has_title", but it does understand "has_landed_title", which is what I wanted anyway. Thank you all so much for your help!

it was damn so big no one pointed it^^:wacko: