欧陆风云4吧 关注:342,745贴子:10,583,242
  • 20回复贴,共1

求问下写mod的大佬

只看楼主收藏回复

我写的这个奇观mod,无法显示图片是哪个代码写错了还是路径问题,我照着wiki看了几遍也没看出来





IP属地:河南来自Android客户端1楼2023-03-16 16:15回复
    这是奇观的代码
    porcelain_555 = {
    start = 688 #kaifeng
    date = 1431.01.01
    time = { months = 0}
    build_cost = 0
    can_be_moved = no
    move_days_per_unit_distance = 10
    starting_tier = 2
    type = monument
    build_trigger = {
    culture_group = east_asian
    province_is_or_accepts_culture = yes
    }
    on_built = {
    }
    on_destroyed = {
    }
    can_use_modifiers_trigger = {
    culture_group = east_asian
    province_is_or_accepts_culture = yes
    }
    can_upgrade_trigger = {
    culture_group = east_asian
    province_is_or_accepts_culture = yes
    }
    keep_trigger = {
    }
    tier_0 = {
    upgrade_time = {
    months = 0
    }
    cost_to_upgrade = {
    factor = 0
    }
    province_modifiers = {
    }
    area_modifier = {
    }
    country_modifiers = {
    leader_land_shock = 1
    }
    on_upgraded = {
    }
    }
    tier_1 = {
    upgrade_time = {
    months = 120
    }
    cost_to_upgrade = {
    factor = 1000
    }
    province_modifiers = {
    local_unrest = -1
    }
    area_modifier = {
    }
    country_modifiers = {
    leader_land_shock = 1
    leader_land_manuever = 1
    }
    on_upgraded = {
    }
    }
    tier_2 = {
    upgrade_time = {
    months = 240
    }
    cost_to_upgrade = {
    factor = 2500
    }
    province_modifiers = {
    }
    area_modifier = {
    local_unrest = -1
    }
    country_modifiers = {
    leader_land_shock = 1
    leader_land_manuever = 1
    leader_land_fire = 1
    }
    on_upgraded = {
    }
    }
    tier_3 = {
    upgrade_time = {
    months = 480
    }
    cost_to_upgrade = {
    factor = 5000
    }
    province_modifiers = {
    }
    area_modifier = {
    local_unrest = -2
    }
    country_modifiers = {
    leader_land_shock = 1
    leader_land_manuever = 1
    leader_land_fire = 1
    leader_siege = 1
    }
    on_upgraded = {
    }
    }
    }


    IP属地:河南来自Android客户端3楼2023-03-16 16:17
    回复
      实在不行,直接扒创意工坊专门添加有奇观的MOD,比个葫芦画个瓢


      IP属地:广东来自Android客户端6楼2023-03-16 17:02
      收起回复
        这个没搞过,不过如果代码没问题的话,那大概率是图片有问题,或格式或大小(以上我猜的)


        IP属地:山东来自Android客户端7楼2023-03-16 17:39
        收起回复
          gfx//interface//great_project//图片名称.dds


          IP属地:湖南来自Android客户端8楼2023-03-16 17:59
          收起回复
            name不需要加后缀dds吧


            IP属地:江西来自iPhone客户端9楼2023-03-16 19:29
            收起回复
              问题解决了







              IP属地:河南来自Android客户端10楼2023-03-16 21:35
              回复
                加100%军事战术也太多了吧


                IP属地:河北来自Android客户端11楼2023-03-17 13:42
                收起回复