• 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.
sorry i just now, after owning this game for about a year, decided to check out the files to see how moddable the game is and curiosity lead me to this site...thanks for pointing me to the tool...i did find a thread with a few tools and tutorials listed but there wasn't many so and i had spent all day browsing the forum looking for answers with no luck...so if i'm understanding correctly all i need to do is essentially copy the current title twice and change the beginning letters to k_ and e_ , maybe add some requirements and add the localization file stuff and i'm good to go right? no need to add specific duchies or kingdoms though right? and for answer 3 i started a new game with the teutonic order at 1.15.1225 and got over twenty years in and still don't have the duke of prussia title or been able to create it...i was thinking about the requirements and got to looking at the landed_titles file and i don't see any requirements other than controlling the counties which i have all of them...also i could've swore i read somewhere that the holy orders aren't able to create new titles, thus the reason i asked that last question...
 
sorry i just now, after owning this game for about a year, decided to check out the files to see how moddable the game is and curiosity lead me to this site...thanks for pointing me to the tool...i did find a thread with a few tools and tutorials listed but there wasn't many so and i had spent all day browsing the forum looking for answers with no luck...so if i'm understanding correctly all i need to do is essentially copy the current title twice and change the beginning letters to k_ and e_ , maybe add some requirements and add the localization file stuff and i'm good to go right? no need to add specific duchies or kingdoms though right? and for answer 3 i started a new game with the teutonic order at 1.15.1225 and got over twenty years in and still don't have the duke of prussia title or been able to create it...i was thinking about the requirements and got to looking at the landed_titles file and i don't see any requirements other than controlling the counties which i have all of them...also i could've swore i read somewhere that the holy orders aren't able to create new titles, thus the reason i asked that last question...

All you need for titular empires and kingdoms are just landed title entries and localisation entries.
Never played a holy order before, but it does look like they can't create new titles. Are you using the "play #" cheat to play a holy order btw? I can't select them from the character selection screen :p
 
no i was using the save game edit workaround to play as them...in the long run i'm hoping to eventually get a good grasp of these files and what all i need to do to make them playable and much more accurately represented, but i'm currently lacking the necessary info and tutorials to figure everything out quickly...any ideas and/or help is very appreciated...
 
How do I edit diplomacy? There is a little bug around marring people from the same dynasty, they still get the patrilineal disadvantage even when attempting to marry matrilinealy. Female rulers should want to marry someone from the same dynasty to continue their dynasty.
 
How do I edit diplomacy? There is a little bug around marring people from the same dynasty, they still get the patrilineal disadvantage even when attempting to marry matrilinealy. Female rulers should want to marry someone from the same dynasty to continue their dynasty.

Not really the correct thread but, there is currently no way to mod diplomacy. I'm not sure why you have the issue when marrying martilineally, that means all children are of the mother's dynasty, and thus resolving the issue you have. You can however open the console and use a command to allow marrying anyone, but I don't cheat that often so I'm afraid I don't know what it is >.< (maybe marry_anyone? lol), you can find the "Cheat" thread in the main forum though, that should have it listed.
 
After fiddling a bit around with the advice given from this tutorial, I managed to make my first custom title. I want to thank for making this. :D

Though shame there seems to be no way to code a title so that only a woman can hold it as that would be nice when trying to model matriarchies.
 
I've had problems w/t this guide I don't know if I'm reading something wrong or its been outdated from the 1.07 patch however I can't spot any errors and the game doesn't seem to know the kingdom exists I looked in the search titles (with sardinia not kingdom of etc) aswell as not giving me the title through the give_ title command as holder of all the countys and duchys I followed the gfx and localistion folder instructions exactly so I think its in the landed.txt folder see if you can help. (my mod was called Kingdomnames and the kingdom was sardinia piedmont)

Code:
# Kingdomnames
k_sardinia_piedmont = {
                   color={ 0 196 201 }
                   color2={30 230 230 }
                   capital = 236 # piemonte
                   
                   allow = {
                           culture_group = latin
                           religion_group = christian
                      d_susa = { # sardinia_piedmont
		           color={ 191 158 158 }
		           color2={ 255 255 255 }
                           capital = 236 # Piemonte
		
		           c_piemonte = {
			               color={ 104 12 38 }
			               color2={ 255 255 255 }
			
			               b_ivrea = {
			               }
			               b_torino = {
			               }
			               b_settimo = {
			               }
			               b_auriate = {
			               }
			               b_novara = {
			               }
			               b_ferrero = {
			               }
			               b_messarano = {
			               }
			               b_crevacuore = {
			               }
		           }
		
		           c_saluzzo = {
			              color={ 155 46 76 }
			              color2={ 255 255 255 }
			
			              b_saluzzo = {
			              }
			              b_pinerolo = {
			              } 
			              b_cuneo = {
			              }
			              b_savigliano = {
			              }
			              b_busca = {
			              }
			              b_paesana = {
			              }
			              b_verzuolo = {
			              }
			              b_caraglio = {
			              }
		              }
		
		              c_monferrato = {
			              color={ 250 244 225 }
			              color2={ 255 255 255 }
			
			              b_monferrato = {
			              }
			              b_casale = {
			              }
			              b_asti = {
			              }
			              b_acqui = {
			              }
			              b_tortona = {
			              }
			              b_biella = {
			              }
			              b_alba = {
			              }
			              b_canelli = {
			              }
		              }
	              }
                      
                      d_sardinia = { # sardinia_piedmont
		              color={ 217 159 255 }
		              color2={ 255 255 255 }
		              capital = 326 # Cagliari
		
		              c_corsica = {
			              color={ 226 248 251 }
			              color2={ 255 255 255 }
			
			              b_ajaccio = {
			              }
			              b_bonifacio = {
			              }
			              b_bastia = {
			              }
			              b_portevecchio = {
			              }
			              b_filitosa = {
			              }
			              b_corte = {
			              }
			              b_sartene = {
			              }
			              b_aleria = {
			              }
		              }
		              c_arborea = {
			              color={ 170 182 225 }
			              color2={ 255 255 255 }
			
			              b_oristano = {
			              }
			              b_ardara = {
			              }
			              b_sassari = {
			              }
			              b_portotorres = {
			              }
			              b_olbia = {
			              }
			              b_ottana = {
			              }
			              b_tharros = {
			              }
			              b_santaigia = {
			              }
		              }
		              c_cagliari = {
			              color={ 170 200 170 }
			              color2={ 255 255 255 }
			
			              b_cagliari = {
			              }
			              b_ogliastra = {
			              }
			              b_assemini = {
			              }
			              b_sanluri = {
			              }
			              b_muravera = {
			              }
			              b_dolianova = {
			              }
			              b_carbonia = {
			              }
			              b_capoterra = {
			              }
		              }
	              }	
              
	              d_genoa = { # sardinia_piedmont
		             color={ 244 181 140 }
		             color2={ 255 255 255 }
		             capital = 233 # Genoa
		
		             c_genoa = {
			             color={ 253 247 228 }
			             color2={ 255 255 255 }
			
			             b_genoa = {
			             }
			             b_rapallo = {
			             }
			             b_luna = {
			             }
			             b_ventimiglia = {
			             }
			             b_savona = {
			             }
			             b_chiavari = {
			             }
			             b_albenga = {
			             }
			             b_fosdinovo = {
			             }
		             }
		             c_nice = {
			             color={ 147 39 69 }
			             color2={ 255 255 255 }
			
			             b_nizza = {
			             }
			             b_monaco = {
			             }
			             b_mentone = {
			             }
			             b_antibes = {
			             }
			             b_sanremo = {
			             }
			             b_campogrosso = {
			             }
			             b_lantosque = {
			             }
			             b_contes = {
			             }
		             }
	             }
             }
 
Code:
# Kingdomnames
k_sardinia_piedmont = {
                   color={ 0 196 201 }
                   color2={30 230 230 }
                   capital = 236 # piemonte
                   
                   allow = {
                           culture_group = latin
                           religion_group = christian
                   [B][COLOR="#FF0000"]}[/COLOR][/B]
                      d_susa = { # sardinia_piedmont
		           color={ 191 158 158 }
		           color2={ 255 255 255 }
                           capital = 236 # Piemonte
		
		           c_piemonte = {
			               color={ 104 12 38 }
			               color2={ 255 255 255 }
			
			               b_ivrea = {
			               }
			               b_torino = {
			               }
			               b_settimo = {
			               }
			               b_auriate = {
			               }
			               b_novara = {
			               }
			               b_ferrero = {
			               }
			               b_messarano = {
			               }
			               b_crevacuore = {
			               }
		           }
		
		           c_saluzzo = {
			              color={ 155 46 76 }
			              color2={ 255 255 255 }
			
			              b_saluzzo = {
			              }
			              b_pinerolo = {
			              } 
			              b_cuneo = {
			              }
			              b_savigliano = {
			              }
			              b_busca = {
			              }
			              b_paesana = {
			              }
			              b_verzuolo = {
			              }
			              b_caraglio = {
			              }
		              }
		
		              c_monferrato = {
			              color={ 250 244 225 }
			              color2={ 255 255 255 }
			
			              b_monferrato = {
			              }
			              b_casale = {
			              }
			              b_asti = {
			              }
			              b_acqui = {
			              }
			              b_tortona = {
			              }
			              b_biella = {
			              }
			              b_alba = {
			              }
			              b_canelli = {
			              }
		              }
	              }
                      
                      d_sardinia = { # sardinia_piedmont
		              color={ 217 159 255 }
		              color2={ 255 255 255 }
		              capital = 326 # Cagliari
		
		              c_corsica = {
			              color={ 226 248 251 }
			              color2={ 255 255 255 }
			
			              b_ajaccio = {
			              }
			              b_bonifacio = {
			              }
			              b_bastia = {
			              }
			              b_portevecchio = {
			              }
			              b_filitosa = {
			              }
			              b_corte = {
			              }
			              b_sartene = {
			              }
			              b_aleria = {
			              }
		              }
		              c_arborea = {
			              color={ 170 182 225 }
			              color2={ 255 255 255 }
			
			              b_oristano = {
			              }
			              b_ardara = {
			              }
			              b_sassari = {
			              }
			              b_portotorres = {
			              }
			              b_olbia = {
			              }
			              b_ottana = {
			              }
			              b_tharros = {
			              }
			              b_santaigia = {
			              }
		              }
		              c_cagliari = {
			              color={ 170 200 170 }
			              color2={ 255 255 255 }
			
			              b_cagliari = {
			              }
			              b_ogliastra = {
			              }
			              b_assemini = {
			              }
			              b_sanluri = {
			              }
			              b_muravera = {
			              }
			              b_dolianova = {
			              }
			              b_carbonia = {
			              }
			              b_capoterra = {
			              }
		              }
	              }	
              
	              d_genoa = { # sardinia_piedmont
		             color={ 244 181 140 }
		             color2={ 255 255 255 }
		             capital = 233 # Genoa
		
		             c_genoa = {
			             color={ 253 247 228 }
			             color2={ 255 255 255 }
			
			             b_genoa = {
			             }
			             b_rapallo = {
			             }
			             b_luna = {
			             }
			             b_ventimiglia = {
			             }
			             b_savona = {
			             }
			             b_chiavari = {
			             }
			             b_albenga = {
			             }
			             b_fosdinovo = {
			             }
		             }
		             c_nice = {
			             color={ 147 39 69 }
			             color2={ 255 255 255 }
			
			             b_nizza = {
			             }
			             b_monaco = {
			             }
			             b_mentone = {
			             }
			             b_antibes = {
			             }
			             b_sanremo = {
			             }
			             b_campogrosso = {
			             }
			             b_lantosque = {
			             }
			             b_contes = {
			             }
		             }
	             }
             }

You missed a bracket :)
 
I've followed this guide in trying to create the Kingdom of Yorvik, however it isn't appearing in the game. I've used the Validator and it's came up with this:
Code:
ERROR
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files (x86)\Steam\steamapps\common\Crusader Kings II\mod\KingdomTutorial\common\landed_titles\'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileSystemEnumerableIterator`1.CommonInit()
   at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler)
   at System.IO.Directory.EnumerateFiles(String path, String searchPattern, SearchOption searchOption)
   at Audax.Clausewitz.IO.NoModPathResolver.GetFiles(DirectoryPath path, String searchPattern, SearchOption searchOption)
   at Audax.Clausewitz.IO.CDirectoryPath.GetFiles(String searchPattern, SearchOption searchOption)
   at Audax.Clausewitz.IO.CDirectory.GetFiles(CDirectoryPath path, String searchPattern, SearchOption searchOption)
   at Audax.Clausewitz.IO.CDirectory.GetFiles(CDirectoryPath path, String searchPattern)
   at Audax.Validator.Clausewitz.Ck2.MercenaryModifierFactory.LoadDefaultConstraints()
   at Audax.Validator.TypeCore.ConstraintPrevalidation.<OnPrevalidation>b__1(KeyValuePair`2 fac)
   at System.Linq.Enumerable.<SelectManyIterator>d__31`3.MoveNext()
   at Audax.Validator.TypeCore.ConstraintPrevalidation.OnPrevalidation(Context c, Scope scope)
   at Audax.Validator.GameValidator.Validate(Action onEachValidatorCompleteAction)
The only thing I can understand is that it's a problem with the 'landed_titles' file. I thought adding the title under the Empire of Britannia would help but it hasn't. Here is what the Kingdom of Yorvik title currently looks like:
Code:
        # Kingdom Tutorial
        k_yorvik = {
	       color = { 200 200 200 }
	       capital = 57 # York
	       culture = danish
	
	              allow = {
		                culture_group = north_germanic
		                religion_group = christian
	              }

	       d_york = { # Kingdom of Yorvik
		    color={ 255 90 15 }
		    color2={ 255 255 255 }
		
		       c_york = {
			    color={ 255 80 5 }
			    color2={ 255 255 255 }

			    b_york = {
			    }
			    b_richmond = {
			    }
			    b_st_peters = {
			    }
			    b_scarborough = {
			    }
			    b_skipton = {
			    }
			    b_pontefract = {
			    }
			    b_hull = {
			    }
			    b_conisbrough = {
			    }
		      }
		       c_leicester = {
			         color={ 255 85 10 }
			         color2={ 255 255 255 }
		
			         b_leicester = {
			         }
			         b_nottingham = {
			         }
			         b_southwell = {
			         }
			         b_newark = {
			         }
			         b_hucknall = {
			         }
			         b_tickhill = {
			         }
			         b_worksop = {
			         }
			         b_newstead = {
			         }
		     }
		      c_lincoln = {
			      color={ 255 90 20 }
			      color2={ 255 255 255 }
			
			      b_gainsborough = {
			      }
			      b_lincoln = {
			      }
			      b_boston = {
			      }
			      b_spalding = {
			      }
			      b_stamford = {
			      }
			      b_grantham = {
			      }
			      b_louth = {
			      }
			      b_bardney = {
			      }
		     }
	     }	
      }
}
Could you please help me fix this? :sad:
 
Tutorial's outdated, as of 1.06(? I think it was), the landed_title files belong in common/landed_titles/, with vanilla having common/landed_titles/00_landed_titles.txt containing all landed title definitions. So create a folder landed_titles in common/, and copy your file into that folder.
 
Thanks Rich, it's appearing now. I'm still getting this error in the Validator:
Code:
ERROR
System.NullReferenceException: Object reference not set to an instance of an object.
   at Audax.Validator.Clausewitz.Ck2.Ck2ConstraintFactory.LoadDefaultConstraints()
   at Audax.Validator.TypeCore.ConstraintPrevalidation.<OnPrevalidation>b__1(KeyValuePair`2 fac)
   at System.Linq.Enumerable.<SelectManyIterator>d__31`3.MoveNext()
   at Audax.Validator.TypeCore.ConstraintPrevalidation.OnPrevalidation(Context c, Scope scope)
   at Audax.Validator.GameValidator.Validate(Action onEachValidatorCompleteAction)
It doesn't seem to be affecting anything though.
 
You have an extra } at the end.
 
Since you're making k_yorvik de jure, have you removed d_york (and its de jure counties) from k_england?
 
It shouldn't, if you made sure you cut a section with balanced brackets. Can you post your entire e_britannia definition, including k_yorvik?
 
You need to put that } back in, and either rename the file to 00_landed_titles.txt, or create an empty 00_landed_titles.txt. Validator's trying to both your land_titles.txt and the vanilla 00_landed_titles.txt, and all the definitions are either duplicates or conflicting. I renamed it to 00_landed_titles.txt in a mod folder empty of everything but common/landed_titles/00_landed_titles.txt, and Validator had no fatal errors, just run of the mill stuff (missing localizations, missing flag file, some harmless unnecessary AND clauses.)
 
I started again from scratch (adding k_yorvik at the beginning of e_britannia to eliminate any changes to the end of the e_britannia) and I did what you asked; common/landed_titles/00_landed_titles.txt on it's own, but the Validator is showing the same error message.
Interestingly though before I did that, I checked the game and territorial requirements for creation of k_yorvik were completely out:
http://cloud-2.steampowered.com/ugc/902105538150232788/F944FCF1D30421CC213DD9DE703496F3F69B2EE7/

P.S: Where are you getting 00_landed_titles.txt from? Vanilla (mine at least) only has landed_titles.txt.
 
What version of CK2 do you have? The Steam one with 4 languages (English/French/German/Spanish) is what I have, at patch level 1.07b (checksum XCSD with no mods) and it has only a dummy common/landed_titles.txt, with all the content now in common/landed_titles/00_landed_titles.txt. If you do not have that (or the Gamersgate equivalent), then the current version of Validator won't work on it, and I don't know if Jamie has an archive of old versions.