freefen 发表于 2011-5-28 23:16:19

教程:给自己势力添加兵种系统方法(四种方法)

说明:其实跟我发的精锐整编方法是一样的,但思路,目的不同(修改一些心得在2楼)它的作用也就不同,神奇就在这里第一种:在兵营添加前辈大虾已有发帖,在这里我就不累赘叙述了大家可以看下http://bbs.1mod.org/thread-11298-1-1.html第二种:在神庙添加前辈大虾已有发帖,在这里我就不累赘叙述了大家可以看下http://bbs.1mod.org/thread-2923-1-1.html第三种:在酒馆添加(我以刘备势力添加精锐羽林步兵为例)第一步修改有参照,在这里我就不累赘叙述了打开全战>bi>data> export_descr_unit.txt 修改就是了第二步修改有参照,在这里我也不累赘叙述了打开全战>bi>data> descr_model_battle.txt 修改就是了第三步打开全战>bi>data>export_descr_buildings文件
ctrl+F搜索“酒馆”(为了方便我直接把修改加上去,红色部分就是添加地方)(在那两处加的意思就是2,3级酒馆都能招募的意思)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;-all-2,3级-酒馆,2级-wine
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
building taverns
{
    levels tavern bardic_circle
    {
      tavern requires hidden_resource AA01-Gov and factions { ostrogoths, goths, roxolani, vandals, lombardi, alemanni, saxons, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,sassanids, sarmatians, slavs, celts,} and resource wine
      {
            capability
            {
                happiness_bonus bonus 1 requires not resource wild_animals
                happiness_bonus bonus 2 requires resource wild_animals
recruit "merc Shuibin"0requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,empire_east_rebels, sassanids, }
recruit "merc Yiyongjun"0requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,empire_east_rebels, sassanids, }
recruit "merc Shanyuebin"0requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,empire_east_rebels, sassanids, }
recruit "merc Shanyue"0requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,empire_east_rebels, sassanids, }
recruit "merc Shanyueqibin"0requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,empire_east_rebels, sassanids, }
recruit "LingNanYeRen HanXuan"0requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,empire_east_rebels, sassanids, }
recruit "merc camel raiders"0requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,empire_east_rebels, sassanids, }
recruit "merc armoured camel riders"0requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,empire_east_rebels, sassanids, }
recruit "merc sarmatian armoured archers"0requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,empire_east_rebels, sassanids, }
recruit "jiaozhouyishi Hanxuan"0requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,empire_east_rebels, sassanids, }
recruit "Wuhen Wei"0requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,empire_east_rebels, sassanids, }
recruit "Xianbeigongqi Zhangyan"0requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,empire_east_rebels, sassanids, }
recruit "LieRen All"0requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,empire_east_rebels, sassanids, }
recruit "merc Danyangbin"0requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,empire_east_rebels, sassanids, }
                recruit "merc Danyangqibin"0requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,empire_east_rebels, sassanids, }
                recruit " YuLin BuBing"0requires factions { empire_east,}            }
            construction2
            cost1500
            settlement_min large_town
            upgrades
            {
                bardic_circle
            }
      }
      bardic_circle requires factions { ostrogoths, goths, roxolani, vandals, lombardi, alemanni, saxons, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,sassanids, sarmatians, slavs, celts,} and resource wine
      {
            capability
            {
                happiness_bonus bonus 2 requires not resource wild_animals
                happiness_bonus bonus 3 requires resource wild_animals
                religious_belief zj05yizu 2 requires factions { huns, }
recruit "merc Shuibin"0requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,empire_east_rebels, sassanids, }
recruit "merc Yiyongjun"0requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,empire_east_rebels, sassanids, }
recruit "merc Shanyuebin"0requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,empire_east_rebels, sassanids, }
recruit "merc Shanyue"0requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,empire_east_rebels, sassanids, }
recruit "merc Shanyueqibin"0requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,empire_east_rebels, sassanids, }
recruit "LingNanYeRen HanXuan"0requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,empire_east_rebels, sassanids, }
recruit "merc camel raiders"0requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,empire_east_rebels, sassanids, }
recruit "merc armoured camel riders"0requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,empire_east_rebels, sassanids, }
recruit "merc sarmatian armoured archers"0requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,empire_east_rebels, sassanids, }
recruit "jiaozhouyishi Hanxuan"0requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,empire_east_rebels, sassanids, }
recruit "Wuhen Wei"0requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,empire_east_rebels, sassanids, }
recruit "Xianbeigongqi Zhangyan"0requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,empire_east_rebels, sassanids, }
recruit "LieRen All"0requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,empire_east_rebels, sassanids, }
recruit "merc Danyangbin"0requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,empire_east_rebels, sassanids, }
                recruit "merc Danyangqibin"0requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,empire_east_rebels, sassanids, }               recruit " YuLin BuBing"0requires factions { empire_east,}                        recruit "Feixiongjun"0requires factions { franks, } and hidden_resource AB09-yongz
            }
            construction3
            cost3000
            settlement_min city
            upgrades
            {
            }
      }
    }
    plugins
    {
    }
}

第四种:在衙门添加(就是游戏当中第一排第一个建筑,就是当城市升级时要建那个建筑)
(我以刘备势力添加精锐羽林步兵为例)第一步修改有参照,在这里我就不累赘叙述了打开全战>bi>data> export_descr_unit.txt 修改就是了第二步修改有参照,在这里我也不累赘叙述了打开全战>bi>data> descr_model_battle.txt 修改就是了第三步打开全战>bi>data>export_descr_buildings文件
ctrl+F搜索“衙门”(为了方便我直接把修改加上去,红色部分就是添加地方)(我在5个地方都加了,这样在任何大小城市都可以招募羽林步兵了)(当然你要是觉得精锐怎么能这样随随便便 就出来像蚂蚁似的!你可以把添加的第一个到到第四个部分删掉,这样只有巨城你才能出精锐)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;-all-1,2,3,4,5级-议事厅 衙门 太守府 州府 皇宫
;-关隘无法升级
;加入义站,防跳recruit "Minbin Wei"0requires factions { barbarian, carthaginian, eastern, hun, nomad, roman, } and hidden_resource AA01-Gov
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
building core_building
{
    levels governors_house governors_villa governors_palace proconsuls_palace imperial_palace
    {
      governors_house requires factions { barbarian, carthaginian, eastern, hun, nomad, roman, } and hidden_resource AA01-Gov
      {
            capability
            {
                religious_belief zj05yizu 8 requires hidden_resource AB16-my01-wu
                religious_belief zj05yizu 10 requires hidden_resource AB16-my02-xiong
                religious_belief zj05yizu 18 requires hidden_resource AB16-my03-xian
                religious_belief zj05yizu 6 requires hidden_resource AB16-my04-jie
                religious_belief zj05yizu 14 requires hidden_resource AB16-my05-qiang
                religious_belief zj05yizu 12 requires hidden_resource AB16-my06-di
                religious_belief zj05yizu 16 requires hidden_resource AB16-my07-shan
                religious_belief zj05yizu 2 requires hidden_resource AB16-my08-taiwan
                religious_belief zj05yizu 4 requires hidden_resource AB15-nanz and resource elephants
                religious_belief zj05yizu 3 requires hidden_resource AB15-nanz and not resource elephants
                religious_belief zj07hj 2 requires factions { slave, } and hidden_resource AB01-youz or hidden_resource AB02-bingz or hidden_resource AB03-jiz or hidden_resource AB04-qingz or hidden_resource AB05-xuz or hidden_resource AB06-yanz or hidden_resource AB07-yuz or hidden_resource AB08-sil or hidden_resource AB09-yongz or hidden_resource AB10-Liangz or hidden_resource AB11-jingb or hidden_resource AB12-jingn or hidden_resource AB13-yangz or hidden_resource AB14-yiz
                law_bonus bonus 1 requires factions { huns, } and hidden_resource AB15-nanz or hidden_resource AB16-my00-huangyi
                happiness_bonus bonus 2 requires factions { romano_british, } and hidden_resource AB14-yiz and hidden_resource Cshui
                happiness_bonus bonus 10 requires factions { berbers, } and hidden_resource AB16-my09-penglai
                happiness_bonus bonus 4 requires factions { slave, }
                trade_level_bonus bonus 1 requires hidden_resource Zshui
                happiness_bonus bonus 20 requires hidden_resource MS-LuJun
                population_health_bonus bonus 5 requires hidden_resource MS-JiangLing
                taxable_income_bonus bonus 50 requires factions { ostrogoths, } and hidden_resource AB07-yuz and hidden_resource Ashui
                taxable_income_bonus bonus 120 requires factions { goths, } and hidden_resource AB06-yanz and hidden_resource Ashui
                taxable_income_bonus bonus 5 requires factions { roxolani, } and hidden_resource AB04-qingz and hidden_resource Ashui
                taxable_income_bonus bonus 90 requires factions { sarmatians, } and hidden_resource AB13-yangz and hidden_resource Cshui
                taxable_income_bonus bonus 70 requires factions { vandals, } and hidden_resource AB05-xuz and hidden_resource Ashui
                taxable_income_bonus bonus 80 requires factions { slavs, } and hidden_resource AB11-jingb and hidden_resource Bshui
                taxable_income_bonus bonus 100 requires factions { empire_east, } and hidden_resource AB14-yiz and hidden_resource Ashui
                taxable_income_bonus bonus 30 requires factions { empire_east, } and hidden_resource AB14-yiz and hidden_resource Bshui
                taxable_income_bonus bonus 50 requires factions { empire_east, } and hidden_resource AB14-yiz and hidden_resource Cshui
                taxable_income_bonus bonus 5 requires factions { empire_east_rebels, } and hidden_resource AB14-yiz and hidden_resource Bshui
                taxable_income_bonus bonus 140 requires factions { romano_british, } and hidden_resource AB14-yiz and hidden_resource Cshui
                taxable_income_bonus bonus 150 requires factions { sassanids, } and hidden_resource AB13-yangz and hidden_resource Ashui
                taxable_income_bonus bonus 100 requires factions { celts, } and hidden_resource AB13-yangz and hidden_resource Bshui
                taxable_income_bonus bonus 120 requires factions { empire_west, } and hidden_resource AB11-jingb and hidden_resource Ashui
                taxable_income_bonus bonus 30 requires factions { empire_west_rebels, } and hidden_resource AB12-jingn and hidden_resource Ashui
                taxable_income_bonus bonus 100 requires factions { lombardi, } and hidden_resource AB03-jiz and hidden_resource Ashui
                taxable_income_bonus bonus 60 requires factions { alemanni, } and hidden_resource AB02-bingz and hidden_resource Ashui
                taxable_income_bonus bonus 100 requires factions { saxons, } and hidden_resource AB01-youz and hidden_resource Ashui
                taxable_income_bonus bonus 100 requires factions { burgundii, } and hidden_resource AB10-Liangz and hidden_resource Ashui
                taxable_income_bonus bonus 60 requires factions { franks, } and hidden_resource AB09-yongz and hidden_resource Ashui
                taxable_income_bonus bonus 80 requires factions { huns, } and hidden_resource AB15-nanz and hidden_resource Ashui
                taxable_income_bonus bonus 5 requires factions { berbers, } and hidden_resource AB16-my09-penglai and hidden_resource Ashui
                taxable_income_bonus bonus 100 requires factions { slave, } and hidden_resource AB16-my00-huangyi and hidden_resource Ashui
                weapon_simple bonus 1 requires hidden_resource AB16-my01-wu
                weapon_missile bonus 1 requires hidden_resource AB16-my01-wu
                armour bonus 1 requires hidden_resource AB16-my01-wu
                weapon_simple bonus 2 requires hidden_resource AB16-my02-xiong
                weapon_missile bonus 1 requires hidden_resource AB16-my02-xiong
                weapon_bladed bonus 3 requires hidden_resource AB16-my03-xian
                weapon_simple bonus 1 requires hidden_resource AB16-my04-jie
                weapon_bladed bonus 1 requires hidden_resource AB16-my04-jie
                armour bonus 1 requires hidden_resource AB16-my04-jie
                weapon_simple bonus 3 requires hidden_resource AB16-my05-qiang
                armour bonus 3 requires hidden_resource AB16-my06-di
                weapon_missile bonus 3 requires hidden_resource AB16-my07-shan
                recruit "hunnic warlords"3requires factions { slave, } and hidden_resource AB16-my01-wu or hidden_resource AB16-my02-xiong or hidden_resource AB16-my03-xian or hidden_resource AB16-my04-jie or hidden_resource AB16-my05-qiang or hidden_resource AB16-my06-di
                recruit "hunnic archers"2requires factions { slave, berbers, huns, } and hidden_resource AB16-my01-wu or hidden_resource AB16-my02-xiong or hidden_resource AB16-my03-xian
                recruit "hunnic elite warriors"2requires factions { slave, berbers, huns, } and hidden_resource AB16-my01-wu or hidden_resource AB16-my02-xiong or hidden_resource AB16-my03-xian
                recruit "tribal cavalry"2requires factions { slave, berbers, huns, } and hidden_resource AB16-my04-jie or hidden_resource AB16-my05-qiang or hidden_resource AB16-my06-di
                recruit "steppe raiders"2requires factions { slave, berbers, huns, } and hidden_resource AB16-my04-jie or hidden_resource AB16-my05-qiang or hidden_resource AB16-my06-di
                recruit "steppe spearmen hun"2requires factions { slave, berbers, huns, } and hidden_resource AB16-my04-jie or hidden_resource AB16-my05-qiang or hidden_resource AB16-my06-di
                recruit "hunnic lancers"2requires factions { slave, berbers, huns, } and hidden_resource AB16-my01-wu
                recruit "steppe nobles"2requires factions { slave, berbers, huns, } and hidden_resource AB16-my01-wu
                recruit "hunnic heavy cavalry"2requires factions { slave, berbers, huns, } and hidden_resource AB16-my02-xiong
                recruit "sarmatian virgin archers horse"2requires factions { slave, berbers, huns, } and hidden_resource AB16-my03-xian
                recruit "steppe heavy spearmen hun"2requires factions { slave, berbers, huns, } and hidden_resource AB16-my04-jie
                recruit "alan noble cavalry"2requires factions { slave, berbers, huns, } and hidden_resource AB16-my05-qiang
                recruit "sarmatian noble cavalry"2requires factions { slave, berbers, huns, } and hidden_resource AB16-my05-qiang
                recruit "steppe swordsmen hun"2requires factions { slave, berbers, huns, } and hidden_resource AB16-my06-di
                ;recruit "ShanZei ALL"2requires factions { slave, berbers, huns, } and hidden_resource AB16-my07-shan or hidden_resource AB16-my08-taiwan or hidden_resource AB16-my09-penglai
                recruit "Gongshou Wei"0requires factions { ostrogoths, goths, roxolani, sarmatians, slavs, vandals, } and hidden_resource AA12-GuanAi
                recruit "Gongshou Mateng"0requires factions { burgundii, franks, }
recruit "Yongliangbiaoqiangbin Mateng"0requires factions { burgundii, franks, } and hidden_resource AA12-GuanAi
                recruit "Gongshou Hanxuan"0requires factions { empire_west, empire_west_rebels, } and hidden_resource AA12-GuanAi
                recruit "Gongshou Sunche"0requires factions { sassanids, celts, } and hidden_resource AA12-GuanAi
                recruit "Gongshou YuanShao"0requires factions { lombardi, saxons, }
                recruit "Lu Hebei"0requires factions { lombardi, }
                recruit "huangjinzeigongshou all"0requires factions { alemanni, } and hidden_resource AA12-GuanAi
                recruit "Gongshou Liubei"0requires factions { empire_east, empire_east_rebels, romano_british, } and hidden_resource AA12-GuanAi
                recruit "Nanmangongshou Menghuo"0requires factions { huns, } and hidden_resource AA12-GuanAi
                ;recruit "ShanZei ALL"0requires factions { slave, berbers, huns, } and hidden_resource AA12-GuanAi
                recruit "Minbin Wei"0requires factions { berbers, } and hidden_resource AA12-GuanAi
recruit "Guizu Zhanglu" 0 requires factions { romano_british, }                recruit "Qinzou Wei"0requires factions { ostrogoths, }
                recruit "Qinzou Wei"0requires factions { roxolani, }
recruit "Huben Wei"0requires factions { ostrogoths, }
recruit "Xiaodaoshou Liubei"0requires factions { empire_east, }
                recruit "Baierbin Liubei"0requires factions { empire_east, }
                recruit "Xiaoyaojinsishi Lvbu"0requires factions { goths, }
                recruit "Xianzhenyin Lvbu"0requires factions { goths, }
                recruit "Dageshi YuanShao"0requires factions { lombardi, }
                recruit "Xuangeqibin Lvbu"0requires factions { goths, }
                recruit "Xiandengsishi YuanShao"0requires factions { lombardi, }
                recruit "Baimayicong Gongsun"0requires factions { saxons, }
                recruit "Jieyinqi Sunche"0requires factions { sassanids, }
recruit "Feixiongjun"0requires factions { franks, }
                recruit "changbinsheshou Hanxuan"0requires factions { empire_west_rebels, }               
recruit " YuLin BuBing"
0
requires factions { empire_east,
}            }
            construction1
            cost400
            settlement_min village
            upgrades
            {
                governors_villa
            }
      }
      governors_villa requires factions { barbarian, carthaginian, eastern, hun, nomad, roman, } and hidden_resource AA01-Gov
      {
            capability
            {

(重复部分省略。。。。。。。。。。。。。。。。。。。。。。。。。。。。)
                recruit "changbinsheshou Hanxuan"0requires factions { empire_west_rebels, }
                recruit "Xianzhenyin Lvbu"0requires factions { goths, }
                recruit "Guizu Zhanglu" 1 requires factions { romano_british, }
                recruit " YuLin BuBing"
0
requires factions { empire_east,
}
            }
            construction2
            cost800
            settlement_min town
            upgrades
            {
                governors_palace
            }
      }
      governors_palace requires factions { barbarian, carthaginian, eastern, hun, nomad, roman, } and hidden_resource AA01-Gov
      {
            capability
            {


(重复部分省略。。。。。。。。。。。。。。。。。。。。。。。。。。。。)
                recruit "Feixiongjun"0requires factions { franks, }
                recruit "changbinsheshou Hanxuan"0requires factions { empire_west_rebels, }
                recruit "Xianzhenyin Lvbu"0requires factions { goths, }
                recruit "Guizu Zhanglu" 2 requires factions { romano_british, }
                recruit " YuLin BuBing"
0
requires factions { empire_east,
}
            }
            construction3
            cost1600
            settlement_min large_town
            upgrades
            {
                proconsuls_palace
            }
      }
      proconsuls_palace requires factions { barbarian, carthaginian, eastern, hun, nomad, roman, } and hidden_resource AA01-Gov
      {
            capability
            {


(重复部分省略。。。。。。。。。。。。。。。。。。。。。。。。。。。。)
                recruit "changbinsheshou Hanxuan"0requires factions { empire_west_rebels, }
                recruit "Xianzhenyin Lvbu"0requires factions { goths, }
                recruit "Guizu Zhanglu" 3 requires factions { romano_british, }
                recruit " YuLin BuBing"
0
requires factions { empire_east,
}
            }
            construction4
            cost3200
            settlement_min city
            upgrades
            {
                imperial_palace
            }
      }
      imperial_palace requires factions { barbarian, carthaginian, eastern, hun, nomad, roman, } and hidden_resource AA01-Gov
      {
            capability
            {


(重复部分省略。。。。。。。。。。。。。。。。。。。。。。。。。。。。)
                recruit "changbinsheshou Hanxuan"0requires factions { empire_west_rebels, }
                recruit "Xianzhenyin Lvbu"0requires factions { goths, }
                recruit "Guizu Zhanglu" 3 requires factions { romano_british, }
                recruit " YuLin BuBing"
0
requires factions { empire_east,
}
            }
            construction6
            cost6400
            settlement_min large_city
            upgrades
            {
            }
      }
    }
    plugins
    {
    }
}


freefen 发表于 2011-5-28 23:22:05

本帖最后由 freefen 于 2011-5-29 10:37 编辑

看到修改过程中那么多代码是不是很头晕,其实关键就那么一两步!其余都是铺垫,只是为让大家看得跟清楚罢了!
在修改兵种过程中大家一定要注意这两点,别地方照着来就行了!(一切都会显得很简单)
第一点:弄清楚兵种的属性问题(在这里我引用雾影帖子里面的一段)
就算你在这里你什么也不想改,起码你也也要弄懂第25句,因为像那些精锐如校刀手,逍遥津制作回合都是222,所以一定要改
我们拿关羽来做个例子:

1,type             JiangJun_BaShu Aa_0202-GuanYu
2,dictionary       JiangJun_BaShu_Aa_0202-GuanYu
3,category         cavalry
4,class            heavy
5,voice_type       General_1
6,soldier          Wudangfeijun_Liubei, 12, 0, 1
7,officer          GuanYu_general
8,mount            sanguo horse jjzm11
9,mount_effect   elephant -4, camel -4
10,attributes       sea_faring, general_unit, hide_forest, hardy, can_swim, power_charge, no_custom
11,formation      1.5, 4, 3, 6, 4, square, wedge
12,stat_health      2, 0
13,stat_pri         12, 11, no, 0, 0, melee, blade, piercing, spear, 25 ,1
14,stat_pri_attr    ap, launching
15,stat_sec         0, 0, no, 0, 0, no, no, no, none, 25 ,1
16,stat_sec_attr    no
17,stat_pri_armour13, 10, 3, leather
18,stat_sec_armour0, 6, flesh
19,stat_heat      0
20,stat_ground      0, 0, -4, 0
21,stat_mental      10, disciplined, highly_trained
22,stat_charge_dist 60
23,stat_fire_delay0
24,stat_food      60, 300
25,stat_cost      1, 1503, 400, 140, 210, 1370
26,ownership      empire_east
我们只讲重点,第1句是兵的名字,第2句也是兵的名字,他和翻译关联,一般都是用的第一个句的名字。
第3句是兵种的类型,这里是骑兵cavalry,还有步兵infantry和工程器siege,ship 海军
第4句是兵的种类和级别,这里是重heavy,结合上面的就是重骑兵,也可以是轻light,还有远程missile和枪兵spearmen
第5句兵的发音,也就是你在战场上点一下他说话的口音,一般不改这个
第6个比较关键,是只士兵的详细情况,Wudangfeijun_Liubei就是无当飞军的意思,这里意思是采用的无当飞军的模型,你可以自己改,比如改成Yanyun_Gongsun燕云铁骑,在战场上就是燕云铁骑的样子了。注意这里只能改骑兵,弓骑兵也不可以,将军是什么兵种就只能换成什么兵种的,12, 0, 1里12是指部队的人数,这是在标准规模下的人数,0是指动物的数量,一般的兵都是0,像什么驯兽兵这里就可以调整动物的数量,1是指士兵的碰撞质量,正常为1.0。
第7是百夫长,1。6还不能有独立的将军模型都是用百夫长替代的,这里也可以改,参造Rome - Total War\bi\data下的descr_model_battle.txt模型文件来里的百夫长模型来改,只能添加本势力有的百夫长
第8句是坐骑,也可以参造Rome - Total War\bi\data下的descr_model_battle.txt模型文件来里的马的模型来修改
第9句是坐骑的影响,elephant -4是指和象兵对抗时士气减4,camel -4 是和骆驼对抗时士气减4,当然你可以改成正数,那就是加了
第10句重要了,是兵的特殊能力
sea_faring 能上船
can_withdraw 可以撤退
mercenary_unit 雇佣兵
hide_forest 能隐藏在森林中
hide_improved_forest 能良好的隐藏在森林中
hide_anywhere 能隐藏在任何地方
hardy 耐力良好
very_hardy 耐力极佳
power_charge :强力冲锋
cantabrian_circle 环形射击
general_unit 将军单位
general_unit_upgrade 后期将军单位
start_not_skirmishing 默认关闭自动闪避
frighten_mounted 惊吓马匹
frighten_foot 惊吓步兵
can_run_amok 会发疯
druid 德鲁依,增加友军士气
WARCRY 能战吼,象张飞那样,增加攻击里
command 鹰旗激励周围的部队
can_sap 能在墙脚下挖地道
第11句是阵形,前免得数字是紧密阵型士兵左右和前后的间距和松散阵型士兵左右的间距;最后面的英文是单位拥有的特殊阵型,有如下几种:
square 正方形方阵
horde游牧阵型
phalanx长枪方阵
testudo龟甲阵wedge三角阵
12句是兵的生命,的是士兵的生命,后面是动物的生命,如果是象兵的话后面就是大象的生命
13句是主武器的属性:依次是攻击力;冲锋时的攻击加成(突击力);远程武器类型;远程武器射击距离;士兵携带的远程武器数量;武器类型;技术类型;伤害类型;武器撞击的声音;攻击的最小时间间隔。
武器类型:melee肉搏, thrown投掷, missile远程(弓箭),siege_missile机械;
技术类型:simple简单,other其他,blade刀刃,archery弓箭或siege机械;
伤害类型:piercing穿刺,blunt钝武器,slashing猛击,fire火烧;
武器撞击的声音:none无,knife小刀,mace铁锤,axe斧头,sword刀剑,spear长矛
14句是主武器的特殊能力
ap 破甲,只有目标有甲时才计算
bp 穿透身体,指远程武器在上穿第一个人后,是否还对后面的人造成伤害
spear 长矛,对骑兵有加成,对步兵有扣除
long_pike 长枪,只有能组成方阵的步兵使用
short_pike 短枪,只有能组成方阵的步兵使用
prec 只在冲锋前投掷武器
thrown 投掷,指距离比较短的武器
launching 击飞,能在空中飞行一段距离
area成片攻击,不只是一个人

15句和是16是副武器,和主武器的差不多,前提是要有副武器
17句是主要防御 依次是防御力;防御技巧加成(被射击时无用);盾牌加成(只对来自左边的攻击有效);被撞击发出的声音:身体,皮革,金属
18句是次要的防御 指动物或战车的防御
19句是在炎热天气作战时,体力的额外损失(正的越多表示损失越大)
20句在不同地形作战的加成(对于攻击力而言): 灌木,沙漠,森林,雪地
21句是士气和士兵的素质 依次是士气,纪律和训练。纪律分为正常,低纪律,有纪律和狂暴,狂暴的部队有可能不下令就突击。训练决定阵型的整齐程度。狂暴是很牛比的,想要狂暴就把disciplined改成berserker
22句是士兵开始突击敌人的距离,23和24没什么用就不讲了,(其实我也不知道)
25句依次是 招募所需回合数;帝国战役的招募费用;平时的维护费用;升级武器的费用;升级盔甲的费用;自定义战役的招募费用
26句是哪个国家可以使用此单位
第二点弄清楚兵营里面一些符号
A:比如这句
;recruit "Xiaodaoshou Liubei"0requires factions { empire_east, }
你要是加校刀手一定要注意第一个符号“;”这个符号一定去掉,不然你招不了校刀手
B:比如这句
recruit "YuLin BuBing"0requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_west, empire_west_rebels, burgundii,franks , romano_british ,empire_east_rebels, sassanids, } and hidden_resource rome
你把这句话后面“and hidden_resource rome”删掉,它隐藏资源你也招不了羽林步兵
C:比如这句
recruit "Bashuzhongbubin Liubei"0requires factions { empire_east, empire_east_rebels, romano_british, } and resource iron or resource copper
这句“and resource iron or resource copper”意思你需要资源铁和铜你才能招巴蜀重步,你要是为了方便你也可以删掉

luckgaoan 发表于 2011-5-28 23:37:28

回复 freefen 的帖子

做补丁吧,这要想法好,都可申精

freefen 发表于 2011-5-29 12:06:39

本帖最后由 freefen 于 2011-9-13 22:38 编辑

为了三国通行证

freefen 发表于 2011-5-29 12:14:39

第四种不是原创吗?

adai5027 发表于 2011-5-29 12:20:23

freefen 发表于 2011-5-29 12:14 static/image/common/back.gif
第四种不是原创吗?

这个其实都是同一类型的东西,添加其他建筑从而增加招募兵种的方法前辈们已经叙述的相当的清楚了。也就是说原理相同,外貌不一而已。
另外,虽然无法加精,但是将帖子高亮+推荐了。希望多发原创,继续努力

freefen 发表于 2011-5-29 12:34:34

加不加精无所谓 多给我加点智力 内政什么的就好:lol

cl_xa1988 发表于 2011-5-30 09:25:11

想要创新很难啊~

fbcfbc123 发表于 2011-8-5 19:07:44

纯属技术贴

txf73420024420 发表于 2013-4-13 22:24:47

支持哈啊啊啊啊

吕氏一族 发表于 2013-5-31 11:10:28

看着怎么这么难啊。。。。。。。。。。

zxy7082208 发表于 2013-9-14 00:21:01

出个修改器呗

LZT 发表于 2018-8-28 09:30:43

reterterterter

凉@白开 发表于 2019-1-14 12:30:19

这个我很是喜欢,感谢楼主
页: [1]
查看完整版本: 教程:给自己势力添加兵种系统方法(四种方法)