三國(guó)全面戰(zhàn)爭(zhēng)修改方法-添加兵種至兵營(yíng)
第一步,打開(kāi)bi\data下的export_descr_unit.txt文件,然後找到逍遙津死士。也就是這個(gè):
type Xiaoyaojinsishi Lvbu
dictionary Xiaoyaojinsishi_Lvbu
category infantry
class heavy
voice_type Heavy_1
soldier Xiaoyaojinsishi_Lvbu, 16, 0, 3.25, 0.6, 2.2
attributes sea_faring, hide_forest, frighten_foot, very_hardy, warcry, can_swim
formation 1.7, 1.7, 2.4, 2.4, 3, square
stat_health 2, 0
stat_pri 14, 8, no, 0, 0, melee, blade, piercing, sword, 10 ,1
stat_pri_attr no
stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
stat_sec_attr no
stat_pri_armour 5, 8, 0, flesh
stat_sec_armour 0, 0, flesh
stat_heat 2
stat_ground 1, -2, 0, -1
stat_mental 15, berserker, untrained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 1400, 360, 60, 60, 700
ownership goths
然後將最後一排ownership的勢(shì)力歸屬添加一個(gè)曹總的進(jìn)去,也就是在goths後面加上ostrogoths,於是就變成了:
type Xiaoyaojinsishi Lvbu
dictionary Xiaoyaojinsishi_Lvbu
category infantry
class heavy
voice_type Heavy_1
soldier Xiaoyaojinsishi_Lvbu, 16, 0, 3.25, 0.6, 2.2
attributes sea_faring, hide_forest, frighten_foot, very_hardy, warcry, can_swim
formation 1.7, 1.7, 2.4, 2.4, 3, square
stat_health 2, 0
stat_pri 14, 8, no, 0, 0, melee, blade, piercing, sword, 10 ,1
stat_pri_attr no
stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
stat_sec_attr no
stat_pri_armour 5, 8, 0, flesh
stat_sec_armour 0, 0, flesh
stat_heat 2
stat_ground 1, -2, 0, -1
stat_mental 15, berserker, untrained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 1400, 360, 60, 60, 700
ownership goths, ostrogoths(修改添加處)
搞定之後保存。老鳥(niǎo)們就不用我提醒了,如果是新手,不知道各個(gè)勢(shì)力的代表,我就發(fā)一下吧:
ostrogoths ;曹操
goths ;呂布
sarmatians ;袁術(shù)
vandals ;陶謙
roxolani ;孔融
slavs ;張繡
empire_east ;劉備
empire_east_rebels ;劉璋
romano_british ;張魯
sassanids ;孫策
celts ;嚴(yán)白虎
empire_west ;劉表
empire_west_rebels ;韓玄
lombardi ;袁紹
saxons ;公孫瓚
alemanni ;張燕
burgundii ;馬騰
franks ;李傕
huns ;孟獲
好,我們進(jìn)入第二步,bi\data下的文件descr_model_battle.txt,然後找到逍遙津死士,也就是這個(gè):
;逍遙津死士
type Xiaoyaojinsishi_Lvbu
skeleton fs_2handed_berserker
indiv_range 40
texture goths, bi/data/models_unit/sanguo/textures/Xiaoyaojinsishi_Lvbu.tga
model_flexi bi/data/models_unit/sanguo/Xiaoyaojinsishi_Lvbu.cas, 15
model_flexi bi/data/models_unit/sanguo/Xiaoyaojinsishi_Lvbu1.cas, 30
model_flexi bi/data/models_unit/sanguo/Xiaoyaojinsishi_Lvbu2.cas, 40
model_flexi bi/data/models_unit/sanguo/Xiaoyaojinsishi_Lvbu3.cas, max
model_sprite goths, 60.0, bi/data/sprites/goths_Xiaoyaojinsishi_Lvbu_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5f
我玩得是1.8版本的,裏面有兩個(gè),一個(gè)是騎兵的,一個(gè)是步兵的。不知道其他的人是不是這樣。有的話,記得弄清楚,我們要的是步兵的逍遙津死士,而不是騎兵的。然後就是修改,在
texture goths,bi/data/models_unit/sanguo/textures/Xiaoyaojinsishi_Lvbu.tga
model_sprite goths, 60.0, bi/data/sprites/goths_Xiaoyaojinsishi_Lvbu_sprite.spr
後面加上兩個(gè)曹總。於是就變成了這樣:
;逍遙津死士
type Xiaoyaojinsishi_Lvbu
skeleton fs_2handed_berserker
indiv_range 40
texture goths, bi/data/models_unit/sanguo/textures/Xiaoyaojinsishi_Lvbu.tga
texture ostrogoths, bi/data/models_unit/sanguo/textures/Xiaoyaojinsishi_Lvbu.tga(修改添加處)
model_flexi bi/data/models_unit/sanguo/Xiaoyaojinsishi_Lvbu.cas, 15
model_flexi bi/data/models_unit/sanguo/Xiaoyaojinsishi_Lvbu1.cas, 30
model_flexi bi/data/models_unit/sanguo/Xiaoyaojinsishi_Lvbu2.cas, 40
model_flexi bi/data/models_unit/sanguo/Xiaoyaojinsishi_Lvbu3.cas, max
model_sprite goths, 60.0, bi/data/sprites/goths_Xiaoyaojinsishi_Lvbu_sprite.spr
model_sprite ostrogoths, 60.0, bi/data/sprites/goths_Xiaoyaojinsishi_Lvbu_sprite.spr(修改添加處)
model_tri 400, 0.5f, 0.5f, 0.5f
其實(shí)也就是將上面的復(fù)制下來(lái),然後改一下勢(shì)力將呂布的goths改成曹總的ostrogoths,完成之後,保存就可以了。
接下來(lái),進(jìn)入第三步。這也是將兵種加入兵營(yíng)的,最為重要的一步。找到bi\data下的export_descr_buildings.txt,將文件打開(kāi)。找到兵營(yíng),因?yàn)檠Y面的文件太多,我們可以用編輯裏面的‘查找’指令,找‘訓(xùn)練場(chǎng)’三個(gè)字。訓(xùn)練場(chǎng)也就是第一級(jí)的兵營(yíng),兵營(yíng)總共有五個(gè)等級(jí):訓(xùn)練場(chǎng) 步兵營(yíng) 大型兵營(yíng) 禁衛(wèi)兵營(yíng) 禁軍禁衛(wèi)營(yíng)。我們找到之後,顯示的就是前四個(gè),第五個(gè)禁軍禁衛(wèi)營(yíng)是與前面四個(gè)分開(kāi)來(lái)的:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;-all-1,2,3,4,5級(jí)-訓(xùn)練場(chǎng) 步兵營(yíng) 大型兵營(yíng) 禁衛(wèi)兵營(yíng) 禁軍禁衛(wèi)營(yíng)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
building barracks
{
levels muster_field militia_barracks city_barracks army_barracks royal_barracks
{
muster_field requires factions { barbarian, carthaginian, eastern, hun, nomad, roman, } and hidden_resource AA01-Gov
{
capability
{
;------------1級(jí)步兵----------------
; recruit "Minbin Wei" 0 requires factions { barbarian, carthaginian, eastern, hun, nomad, roman, }
recruit "Minbin Hanxuan" 0 requires factions { ostrogoths, goths, sarmatians, lombardi, burgundii, empire_west, }
;recruit "ShanZei ALL" 0 requires factions { alemanni, sarmatians, slavs, empire_east, empire_east_rebels, huns, saxons, berbers, slave, }
recruit "huangjinzei all" 0 requires factions { alemanni, slave, berbers, }
}
construction 2
cost 600
settlement_min town
upgrades
{
militia_barracks
}
}
militia_barracks requires factions { barbarian, carthaginian, eastern, hun, nomad, roman, }
{
capability
{
;------------1級(jí)步兵----------------
; recruit "Minbin Wei" 1 requires factions { barbarian, carthaginian, eastern, hun, nomad, roman, }
recruit "Minbin Hanxuan" 1 requires factions { ostrogoths, goths, sarmatians, lombardi, burgundii, empire_west, }
;recruit "ShanZei ALL" 1 requires factions { berbers, slave, }
recruit "huangjinzei all" 1 requires factions { alemanni, slave, berbers, }
;------------2級(jí)步兵----------------
recruit "Zhongyuanqiangbin Wei" 0 requires factions { ostrogoths, goths, roxolani, sarmatians, slavs, vandals, }
recruit "Zhongyuanbubin Wei" 0 requires factions { ostrogoths, goths, roxolani, sarmatians, slavs, vandals, }
recruit "Yongliangbubin Mateng" 0 requires factions { burgundii, franks, }
recruit "Yongliangqiangbin Mateng" 0 requires factions { burgundii, franks, }
recruit "Jinzoububin Hanxuan" 0 requires factions { empire_west, empire_west_rebels, }
recruit "Jinzouqiangbin Hanxuan" 0 requires factions { empire_west, empire_west_rebels, }
recruit "Jiangdongbubin Sunche" 0 requires factions { sassanids, celts, }
recruit "Jiangdongqiangbin Sunche" 0 requires factions { sassanids, celts, }
recruit "Hebeibubin YuanShao" 0 requires factions { lombardi, saxons, }
recruit "huangjinjun all" 0 requires factions { alemanni, }
recruit "Hebeiqiangbin YuanShao" 0 requires factions { lombardi, saxons, }
recruit "huangjinzeiqiangbin all" 0 requires factions { alemanni, }
recruit "Bashububin Liubei" 0 requires factions { empire_east, empire_east_rebels, romano_british, }
recruit "Bashuqiangbin Liubei" 0 requires factions { empire_east, empire_east_rebels, romano_british, }
recruit "Nanmanbin Menghuo" 0 requires factions { huns, }
recruit "Cike All" 0 requires factions { celts, slavs, berbers, slave, }
recruit "ManZei ALL" 0 requires factions { huns, celts, alemanni, burgundii, }
;recruit "LingNanYeRen HanXuan" 0 requires factions { empire_west_rebels, }
recruit "Shuibin Sunche" 0 requires factions { sassanids, empire_west, empire_west_rebels, }
recruit "huangjinjun all" 0 requires factions { alemanni, slave, berbers, }
recruit "HuoZhu Bing" 0 requires factions { empire_east, } and hidden_resource AB15-nanz
}
construction 3
cost 1200
settlement_min large_town
upgrades
{
city_barracks
}
}
city_barracks requires factions { barbarian, carthaginian, eastern, hun, nomad, roman, }
{
capability
{
;------------1級(jí)步兵----------------
; recruit "Minbin Wei" 2 requires factions { barbarian, carthaginian, eastern, hun, nomad, roman, }
recruit "Minbin Hanxuan" 2 requires factions { ostrogoths, goths, sarmatians, lombardi, burgundii, empire_west, }
;recruit "ShanZei ALL" 2 requires factions { berbers, slave, }
recruit "huangjinzei all" 2 requires factions { alemanni, slave, berbers, }
;------------2級(jí)步兵----------------
recruit "Zhongyuanqiangbin Wei" 1 requires factions { ostrogoths, goths, roxolani, sarmatians, slavs, vandals, }
recruit "Zhongyuanbubin Wei" 1 requires factions { ostrogoths, goths, roxolani, sarmatians, slavs, vandals, }
recruit "Yongliangbubin Mateng" 1 requires factions { burgundii, franks, }
recruit "Yongliangqiangbin Mateng" 1 requires factions { burgundii, franks, }
recruit "Jinzoububin Hanxuan" 1 requires factions { empire_west, empire_west_rebels, }
recruit "Jinzouqiangbin Hanxuan" 1 requires factions { empire_west, empire_west_rebels, }
recruit "Jiangdongbubin Sunche" 1 requires factions { sassanids, celts, }
recruit "Jiangdongqiangbin Sunche" 1 requires factions { sassanids, celts, }
recruit "Hebeibubin YuanShao" 1 requires factions { lombardi, saxons, }
recruit "huangjinjun all" 1 requires factions { alemanni, }
recruit "Hebeiqiangbin YuanShao" 1 requires factions { lombardi, saxons, }
recruit "huangjinzeiqiangbin all" 1 requires factions { alemanni, }
recruit "Bashububin Liubei" 1 requires factions { empire_east, empire_east_rebels, romano_british, }
recruit "Bashuqiangbin Liubei" 1 requires factions { empire_east, empire_east_rebels, romano_british, }
recruit "Nanmanbin Menghuo" 1 requires factions { huns, }
recruit "Cike All" 1 requires factions { celts, slavs, berbers, slave, }
recruit "ManZei ALL" 1 requires factions { huns, celts, alemanni, burgundii, }
;recruit "LingNanYeRen HanXuan" 1 requires factions { empire_west_rebels, }
recruit "Shuibin Sunche" 1 requires factions { sassanids, empire_west, empire_west_rebels, }
recruit "huangjinjun all" 1 requires factions { alemanni, slave, berbers, }
recruit "HuoZhu Bing" 1 requires factions { empire_east, } and hidden_resource AB15-nanz
;------------3級(jí)步兵----------------
recruit "Jianshi Zhanglu" 0 requires factions { romano_british, }
recruit "Xiaodaoshou Liubei" 0 requires factions { empire_east, }
;recruit "Shanyuebin Sunche" 0 requires factions { sassanids, empire_west_rebels, celts, }
recruit "Zhongyuanzhong Wei" 0 requires factions { ostrogoths, goths, roxolani, sarmatians, slavs, vandals, }
recruit "Zhongyuanchangqiang Wei" 0 requires factions { ostrogoths, goths, roxolani, sarmatians, slavs, vandals, }
recruit "Fubin Yuansu" 0 requires factions { sarmatians, }
recruit "Yongliangzhongbubin Mateng" 0 requires factions { burgundii, franks, }
recruit "Qiangbin Mateng" 0 requires factions { burgundii, slavs, }
recruit "Yongliangchangqiangbin Mateng" 0 requires factions { burgundii, franks, }
recruit "Jinzouzhongbubin Hanxuan" 0 requires factions { empire_west, empire_west_rebels, }
recruit "Jinzouzhongchangqiangbin Hanxuan" 0 requires factions { empire_west, empire_west_rebels, }
recruit "Jiangdongzhongbubin Sunche" 0 requires factions { sassanids, celts, }
recruit "Jiangdongchangqiangbin Sunche" 0 requires factions { sassanids, celts, }
recruit "Hebeizhongbubin YuanShao" 0 requires factions { lombardi, saxons, }
recruit "huangjinjundaodun all" 0 requires factions { alemanni, }
recruit "Hebeichangqiangbin YuanShao" 0 requires factions { lombardi, saxons, }
recruit "Bashuzhongbubin Liubei" 0 requires factions { empire_east, empire_east_rebels, romano_british, }
recruit "Bashuchangqiangbin Liubei" 0 requires factions { empire_east, empire_east_rebels, romano_british, }
;recruit "Jianshi Liubei" 0 requires factions { empire_east, empire_east_rebels, romano_british, }
;recruit "Shanyue Liuzhang" 0 requires factions { empire_east_rebels, romano_british, }
recruit "NanmanZhongJiabin Menghuo" 0 requires factions { huns, }
recruit "YuLin BuBing" 0 requires 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
recruit "JiaZhouZhongBing All" 0 requires factions { saxons, goths, burgundii, }
recruit "Baiyishuibing Sunche" 0 requires factions { sassanids, empire_west, }
recruit "SunMeiMei Sunce" 1 requires factions { sassanids, }
}
construction 4
cost 2400
settlement_min city
upgrades
{
army_barracks
}
}
army_barracks requires factions { barbarian, carthaginian, eastern, hun, nomad, roman, }
{
capability
{
;------------1級(jí)步兵----------------
; recruit "Minbin Wei" 2 requires factions { barbarian, carthaginian, eastern, hun, nomad, roman, }
recruit "Minbin Hanxuan" 2 requires factions { ostrogoths, goths, sarmatians, lombardi, burgundii, empire_west, }
;recruit "ShanZei ALL" 2 requires factions { berbers, slave, }
recruit "huangjinzei all" 2 requires factions { alemanni, slave, berbers, }
;------------2級(jí)步兵----------------
recruit "Zhongyuanqiangbin Wei" 1 requires factions { ostrogoths, goths, roxolani, sarmatians, slavs, vandals, }
recruit "Zhongyuanbubin Wei" 1 requires factions { ostrogoths, goths, roxolani, sarmatians, slavs, vandals, }
recruit "Yongliangbubin Mateng" 1 requires factions { burgundii, franks, }
recruit "Yongliangqiangbin Mateng" 1 requires factions { burgundii, franks, }
recruit "Jinzoububin Hanxuan" 1 requires factions { empire_west, empire_west_rebels, }
recruit "Jinzouqiangbin Hanxuan" 1 requires factions { empire_west, empire_west_rebels, }
recruit "Jiangdongbubin Sunche" 1 requires factions { sassanids, celts, }
recruit "Jiangdongqiangbin Sunche" 1 requires factions { sassanids, celts, }
recruit "Hebeibubin YuanShao" 1 requires factions { lombardi, saxons, }
recruit "huangjinjun all" 1 requires factions { alemanni, }
recruit "Hebeiqiangbin YuanShao" 1 requires factions { lombardi, saxons, }
recruit "huangjinzeiqiangbin all" 1 requires factions { alemanni, }
recruit "Bashububin Liubei" 1 requires factions { empire_east, empire_east_rebels, romano_british, }
recruit "Bashuqiangbin Liubei" 1 requires factions { empire_east, empire_east_rebels, romano_british, }
recruit "Nanmanbin Menghuo" 1 requires factions { huns, }
recruit "Cike All" 1 requires factions { celts, slavs, berbers, slave, }
recruit "ManZei ALL" 1 requires factions { huns, celts, alemanni, burgundii, }
;recruit "LingNanYeRen HanXuan" 1 requires factions { empire_west_rebels, }
recruit "Shuibin Sunche" 1 requires factions { sassanids, empire_west, empire_west_rebels, }
recruit "huangjinjun all" 1 requires factions { alemanni, slave, berbers, }
recruit "HuoZhu Bing" 1 requires factions { empire_east, } and hidden_resource AB15-nanz
;------------3級(jí)步兵----------------
recruit "Jianshi Zhanglu" 0 requires factions { romano_british, }
recruit "Xiaodaoshou Liubei" 0 requires factions { empire_east, }
;recruit "Shanyuebin Sunche" 0 requires factions { sassanids, empire_west_rebels, celts, }
recruit "Zhongyuanzhong Wei" 0 requires factions { ostrogoths, goths, roxolani, sarmatians, slavs, vandals, }
recruit "Zhongyuanchangqiang Wei" 0 requires factions { ostrogoths, goths, roxolani, sarmatians, slavs, vandals, }
recruit "Fubin Yuansu" 0 requires factions { sarmatians, }
recruit "Yongliangzhongbubin Mateng" 0 requires factions { burgundii, franks, }
recruit "Qiangbin Mateng" 0 requires factions { burgundii, slavs, }
recruit "Yongliangchangqiangbin Mateng" 0 requires factions { burgundii, franks, }
recruit "Jinzouzhongbubin Hanxuan" 0 requires factions { empire_west, empire_west_rebels, }
recruit "Jinzouzhongchangqiangbin Hanxuan" 0 requires factions { empire_west, empire_west_rebels, }
recruit "Jiangdongzhongbubin Sunche" 0 requires factions { sassanids, celts, }
recruit "Jiangdongchangqiangbin Sunche" 0 requires factions { sassanids, celts, }
recruit "Hebeizhongbubin YuanShao" 0 requires factions { lombardi, saxons, }
recruit "huangjinjundaodun all" 0 requires factions { alemanni, }
recruit "Hebeichangqiangbin YuanShao" 0 requires factions { lombardi, saxons, }
recruit "Bashuzhongbubin Liubei" 0 requires factions { empire_east, empire_east_rebels, romano_british, }
recruit "Bashuchangqiangbin Liubei" 0 requires factions { empire_east, empire_east_rebels, romano_british, }
;recruit "Jianshi Liubei" 0 requires factions { empire_east, empire_east_rebels, romano_british, }
;recruit "Shanyue Liuzhang" 0 requires factions { empire_east_rebels, romano_british, }
recruit "NanmanZhongJiabin Menghuo" 0 requires factions { huns, }
recruit "YuLin BuBing" 0 requires factions { ostrogoths, goths, roxolani, sarmatians, vandals, slavs, lombardi, alemanni, saxons, celts, empire_east, empire_w