HOW TO MAKE MODS FOR CK3? (complete modding guide for making custom traits | from start to finish)

Поделиться
HTML-код
  • Опубликовано: 29 сен 2024

Комментарии • 70

  • @seraaron
    @seraaron  4 года назад +5

    CORRECTIONS:
    17:19 if your dds file has a nonbinary alpha channel (i.e. semi-transparent pixels) then you'll want to save the image with the setting *BC3 (Linear, DTX5)* not the default settings.

    • @filipenogueira4924
      @filipenogueira4924 3 года назад

      So i edit a bit one congenital trait icon, and saving like you said saves the border pixels but in game, that glow that appears around the traits doesnt appear on my custom one. Any thoughts?

  • @ravenofra1114
    @ravenofra1114 Месяц назад +1

    Looks like Atom was sunset and its not possible to get access to the paradox-ck3-syntax or at least not by directly searching. There is a git hub for it so you may be able to manually get it working.

  • @David-qh2dt
    @David-qh2dt 3 года назад +1

    Please make a tutorial on how to create buildings
    also thanks a lot for the tutorial

  • @ggaalloo
    @ggaalloo 4 года назад

    Thank you for such a well-explained video.

  • @j.willitts825
    @j.willitts825 4 года назад

    Hi, brilliant tutorial, it taught me loads! you probably don't know why, but i have an issue where the trait description doesn't appear, the title does so I know the file is in the write place, I have double checked the syntax and I think it's correct, do you have any suggestions why this might be?

    • @seraaron
      @seraaron  4 года назад

      Sounds like you either: don't have the fall-back section of code in your trait that I talked about at 20:40 for the desc = {}, or you haven't written your translation file properly for those descritpions.

    • @Dextear
      @Dextear 3 года назад

      @@seraaron Any idea why the opposite problem- no trait name, but correct trait desc and trait character desc- would occur?
      EDIT: I would just delete this, but you would probably get the notification. Problem solved! I ran another check of my code after reading Keith Wood's comment with a similar problem. In my case, I had misspelled "physical" when flagging physical = no. I'm guessing this is a debug convenience Paradox included, so that if there are any problems (including ones not immediately obvious) in a trait, the name won't display, to immediately signal something is wrong. Figured I'd mention it, as I'm sure others in the future will encounter the same issue. Thanks for your guide.

  • @biglenin7306
    @biglenin7306 4 года назад +6

    Thank you so much for making this video dude! seriously I really appreciate it. I have a really cool idea for a mod that expands personality traits, but I was unfamiliar with how to add new traits and this is perfect. Also Atom is an amazing tool and i'm so glad you introduced me to it, previously I was using notepad ++ and while i'll cherish the time I spent with is i'm never going back ;)

    • @seraaron
      @seraaron  4 года назад +2

      Glad you liked it. Yeah text editors have come a long way since notepad++. The future is now!

  • @trbry.
    @trbry. 3 года назад +1

    I wish I had better eyes, sorry for being an "ah" but I can't see anything on the bright bright background.

  • @realjustnebula
    @realjustnebula 4 года назад +3

    If you are using gamepass you have to go to the WindowsApps directory adn use this article to fix it www.maketecheasier.com/access-windowsapps-folder-windows-10/ and go to the one that says project titus

  • @matt.way26
    @matt.way26 4 года назад +4

    Thanks for the tutorial, I was looking for a basics guide to get started and this is exactly what I was hoping for.

  • @keithwood7957
    @keithwood7957 4 года назад +2

    thanks for the great tutorial, just 1 thing isnt working, the trait's name isnt showing up, at all. I can add it to my ruler, but because it has no name, i cant search it and it just say " You gained "
    trait_eternal_youth:0 "Eternal Youth"
    trait_eternal_youth_desc:0 "This character has discovered the secret to eternal youth."
    trait_eternal_youth_character_desc:0 "[ROOT.Char.GetSheHe|U] has discovered the secret to eternal youth."
    the descriptions show up just fine, so i know the encoding worked, and all the stat changes work too. Ive tried changing the name and what not but i refuses to show up Eternal Youth or eternal_youth, any ideas on how to fix this?

    • @keithwood7957
      @keithwood7957 4 года назад +1

      So I have discovered what it was, the trait was using the set_immortal_age since it was supposed to make them look 18 cause yknow, eternal youth, but for some reason that was coming up with an error, despite the little guide paradox left saying thats what you should use to achieve this, which was causing the name to appear blank and not generate on any characters

  • @enochbowen471
    @enochbowen471 4 года назад +3

    Here I am binging your exalted lore videos for the eighth time with notebook in hand and PDF's open to try to jot down what would be required to make an decent exalted mod for CK3 and you go and release this. Thanks!

  • @ancientgaming4698
    @ancientgaming4698 3 года назад +1

    TROUBLESHOOTING: for people who cannot manage to have their trait's name displayed, try writing name = trait_[the trait name as defined on top] before the desc section. For some reason it can happen that the game doesn't run the default function that sets trait_[name] as the default name for the localization file

  • @jackochainsaw
    @jackochainsaw 3 года назад +1

    Hi Seraaron. Thanks for this awesome video. I've created a very rudimentary mod that adjusts some of the gold values for creating Duchies (250 > 125), Kingdoms (500 > 250) and Empires (1000 > 500), as well as Feudalizing tribe holds (500 > 100). I plan to adjust a number of the elements for 'balance' over the weeks and have a few ideas for some interesting mechanics to add (such as gold having an investment return (compound interest) over time if you are positive each month). I did run into a hiccup that I should make note of, if you simply copy the file over to your mod folder with the correct folder structure, and then edit that, you'll damage the game in some area. If you modify the filename slightly (in some cases there is a number up front e.g. 00_xxxyyy change it to 01_xxxyyy, otherwise change xxxyyy to xxxyyy1) this will preserve the old rules, but override specifically what you want. If you were creating something new, you'd have a new filename anyway, but if you are just tweaking what is already there, you can copy over the particular snippet of code into the renamed file, and adjust. It works, trust me. :)

  • @nashpang1765
    @nashpang1765 3 года назад +2

    Dude, this tutorial is better than workshops at uni! Your work is greatly appreciated.

    • @nashpang1765
      @nashpang1765 3 года назад +1

      Here are my not so short questions for the modifications I want to make:
      It seems to me that the only legitimate way to generate renown is by having tones of dynasty members and getting them to high places. Requiring you to arrange the marriages of your children, grandchildren, great-grandchildren... and so on...and if your playing a min-maxed fertility or health game (which is possible with the ruler designer), arranging marriages and guardians for your descendants will inevitably take over the game.
      What I want to do is hand most of the "arrange marriage" and "find ward" decisions over to the A.I. based on their level of succession. So that you only need to deal with the most relevant members of your dynasty (say the first twenty or so).
      I also want their filters to be based on the player's filter preferences.
      I've got no idea how to implement any these modifications, but thanks to your tutorial I know where to start.

  • @szus1mon657
    @szus1mon657 4 года назад +2

    i don't make mods, but ur vid is great for people who tend to make mods!! well done!

  • @taylorledet3993
    @taylorledet3993 Год назад +1

    the ck3 syntax isin't there anymore?

  • @kaktusknabe3851
    @kaktusknabe3851 3 года назад +2

    thanks mate, very cool video, very well explained, exactly what i searched for.

  • @Cecilia-ky3uw
    @Cecilia-ky3uw 2 года назад

    not sure about modding but I like modifying notepad altho I only reuse the stuff pdx provides me

  • @JustinTheGrey
    @JustinTheGrey Год назад

    Is there still a way to use Atom and install the ck3 package on Windows? The website's just a headstone now.

    • @seraaron
      @seraaron  Год назад

      Atom should still be installable via github, but I haven't updated the package in a long time. I'd reccomend checking out VS Codium instead maybe?

  • @Михаил_Благодарный

    Seraaron can you make a video on how to create a mod with your own music?

  • @biglenin7306
    @biglenin7306 4 года назад +1

    Hey Seraaron I have a question about making trait icons in Krita what value should my height, width, and resolution be? Also should I change any of the color settings available when creating a new file? Id appreciate the help as i'm totally unfamiliar with any sort of graphic design. Cheers!

    • @seraaron
      @seraaron  4 года назад +1

      Hey, thank for your question! I'd reccomend taking whatever file it is you want to edit into paint.net first, convert the .dds into a .png, and then edit *that* in krita. It will automatically be in the right dimensions and colour space.

  • @No-Kung-Fu
    @No-Kung-Fu 4 года назад +1

    Excellent tutorial! Thank you! Is it possible to test updated files without restarting the game over and over? there is a "run" button in the debug mode but I can't figure out how to use it, if it even helps with that. Cheers

    • @seraaron
      @seraaron  4 года назад +2

      Hm, good question! I'll do some experimenting and try to get back to you. Or if you find out yourself in the meantime then let me know o/

  • @bkz1313
    @bkz1313 Год назад

    Hey! Do you still use atom? It seems to be not free anymore

  • @nightvvisher7713
    @nightvvisher7713 3 года назад

    i have question, i want to make vassal limit increase as your realm size increase, so lets say every county in realm increase your vasall limit by 0.3 i know in basic modifiers i can ad vasal limit per held county, but thats only county that u personaly hold and i want that for every county in realm...

  • @jobsbeltran9081
    @jobsbeltran9081 2 года назад

    Hi @author! Can you make a video on how to create a trait icon the same as the vanilla ones? because, I just made a mod and the trait icon is bigger than the rest of vanilla icons. Thanks for the video and have a great day!

  • @scottbeale1825
    @scottbeale1825 3 года назад

    What if we want to modify an existing thing in the game? I want to add a check that changes the cost of an interaction if the target has a particular trait. Do I have to copy the entire interaction?? Or just the part that I am changing

  • @amarYsium
    @amarYsium 4 года назад

    hey bro do you know why
    genetic_constraint_all = beauty_3
    genetic_constraint_men = male_beauty_3
    genetic_constraint_women = female_beauty_3
    is not applying the visual "beauty" filter to portraits? In the end I literally copied the beauty_good_3 trait and made beauty_good_4 with a new index out of it but the "filter" wont apply to the portraits. Thx in advance.

    • @seraaron
      @seraaron  4 года назад +1

      I'm afraid I haven't experimented with editing portraits yet. If I had to guess then the issue is that yor beauty_4 modifier needs to also be defined wherever portraits are defined, not just in traits, buy you may have already tried that. I suggest joining a Discord server, such as the CK3 modding cooprative discord.gg/fEfTJQq and asking there

  • @anothyre4634
    @anothyre4634 3 года назад

    The index numbers just basicly tell CK3 wich trait it is. like a social security number for traits.

  • @infini_ryu9461
    @infini_ryu9461 2 года назад

    I'm trying to add racial traits to my game, how would I go about doing that so as to always have that traits for that race?

  • @legateotteriusozer8477
    @legateotteriusozer8477 3 года назад

    any idea how can i use lifestyle perks as modifiers using a decision. its a personal mod only for me.

  • @cugitay
    @cugitay 3 года назад

    pls how to make trait icons in ck3 style and where did you found icon template?

  • @joedain7320
    @joedain7320 4 года назад +1

    hey great video, thanks!

  • @alexwilsonesq
    @alexwilsonesq 3 года назад

    Thank you for an easy to follow and understand guide. I have zero experience in coding, so the curve is going to be very steep for me!
    One issue I am having is that my version of the game is through Xbox Game Pass and it seems that I can not give myself access to the game files so I can read the info notes.
    Any thoughts on how to overcome this?

    • @alexwilsonesq
      @alexwilsonesq 3 года назад +1

      I think I have answered my own question:
      ck3.paradoxwikis.com/Modding#Extracting_files_From_Microsoft_Store_version

  • @nicelander
    @nicelander 2 года назад

    Would you be able to share the github repo for the code? You skipped over all the troubleshooting in the end, and showed us the final result without showing the code how you got there :)

    • @seraaron
      @seraaron  2 года назад

      The finished mod is on Steam. Link in the description of the video. You can download it and sift through the code there.

  • @morcant7
    @morcant7 3 года назад

    I need a video to show how to make maps, I want to make my universe I created with my friend over many years as a total conversion mod.

    • @seraaron
      @seraaron  3 года назад

      I can't help you I'm afraid. I haven't touched CK3 modding since the game came out. Good luck though, that sounds awesome!

  • @OzzyBoganTech
    @OzzyBoganTech 4 года назад

    More the chronicles of Amber pleas

  • @jakedominie3654
    @jakedominie3654 4 года назад

    @Seraaron will you make a tutorial on building custom ck3 maps?

    • @seraaron
      @seraaron  4 года назад +1

      I'd like to, when I work out how to myself. I've been busy this last month though and haven't played or modded CK3 that much

  • @ChampionsVII
    @ChampionsVII 4 года назад

    Hey, Guy if I want to create a command interface in the debug menu to control character age do you know how to script it? thank you

    • @seraaron
      @seraaron  4 года назад +1

      No idea sorry. I'm not good a scripting yet.

    • @ChampionsVII
      @ChampionsVII 4 года назад

      @@seraaron Thank you bro.

  • @BlakeSmith17
    @BlakeSmith17 4 года назад

    i mimiced everything you did in this video to make my "health permance" trait and but when i loaded it didn't show up with the name "health permance" just its code even when encoded it with Note+++. I downloaded sublime text and used it for the encoding but when I did - it started causing my game to crash on loading screen. All files are in their correct directories. my health_traits.txt file and traits_1_english_health_traits.yml file are hopefully named correctly and properly. my trait ends with AI_energy though.

    • @BlakeSmith17
      @BlakeSmith17 4 года назад

      this the scriptings i used
      sublime_health = {
      index = 1337
      diplomacy = 100
      martial = 100
      stewardship = 100
      intrigue = 100
      learning = 100
      prowess = 100
      health = 100
      fertility = 100
      health_trait = yes
      dread_baseline_add = 10
      dread_loss_mult = 0
      attraction_opinion = 100
      desc = {
      first_valid = {
      triggered_desc = {
      trigger = {
      NOT = { exists = this }
      }
      desc = trait_sublime_health_desc
      }
      desc = trait_sublime_health_character_desc
      }
      }
      ai_honor = 100
      }
      l_english:
      trait_sublime_health:0 "Health Permance"
      trait_sublime_health_desc:0 "This is person rarely gets sick or any diseases for that matter."
      trait_sublime_health_character_desc:0 "[ROOT.GetCharacter.GetFirstNameNoTooltip] has sublime health."

    • @seraaron
      @seraaron  4 года назад

      @@BlakeSmith17 So the trait is appearing when you load up the game and search for it in the in-game encyclopedia, but the localization file isn't being read properly (similar to my issue at 28:01), is that right? Your code looks ok. I would suggest re-checking your folders and file names. Is your 'localization' folder spelled with an 's' instead of a 'z', for example? Or if the encoding is the issue, then try re-making the localization file in the way I suggested at 25:10 by making a duplicate of the original .yml file from the game's code and then edit it to only contain your trait localisation text, and then rename it approriately: that way it should keep the same encoding that the devs originally put on it, since the file is an edited copy.

    • @BlakeSmith17
      @BlakeSmith17 4 года назад

      @@seraaron the encoding has been resolved without me doing anything. my traits.txt file was originally named something else while the .yml was titled as "traits_1_english_health_traits.yml". will i have to recreate the .txt and .yml files - i did rename my .txt to health_traits.txt but it still failed to translate the name as intended. the title of my localization is spelt with a "z" and not an "s" and simply copied the names of the directories from the clip.

    • @BlakeSmith17
      @BlakeSmith17 4 года назад

      @@seraaron well good news I worked out that I titled the localisation file as traits_1_english instead of traits_l_english but the bad news is that my icons no longer work but I'm not too disappointed about that.

  • @IBelieveinJoehendryTNA
    @IBelieveinJoehendryTNA 4 года назад

    how to make the ai less aggressive?

  • @queenhelebron5717
    @queenhelebron5717 4 года назад

    Hello do you know where can I find "over domain limit opinion -"
    I would like to set it to 0.
    Thx in advance...

    • @seraaron
      @seraaron  4 года назад +1

      Try searching for it. Do Ctrl+Shift+F for "domain" or "domain_limit", and read through the code sections that you find. You may not find it immediately, but you may find some comments or other snippets that then point you in the right direction from there and what to search for next. I'm sorry I can't be more specific, but a good portion of this video is about trying to encourage people to look for stuff on their own (at least until the wiki gives better documentation and guidance). If you do find out though, then please contibute to the wiki!

    • @queenhelebron5717
      @queenhelebron5717 4 года назад

      @@seraaron Been doing that for 2 days now hehe...
      Guess I will just have to keap searching,thx for answer and have a goid day...

    • @seraaron
      @seraaron  4 года назад +1

      @@queenhelebron5717 You could also try searching the workshop / paradox plaza for other people mods that alter the domain limit, download them and search through their code to see what they're doing and where the bits you're looking for are. Ie. learn by example

    • @queenhelebron5717
      @queenhelebron5717 4 года назад

      @@seraaron Found it 😊...
      Its under modifiers/basic modifiers.It is domain limit tied to your rank but still a way to increse it...

  • @viridianze1225
    @viridianze1225 4 года назад

    How did you fix the descriptors i cant for the life of me figure it out

    • @seraaron
      @seraaron  4 года назад

      Descriptors? Do you mean the localizations?

    • @viridianze1225
      @viridianze1225 4 года назад

      @@seraaron yeah i keep getting an error [18:47:00][pdx_localize.cpp:1027]: Trying to import a localization key outside of a language: trait_heterochromia_iridum
      [18:47:00][pdx_localize.cpp:1027]: Trying to import a localization key outside of a language: trait_heterochromia_iridum_desc
      [18:47:00][pdx_localize.cpp:1027]: Trying to import a localization key outside of a language: trait_heterochromia_iridum_character_desc

  • @wegner7036
    @wegner7036 3 года назад

    More like an advertisement than a tutorial.

    • @seraaron
      @seraaron  3 года назад

      All the tools I used are free. So, idk what you're talking about. Also, if it counts: I'm slowly coming around on VS Code, it's intellicense feature is neat. So use whatever suits you, man