Jump to content

Trying to create a mod need help


Dragul17

Recommended Posts

Posted

So I decided to try my hand at creating a mod but I am completely lost on how to create events decisions and traits and all that stuff. I have followed the ck3 mod creation stuff and I understand that mods are in essence txt files. but how to write those files and how to and which folders I need to create I'm completely lost on. Do I need to create a event file a common file or decision files or do I make all of them?

I've tried referencing the other mods I've downloaded and they all have the same initial files (localization gfx events common) I imagine the difference is within those files and that makes sense. I've never taken coding before but that's what it looks like to me. Obviously without telling you what I'm trying to make it will be impossible to truly help but is there a way to learn or tutorials that walk you through creating a full fledged mod?

I want to create a hostile mod full of non-con content where even the player is not safe from the evil machinations of the other characters. Any help would be very appreciated. 

Posted
8 hours ago, Dragul17 said:

So I decided to try my hand at creating a mod but I am completely lost on how to create events decisions and traits and all that stuff. I have followed the ck3 mod creation stuff and I understand that mods are in essence txt files. but how to write those files and how to and which folders I need to create I'm completely lost on. Do I need to create a event file a common file or decision files or do I make all of them?

I've tried referencing the other mods I've downloaded and they all have the same initial files (localization gfx events common) I imagine the difference is within those files and that makes sense. I've never taken coding before but that's what it looks like to me. Obviously without telling you what I'm trying to make it will be impossible to truly help but is there a way to learn or tutorials that walk you through creating a full fledged mod?

I want to create a hostile mod full of non-con content where even the player is not safe from the evil machinations of the other characters. Any help would be very appreciated. 

The best way really is to look at other mods and then work from there (Or the base files of CK3 but they are many you do not need). Basically, a mod adds things on top of CK3, but if you name files the exsact same as CK3 those files specifically will overwrite the base game. For events you will want the events folder and then inside that a text file where you will create the events. Then next to event folder (Not inside) you will want the common folder. In here you will want the 0n_action folder. In that folder you will want another text file, this is where you can set up event's to actually trigger. Lastly next to the Common and Events folders you want the localization and a text file inside. That file is where the actual words players will read is placed.

I personally won't have time to help you every step of the way as I am always busy, but hopefully that + looking at mod and CK3 files helps.

Posted

Yeh its unfortunate this game has been out for so long and the actual wiki / how to has barely been fleshed out. The folks on the mod co-op discord as well as the mod help area on the main ck3 discord can be helpful.

 

I would recommend that before you keep reading until you feel "you've got it" just make a mod and focus on successfully triggering a single event. Then just keep doing things from that, like try adding an event that triggers as soon as you load the game from lobby vs a decision event. Try a short interaction chain between characters etc.

 

Once you do two or three things successfully and see where the errors pop up and how the folders and files within them are read you'll have a better baseline for actually making a blueprint of what you're trying to do and then asking on discord better questions for more specific answers.

Posted (edited)
14 hours ago, Dragul17 said:

So I decided to try my hand at creating a mod but I am completely lost on how to create events decisions and traits and all that stuff. I have followed the ck3 mod creation stuff and I understand that mods are in essence txt files. but how to write those files and how to and which folders I need to create I'm completely lost on. Do I need to create a event file a common file or decision files or do I make all of them?

I've tried referencing the other mods I've downloaded and they all have the same initial files (localization gfx events common) I imagine the difference is within those files and that makes sense. I've never taken coding before but that's what it looks like to me. Obviously without telling you what I'm trying to make it will be impossible to truly help but is there a way to learn or tutorials that walk you through creating a full fledged mod?

I want to create a hostile mod full of non-con content where even the player is not safe from the evil machinations of the other characters. Any help would be very appreciated. 

Often it's easiest to start with something that already exists in game and does something (at least vaguely) similar to what you want to do.

 

If it's an event, you can simply write down the title that you see in the event window during regular gameplay, then use Notepad++ or a similar tool to search the game's localisation folder. There, you will find the actual event ID, which you can in turn search for in the events folder. Finally, compare what you know of the actual in game effects with what is written in the events file. What corresponds to what?

 

Same thing works for traits. Look up a trait whose mechanics you are interested in. Look up the trait in the game's traits folder. Compare.

 

Should you feel like you need a little more direct help to get you started, you can message me on Discord. I'm on Cheri's Carnalitas server. Then I'll see what I can do.

Edited by The Lord
Posted

Thanks everyone for your suggestions it feels overwhelming but I'll try going at it one step at a time. I greatly admire everyone who do this dirty work. 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...