易北河之鹰吧 关注:665贴子:8,780

君王之略03,脚本、建筑修改大全。储粮,英雄战回,国家特色等等

取消只看楼主收藏回复

事到如今,游戏修改也是时候更新一下了。
这几天慢慢写。先占位置。
熟悉我ID的应该都知道我
光头强镇楼。


IP属地:广东来自Android客户端1楼2024-07-01 13:19回复
    策略、储粮,钱,国家特色,英雄战回。一键无敌将领,无敌事物官
    我所有的修改,只争对玩家。不对AI造成任何影响。和其他人改了AI受影响不一样


    IP属地:广东来自Android客户端2楼2024-07-01 13:22
    回复
      2025-11-08 06:14:08
      广告
      不感兴趣
      开通SVIP免广告
      我来了


      IP属地:广东13楼2024-07-14 23:55
      回复
        1.我的修改是一个环环相扣的体系,包含了建筑和脚本代码
        建筑文件export_descr_buildings
        行会export_descr_guilds(无所谓,不用也没啥关系)
        脚本campaign_script


        IP属地:广东14楼2024-07-14 23:59
        回复
          先说脚本,我的逻辑是为了避免AI受到影响,我添加了一个锚点,那就是【锻冶行会总部】
          因为总部是全图【唯一】的,一旦我拥有了总部,其他派系就没有了。
          所以我用总部为描点,添加了很多只有总部存在才会生效的BUFF,也就是说如果你被【红白玫瑰 】了,失去了【锻冶行会总部】这个锚点,请一定马上倾尽全力夺回来。不然你讲失去【大部分BUFF】,还会被你的对手得到。
          没问我怎么知道的,该死的红白玫瑰!!!!


          IP属地:广东15楼2024-07-15 00:04
          回复
            一、脚本campaign_script
            修改必备的指示就不赘述了
            第一步傻瓜教程:请搜索;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;byzantium
            将修改语句加在这串代码前面,记得回车。
            以下为修改的开始,进入游戏后,系统自动赠送一座锻冶行会
            monitor_event PreFactionTurnStart FactionIsLocal
            and I_NumberOfSettlements papal_states >= 0
            if I_SettlementOwner London = england
            and I_LocalFaction england
            console_command create_building London gm_swordsmiths_guild
            terminate_monitor
            end_if
            if I_SettlementOwner Paris = france
            and I_LocalFaction france
            console_command create_building Paris gm_swordsmiths_guild
            terminate_monitor
            end_if
            if I_SettlementOwner Frankfurt = hre
            and I_LocalFaction hre
            console_command create_building Frankfurt gm_swordsmiths_guild
            terminate_monitor
            end_if
            if I_SettlementOwner Leon = spain
            and I_LocalFaction spain
            console_command create_building Leon gm_swordsmiths_guild
            terminate_monitor
            end_if
            if I_SettlementOwner Lisbon = portugal
            and I_LocalFaction portugal
            console_command create_building Lisbon gm_swordsmiths_guild
            terminate_monitor
            end_if
            if I_SettlementOwner Milan = milan
            and I_LocalFaction milan
            console_command create_building Milan gm_swordsmiths_guild
            terminate_monitor
            end_if
            if I_SettlementOwner Venice = venice
            and I_LocalFaction venice
            console_command create_building Venice gm_swordsmiths_guild
            terminate_monitor
            end_if
            if I_SettlementOwner Palermo = sicily
            and I_LocalFaction sicily
            console_command create_building Palermo gm_swordsmiths_guild
            terminate_monitor
            end_if
            if I_SettlementOwner Constantinople = byzantium
            and I_LocalFaction byzantium
            console_command create_building Constantinople gm_swordsmiths_guild
            terminate_monitor
            end_if
            if I_SettlementOwner Arhus = denmark
            and I_LocalFaction denmark
            console_command create_building Arhus gm_swordsmiths_guild
            terminate_monitor
            end_if
            if I_SettlementOwner Cairo = egypt
            and I_LocalFaction egypt
            console_command create_building Cairo gm_swordsmiths_guild
            terminate_monitor
            end_if
            if I_SettlementOwner Cordoba = moors
            and I_LocalFaction moors
            console_command create_building Cordoba gm_swordsmiths_guild
            terminate_monitor
            end_if
            if I_SettlementOwner Iconium = turks
            and I_LocalFaction turks
            console_command create_building Iconium gm_swordsmiths_guild
            terminate_monitor
            end_if
            if I_SettlementOwner Cracow = poland
            and I_LocalFaction poland
            console_command create_building Cracow gm_swordsmiths_guild
            terminate_monitor
            end_if
            if I_SettlementOwner Budapest = hungary
            and I_LocalFaction hungary
            console_command create_building Budapest gm_swordsmiths_guild
            terminate_monitor
            end_if
            if I_SettlementOwner Moscow = russia
            and I_LocalFaction russia
            console_command create_building Moscow gm_swordsmiths_guild
            terminate_monitor
            end_if
            if I_SettlementOwner Edinburgh = scotland
            and I_LocalFaction scotland
            console_command create_building Edinburgh gm_swordsmiths_guild
            terminate_monitor
            end_if
            end_monitor
            ;;;;;;;;;;;;修改【赠送锻冶行会总部】----------


            IP属地:广东16楼2024-07-15 00:07
            收起回复
              monitor_event SettlementScrollAdviceRequested UIElementVisible settlement_info_construction_tab
              and FactionBuildingExists >= gm_swordsmiths_guild
              if I_SettlementSelected London
              console_command process_cq London
              end_if
              if I_SettlementSelected Paris
              console_command process_cq Paris
              end_if
              if I_SettlementSelected Hamburg
              console_command process_cq Hamburg
              end_if
              if I_SettlementSelected Toledo
              console_command process_cq Toledo
              end_if
              if I_SettlementSelected Cordoba
              console_command process_cq Cordoba
              end_if
              if I_SettlementSelected Bern
              console_command process_cq Bern
              end_if
              if I_SettlementSelected Venice
              console_command process_cq Venice
              end_if
              if I_SettlementSelected Vienna
              console_command process_cq Vienna
              end_if
              if I_SettlementSelected Rome
              console_command process_cq Rome
              end_if
              if I_SettlementSelected Constantinople
              console_command process_cq Constantinople
              end_if
              if I_SettlementSelected Antioch
              console_command process_cq Antioch
              end_if
              if I_SettlementSelected Damascus
              console_command process_cq Damascus
              end_if
              if I_SettlementSelected Cairo
              console_command process_cq Cairo
              end_if
              if I_SettlementSelected Alexandria
              console_command process_cq Alexandria
              end_if
              if I_SettlementSelected Jerusalem
              console_command process_cq Jerusalem
              end_if
              if I_SettlementSelected Tunis
              console_command process_cq Tunis
              end_if
              if I_SettlementSelected Rhodes
              console_command process_cq Rhodes
              end_if
              if I_SettlementSelected Moscow
              console_command process_cq Moscow
              end_if
              end_monitor
              ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;修改(首都名城一键完成建造【法兰西的buff,现在你们都有了】)--------------------
              and FactionBuildingExists >= gm_swordsmiths_guild
              这句代码就是锻冶行会总部的锚点,没有的话不会生效,为什么非要加?因为派系太多了,为了避免写很多代码,加锚点是对最方便的


              IP属地:广东17楼2024-07-15 00:10
              收起回复
                monitor_event ButtonPressed ButtonPressed hud_show_units_tab
                and I_EventCounter strock_accepted < 1
                if I_AgentSelected named character
                console_command give_ancillary this knight_laohu
                ;彩蛋随从老虎
                console_command give_ancillary this holy_grail
                ;圣杯 虔诚+2, 将领生命力+5, 提高伤亡治愈几率
                console_command give_trait_points this win1000 36
                ;大元帅 统帅力+3, 残暴+5, 军队士气+2, 生命点数+4, 威望+6, \n个人安全+8(影响卫队数量), 战场治愈率+10%
                console_command give_trait_points this NaturalMilitarySkill 4
                ;绝世将才 统率力+4
                console_command give_trait_points this GoodCommander 16
                ;传奇名将 统率力+3, \n个人安全+3(影响卫队数量)
                console_command give_trait_points this Intelligent 4
                ;天赋惊人 统率力+3, 关税+10%, 服役税+10%
                console_command give_trait_points this HaleAndHearty 3
                ;体魄健壮 提高生育几率, 将领生命力+6
                console_command give_trait_points this college1 18
                ;军校理论著作者 作战部队士气+4, 威望+2, 部队训练费用-20%【已改特征-75,可以减少招募回合】, 战场治愈率+10%
                console_command give_trait_points this LogisticalSkill 4
                ;军需大师 作战部队士气+3, 行军能力+20%
                console_command give_trait_points this loyalh 5
                ;忠诚影响:肝脑涂地 关税+25%,服役税+25%,矿山税+25%,田产税+30%\n破城折现+50%,在境外战利品增加2000每回合,士气+2
                console_command give_trait_points this supply1 15
                ;物资储存:五年 行军能力+15%, 作战部队士气+2, 城邑拥挤-1, 统帅+1
                console_command give_trait_points this gainsupply1 9
                ;补给线状态:出色
                console_command give_trait_points this AssassinCatcher 8
                ;机警敏锐 骑士美德+2, 视野+1, \n个人安全+4(影响卫队数量)
                console_command give_trait_points this GoodAdministrator 12
                ;杰出总督 所有类型税收+12%, 市政效率+5%
                console_command give_trait_points this BattleChivalry 15
                ;圣洁骑士 骑士美德+5, 威望+2
                console_command give_trait_points this StrategyChivalry 16
                ;贤明总督 骑士美德+5, 威望+3
                console_command give_trait_points this RansomChivalry 4
                ;仁慈将领 骑士美德+4, 作战部队士气+3
                console_command give_trait_points this Energetic 8
                ;永不言倦 威望+2, 行军能力+25%
                console_command give_trait_points this smbg1000
                ;舍命报国 骑士美德+2, 人民拥戴+2, 作战士气+2, 忠诚+5
                console_command give_trait_points this LoyaltyStarter
                ;誓死效忠 忠诚+5
                console_command give_trait_points this ContentGeneral
                ;舍身报国 忠诚+5
                console_command give_trait_points this Loyal 6
                ;赤胆忠心 骑士美德+3, 忠诚+4
                console_command give_trait_points this UserOfPiety
                ;精通宗教 影响力+1,虔诚+10
                console_command give_trait_points this AgentPiety
                ;圣灵降世 虔诚+10
                console_command give_trait_points this NaturalInquisitorSkill 3
                ;嫉恶如仇 虔诚+6
                console_command give_trait_points thisUpright 4
                ;正直无欺 忠诚+3, 贿赂费用+300%, 市政效率+30%
                console_command give_trait_points this AdoredByPope 3
                ;全心奉献 虔诚+3, 对抗穆斯林统率+3
                console_command give_trait_points this dragon
                ;骑步机动战术
                console_command give_trait_points this ReligiousMotivation4
                ;为信仰而行动 视野+2,移动范围+10%
                end_if
                end_monitor
                ;;;;;;;;;;;;;;;;;;;;;;;;;;;;修改【将军在野外,点击军队加以上全部特性,一键六神装,人人都是名将】【操作方法参考将军用储粮换补给】---------------------------------


                IP属地:广东18楼2024-07-15 00:14
                收起回复
                  2025-11-08 06:08:08
                  广告
                  不感兴趣
                  开通SVIP免广告
                  monitor_event ButtonPressed ButtonPressed hud_show_agents_tab
                  console_command give_trait_points this ReligiousMotivation4
                  ;为信仰而行动 视野+2,移动范围+10%
                  console_command give_trait_points this GoodConspirator 8
                  ;策划大师 事务官技能+3
                  console_command give_trait_points this GoodPrincess 8
                  ;外交传奇 魅力+4
                  console_command give_trait_points this FairWoman 3
                  ;与民做主 魅力+3
                  console_command give_trait_points this PrettyWoman 3
                  ;与民做主 魅力+3
                  console_command give_trait_points this EducatedWoman 3
                  ;学识渊博 魅力+2
                  console_command give_trait_points this GoodDiplomat 16
                  ;传奇外交官 影响力+5
                  console_command give_trait_points this Multilingual 4
                  ;语言大师 影响力+3
                  console_command give_trait_points this ReligiousMotivation3
                  ;为信仰而演讲 影响力+3
                  console_command give_trait_points this GoodOrator 4
                  ;口若悬河 影响力+3
                  console_command give_trait_points this UserOfPiety
                  ;精通宗教 影响力+1,虔诚+10
                  console_command give_trait_points this AgentPiety
                  ;圣灵降世 虔诚+10
                  console_command give_trait_points this NaturalInquisitorSkill 3
                  ;嫉恶如仇 虔诚+6
                  console_command give_trait_points this GoodMerchant 8
                  ;商界霸主 商业才能+4
                  console_command give_trait_points this Monopolist 20
                  ;垄断市场 商业才能+3, 个人安全-1
                  console_command give_trait_points this ecureMerchant 3
                  ;防御兼并 商业才能+2
                  console_command give_trait_points this WorldlyMerchant 3
                  ;出色行商 商业才能+2
                  console_command give_trait_points this NaturalSpySkill 3
                  ;天性诡秘 间谍技能+3
                  console_command give_trait_points this NaturalAssassinSkill 3
                  ;刺客天才 刺客技能+3
                  console_command give_trait_points this GoodSpy 16
                  ;传奇间谍 事务官技能:【无形之网】 间谍技能+5, 视野+5
                  console_command give_trait_points this GoodAssassin 16
                  ;天地绝杀 事务官技能:【暗影刀锋】 刺客技能+5
                  console_command give_trait_points this NaturalMerchantSkill 3
                  ;商业奇才 事务官技能:【皇家商客】 商业才能+3
                  console_command give_trait_points this ThievesGuildMember 2
                  ;盗贼行会高阶成员 事务官技能+2
                  console_command give_trait_points this AssassinsGuildMember 2
                  ;刺客行会高阶成员 刺客技能+2
                  console_command give_trait_points this HashashinsGuildMember 2
                  ;哈萨辛行会高阶成员 刺客技能+2
                  end_monitor
                  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;修改【事务官加特性】--------------------------------
                  同理,事务官我也加上了。天地绝杀?绝代佳人?一键即可拥有


                  IP属地:广东19楼2024-07-15 00:16
                  收起回复
                    monitor_event PreFactionTurnStart FactionIsLocal
                    and FactionBuildingExists >= gm_swordsmiths_guild
                    set_event_counter conscript_info 2
                    ;紧急征召
                    set_counter gwent 5
                    ;策略5
                    inc_counter ration 200
                    ;储粮200
                    set_counter warconsume 0
                    ;战争损耗0
                    set_event_counter jag736 1
                    ;(加行会点数)
                    if I_LocalFaction france
                    inc_counter feudal 200
                    end_if
                    ;法兰西封臣点数
                    if I_LocalFaction poland
                    inc_counter nobles 40
                    end_if
                    ;波兰贵族点
                    end_monitor
                    monitor_event PreFactionTurnStart FactionIsLocal
                    and FactionBuildingExists >= gm_swordsmiths_guild
                    console_command add_money 40000
                    console_command add_money 40000
                    console_command add_money 40000
                    console_command add_money 40000
                    console_command add_money 40000
                    console_command add_money 40000
                    console_command add_money 40000
                    console_command add_money 40000
                    end_monitor
                    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;修改(拥有锻冶行会总部,无国家限制的触发器,每回合开始自动加钱)--------------------
                    你们要的,自动加钱,策略点、储粮、战争损耗,紧急征召(无需开策略了),法兰西的封臣,波兰的黄金时代都有了。永动机有木有!!!!!


                    IP属地:广东20楼2024-07-15 00:18
                    回复
                      monitor_event CharacterTurnEnd AgentType = merchant
                      and FactionBuildingExists >= gm_swordsmiths_guild
                      console_command add_money 40000
                      end_monitor
                      monitor_event CharacterTurnEnd AgentType = priest
                      and FactionBuildingExists >= gm_swordsmiths_guild
                      console_command add_money 40000
                      end_monitor
                      monitor_event CharacterTurnEnd AgentType = diplomat
                      and FactionBuildingExists >= gm_swordsmiths_guild
                      console_command add_money 40000
                      end_monitor
                      monitor_event CharacterTurnEnd AgentType = princess
                      and FactionBuildingExists >= gm_swordsmiths_guild
                      console_command add_money 40000
                      end_monitor
                      monitor_event CharacterTurnEnd AgentType = assassin
                      and FactionBuildingExists >= gm_swordsmiths_guild
                      console_command add_money 40000
                      end_monitor
                      monitor_event CharacterTurnEnd AgentType = spy
                      and FactionBuildingExists >= gm_swordsmiths_guild
                      console_command add_money 40000
                      end_monitor
                      ;;;;;;;;;;;;;;;;;;;;;;;;;;;;修改(拥有行会总部,每个商人、牧师、外交官、公主、刺客、间谍+40000块)-------------
                      我笑了,加这么多钱,游戏里面也不会很有钱,这坑爹的设计,一回合可以扣你1500000万。哈哈哈,所以你钱基本智能保持在30万左右。


                      IP属地:广东21楼2024-07-15 00:20
                      收起回复
                        monitor_event ButtonPressed ButtonPressed combined_scroll_diplomacy_tab
                        console_command add_money 40000
                        console_command add_money 40000
                        console_command add_money 40000
                        console_command add_money 40000
                        console_command add_money 40000
                        end_monitor
                        ;;;;;;;;;;;;;;;;;;;;;;;;;;;;修改【点击“外交”按钮+200000】--------------------------------
                        扣钱太坑爹,如果一回合收买、送钱太多,你还是会枯竭。
                        所以手动操作来了,打开国家界面,点击【外交】,点一次松送20万
                        对的,就是【国家】和【教皇】中间那个按钮。


                        IP属地:广东22楼2024-07-15 00:22
                        收起回复
                          monitor_event UnitDisbanded UnitType Swiss Guard
                          and RandomPercent < 100
                          console_command toggle_perfect_spy
                          console_command toggle_fow
                          end_monitor
                          ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;修改(解散“瑞士卫队”开全图)--------------
                          可有可无吧,看海无聊了也可以看看国际形势
                          再解散一次,恢复迷雾。所以不会丧失游戏性,放心大胆用


                          IP属地:广东23楼2024-07-15 00:24
                          回复
                            ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;修改(解散“瑞士卫队”开全图)--------------
                            monitor_event FactionTurnStart FactionType england
                            if I_LocalFaction england
                            historic_event reform faction/reform.bik factions { england, }
                            set_event_counter reform 1
                            ;命运之路:改革路线
                            historic_event tradition faction/tradition.bik factions { england, }
                            set_event_counter tradition 1
                            ;命运之路:传统路线
                            terminate_monitor
                            end_if
                            end_monitor
                            ;;;;;;;;;;;;;;;;;;;修改(英国命运之路【灵活法令,不用短接】)---------
                            monitor_event FactionTurnStart FactionType france
                            and I_LocalFaction france
                            if I_EventCounter summon_fr1 < 1
                            historic_event summon_fr1
                            end_if
                            ;王位摄政
                            if I_EventCounter immi_fr1 < 1
                            historic_event immi_fr1 1
                            end_if
                            ;红衣首相
                            if I_EventCounter army_fr1 < 1
                            historic_event army_fr1 1
                            end_if
                            ;佣兵领袖
                            if I_EventCounter hero_fr1 < 1
                            historic_event hero_fr1 1
                            end_if
                            ;宫廷鹿肉总管
                            end_monitor
                            ;;;;;;;;;;;;;;;;;;;修改(法国【灵活法令,不用短接】)---------
                            monitor_event PreFactionTurnStart FactionType byzantium
                            if I_SettlementOwner Constantinople = byzantium
                            and I_LocalFaction byzantium
                            and I_EventCounter augustus < 1
                            and I_EventCounter roma < 1
                            and I_EventCounter hetoi < 1
                            set_event_counter militia1 1
                            set_event_counter legion1 1
                            set_event_counter tavern1 1
                            historic_event hetoi faction/hetoi.bik factions { byzantium, }
                            historic_event augustus faction/augustus.bik factions { byzantium, }
                            historic_event roma faction/Forever.bik factions { byzantium, }
                            set_faction_banner
                            faction byzantium
                            banner saxons
                            end_set_faction_banner
                            terminate_monitor
                            end_if
                            end_monitor
                            ;;;;;;;;;;;;;;;;;;;修改(拜占庭万分之王、四海霸业、旧世辉煌【灵活法令,不用短接】)---------
                            以上是三个国家的BUFF。开局王炸,上来直接变身,而且做什么选择?当然是全都要。
                            开局英格兰同时完成【改革】和【传统】路线,什么要长枪如林就不能拥抱火药?我全都要
                            法兰西,选了4个和军队有关的策略,其他的鸡肋策略,没有加
                            拜占庭,开局直接万分之王、四海霸业、旧世辉煌。直接杀穿地图,还有谁????


                            IP属地:广东24楼2024-07-15 00:28
                            收起回复
                              2025-11-08 06:02:08
                              广告
                              不感兴趣
                              开通SVIP免广告
                              monitor_event PreFactionTurnStart FactionIsLocal
                              if I_LocalFaction sicily
                              set_event_counter antioch 1
                              set_event_counter jerusalem 1
                              end_if
                              if I_LocalFaction venice
                              set_event_counter jerusalem 1
                              end_if
                              if I_LocalFaction milan
                              set_event_counter jerusalem 1
                              end_if
                              end_monitor
                              ;;;;;;;;;;;;;;;;;;;修改(西西里【耶路撒冷+安条克】)---------------
                              monitor_event PreFactionTurnStart FactionType milan
                              and I_LocalFaction milan
                              historic_event summon_mi1
                              set_event_counter recruit 1
                              set_event_counter summon_mi2 1
                              end_monitor
                              ;;;;;;;;;;;;;;;;;;;修改(米兰【国民战争,3个策略点,灵活法令,不用短接】)---------
                              意大利三剑客
                              西西里:开局直接拥有耶路撒冷王国和安条克王国的BUFF,为了留点仪式感没有直接换国旗。毕竟这俩个国家在中东呢。
                              米兰:直接开了国民战争策略,无限续杯。
                              另外,为了玩圣拉撒路,当玩家用米兰和威尼斯时,添加了耶路撒冷的buff,可以在圣殿总部出圣拉撒路骑士团(没啥用,100回合也赞不了满编)


                              IP属地:广东25楼2024-07-15 00:33
                              回复