Crusader Kings III

Crusader Kings III

33 个评价
GUI Modding Framework
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
1.006 MB
2021 年 3 月 12 日 上午 5:59
2021 年 3 月 17 日 下午 2:01
7 项改动说明 ( 查看 )

订阅以下载
GUI Modding Framework

描述
The GUI Modding Framework is a framework for easy inter-mod compatibility and GUI modding.
The GUI Modding Framework is a framework for easy inter-mod compatibility and GUI modding.
Pass anything from GUI to sGUI, even flags and numerical values, or specific constant scopes that don't need to be maintained on a per-player-character basis!
Access any desired script scope even if your GUI is to be used in Observer Mode!
Pass global variables to GUI by attaching them to dummy_male or dummy_female!
Save localized_text as a "global" variable by attaching it to dummy_male or dummy_female - implementing your own chat system has never been so easy!
Iterate console commands for members of a datamodel without conflicts!
Inititializing a custom GUI is as simple as add_custom_gui = {NAME = <string>} and adding it to the sidebar is as simple as add_sidebar_button = {NAME = <string>}. This is done from script, not from GUI!¨

If you wish to use the GUI modding framework, then you should not edit any files in it. The update process should be as simple as drag-and-dropping the files from this mod into your own mod!
9 条留言
Tobbzn  [作者] 2022 年 2 月 9 日 上午 12:19 
Yup. In fact scripted widgets are a direct response to this mod :)
Greysuki 2022 年 2 月 9 日 上午 12:08 
For those one who want to use dynamic ui.
The version 1.5.0 have add new feature called Scripted Widgets.
Basiclly is official version of GUI Modding Framework.

You can get more info in Dev Diary:
https://www.crusaderkings.com/en/pc/news/dev-diary-87-royal-modding
Tobbzn  [作者] 2022 年 1 月 16 日 上午 10:37 
It's not located anywhere. Datamodels are hardcoded by paradox.
Zing 2022 年 1 月 16 日 上午 8:42 
Hello :)
I've been looking for the source of datamodel = "[GetPersonalityTraits]" call, but I cant find the personality traits datamodel anywhere. Where is it located?
Tobbzn  [作者] 2021 年 3 月 16 日 下午 5:23 
Well, considering how LocalizedText works, it's now possible to do spanreed chats where both players are editing the same LocalizedText at the same time.

An enterprising modder could add such a feature as an option in their otherwise murderous chat module ;)
Agami 2021 年 3 月 16 日 下午 4:41 
is there even a point in a chat that doesn't murder innocents?
Tobbzn  [作者] 2021 年 3 月 16 日 下午 4:37 
@Agamidae Can we expect a less murderous chat module now? :P
Agami 2021 年 3 月 16 日 下午 4:30 
"Pass global variables to GUI by attaching them to dummy_male or dummy_female!"
you storming geniuses...
EnumaEllis 2021 年 3 月 13 日 下午 3:13 
Interesting