3DMGAME 3DM首页 新闻中心 前瞻 | 评测 游戏库 热门 | 最新 攻略中心 攻略 | 秘籍 下载中心 游戏 | 汉化 购买正版 侠客前传 | 刺客信条 论坛

注册 登录

QQ登录

只需一步,快速开始

查看: 268|回复: 2
打印 上一主题 下一主题

[求助] 求助..转为本地文化怎么做到无限使用而不是一生一次

[复制链接]

53

主题

1595

帖子

1826

积分

游戏狂人

Rank: 6Rank: 6

贡献度
71
金元
15424
积分
1826
精华
0
注册时间
2005-8-22
跳转到指定楼层
主题
发表于 2023-5-8 15:25 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 wangshitian 于 2023-5-8 15:26 编辑

convert_to_local_culture_decision = {
        picture = "gfx/interface/illustrations/decisions/decision_realm.dds"

        desc = convert_to_local_culture_decision_desc
        selection_tooltip = convert_to_local_culture_decision_tooltip

        is_shown = {
                is_landed = yes
                primary_title.tier > tier_barony
                NOT = { culture = capital_province.culture }
                NAND = {
                        is_ai = yes
                        OR = {
                                has_character_flag = converted_culture_this_lifetime
                                has_character_flag = converted_culture_this_lifetime_ai
                        }
                }
        }

        is_valid_showing_failures_only = {
                is_physically_able_adult = yes
                is_at_war = no
                custom_description = {
                        text = can_only_change_culture_once
                        NOT = { has_character_flag = converted_culture_this_lifetime }
                }
        }

        cost = {
                prestige = {
                        value = convert_to_local_culture_base_cost
                        if = { # Cheaper to convert to a hybrid culture made from your culture
                                limit = {
                                        capital_province.culture = {
                                                any_parent_culture = {
                                                        this = root.culture
                                                }
                                        }
                                }
                                multiply = 0.5
                        }
                        
                        # Similarities in culture
                        if = {
                                limit = {
                                        capital_province.culture = {
                                                has_same_culture_ethos = root.culture
                                        }
                                }
                                multiply = 0.75
                        }
                        if = {
                                limit = {
                                        capital_province.culture = {
                                                has_same_culture_heritage = root.culture
                                        }
                                }
                                multiply = 0.75
                        }
                        if = {
                                limit = {
                                        capital_province.culture = {
                                                has_same_culture_language = root.culture
                                        }
                                }
                                multiply = 0.5
                        }
                        if = {
                                limit = {
                                        NOT = {
                                                capital_province.culture = {
                                                        has_same_culture_martial_tradition = root.culture
                                                }
                                        }
                                }
                                multiply = 1.25
                        }
                        if = {
                                limit = {
                                        culture = {
                                                has_cultural_parameter = expensive_convert_to_local_culture
                                        }
                                }
                                multiply = 3
                        }
                        if = {
                                limit = {
                                        culture = {
                                                has_cultural_parameter = cheaper_convert_to_local_culture
                                        }
                                }
                                multiply = 0.25
                        }
                        # Account for struggle phase.
                        if = {
                                limit = { is_struggle_parameter_active_cheaper_to_convert_to_struggle_culture_trigger = yes }
                                multiply = 0.25
                        }

                        # Make sure it's never dumb numbers.
                        min = 25
                }
        }

        effect = {
                # Struggle Catalysts
                if = {
                        limit = {
                                any_character_struggle = {
                                        involvement = involved
                                        phase_has_catalyst = catalyst_convert_local_culture_faith
                                        is_culture_involved_in_struggle = root.capital_province.culture
                                }
                        }
                        every_character_struggle = {
                                involvement = involved
                                activate_struggle_catalyst = {
                                        catalyst = catalyst_convert_local_culture_faith
                                        character = root
                                }
                        }
                }

                convert_family_culture_and_notify_vassals_effect = {
                        CONVERTER = root
                        OLD_CULTURE = root.culture
                        NEW_CULTURE = capital_province.culture
                }
        }
        
        ai_check_interval = 60

        ai_potential = {
                is_landed = yes
                NOT = { culture = capital_province.culture }
        }

        ai_will_do = {
                base = 3
               
                modifier = { # If your liege is the same culture as your capital, better get on with it! This should combat scattered wrong-culture Counts and such.
                        add = 77
                        capital_province.culture = liege.culture
                }
               
                modifier = { # Motivate vassals to assimilate if they are different culture from their liege. If they can't curry their liege's favor, better get the peasants on your side at least...
                        add = 27
                        NOR = {
                                culture = capital_province.culture
                                culture = liege.culture
                        }
                }

                # Reduced chance for every vassal who has your old culture
                modifier = {
                        factor = {
                                value = 1
                                every_vassal = {
                                        limit = {
                                                OR = {
                                                        highest_held_title_tier = tier_kingdom
                                                        highest_held_title_tier = tier_duchy
                                                        AND = {
                                                                root = {
                                                                        highest_held_title_tier = tier_duchy
                                                                }
                                                                primary_title.tier = tier_county
                                                        }
                                                }
                                                culture = root.culture
                                        }
                                        add = -0.3
                                }
                        }
                }
               
                modifier = { # This factor 0 is not misplaced; Loyal Subjects should not culture convert unless it's to a hybrid!
                        factor = 0
                        is_independent_ruler = no
                        exists = liege
                        NOT = {
                                culture = liege.culture
                        }
                        culture = {
                                has_cultural_tradition = tradition_loyal_soldiers
                        }
                }
               
                modifier = { # You're an independent count that has become landed somewhere, as you can't increase acceptance, it's best to assimilate.
                        add = 200
                        is_independent_ruler = yes
                        primary_title.tier = tier_county
                        domain_size <= 3
                        culture = {
                                NOR = {
                                        has_cultural_parameter = easier_to_hybridize # Not for hybrid-loving cultures
                                        has_cultural_parameter = expensive_convert_to_local_culture # Nor staunch traditionalists
                                }
                                cultural_acceptance = { target = root.capital_province.culture value < 50 }
                        }
                }
               
                modifier = { # Do convert to hybrids of your own culture
                        add = 200
                        capital_province.culture = {
                                is_hybrid_culture = yes
                                any_parent_culture = {
                                        this = root.culture
                                }
                        }
                }
               
                modifier = { # Farewell, norse culture (unless the player is running a norse empire)
                        add = 200
                        OR = {
                                is_independent_ruler = yes
                                AND = {
                                        is_independent_ruler = no
                                        NOT = {
                                                any_liege_or_above = {
                                                        culture = culture:norse
                                                }
                                        }
                                }
                        }
                        culture = culture:norse
                        capital_province.culture = {
                                OR = {
                                        this = culture:swedish
                                        this = culture:norwegian
                                        this = culture:danish
                                }
                        }
                }

                modifier = { # Iberian Struggle modifiers
                        any_character_struggle = {
                                involvement = involved
                        }
                        add = {
                                value = 0
                                if = {
                                        limit = {
                                                any_character_struggle = {
                                                        phase_has_catalyst = catalyst_convert_local_culture_faith
                                                }
                                                has_character_flag = agenda_towards_escalation
                                        }
                                        add = -300
                                }
                                else_if = { # Slight boost, so players can't exploit landing lots of characters to bump catalyst progress
                                        limit = {
                                                any_character_struggle = {
                                                        phase_has_catalyst = catalyst_convert_local_culture_faith
                                                }
                                        }
                                        add = 20
                                }
                        }
                }
               
                modifier = { # If you're the same culture as your liege, and your Capital is in a Duchy with your culture in it, never convert
                        factor = 0
                        is_independent_ruler = no
                        exists = liege
                        culture = liege.culture
                        capital_province.duchy = {
                                any_in_de_jure_hierarchy = {
                                        tier = tier_county
                                        any_county_province = {
                                                culture = root.culture
                                        }
                                }
                        }
                }
               
                modifier = { # If your capital borders a province with the correct culture, do not convert
                        factor = 0
                        is_independent_ruler = no
                        exists = liege
                        culture = liege.culture
                        capital_province.county = {
                                any_neighboring_county = {
                                        any_county_province = {
                                                culture = root.culture
                                        }
                                }
                        }
                }
               
                modifier = { # If your liege is your parent, do not convert
                        factor = 0
                        is_independent_ruler = no
                        exists = liege
                        culture = liege.culture
                        OR = {
                                liege = root.mother
                                liege = root.father
                        }
                }
               
                # Some cultures should not assimilate to certain others
                modifier = {
                        factor = 0
                        has_culture = culture:andalusian
                        capital_province = {
                                culture = { has_cultural_pillar = heritage_iberian }
                        }
                        NOT = {
                                capital_province = {
                                        culture = {
                                                is_hybrid_culture = yes
                                                any_parent_culture_or_above = {
                                                        this = root.culture
                                                }
                                        }
                                }
                        }
                }
                modifier = {
                        factor = 0
                        culture = { has_cultural_pillar = heritage_iberian }
                        capital_province.culture = culture:andalusian
                }

                # Don't overwrite historically scripted developments
                modifier = {
                        factor = 0
                        OR = {
                                has_culture = culture:norman
                                has_culture = culture:english
                        }
                        capital_province.culture = culture:anglo_saxon
                }
                modifier = {
                        factor = 0
                        has_culture = culture:turkish
                        capital_province = {
                                culture = { has_cultural_pillar = heritage_byzantine }
                        }
                        NOT = {
                                capital_province = {
                                        culture = {
                                                is_hybrid_culture = yes
                                                any_parent_culture_or_above = {
                                                        this = root.culture
                                                }
                                        }
                                }
                        }
                }
                modifier = {
                        factor = 0
                        has_culture = culture:turkish
                        primary_title.tier >= tier_empire
                }
                modifier = {
                        factor = 0
                        OR = {
                                has_title = title:k_jerusalem
                                has_title = title:e_outremer
                                any_liege_or_above = {
                                        OR = {
                                                has_title = title:k_jerusalem
                                                has_title = title:e_outremer
                                        }
                                }
                        }
                        NOR = {
                                capital_province = { # Convert to Hybrids of your culture in the Holy Land
                                        culture = {
                                                is_hybrid_culture = yes
                                                any_parent_culture_or_above = {
                                                        this = root.culture
                                                }
                                        }
                                }
                                AND = {
                                        is_independent_ruler = no
                                        exists = liege
                                        capital_province.culture = liege.culture
                                }
                        }
                }
                modifier = {
                        factor = 0
                        has_title = title:e_latin_empire
                        NOT = {
                                capital_province = {
                                        culture = {
                                                is_hybrid_culture = yes
                                                any_parent_culture_or_above = {
                                                        this = root.culture
                                                }
                                        }
                                }
                        }
                }

                # Scots needs a bit of help to dominate as it did historically
                modifier = {
                        factor = 0
                        has_culture = culture:scottish
                        capital_province.culture = culture:gaelic
                }

                # Pictish should usually disappear
                modifier = {
                        factor = 0
                        has_culture = culture:gaelic
                        capital_province.culture = culture:pictish
                }
               
                # Don't go back on a previous conversion
                modifier = {
                        factor = 0
                        has_character_flag = converted_culture_this_lifetime
                }
        }
}

在游戏决议文件里找到的,看不明白。
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

53

主题

1595

帖子

1826

积分

游戏狂人

Rank: 6Rank: 6

贡献度
71
金元
15424
积分
1826
精华
0
注册时间
2005-8-22
舒服的沙发
 楼主| 发表于 2023-5-8 17:45 | 只看该作者
                # Don't go back on a previous conversion
                modifier = {
                        factor = 0
                        has_character_flag = converted_culture_this_lifetime
下班回去把这删除试试
回复 支持 反对

使用道具 举报

1

主题

69

帖子

82

积分

初级玩家

Rank: 2

贡献度
0
金元
820
积分
82
精华
0
注册时间
2019-10-3
硬硬的板凳
发表于 2024-5-28 14:14 | 只看该作者
同问,兄弟解决了吗?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|咖绿茵|求知网|3DMGAME ( 京ICP备14006952号-1  沪公网安备 31011202006753号

GMT+8, 2024-6-13 01:29 , Processed in 0.099963 second(s), 18 queries , Memcache On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表