三國全面戰(zhàn)爭修改方法-三國各MOD間兵種的提取和載入
教程:三國各MOD間兵種的提取和載入這里我以提取“三國1.8A”里“勢力劉備”的“校刀手”,載入為“三國1.7A”中的“勢力張魯”新兵種為例.為了方便 我先建立幾個需要文件夾和文件文件夾:newsoldier,sprites,text,ui,unit_info,units,romano_british,models_unit,sanguo,textures文件:export_units.txt,descr_model_battle.txt,export_descr_unit.txt,export_descr_unit_enums.txt這里簡單列了一下文件夾之間和文件的邏輯關(guān)系,在下面步驟中我就直接引用不介紹了newsoldierspritesnewsoldiertext export_units.txtnewsoldieruiunit_inforomano_britishnewsoldieruiunitsromano_britishnewsoldiermodels_unitsanguotexturesnewsoldier descr_model_battle.txt export_descr_unit.txt export_descr_unit_enums.txt1、從1.8A中提取 A:打開bi-data-text中文件export_units搜索找到“校刀手”復(fù)制:Xiaodaoshou_Liubei校刀手Xiaodaoshou_Liubei_descr校刀手nn關(guān)雲(yún)長麾下部隊(duì)精兵,皆手持大刀,所向披靡。Xiaodaoshou_Liubei_descr_short校刀手nn關(guān)雲(yún)長麾下部隊(duì)精兵,皆手持大刀,所向披靡。把上面復(fù)制內(nèi)容粘貼到文件夾newsoldier-text中文件export_units,保存B:打開 bi-data中文件export_descr_unit搜索找到“校刀手”復(fù)制:;校刀手type Xiaodaoshou Liubeidictionary Xiaodaoshou_Liubeicategory infantryclass spearmenvoice_type Light_1soldier chu_generaldao2,18,0,0.90mount_effect horse +3,camel +1attributes sea_faring,hide_forest,frighten_mounted,very_hardyformation 1.0, 1.2, 2.4, 2.8, 4, squarestat_health 1, 0stat_pri 9,28,no,0,0,melee,blade,slashing,sword,25,1stat_pri_attr ap,spear,spear_bonus_6stat_sec 0,0,no,0,0,no,no,no,none,0,1stat_sec_attr nostat_pri_armour 7,14,0,leatherstat_sec_armour 0,0,fleshstat_heat 2stat_ground -1,-2,-2,-2stat_mental 21,disciplined,highly_trainedstat_charge_dist 30stat_fire_delay 0stat_food 60,300stat_cost 1,904,231,86,69,361.6ownership slave把上面復(fù)制內(nèi)容粘貼到文件夾newsoldier中文件export_descr_unit,保存C:打開newsoldier-text中文件export_descr_unit_enums寫入這段:;校刀手Xiaodaoshou_LiubeiXiaodaoshou_Liubei_descrXiaodaoshou_Liubei_descr_short保存注:如果在文件bi-data中文件export_descr_unit_enums,如果里面有相關(guān)內(nèi)容直接復(fù)制就行了。如果沒有 ,按格式寫一段也沒關(guān)系D:打開bi-data中文件descr_model_battle搜索找到“校刀手”復(fù)制:;校刀手;-type chu_generaldao2skeleton fs_slow_2handedindiv_range 40texture empire_east, bi/data/models_unit/sanguo/textures/Shu_Dadao.tga texture empire_east_rebels, bi/data/models_unit/sanguo/textures/Shu_Dadao.tga model_flexi bi/data/models_unit/sanguo/Shu_Dadao.cas, 15model_flexi bi/data/models_unit/sanguo/Shu_Dadao.cas, 30model_flexi bi/data/models_unit/sanguo/Shu_Dadao.cas, 40model_flexi bi/data/models_unit/sanguo/Shu_Dadao.cas, maxmodel_sprite empire_east_rebels, 60.0, bi/data/sprites/empire_east_chu_generaldao2_sprite.sprmodel_sprite empire_east, 60.0, bi/data/sprites/empire_east_chu_generaldao2_sprite.sprmodel_tri 400, 0.5f, 0.5f, 0.5把上面復(fù)制內(nèi)容粘貼到文件夾newsoldier中文件descr_model_battle,保存E:打開bi-data-ui-unit_info-empire_east 找到校刀手文件圖片 Xiaodaoshou_Liubei_info ,復(fù)制粘貼到newsoldier-ui-unit_info-romano_britishF:打開bi-data-ui-units-empire_east 找到校刀手文件圖片 #Xiaodaoshou_Liubei ,復(fù)制粘貼到newsoldier-ui-units-romano_britishG:打開bidatamodels_unitsanguotextures找到文件Shu_Dadao.tga,復(fù)制粘貼到newsoldiermodels_unitsanguotextures底下注:這里要找的文件就是根據(jù)D步驟中要復(fù)制那段原碼來找的texture empire_east, bi/data/models_unit/sanguo/textures/Shu_Dadao.tga H:打開bidatamodels_unitsanguo找到文件文件Shu_Dadao.cas,復(fù)制粘貼到newsoldiermodels_unitsanguo底下注:這里要找的文件就是根據(jù)D步驟中要復(fù)制那段原碼來找的model_flexi bi/data/models_unit/sanguo/Shu_Dadao.cas, 15model_flexi bi/data/models_unit/sanguo/Shu_Dadao.cas, 30model_flexi bi/data/models_unit/sanguo/Shu_Dadao.cas, 40model_flexi bi/data/models_unit/sanguo/Shu_Dadao.cas, maxI:打開bidatasprites搜索empire_east_chu_generaldao2_sprite找到文件empire_east_chu_generaldao2_sprite.sprempire_east_chu_generaldao2_sprite_000empire_east_chu_generaldao2_sprite_001復(fù)制粘貼到newsoldiersprites 底下注:這里要找的文件就是根據(jù)D步驟中要復(fù)制那段原碼來找的model_sprite empire_east_rebels, 60.0, bi/data/sprites/empire_east_chu_generaldao2_sprite.sprmodel_sprite empire_east, 60.0, bi/data/sprites/empire_east_chu_generaldao2_sprite.spr2、調(diào)整A、打開newsoldier中文件export_descr_unit把這兩句stat_cost 1,904,231,86,69,361.6ownership slave修改為stat_cost 1,904,231,86,69,361.6ownership romano_britishB、打開newsoldier中文件descr_model_battle把原來那段復(fù)制內(nèi)容修改為;校刀手;-type chu_generaldao2skeleton fs_slow_2handedindiv_range 40texture romano_british, bi/data/models_unit/sanguo/textures/Shu_Dadao.tga model_flexi bi/data/models_unit/sanguo/Shu_Dadao.cas, 15model_flexi bi/data/models_unit/sanguo/Shu_Dadao.cas, 30model_flexi bi/data/models_unit/sanguo/Shu_Dadao.cas, 40model_flexi bi/data/models_unit/sanguo/Shu_Dadao.cas, maxmodel_sprite romano_british, 60.0, bi/data/sprites/empire_east_chu_generaldao2_sprite.sprmodel_tri 400, 0.5f, 0.5f, 0.53、載入到1.7AA、把newsoldier底下文件夾models_unit復(fù)制到bidata 底下粘貼B、把newsoldier底下文件夾sprites復(fù)制到bidata 底下粘貼C、把newsoldier底下文件夾ui復(fù)制到bidata 底下粘貼D、打開newsoldiertext中文件export_units復(fù)制這段Xiaodaoshou_Liubei校刀手Xiaodaoshou_Liubei_descr校刀手nn關(guān)雲(yún)長麾下部隊(duì)精兵,皆手持大刀,所向披靡。Xiaodaoshou_Liubei_descr_short校刀手nn關(guān)雲(yún)長麾下部隊(duì)精兵,皆手持大刀,所向披靡。打開bidatatext中文件export_units,找到白耳兵并在它下面粘貼(注:放在哪里這里沒有特別要求)E、打開newsoldier中文件descr_model_battle復(fù)制這段;校刀手;-type chu_generaldao2skeleton fs_slow_2handedindiv_range 40texture romano_british, bi/data/models_unit/sanguo/textures/Shu_Dadao.tga model_flexi bi/data/models_unit/sanguo/Shu_Dadao.cas, 15model_flexi bi/data/models_unit/sanguo/Shu_Dadao.cas, 30model_flexi bi/data/models_unit/sanguo/Shu_Dadao.cas, 40model_flexi bi/data/models_unit/sanguo/Shu_Dadao.cas, maxmodel_sprite romano_british, 60.0, bi/data/sprites/empire_east_chu_generaldao2_sprite.sprmodel_tri 400, 0.5f, 0.5f, 0.5打開bidata中文件descr_model_battle,找到白耳兵并在它下面粘貼(注:放在哪里這里沒有特別要求)F:打開newsoldier中文件export_descr_unit復(fù)制這段;校刀手type Xiaodaoshou Liubeidictionary Xiaodaoshou_Liubeicategory infantryclass spearmenvoice_type Light_1soldier chu_generaldao2,18,0,0.90mount_effect horse +3,camel +1attributes sea_faring,hide_forest,frighten_mounted,very_hardyformation 1.0, 1.2, 2.4, 2.8, 4, squarestat_health 1, 0stat_pri 9,28,no,0,0,melee,blade,slashing,sword,25,1stat_pri_attr ap,spear,spear_bonus_6stat_sec 0,0,no,0,0,no,no,no,none,0,1stat_sec_attr nostat_pri_armour 7,14,0,leatherstat_sec_armour 0,0,fleshstat_heat 2stat_ground -1,-2,-2,-2stat_mental 21,disciplined,highly_trainedstat_charge_dist 30stat_fire_delay 0stat_food 60,300stat_cost 1,904,231,86,69,361.6ownership romano_british打開bidata中文件export_descr_unit,找到白耳兵并在它下面粘貼(注:放在哪里這里沒有特別要求)G、打開newsoldier中文件export_descr_unit_enums復(fù)制這段Xiaodaoshou_LiubeiXiaodaoshou_Liubei_descrXiaodaoshou_Liubei_descr_short打開bidata中文件export_descr_unit_enums,找到Baierbin_Liubei并在它下面粘貼