partially override the previous definition (definitions are merged/additive, which only makes sense if there is actually something to merge: hierarchy, list, etc.).fully override the previous definition (last definition wins).When encountering more than once the same definition (title, religion, decision.Inside a given folder, the order in which files are processed is usually alphanumerical on combined vanilla and mod file names, though some folders may have a different behavior.If the mod folder and vanilla folder both contain files with same names, vanilla files will be ignored and mod version will be used.If current folder is defined as replace_path, all vanilla files in that folder will be ignored, and only mod files will be loaded (if any).Engine processes folders and files based on some hardcoded load order.The behavior when loading a mod is the following: Use comments starting with # character, to remember reasons for writing tricky stuff.Vanilla uses 1 tab for indentation rather than spaces. Indent properly to easily spot unclosed curly braced.Use ANSI (Windows-1252) encoding for text files.In case of a modding team, consider using a source control system like GitHub to act as backup and also manage collaboration. Backup your work to avoid losing everything.Use a proper merge tool, to merge between folders, and update modified vanilla files to a new vanilla patch.Minimize overwrites of vanilla files by adding separate files and loading from folders whenever possible, to improve mod compatibility and maintenance.Validate your mod with The Validator, it will save you a lot of pain and time troubleshooting crashes and bugs.Use a good text editor to edit files and search into multiple files.Create a mod for your modifications: create a personal mod even for small changes, and never modify directly game files in Steam CKII folder, as they may be overwritten without warning.Yet, however good the documentation, there is still a learning curve to it, and it cannot replace the need to read some working vanilla code and do lots of trial and error! Western Europe 1337-1469 - The Rose, the Lily, and the Oak - Forum Iranian Intermezzo: Bookmark for year 935 - Forum Imperator Ludovicus - Bookmark for 821 AD - Forum Start date(s)Įarly Bookmarks Submod for When The World Stopped Making Sense - Forum The further away from vanilla timeframe and map scope the mod goes, the more mechanics and events need to be adapted or re-written to fit the period or location, and the more major the overhaul needs to be.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |