中世纪2mod
首先得把你想要的兵种的资料.在MODS/DATA/unit_models下的battle_models.modeldb内的资料复制下来..(用记事本打开这个) 粘贴到原版DATA/unit_models下的battle_models.modeldb内.注意格式.这个是最重要的.
我给你举个列子.把条顿里的步行条顿精英加到原版的神罗.把battle_models.modeldb内步行条顿精英的资料.23 dismounted_ritterbruder 1 4 64 unit_models/_Units/CM_Standard/dismounted_ritterbruder_lod0.mesh 121 64 unit_models/_Units/CM_Standard/dismounted_ritterbruder_lod1.mesh 900 64 unit_models/_Units/CM_Standard/dismounted_ritterbruder_lod2.mesh 2500 64 unit_models/_Units/CM_Standard/dismounted_ritterbruder_lod3.mesh 6400 1 14 teutonic_order 74 unit_models/_Units/CM_Standard/textures/CM_Standard_teutonic_order.texture 66 unit_models/_Units/CM_Standard/textures/CM_Standard_normal.texture 62 unit_sprites/teutonic_order_Dismounted_Ritterbruder_sprite.spr 1 14 teutonic_order 75 unit_models/AttachmentSets/Final Teutonic Heads_teutonic_order_diff.texture 75 unit_models/AttachmentSets/Final Teutonic Heads_teutonic_order_norm.texture 0 1 4 None 14 MTW2_Swordsman 0 2 18 MTW2_Sword_Primary 14 fs_test_shield 0 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002 27 dismounted_ritterbruder_ug1 1 4 68 unit_models/_Units/CM_Standard/dismounted_ritterbruder_ug1_lod0.mesh 121 68 unit_models/_Units/CM_Standard/dismounted_ritterbruder_ug1_lod1.mesh 900 68 unit_models/_Units/CM_Standard/dismounted_ritterbruder_ug1_lod2.mesh 2500 68 unit_models/_Units/CM_Standard/dismounted_ritterbruder_ug1_lod3.mesh 6400 1 14 teutonic_order 71 unit_models/_Units/CM_Standard/textures/CM_Plate_teutonic_order.texture 63 unit_models/_Units/CM_Standard/textures/CM_Plate_normal.texture 66 unit_sprites/teutonic_order_Dismounted_Ritterbruder_ug1_sprite.spr 1 14 teutonic_order 75 unit_models/AttachmentSets/Final Teutonic Heads_teutonic_order_diff.texture 75 unit_models/AttachmentSets/Final Teutonic Heads_teutonic_order_norm.texture 0 1 4 None 14 MTW2_Swordsman 0 2 18 MTW2_Sword_Primary 14 fs_test_shield 0 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002 结尾都是这个数字.很好区分.复制到原版同样的文件下.在把原版battle_models.modeldb里第一行的.701改为702.因为701的意思是这里只有701个兵模.你多出一个就要改为702.
再去mods/teutonic/data里相应文件夹把每个路径指出的文件全部复制
unit_models/_Units/CM_Standard/dismounted_ritterbruder_lod0.mesh
unit_models/_Units/CM_Standard/dismounted_ritterbruder_lod1.mesh
unit_models/_Units/CM_Standard/dismounted_ritterbruder_lod2.mesh
unit_models/_Units/CM_Standard/dismounted_ritterbruder_lod3.mesh
unit_models/_Units/CM_Standard/textures/CM_Standard_teutonic_order.texture
unit_models/_Units/CM_Standard/textures/CM_Standard_normal.texture
unit_sprites/teutonic_order_Dismounted_Ritterbruder_sprite.spr
unit_models/AttachmentSets/Final Teutonic Heads_teutonic_order_diff.texture
unit_models/AttachmentSets/Final Teutonic Heads_teutonic_order_norm.texture
unit_models/_Units/CM_Standard/dismounted_ritterbruder_ug1_lod0.mesh
unit_models/_Units/CM_Standard/dismounted_ritterbruder_ug1_lod1.mesh
unit_models/_Units/CM_Standard/dismounted_ritterbruder_ug1_lod2.mesh
unit_models/_Units/CM_Standard/dismounted_ritterbruder_ug1_lod3.mesh
unit_models/_Units/CM_Standard/textures/CM_Plate_teutonic_order.texture
unit_models/_Units/CM_Standard/textures/CM_Plate_normal.texture
unit_sprites/teutonic_order_Dismounted_Ritterbruder_ug1_sprite.spr
unit_models/AttachmentSets/Final Teutonic Heads_teutonic_order_diff.texture
unit_models/AttachmentSets/Final Teutonic Heads_teutonic_order_norm.texture(就是前面步行条顿出现过的资料文件)
刚刚复制的就粘贴到原版data相应的文件夹下面,这里注意是:原版里没有的文件夹就新建个,文件名一样就行.(这是皮肤文件)
到这里进游戏.如果能进去就好了.
再去mods/teutonic/data/export_descr_unit文件里,找到Dismounted Ritterbruder 步行精英条顿骑士,把整段兵种属性描述复制在粘贴到原版的data/export_descr_unit里,
八,去mods/teutonic/data/UI/unit_info和units里teutonic_order文件下的大,小两个兵牌复制下来粘贴到原版的UI相应文件夹里.
九,去原版的data/export_descr_buildings文件里,找到兵营建筑,在下面添加
recruit_pool "Dismounted Ritterbruder" 1 0.4 3 0 requires factions { hre, }
看着这个去学刚开始会摸不着头脑.多学几遍就知道怎么改了. 制造MOD也是通过这个.