greetings ladies and gentlemen I'm nurse Girl creator of the UMC mods for hearts of fire 4 and I welcome you to this modding tutorial for total beginners this morning tutorial series will be divided into seven videos first one serves as an interaction and you will see on the next slide what invites Us in this video in the second one we will talk about focuses third one will be about ideas or national Spirits fourth will be about events fifth about decisions and six about localization you can of course after seeing video number two jump to the video number six and learn about localization if you want to and the seventh video will be like a sum up where we will recap some things and also talk about Phase 2 of the modding tutorial Series in that we can learn some more advanced things if you are interested now taking a look on what will be in this video there will be some introduction I will tell you some rules about modding what program to use for moding we will learn how to use debug mode we will create our new mod we will will put our first files into our mode for that I have prepared a starter pack which I will tell you more about in a minute and I will explain differences between mod files and Manila files for Hearts of Iron 4. so who am I well as I said I'm narsgiel creator of the vmc mods you can find them on the Steam Workshop I'm currently preparing to release uumc 2.0 now why am I creating this tutorial because there are definitely some tutorials already on the YouTube but in my opinion they are not exactly suited for the total beginners they were also created like few years back so something might have changed and therefore I am creating this tutorial I am also looking for more models to join UMC and this tutorial will help me to guide them if they are if they want to learn how to mod and well we have already talked about the other two points so just if you have any question or want to contact me or want to get that starter pack or you should join the UMC Discord I'll put the link in the description also the starter pack sounds like something you would have to pay for but no no it's free it's just on my Discord so you can go there and get it you will see what it does in a minute it really helps you to get on with your pudding I myself uh am using that starter pack when I'm creating new mods so I will tell you some rules of modding and then I will be gone at least from the Monitor and we will get to some actual modding so first rule is that modding is easy really when you first look at it it might seem like it's something hard but that's only because you don't know where to start you know you just have to give it like I don't know five hours and it will seem easy to you as well and the modeling is easy because it's 90 in 90 cases just copy and pasting because you know you are not programming some new websites or something you are just creating something to the game and most of the time what you want to create someone already created so for the beginners I suggest that when you want to do for example some Focus you take a look on vanilla files how Paradox did that focused probably in some similar way and you just copied it got from that Focus to your own and well when we are a bit Advanced then you can like create your own focuses but then again you are just copy pasting some commands and modifiers from Wiki or from other focuses third rule never edit funnel files uh we will explain difference between mod files and vanilla files in a minute just know that if you edit vanilla files oftentimes you have to reinstall the game fourth rule is what is opened must be closed that rule is for when we will be modding you will be using a lot of brackets and when you are using brackets you open something and then you have to close it with this special bracket again if you don't close it your code will be broken and well it's like you know um one of the most often cases offline coding error again it will make more sense when we are actually coding or modding fifth rule is that you always should use the debug mode when we are moding because it makes your modding life a much much easier sixth rule is that what's behind this magical symbol doesn't count again we'll explain more when we are modding that will be all from my face and let's get to work so what program to use for modding I personally use notepad plus plus you can get it for free and it works just fine you can however use like any program that allows you to modify your notes again we'll put a link for download to the description point for the debug mode alright so to enable debug mode you will go to your steam pencil file 4 click properties and then General and here put dot debug now I will show you a few things what debug does having debug enabled does a lot of things for example the error lock shows you here which tells you about all your problems in the game you can also for example if you are on the state with your mouse you can do Ctrl alt and see some more information about that state which is really helpful if you open your focus tree you will see that it every Focus now shows Focus ID which is again very helpful and perhaps the main thing it does is that when you change your focus tree through modding it will immediately put that change in the game therefore you don't have to do it through the console commands [Music] like this so as I said always use the debug mode when you are modding now 0.5 creating your new mod finally let's do it to create your remote you start the final four go to all installed mods upload mode and create a mod now your name is what you will people see on the Steam Workshop when you upload it version is just something like for you so you can put for example one because it's first version of our mode and the directory will create the new folder so let's get name AFK modeling tutorial for example and here AFK modding to to real and the text tells you what your mode is focused on so we will get National focuses advance um yeah it'll be fine and create a new mod and our mode has been created before we take a look on where it is we will have to enable it so you have your playsets here you can see if4 and if we take look on places here this is my place at uh nothing I will use this nothing for the modding tutorial you can see that we have one new mod we will click add to the current playset and we have it here you can also add it to the place and manually if you go here add more mods and select it through here now if you have it enabled here in your playset and you select this playset and start a game you will have that mode active now let's go to the 0.6 and put some files into our mode and also find it I will explain both of these points together because that will make the most sense so firstly the official like vanilla herzip iron 4 is located under steam I have it here d um where is it ah steam then steam apps come on Earth of iron 4. these are all the files of the vanilla artzo fan 4. now to find our mod files we will go to the our computer again to the documents Paradox Interactive parts of final four and here you go to mod and here you can see all your mods your own mods and our the modding tutorial mode is here and as you can see it's empty currently I will now explain how to put files into your mod for that I have to open official Hearts of Iron 4 vanilla files on another tab so if you want to put any files into your mod it needs to follow the exact same organization at this at as it is in uh the vanilla files from the vanilla files you will be most of the time using this folder command and then events and then localization so if you want to for example put like Focus tree into your mod you will go to the command National Focus and here all of the focuses that are current currently in the game are listed but you can't just like put this file and put it here no no no no no you have to create the exact same folders as they are in the vanilla files so you can see that it's also file for common uh National focus and here are the focuses so if you want to put this file into your mod file do modify it you need to create common the exact same folder and here National Focus as it is here and only then you can copy certain focus into it if you want to for example modify some national Spirits or ideas you will go through the come on ideas and you can select which one you want to modify but before that again you have to have common folder animate ideas folder and you can put your ideas here to make your life much easier I've created this starter pack when we take a look you will see that it already contains all the most important folders that will save you a lot of time creating it and it will be also much easier to navigate through them because you know it's easier to navigate through four folders than through like I don't know 20. so if you download the starter pack you all you will have to do is just copy those files and put them here now when we take a look you will see that in common we have National Focus uh National Spirits characters decisions counter leaders and you know other things here when we take a look on for example the national focuses you will see that there is already one file here when you open it you will see oh don't get scared these are just my explanations we will go through them in the next video but you can see that I already prepared some things for you here another thing I would like to point out is how the files are working for example if we want to if you go to the focus and let's put Czechoslovakia into our combination Focus same as year if this file has the exact name as the one in the vanilla files our file will overwrite the one in the vanilla files but if you for example change it to I don't know this uh this file won't override this file and it will cause a lot of problems because there will be duplicates duplicated IDs and so on and so on what I oftentimes do is that I copy Czechoslovakia the exact Focus then oops delete all of it and then use my own like name here for example this that way the national focus of Czechoslovakia basically this empty file will override this file therefore the game will think that this file is empty the Czechoslovakian focus is empty and you can continue doing changes in your like file it's just something I use uh to better navigate through my focuses and files and so on and with that we are at the end of the first video well done you have managed to create your own mod wasn't so hard right in the next video we will take a look on the focuses and it will be probably more fun now as I said you can get the starter pack on UMC Discord and if you want to you can support me on my patreon see you in the next video bye