游民星空 > 攻略秘籍 > 攻略 > 正文

中世纪2:修改文件方法汇总

2007-07-14 00:04:03 来源:本站原创 作者:佚名 编辑:dsgames568 我要投稿

 

B、调整相应的兵数据.
接下来要对兵文件和建筑文件做相应的修改才能让新兵在英国出现,引用原版的兵数据为例
打开data下的export_descr_unit文件查找venetian archers原版数据如下
type Venetian Archers
dictionary Venetian_Archers ; Venetian Archers
category infantry
class missile
voice_type Light
banner faction main_missile
banner holy crusade
soldier Venetian_Archers, 48, 0, 1
attributes sea_faring, hide_forest, can_withdraw
formation 1.2, 1.2, 2.4, 2.4, 4, square
stat_health 1, 0
stat_pri 9, 2, arrow, 160, 30, missile, missile_mechanical, piercing, none, 25, 1
;stat_pri_ex 0, 0, 0
stat_pri_attr no
stat_sec 11, 2, no, 0, 0, melee, melee_blade, piercing, sword, 25, 1
;stat_sec_ex 0, 0, 0
stat_sec_attr no
stat_pri_armour 7, 6, 0, metal
;stat_armour_ex 7, 8, 0, 0, 6, 0, 0, metal
stat_sec_armour 0, 0, flesh
stat_heat 3
stat_ground 1, 0, 2, 0
stat_mental 5, normal, trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 610, 150, 75, 55, 610, 4, 150
armour_ug_levels 3, 4
armour_ug_models Venetian_Archers, Venetian_Archers_ug1
ownership venice
era 1 venice
era 2 venice
;unit_info 11, 9, 13
以上是步兵形态的数据,我们把它修改成骑兵形态并更换国籍后如下
type Venetian Archers
dictionary Venetian_Archers ; Venetian Archers
category cavalry(修改步兵类为骑兵类) 
class missile
voice_type Light
banner faction main_cavalry(修改弓箭兵旗帜为骑兵旗帜) 
banner holy crusade_cavalry(道理同上) 
soldier Mounted_Longbowmen, 48, 0, 1(套用英国长弓骑兵骨架,只要是弓骑都行)
mount armoured horse(在这我选用了西欧铁甲马,马类可以任意选) 
mount_effect elephant -4, camel -4(骑兵对其它兵的加成参数) 
attributes sea_faring, hide_forest, can_withdraw
formation 1.2, 1.2, 2.4, 2.4, 4, square
stat_health 1, 0
stat_pri 9, 2, arrow, 160, 30, missile, missile_mechanical, piercing, none, 25, 1
;stat_pri_ex 0, 0, 0
stat_pri_attr no
stat_sec 11, 2, no, 0, 0, melee, melee_blade, piercing, sword, 25, 1
;stat_sec_ex 0, 0, 0
stat_sec_attr no
stat_pri_armour 7, 6, 0, metal
;stat_armour_ex 7, 8, 0, 0, 6, 0, 0, metal
stat_sec_armour 0, 0, flesh
stat_heat 3
stat_ground 1, 0, 2, 0
stat_mental 5, normal, trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 610, 150, 75, 55, 610, 4, 150
armour_ug_levels 3, 4
armour_ug_models Venetian_Archers, Venetian_Archers_ug1
ownership england(英国国籍) 
era 1 england(英国国籍) 
era 2 england(英国国籍) 
;unit_info 11, 9, 13
红字部分是将原来的威尼斯弓箭手修改成骑射手,蓝字部分修是修改国籍;紫色字部分是提醒你它的升级皮肤还没做修改,方法同上(不过要补充下,原版“有些兵”的升级变身顺序是错误的,例如这个威尼斯弓箭手还有英国长弓骑兵都是,所以紫色字部分完全可以删掉),通常,我只选用一个最漂亮的皮肤做修改,其它的从这兵文件去掉,虽然不能升级变身,但是修改方便许多,不用将battle_models文件里的升级皮肤一个个修改了。另外,关于套用骨架一定要根据你修改的兵手持武器类型选相应的套用,比如修改火枪骑射部队可以选神罗的龙骑兵或摩尔的骆驼骑射兵骨架,近战步兵修改随便选种只拿剑的近战骑兵骨架就可以了。

 

更多相关内容请关注:中世纪2:全面战争专区

上一页 31 32 33 34 35 36 37 38 39 40 41 下一页
友情提示:支持键盘左右键“← →”翻页
标签:攻略
游民星空APP
随手浏览游戏攻略
code
常见问题
?
我要提问
    没有任何记录
    没有任何记录
    没有任何记录
单机游戏下载
休闲娱乐
综合热点资讯
游民星空联运游戏