- UID
- 1326068
- 主题
- 3
- 阅读权限
- 20
- 帖子
- 365
- 精华
- 0
- 积分
- 183
- 金钱
- 1403
- 荣誉
- 0
- 人气
- 0
- 在线时间
- 324 小时
- 评议
- 0
- 帖子
- 365
- 精华
- 0
- 积分
- 183
- 金钱
- 1403
- 荣誉
- 0
- 人气
- 0
- 评议
- 0
|
先举个列:
首先打開export_descr_unit.txt,找到
;御卫兵
type yuweibin liyu
dictionary yuweibin_liyu
category infantry
class heavy
voice_type Heavy_1
soldier yuweibin_liyu, 60, 0, 1.5
officer yuweibin_liyu
attributes sea_faring, hide_forest, can_sap, very_hardy
formation 1, 1, 2, 2, 5, square, schiltrom
stat_health 1, 0
stat_pri 11, 5, no, 0, 0, melee, blade, piercing, spear, 25 ,1
stat_pri_attr spear, spear_bonus_6
stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
stat_sec_attr no
stat_pri_armour 11, 9, 0, metal
stat_sec_armour 0, 0, flesh
stat_heat 3
stat_ground 1, 0, 0, 0
stat_mental 14, disciplined, trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 2, 2400, 1400, 200, 240, 1200
ownership franks
然後在ownership franks後面添加曹操勢力
(列wnership franks, ostrogoths)
然後打開descr_model_battle.txt
找到;御卫兵
type yuweibin_liyu
skeleton fs_slow_spearman
indiv_range 40
texture merc, bi/data/models_unit/sanguo/textures/yuweibin_liyu.tga
texture celts, bi/data/models_unit/sanguo/textures/yuweibin_liyu.tga
texture franks, bi/data/models_unit/sanguo/textures/yuweibin_liyu.tga
texture empire_west, bi/data/models_unit/sanguo/textures/yuweibin_liyu.tga
texture sarmatians, bi/data/models_unit/sanguo/textures/yuweibin_liyu.tga
texture roxolani, bi/data/models_unit/sanguo/textures/yuweibin_liyu.tga
texture alemanni, bi/data/models_unit/sanguo/textures/yuweibin_liyu.tga
texture ostrogoths, bi/data/models_unit/sanguo/textures/yuweibin_liyu.tga
texture goths, bi/data/models_unit/sanguo/textures/yuweibin_liyu.tga
texture vandals, bi/data/models_unit/sanguo/textures/yuweibin_liyu.tga
texture slavs, bi/data/models_unit/sanguo/textures/yuweibin_liyu.tga
texture empire_east, bi/data/models_unit/sanguo/textures/yuweibin_liyu.tga
texture empire_east_rebels, bi/data/models_unit/sanguo/textures/yuweibin_liyu.tga
texture romano_british, bi/data/models_unit/sanguo/textures/yuweibin_liyu.tga
texture empire_west_rebels, bi/data/models_unit/sanguo/textures/yuweibin_liyu.tga
texture sassanids, bi/data/models_unit/sanguo/textures/yuweibin_liyu.tga
texture burgundii, bi/data/models_unit/sanguo/textures/yuweibin_liyu.tga
texture lombardi, bi/data/models_unit/sanguo/textures/yuweibin_liyu.tga
texture saxons, bi/data/models_unit/sanguo/textures/yuweibin_liyu.tga
texture slave, bi/data/models_unit/sanguo/textures/yuweibin_liyu.tga
texture berbers, bi/data/models_unit/sanguo/textures/yuweibin_liyu.tga
model_flexi bi/data/models_unit/sanguo/yuweibin_liyu.cas, 15
model_flexi bi/data/models_unit/sanguo/yuweibin_liyu1.cas, 30
model_flexi bi/data/models_unit/sanguo/yuweibin_liyu2.cas, 40
model_flexi bi/data/models_unit/sanguo/yuweibin_liyu3.cas, max
model_sprite franks, 60.0, bi/data/sprites/franks_yuweibin_liyu_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5f
這是派系的兵種模型,如果没有曹操派系的話要自己添加,上面已經有了,所以不需要添加
(列:texture ostrogoths, bi/data/models_unit/sanguo/textures/yuweibin_liyu.tga)
最後要打開export_descr_buildings.txt找到建築物添加兵種建造,看你自己先後加哪裏,兵營,寺廟等等都可以
列:
;-all-1,2,3,4,5级-训练场 步兵营 大型兵营 禁卫兵营 禁军禁卫营
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
building barracks
{
levels muster_field militia_barracks city_barracks army_barracks royal_barracks
{
muster_field requires factions { carthaginian, eastern, hun, nomad, roman, } and hidden_resource AA01-Gov
{
capability
{
;------------1级步兵----------------
recruit "ShanZei ALL" 1 requires factions { berbers, slave, }
recruit "huangjinzei all" 1 requires factions { slave, berbers, }
recruit "YuLin GongShou" 0 requires factions { alemanni, burgundii, celts, franks, lombardi, saxons, sassanids, goths, ostrogoths, sarmatians, vandals, slavs, empire_east, empire_east_rebels, empire_west, empire_west_rebels, roxolani, romano_british, }
}
construction 2
cost 600
settlement_min town
upgrades
{
militia_barracks
}
}
militia_barracks requires factions { carthaginian, eastern, hun, nomad, roman, }
{
capability
{
;------------1级步兵----------------
;------------2级步兵----------------
recruit "ShanZei ALL" 1 requires factions { berbers, slave, }
recruit "huangjinzei all" 1 requires factions { slave, berbers, }
recruit "YuLin GongShou" 1 requires factions { alemanni, burgundii, celts, franks, lombardi, saxons, sassanids, goths, ostrogoths, sarmatians, vandals, slavs, empire_east, empire_east_rebels, empire_west, empire_west_rebels, roxolani, romano_british, }
}
這個是一級步兵營.你可以复制recruit "ShanZei ALL" 1 requires factions { berbers, slave, }添加到下一行
把它改成:
recruit "ShanZei ALL" 1 requires factions { berbers, slave, }
recruit "yuweibin liyu" 1 requires factions { ostrogoths, } RECRUIT 後面是兵種內名,FACTIONS 後面是招募派系
recruit "huangjinzei all" 1 requires factions { slave, berbers, }
recruit "YuLin GongShou" 1 requires factions { alemanni, burgundii, celts, franks, lombardi, saxons, sassanids, goths, ostrogoths, sarmatians, vandals, slavs, empire_east, empire_east_rebels, empire_west, empire_west_rebels, roxolani, romano_british, }
這樣重進遊戲看看吧,如無意外,應該是OK了 以上是转simongio兄的,我比较懒就不细说了 |
|