群星
ParaWikis
最新百科
都市天际线2百科
英雄无敌3百科
维多利亚3百科
奇妙探险队2百科
罪恶帝国百科
英白拉多:罗马百科
热门百科
群星百科
欧陆风云4百科
十字军之王2百科
十字军之王3百科
钢铁雄心4百科
维多利亚2百科
ParaWikis
申请建站
ParaWikis
ParaCommons
最近更改
随机页面
加入QQ群
工具
链入页面
相关更改
特殊页面
页面信息
页面值
阅读
编辑
编辑源代码
查看历史
讨论
编辑“
Diplomacy modding
”(章节)
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
切换编辑器
您已切换至源代码编辑
关闭
您可以随时通过点击该图标切换回可视化编辑。
可视化编辑
源代码编辑
更多
高级
特殊字符
帮助
标题
2级
3级
4级
5级
格式
插入
拉丁字母
扩展拉丁字母
国际音标
符号
希腊字母
希腊字母扩展
西里尔字母
阿拉伯字母
扩展阿拉伯字母
希伯来字母
孟加拉语字符集
泰米尔数字和符号
泰卢固语字符集
僧伽罗语字符集
梵文字符集
古吉拉特语字符集
泰语字符集
老挝语
高棉语字母
加拿大原住民音节文字
卢恩
Á
á
À
à
Â
â
Ä
ä
Ã
ã
Ǎ
ǎ
Ā
ā
Ă
ă
Ą
ą
Å
å
Ć
ć
Ĉ
ĉ
Ç
ç
Č
č
Ċ
ċ
Đ
đ
Ď
ď
É
é
È
è
Ê
ê
Ë
ë
Ě
ě
Ē
ē
Ĕ
ĕ
Ė
ė
Ę
ę
Ĝ
ĝ
Ģ
ģ
Ğ
ğ
Ġ
ġ
Ĥ
ĥ
Ħ
ħ
Í
í
Ì
ì
Î
î
Ï
ï
Ĩ
ĩ
Ǐ
ǐ
Ī
ī
Ĭ
ĭ
İ
ı
Į
į
Ĵ
ĵ
Ķ
ķ
Ĺ
ĺ
Ļ
ļ
Ľ
ľ
Ł
ł
Ń
ń
Ñ
ñ
Ņ
ņ
Ň
ň
Ó
ó
Ò
ò
Ô
ô
Ö
ö
Õ
õ
Ǒ
ǒ
Ō
ō
Ŏ
ŏ
Ǫ
ǫ
Ő
ő
Ŕ
ŕ
Ŗ
ŗ
Ř
ř
Ś
ś
Ŝ
ŝ
Ş
ş
Š
š
Ș
ș
Ț
ț
Ť
ť
Ú
ú
Ù
ù
Û
û
Ü
ü
Ũ
ũ
Ů
ů
Ǔ
ǔ
Ū
ū
ǖ
ǘ
ǚ
ǜ
Ŭ
ŭ
Ų
ų
Ű
ű
Ŵ
ŵ
Ý
ý
Ŷ
ŷ
Ÿ
ÿ
Ȳ
ȳ
Ź
ź
Ž
ž
Ż
ż
Æ
æ
Ǣ
ǣ
Ø
ø
Œ
œ
ß
Ð
ð
Þ
þ
Ə
ə
格式
链接
标题
列表
文件
参考
讨论
说明
输入内容
输出结果
斜体
''斜体文字''
斜体文字
粗体
'''粗体文字'''
粗体文字
粗斜体
'''''粗斜体文字'''''
粗斜体文字
== Galactic community == Full galactic community modding consist of Resolution Categories and Resolutions. They work like [[Policies_modding|policies and policy options]]. === Resolution categories === Federation law categories are defined at "common/resolution_categories/xxx.txt". ==== Data structure ==== * '''group''' - A localisation key. Multiple Resolution Categories of the same group will be grouped together in the galactic community view. * '''icon''' - A reference to a GFX instance that indicates the icon of this Resolution Category. * '''resolution_types''' - A list of keys of Resolutions. ==== Resolution Category Example ==== These are the ecology and technology resolutions in the "blue group". resolution_category_ecology = { group = environment_technology icon = "GFX_resolution_ecolgical_protection" resolution_types = { "resolution_ecology_repeal_1" ... } } resolution_category_galacticstudies = { group = environment_technology icon = "GFX_resolution_galactic_studies" resolution_types = { "resolution_galacticstudies_repeal_1" ... } } === Resolutions === Resolutions are defined at "common/resolutions/xxx.txt". ==== Data Structure ==== * '''icon''' - A reference to a GFX instance that indicates the icon of this Resolution. * '''target''' - (yes/no) Determines if this resolution needs an empire for a target. * '''harmful''' - (yes/no) Determines if the AI should consider this Resolution harmful while choosing the target. * '''modifier''' - A block of [[Modifiers]]. For as long as this Resolution is passed, all members of the galactic community receive these modifiers. * '''triggered_modifier''' - Similarly, except each block has a potential block. ** '''potential''' - A block of [[Conditions]] to determine if this block of triggered_modifier should apply to an empire. (Country scope) * '''effect''' - A block of [[Effects]] to be executed on the proposing empire when this resolution passed. If this resolution needs a target, instead this block is executed on the target empire. (Country scope) * '''fail_effects''' - Similarly, this block is executed when this resolution is declined. * '''potential''' - A block of [[Conditions]] to determine if this resolution can be displayed to an empire on the resolution proposal view. (Country scope) * '''allow''' - A block of [[Conditions]] to determine if this resolution can be proposed by an empire. (Country scope) * '''ai_weight''' - Determines AI acceptance of this resolution. * '''valid_target''' - A block of [[Conditions]] to determine if an empire is a valid target of this resolution. '''targeted = yes''' only. ==== Resolution Example ==== The following examples are the first level of Economy Sanction and the Council Denouncement. resolution_sanctions_economic_1 = { icon = "GFX_sanctions_orange" resources = { category = resolutions cost = { influence = @resolution_cost_denounce } } target = no effect = { custom_tooltip = sanctions_effect } modifier = { } triggered_modifier = { potential = { OR = { is_in_breach_of_any = yes has_modifier = resolution_denounced } } modifier = { resolution_sanctions_economic = 1 } } allow = { custom_tooltip = { fail_text = "requires_something_illegal" has_global_flag = resolution_with_breach_effect_passed } custom_tooltip = { NOT = { is_active_resolution = "resolution_sanctions_economic_2" is_active_resolution = "resolution_sanctions_economic_3" } } } ai_weight = { weight = @resolution_weight_normal modifier = { factor = 0 is_in_breach_of_any = yes } ... } } resolution_council_denouncement = { icon = "GFX_resolution_purges" potential = { has_federations_dlc = yes } resources = { category = resolutions cost = { influence = @resolution_cost_t1 } } target = yes harmful = yes valid_target = { is_country_type = default is_galactic_community_member = yes NOT = { is_same_value = from } # don't denounce yourself. OR = { opinion_level = { who = from level < neutral } from = { is_rival = prev } is_in_breach_of_any = yes } } effect = { add_modifier = { modifier = resolution_denounced days = 3600 } } potential = { is_galactic_council_established = yes NOT = { has_global_flag = resolution_council_denouncement_abolished } } allow = { is_part_of_galactic_council = yes } ai_weight = { weight = @resolution_weight_disliked } } The "resolution_sanctions_economic" statement is a [[Modifiers#Static_Modifiers|Static Modifier]], not just a Modifier. A "resolution_sanctions_economic = 1" statement in a modifier block means this block has one time the effect as that Static Modifier while "= 2" means twice. === Galactic Focuses === Galactic Focuses are defined at "common/galactic_focuses/xxx.txt". ==== Data Structure ==== * '''icon''' - A reference to a GFX entry. * '''potential''' - A block of [[Conditions]] to check if this galactic focus is vaild. (Global scope) * '''trigger''' - A block of [[Conditions]] to check if this galactic focus is fulfilled. (Global scope) * '''effect''' - A block of [[Effects]] to be executed to each galactic community member when this focus is fulfilled. (Country scope) ==== Galactic Focus Example ==== galactic_focus_crisis_prethoryn = { icon = "GFX_galactic_focus_threat_to_galaxy" effect = { add_resource = { influence = 100 } country_event = { id = crisis.211 } } potential = { has_global_flag = galactic_focus_crisis_prethoryn NOT = { has_global_flag = prethoryn_invasion_defeated } } trigger = { custom_tooltip = { fail_text = "galactic_focus_crisis_prethoryn" has_global_flag = prethoryn_invasion_defeated } } } === 相关的动态修改语句 === Country Conditions * '''num_envoys_to_galcom <=> int''' - Checks the number of envoys this empire assigned to the galactic community. * '''is_proposing_resolution = <resolution key/any>''' - Checks if this empire is proposing a specific, or any, resolution. * '''is_galactic_community_member = yes/no''' - Checks if this empire is a member of the galactic community. * '''is_part_of_galactic_council = yes/no''' - Checks if this empire is a member of the galactic council. * '''galactic_community_rank <=> int''' - Checkes the rank of diplomatic weight this empire of in the galactic community. Returns -1 if this empire is not a member. * '''is_permanent_councillor = yes/no''' - Checks if this empire is a permanent councillor. * '''is_in_breach_of_any = yes/no''' - Checks if this empire is in breach of any galactic law. Country Effects * '''pass_resolution = <resolution key>''' - Immediately passes a resolution. It's considered to be proposed by this empire. Targeted resolutions can't be passed this way. * '''add_to_galactic_council = yes''' - Makes this empire a councillor. * '''remove_from_galactic_council = yes''' - Removes this empire from the galactic council. * '''add_permanent_councillor = yes''' - Makes this empire a permanent councillor. * '''remove_permanent_councillor = yes''' - Removes this empire from permanent councillors. * '''add_to_galactic_community = yes''' - Adds this empire to the galactic community. * '''remove_from_galactic_community = yes''' - Removes this empire from the galactic community. Global Conditions * '''is_galactic_community_formed = yes/no''' - Checks if the galactic community is formed or not. * '''is_years_since_community_formationn <=> int''' - Checks the years since the formation of the galactic community. * '''is_galactic_council_established = yes/no''' - Checks if the galactic council is established or not. * '''is_years_since_council_establishment <=> int''' - Checks the years since the establishment of the galactic council. * '''num_council_positions <=> int''' - Checks the number of council positions. * '''is_voting_on_resolution = <resolution key/any>''' - Checks if the galactic community is now voting on a specific, or any, resolution. * '''is_active_resolution = <resolution key>''' - Checks if a specific resolution is in effect. Global Effects * '''set_council_size = int''' - Sets the galactic council size. * '''increase_council_size = yes''' - Increases the galactic council size by 1. * '''decrease_council_size = yes''' - Decreases the galactic council size by 1. * '''set_council_veto = yes/no''' - Sets whether council members can veto resolutions or not. * '''set_council_emergency_measures = yes/no''' - Sets whether council members can propose emergency measures or not. {{ModdingNavbox}} [[Category:模组制作]]
摘要:
请注意您对群星百科的所有贡献都被认为是在知识共享署名-非商业性使用-相同方式共享下发布,请查看在
群星百科:版权
的细节。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源。
未经许可,请勿提交受版权保护的作品!
为防止机器编辑,请完成下方验证
取消
编辑帮助
(在新窗口中打开)
×
登录
密码
记住登录
加入群星百科
忘记密码?
其他方式登录