编辑:admin 时间:2012-02-27 15:08:38 来源:魂狼
游侠会员:kucat80<原创>
第一步,打开data目录下的descr_mount.txt文件。在
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; horses
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
后找以下脚本
type barded horse
class horse
model Mount_Barded_Horse
radius 1.8
x_radius 0.8
y_offset 0.7
height 2.5
mass 6
banner_height 0
bouyancy_offset 1.8
water_trail_effect horse_water_trail
root_node_height 1.0
;rider_offset 0.0, 0.45, 0.35
rider_offset 0.0, 0.38, 0.70
这是对游戏中欧洲封建骑士骑的那种马的描述,我们复制一遍后做以下修改,
type hospitaller horse(新的马的名称,兵种文件中用到)
class horse
model Mount_Hos_Horse(马所用的模型类别,对应之后我们要在battle_models.modeldb中新建的模型类别)
radius 1.8
x_radius 0.8
y_offset 0.7
height 2.5
mass 6
banner_height 0
bouyancy_offset 1.8
water_trail_effect horse_water_trail
root_node_height 1.0
;rider_offset 0.0, 0.45, 0.35
rider_offset 0.0, 0.38, 0.70
保存后关闭,这个文件就算完工了。
第二步,用记事本打开data/unit_models目录下的battle_models.modeldb文件(也可以用其他文本编辑器),找到以下内容
18 mount_barded_horse 1.12 3 60 unit_models/Mounts/Barded_Horse/mount_barded_horse_lod0.mesh 121 60
unit_models/Mounts/Barded_Horse/mount_barded_horse_lod1.mesh 1225 60
unit_models/Mounts/Barded_Horse/mount_barded_horse_lod2.mesh 10000 18 7 england 70
unit_models/Mounts/Barded_Horse/textures/horse_barding_england.texture 69
unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 50 unit_sprites/england_Mount_Barded_Horse_sprite.spr 8
scotland 71 unit_models/Mounts/Barded_Horse/textures/horse_barding_scotland.texture 69
unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 51 unit_sprites/scotland_Mount_Barded_Horse_sprite.spr
6 france 69 unit_models/Mounts/Barded_Horse/textures/horse_barding_france.texture 69
unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 49 unit_sprites/france_Mount_Barded_Horse_sprite.spr 3
hre 66 unit_models/Mounts/Barded_Horse/textures/horse_barding_hre.texture 69
unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 46 unit_sprites/hre_Mount_Barded_Horse_sprite.spr 7
denmark 70 unit_models/Mounts/Barded_Horse/textures/horse_barding_denmark.texture 69
unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 50 unit_sprites/denmark_Mount_Barded_Horse_sprite.spr 5
spain 68 unit_models/Mounts/Barded_Horse/textures/horse_barding_spain.texture 69
unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 48 unit_sprites/spain_Mount_Barded_Horse_sprite.spr 8
portugal 71 unit_models/Mounts/Barded_Horse/textures/horse_barding_portugal.texture 69
unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 51 unit_sprites/portugal_Mount_Barded_Horse_sprite.spr
5 milan 68 unit_models/Mounts/Barded_Horse/textures/horse_barding_milan.texture 69
unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 48 unit_sprites/milan_Mount_Barded_Horse_sprite.spr 6
venice 69 unit_models/Mounts/Barded_Horse/textures/horse_barding_venice.texture 69
unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 49 unit_sprites/venice_Mount_Barded_Horse_sprite.spr 12
papal_states 75 unit_models/Mounts/Barded_Horse/textures/horse_barding_papal_states.texture 69
unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 55
unit_sprites/papal_states_Mount_Barded_Horse_sprite.spr 6 sicily 69
unit_models/Mounts/Barded_Horse/textures/horse_barding_sicily.texture 69
unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 49 unit_sprites/sicily_Mount_Barded_Horse_sprite.spr 6
poland 69 unit_models/Mounts/Barded_Horse/textures/horse_barding_poland.texture 69
unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 49 unit_sprites/poland_Mount_Barded_Horse_sprite.spr 6
russia 69 unit_models/Mounts/Barded_Horse/textures/horse_barding_russia.texture 69
unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 49 unit_sprites/russia_Mount_Barded_Horse_sprite.spr 7
hungary 70 unit_models/Mounts/Barded_Horse/textures/horse_barding_hungary.texture 69
unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 50 unit_sprites/hungary_Mount_Barded_Horse_sprite.spr 5
slave 69 unit_models/Mounts/Barded_Horse/textures/horse_barding_rebels.texture 69
unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 48 unit_sprites/slave_Mount_Barded_Horse_sprite.spr 4
merc 68 unit_models/Mounts/Barded_Horse/textures/horse_barding_mercs.texture 69
unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 47 unit_sprites/merc_Mount_Barded_Horse_sprite.spr 7
normans 70 unit_models/Mounts/Barded_Horse/textures/horse_barding_england.texture 69
unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 50 unit_sprites/normans_Mount_Barded_Horse_sprite.spr 6
saxons 66 unit_models/Mounts/Barded_Horse/textures/horse_barding_hre.texture 69
unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 49 unit_sprites/saxons_Mount_Barded_Horse_sprite.spr 0
1 5 Horse 14 fs_heavy_horse 0 0 0 -1 0 0 0 0 0 0
隔一个空格之后复制一遍,改成以下内容
15 mount_hos_horse 1.12 3 60 unit_models/Mounts/Barded_Horse/mount_barded_horse_lod0.mesh 121 60 unit_models/Mounts/Barded_Horse/mount_barded_horse_lod1.mesh 1225 60 unit_models/Mounts/Barded_Horse/mount_barded_horse_lod2.mesh 10000 18 7 england 66 unit_models/Mounts/Barded_Horse/textures/horse_barding_hop.texture 69 unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 50 unit_sprites/england_Mount_Barded_Horse_sprite.spr 8 scotland 66 unit_models/Mounts/Barded_Horse/textures/horse_barding_hop.texture 69 unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 51 unit_sprites/scotland_Mount_Barded_Horse_sprite.spr 6 france 66 unit_models/Mounts/Barded_Horse/textures/horse_barding_hop.texture 69 unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 49 unit_sprites/france_Mount_Barded_Horse_sprite.spr 3 hre 66 unit_models/Mounts/Barded_Horse/textures/horse_barding_hop.texture 69 unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 46 unit_sprites/hre_Mount_Barded_Horse_sprite.spr 7 denmark 66 unit_models/Mounts/Barded_Horse/textures/horse_barding_hop.texture 69 unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 50 unit_sprites/denmark_Mount_Barded_Horse_sprite.spr 5 spain 66 unit_models/Mounts/Barded_Horse/textures/horse_barding_hop.texture 69 unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 48 unit_sprites/spain_Mount_Barded_Horse_sprite.spr 8 portugal 66 unit_models/Mounts/Barded_Horse/textures/horse_barding_hop.texture 69 unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 51 unit_sprites/portugal_Mount_Barded_Horse_sprite.spr 5 milan 66 unit_models/Mounts/Barded_Horse/textures/horse_barding_hop.texture 69 unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 48 unit_sprites/milan_Mount_Barded_Horse_sprite.spr 6 venice 66 unit_models/Mounts/Barded_Horse/textures/horse_barding_hop.texture 69 unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 49 unit_sprites/venice_Mount_Barded_Horse_sprite.spr 12 papal_states 66 unit_models/Mounts/Barded_Horse/textures/horse_barding_hop.texture 69 unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 55 unit_sprites/papal_states_Mount_Barded_Horse_sprite.spr 6 sicily 66 unit_models/Mounts/Barded_Horse/textures/horse_barding_hop.texture 69 unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 49 unit_sprites/sicily_Mount_Barded_Horse_sprite.spr 6 poland 66 unit_models/Mounts/Barded_Horse/textures/horse_barding_hop.texture 69 unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 49 unit_sprites/poland_Mount_Barded_Horse_sprite.spr 6 russia 66 unit_models/Mounts/Barded_Horse/textures/horse_barding_hop.texture 69 unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 49 unit_sprites/russia_Mount_Barded_Horse_sprite.spr 7 hungary 66 unit_models/Mounts/Barded_Horse/textures/horse_barding_hop.texture 69 unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 50 unit_sprites/hungary_Mount_Barded_Horse_sprite.spr 5 slave 66 unit_models/Mounts/Barded_Horse/textures/horse_barding_hop.texture 69 unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 48 unit_sprites/slave_Mount_Barded_Horse_sprite.spr 4 merc 66 unit_models/Mounts/Barded_Horse/textures/horse_barding_hop.texture 69 unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 47 unit_sprites/merc_Mount_Barded_Horse_sprite.spr 7 normans 66 unit_models/Mounts/Barded_Horse/textures/horse_barding_hop.texture 69 unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 50 unit_sprites/normans_Mount_Barded_Horse_sprite.spr 6 saxons 66 unit_models/Mounts/Barded_Horse/textures/horse_barding_hop.texture 69 unit_models/Mounts/Barded_Horse/textures/horse_barding_normal.texture 49 unit_sprites/saxons_Mount_Barded_Horse_sprite.spr 0 1 5 Horse 14 fs_heavy_horse 0 0 0 -1 0 0 0 0 0 0
其中的66 unit_models/Mounts/Barded_Horse/textures/horse_barding_hop.texture就是我们一会要新建的贴图文件名,66代表之后内容有多少个字符。保存后退出。
第三步,我们要改贴图了。解压出dataunit_modelsmountsbarded_horsetextureshorse_barding_hre.texture文件,当然其他国家的也可以,复制一份,重命名成horse_barding_hop.texture。接下来用论坛一位前辈制作的转换工具TextureConvertor将horse_barding_hop.texture文件转换成horse_barding_hop.dds文件,就可以用ps加载插件之后打开编辑了。编辑完成之后,再将horse_barding_hop.dds转换回horse_barding_hop.texture即可。
第三步,在medieval2.preference.cfg里加上
[io]
file_first = true
再把文件改回只读即可,添加新的马匹大功告成。改兵种贴图的也是大致如此。
最后,我们修改data文件夹下的export_descr_unit.txt,让我们的医院骑士骑上新的马,找到Knights Hospitaller,把mount后面改成我们新建的hospitaller horse即可,完工。
集美来了最新版是一款好玩的恋爱养成手机游戏,玩家可以在游戏中体验二次元养成装扮,在集美来了最新版中给角色进行打扮,成为别人眼里的美女,玩家需要培养角色更多的
辐射2完美移植版是一款好玩的角色扮演类手机游戏,辐射2完美移植版可以重温这款游戏的魅力,并且对手机上的操作进行了优化,让你可以更加方便的用触屏来控制光标。游戏
不知道火影忍者有什么好玩的游戏吗?那么你可以来试试忍者训练师破解版,这个游戏非常的有趣,还可以体验到刺激的战斗玩法哦。忍者训练师破解版是一个火影忍者题材的含糊版游戏,通过不同的能力和等级产生影
瑞克和莫蒂回家之路免费版是一款好玩的角色扮演类手机游戏,玩家在这里扮演的莫蒂,可以遇到动画作品中出现过的许多角色,并且可以和瑞克进行一段神奇的冒险之旅。作为
奔跑吧兄弟5跑男小镇破解版是一款好玩的休闲益智类手机游戏,根据奔跑吧兄弟改编,玩家可以在跑男小镇进行奔跑,玩家还可以在游戏中进行撕名牌,玩家可以在游戏中提升人