sanguosan 发表于 2010-10-16 02:09:48

茄子的外交语句

;===========================================================waijiao
                monitor_event FactionTurnStart FactionType berbers
                        and RandomPercent < 60
                        if I_TurnNumber <= 20
        console_command diplomatic_stance sarmatians vandals war
        console_command diplomatic_stance ostrogoths lombardi neutral
                        end_if
                        if not I_LocalFaction goths
                        and I_TurnNumber <= 15
        console_command diplomatic_stance goths franks war
                        end_if
                end_monitor
                monitor_event FactionTurnStart FactionIsLocal
                        if not I_LocalFaction saxons
                        and I_NumberOfSettlements saxons > 0
                        and RandomPercent < 10
                        and DiplomaticStanceFromFaction saxons = Allied
        console_command create_unit C-0801-b-LuoYang "Yanyun Gongsun" 1 0 2 2
        console_command create_unit C-1302-b-JianYe "Yanyun Gongsun" 1 0 2 2
        console_command create_unit C-1401-b-ChengDu "Yanyun Gongsun" 1 0 2 2
                        end_if
                        if not I_LocalFaction burgundii
                        and I_NumberOfSettlements burgundii > 0
                        and DiplomaticStanceFromFaction burgundii = Allied
                        and RandomPercent < 10
        console_command create_unit C-0801-b-LuoYang "Xiliangtieji Mateng" 1 0 2 2
        console_command create_unit C-1302-b-JianYe "Xiliangtieji Mateng" 1 0 2 2
        console_command create_unit C-1401-b-ChengDu "Xiliangtieji Mateng" 1 0 2 2
                        end_if
                        if I_LocalFaction burgundii
                        and I_NumberOfSettlements saxons > 0
                        and DiplomaticStanceFromFaction saxons = Allied
                        and RandomPercent < 10
                        and I_SettlementOwner C-1401-b-ChengDu = burgundii
        console_command create_unit C-0901-b-ChangAn "Baimayicong Gongsun" 1 0 2 2
                        end_if
                        if not I_LocalFaction empire_east
                        and I_NumberOfSettlements empire_east > 0
                        and DiplomaticStanceFromFaction empire_east = Allied
                        and RandomPercent < 10
        console_command create_unit C-0801-b-LuoYang "Zhugelu Liubei" 1
        console_command create_unit C-1302-b-JianYe "Zhugelu Liubei" 1
                        end_if
                end_monitor
                monitor_event FactionTurnStart FactionType ostrogoths
                        and not I_LocalFaction ostrogoths
                        if I_SettlementOwner C-1107-b-NanXiang = slavs
        console_command diplomatic_stance slavs ostrogoths war
                        end_if
                        if I_SettlementOwner C-1101-b-XiangYang = empire_west
                        and RandomPercent < 30
                        and I_TurnNumber > 20
        console_command diplomatic_stance ostrogoths empire_west war
                        end_if
                        if I_SettlementOwner C-1101-b-XiangYang = ostrogoths
                        and I_SettlementOwner C-1425-b-HanZhong = romano_british
                        and RandomPercent < 30
                        and I_TurnNumber > 40
        console_command diplomatic_stance ostrogoths romano_british war
        console_command diplomatic_stance ostrogoths sassanids war
                        end_if
                        if I_SettlementOwner C-0501-b-Xiapi = ostrogoths
                        and I_SettlementOwner C-1307-b-HeFei = sarmatians
                        and RandomPercent < 30
        console_command diplomatic_stance ostrogoths sarmatians war
                        end_if
                        if I_SettlementOwner C-0801-b-LuoYang = ostrogoths
                        and I_SettlementOwner C-0901-b-ChangAn = franks
                        and RandomPercent < 30
                        and I_TurnNumber > 30
        console_command diplomatic_stance ostrogoths franks war
                        end_if
                        if I_SettlementOwner C-0906-b-AnDing = burgundii
                        and not I_SettlementOwner C-0901-b-ChangAn = franks
                        and not I_LocalFaction burgundii
        console_command diplomatic_stance ostrogoths burgundii war
                        end_if
                        if I_SettlementOwner C-0801-b-LuoYang = goths
                        and RandomPercent < 30
                        and I_TurnNumber > 10
                        and not I_LocalFaction goths
        console_command diplomatic_stance ostrogoths goths war
                        end_if
                        if I_SettlementOwner C-0102-b-XiangPing = lombardi
                        and RandomPercent < 30
                        and I_TurnNumber > 40
        console_command diplomatic_stance lombardi ostrogoths war
                        end_if
                        if I_SettlementOwner C-0402-b-BeiHai = roxolani
                        and I_SettlementOwner C-0102-b-XiangPing = lombardi
                        and RandomPercent < 30
                        and I_TurnNumber > 40
        console_command diplomatic_stance ostrogoths roxolani war
                        end_if
                end_monitor
                monitor_event FactionTurnStart FactionType sarmatians
                        and I_SettlementOwner C-1101-b-XiangYang = empire_west
                        and RandomPercent < 30
                        and not I_LocalFaction sarmatians
        console_command diplomatic_stance sarmatians empire_west war
        console_command diplomatic_stance sarmatians empire_east war
                end_monitor
                monitor_event FactionTurnStart FactionType lombardi
                        and not I_LocalFaction lombardi
                        and RandomPercent < 45
                        if I_SettlementOwner C-0205-bg-YanMenGuan = alemanni
        console_command diplomatic_stance lombardi alemanni war
                        end_if
                        if I_SettlementOwner C-0102-b-XiangPing = saxons
                        and I_NumberOfSettlements lombardi >= 5
        console_command diplomatic_stance lombardi saxons war
                        end_if
                end_monitor
                monitor_event FactionTurnStart FactionType burgundii
                        and I_SettlementOwner C-0901-b-ChangAn = franks
                        and RandomPercent < 40
        console_command diplomatic_stance burgundii franks war
                end_monitor

⑨道 发表于 2010-10-16 16:41:23

开始学习脚本了昂?

sanguosan 发表于 2010-10-16 20:40:19

玩游戏没有天赋,呆着无聊看看人家脚本怎么编的。呵呵

页: [1]
查看完整版本: 茄子的外交语句