Crusader Kings III

Crusader Kings III

A Spouse Designer for 1.13.2.*+
Compatibility
Hey there,

We have an incompatibility with Entitled.
Would you be open to making your custom button a type, so that I could add it to mine?

It would enable compat without a compatch, and without throwing errors if the other mod isn't loaded.

If you replace your button with
spouse_designer_button = {}
and define that as a type in another .gui file
Type spouse_designer_button = button_standard { <...> }

then on my end I can define the same type as an empty one in a file starting with "000_", so when your mod is loaded, your version of the type is loaded, and the button will appear and behave as you determined.
< >
Showing 1-9 of 9 comments
kalanyr  [developer] 4 Jun, 2023 @ 5:15am 
Sure.

Want to be sure that this is correct:
The definition in window_ruler_designer should be empty and everything should be defined in button_spouse_designer.gui ?

(I'm currently fighting with Paradox's bizarre interface choices in Ruler Designer but will add this on the following pass)
Originally posted by kalanyr:
Sure.

Want to be sure that this is correct:
The definition in window_ruler_designer should be empty and everything should be defined in button_spouse_designer.gui ?

Yes exactly.
Types when invoked empty are kinda like text replacement. It will copy/paste the type's definition where you invoked it when it builds the UI.

That's how UniUI works for the most part, and how it can switch UI elements in and out depending on which mod is loaded.

If it's simpler for you, I can send you an alternate version as well.
kalanyr  [developer] 4 Jun, 2023 @ 11:12am 
Originally posted by Stik' | Mostly Mechanical Mods:
Originally posted by kalanyr:
Sure.

Want to be sure that this is correct:
The definition in window_ruler_designer should be empty and everything should be defined in button_spouse_designer.gui ?

Yes exactly.
Types when invoked empty are kinda like text replacement. It will copy/paste the type's definition where you invoked it when it builds the UI.

That's how UniUI works for the most part, and how it can switch UI elements in and out depending on which mod is loaded.

If it's simpler for you, I can send you an alternate version as well.

Okay, I just uploaded the latest version of Spouse Designer now. I'm not 100% sure which buttons you want to replace, so if you want to grab the latest version and I'm happy if you either indicate which buttons need to be replaced specifically (I guess by Text field value ) or send me a version restructured how you envision.
Sulf 13 Jun, 2023 @ 1:45pm 
@kalanyr Hello! So, I wasn't sure if I should put this in this compatibility discussion or not, but since it is about it, I thought that was probably where to report this bug.

So, I had the game rules "Spouse Designer: Designer after start: Enabled" & "Spouse Designer: Editable characters: Any" on whilst using Entitled, and I noticed that after I had started the game, the Edit Family option disappeared and it reverted to "Create your own ruler" as well as the option being grayed out and displaying the "Game has started" message.


Please and thank you for reading and I hope this helps! Also please and thank you to you both for making these two mods compatible! :)

Please and thank you for reading and I hope you have a good day and night! :)

P.S

Load order was:

Spouse Designer 1.9
Ruler Designer - Safe Genes Unlocked
Entitled

Please and thank you again! :)
kalanyr  [developer] 14 Jun, 2023 @ 10:37am 
Entitled and Spouse

Originally posted by Sulf:
@kalanyr Hello! So, I wasn't sure if I should put this in this compatibility discussion or not, but since it is about it, I thought that was probably where to report this bug.

So, I had the game rules "Spouse Designer: Designer after start: Enabled" & "Spouse Designer: Editable characters: Any" on whilst using Entitled, and I noticed that after I had started the game, the Edit Family option disappeared and it reverted to "Create your own ruler" as well as the option being grayed out and displaying the "Game has started" message.


Please and thank you for reading and I hope this helps! Also please and thank you to you both for making these two mods compatible! :)

Please and thank you for reading and I hope you have a good day and night! :)

P.S

Load order was:

Spouse Designer 1.9
Ruler Designer - Safe Genes Unlocked
Entitled

Please and thank you again! :)

Entitled & Spouse Designer aren't compatible yet, I'll make sure to add it in the Changelog when it's ready.
Sulf 14 Jun, 2023 @ 3:43pm 
Originally posted by kalanyr:
Entitled and Spouse

Originally posted by Sulf:
@kalanyr Hello! So, I wasn't sure if I should put this in this compatibility discussion or not, but since it is about it, I thought that was probably where to report this bug.

So, I had the game rules "Spouse Designer: Designer after start: Enabled" & "Spouse Designer: Editable characters: Any" on whilst using Entitled, and I noticed that after I had started the game, the Edit Family option disappeared and it reverted to "Create your own ruler" as well as the option being grayed out and displaying the "Game has started" message.


Please and thank you for reading and I hope this helps! Also please and thank you to you both for making these two mods compatible! :)

Please and thank you for reading and I hope you have a good day and night! :)

P.S

Load order was:

Spouse Designer 1.9
Ruler Designer - Safe Genes Unlocked
Entitled

Please and thank you again! :)

Entitled & Spouse Designer aren't compatible yet, I'll make sure to add it in the Changelog when it's ready.

@kalanyr Please and thank you! I thought it already was because when I was using Entitled before it's most recent update, the two mods seemed to work together.

Please and thank you for letting me know and please and thank you! :)

Please and thank you for reading and I hope you have a good day and night! :)
Originally posted by kalanyr:
Okay, I just uploaded the latest version of Spouse Designer now. I'm not 100% sure which buttons you want to replace, so if you want to grab the latest version and I'm happy if you either indicate which buttons need to be replaced specifically (I guess by Text field value ) or send me a version restructured how you envision.

Thanks!
I just tested it, works like a charm, the next Entitled update will make both mods compatible.
Your scripted widget shows behind the Outliner, but the Outliner can be moved.
I can even try to move it automatically if SD is loaded, or hide it when your widget is opened.
kalanyr  [developer] 15 Jun, 2023 @ 3:07am 
Originally posted by Stik' | Mostly Mechanical Mods:
Originally posted by kalanyr:
Okay, I just uploaded the latest version of Spouse Designer now. I'm not 100% sure which buttons you want to replace, so if you want to grab the latest version and I'm happy if you either indicate which buttons need to be replaced specifically (I guess by Text field value ) or send me a version restructured how you envision.

Thanks!
I just tested it, works like a charm, the next Entitled update will make both mods compatible.
Your scripted widget shows behind the Outliner, but the Outliner can be moved.
I can even try to move it automatically if SD is loaded, or hide it when your widget is opened.

Okay, that's good. I do plan to to redesign that widget completely at some point (I really need something more like the bottom section of the character window layout) but I'll give you a headsup when I get to that point.
kalanyr  [developer] 17 Jul, 2023 @ 5:34pm 
Originally posted by Stik' | Mostly Mechanical Mods:
Originally posted by kalanyr:
Okay, I just uploaded the latest version of Spouse Designer now. I'm not 100% sure which buttons you want to replace, so if you want to grab the latest version and I'm happy if you either indicate which buttons need to be replaced specifically (I guess by Text field value ) or send me a version restructured how you envision.

Thanks!
I just tested it, works like a charm, the next Entitled update will make both mods compatible.
Your scripted widget shows behind the Outliner, but the Outliner can be moved.
I can even try to move it automatically if SD is loaded, or hide it when your widget is opened.

I've updated our Discord DM conversation, if you want to check that. (Wasn't sure of the best way to ping you , so trying this)
< >
Showing 1-9 of 9 comments
Per page: 1530 50