santardo Posted December 7, 2024 Posted December 7, 2024 (edited) im looking for a guide or a place where i can lookup / learn how to adapt and change existing mods which use the old event window into a new one. i'm thankful for any recommendations, guides or just simply pointing me into a general direction let's start this, Grab the files (IST_event_bigger_area.dds IST_event_bigger_bg.dds and IST_event_narrative_area.dds IST_event_narrative_bg.dds) in the rar file, drop those in the gfx>interface folder rename those file to a unique name something like "YOUR-MOD-NAME_event_bigger.dds" do this for all 4 files should look like: ck2>mod>YOUR-MOD-NAME>interface>YOUR-MOD-NAME_event_bigger.dds locate the interface folder - in there should be a ".gfx" file that has the lines, IF not good, grab the files in the rar. !!!! IMPORTANT !!!!! if you use the custom interface files in in the rar file, rename them, example: YOUR-MOD-NAME_custom_event_window YOUR-MOD-NAME_custom_eventwindow or you will get a CTD !!! could differ!!! spriteTypes = { ########## spriteType = { name = "GFX_event_small_custom_area" texturefile = "gfx\\interface\\IST_event_narrative_area.tga" } spriteType = { name = "GFX_event_small_custom_bg" texturefile = "gfx\\interface\\IST_event_narrative_bg.tga" allwaystransparent = yes } } !!! Change it to !!! spriteTypes = { ########## spriteType = { name = "GFX_event_YOUR-MOD-NAME_custom_area" texturefile = "gfx\\interface\\YOUR-MOD-NAME_event_narrative_area.tga" } spriteType = { name = "GFX_event_YOUR-MOD-NAME_custom_bg" texturefile = "gfx\\interface\\YOUR-MOD-NAME_event_narrative_bg.tga" allwaystransparent = yes } } that is all that should be in that file. alternetavly download the Custom_interface.rar and make the changes in the "custom_interface.rar" file called "custom_event_window.gui" grab that file and change under line 5 the name to "EventWindowNarrativeYOUR-MOD-NAME" AND the lines 20 to GFX_event_YOUR-MOD-NAME_custom_area and 32 to the GFX_event_YOUR-MOD-NAME_custom_bg now the tedious part go to ck2>mod>YOUR_MOD_NAME>events choose any event and open it in an editor add the line : window = "EventWindowNarrativeYOUR-MOD-NAME" Example: namespace = IST character_event = { id = IST.089 #Brand prisoner to MY court ai = no window = "EventWindowNarrativeYOUR-MOD-NAME" picture = GFX_evt_IST.Branding is_triggered_only = yes do this for every event!!! that should be all IF i forgot anything pls hit me up. hf guys IST_event_biggerFILES.rar CUSTOM_interface.rar Edited December 9, 2024 by santardo 1
santardo Posted December 8, 2024 Author Posted December 8, 2024 alright, so 1 step forward, 2 steps back, i found out why my events where using the vanilla window, it was because i was missing the (window = "EventWindowNarrativeIST" ) line, but now i ran into a new problem. when i click a decision that would lead me to that bigger window it crashes the game. any tip would be much appreciated
santardo Posted December 8, 2024 Author Posted December 8, 2024 new problem i fixed the crash but now it shows me the wrong background frame
santardo Posted December 8, 2024 Author Posted December 8, 2024 (edited) all done, i'll update the post with a detailed guide for anyone interested the worst part is that now i'll have to redo all of the event pictures since i made them in that crappy 450 x 150 format FML Edited December 8, 2024 by santardo
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now