汉殇小兵 发表于 2014-9-12 11:20:26

1.03如何添加特有兵种给二流势力

!!!求知识求指导最好能给个参照!!!新手小白 啥也不懂 就像把游戏玩得爽 !
求达人们 弄一个教学流程给我吧比如把逍遥津添加给陶谦 孔融之流 !!!这里先拜谢!

闯红灯的仙人 发表于 2014-9-12 12:10:56

路过看看。

永樂壹條鞭 发表于 2014-9-12 17:08:04

不是有教程吗?

汉殇小兵 发表于 2014-9-13 11:59:28

我去网上找过了 !照流程修改后不行的 游戏进不去 那不是1.03的版本修改!

汉殇小兵 发表于 2014-9-13 11:59:59

不要只路过看看a求教学!:Q:Q

海底浪花 发表于 2014-9-13 13:04:57

1 。 修改模型。
2。 修改所属势力。
3。修改获得方式。
4。修改兵牌。
大功告成,

bxi99901 发表于 2014-9-13 13:26:36



以前的修改教程,虽然版本不同,但应该只是对应势力的代码有变换。

比如我记得有个教公孙的白马 移到曹操的。那个出教程的时候大概是1.02的版本

现在是 1.03。

只是1.02的公孙的代码是norway 1.03换成了saxons而已




汉殇小兵 发表于 2014-9-13 13:33:53

那行吧 我待会再去试试
:o

汉殇小兵 发表于 2014-9-13 17:56:25

谁帮我看看 我哪里错了 游戏进不去!!!!!!!!
这个是兵模吧!!

11 baimayicong
1 1
40 unit_models/sanguo/baimayicong_lod0.mesh 6400
3
6 saxons
47 unit_models/sanguo/textures/baimayicong.texture
51 unit_models/sanguo/textures/baimayicong_nor.texture
42 unit_sprites/norway_baimayicong_sprite.spr
6 aragon
47 unit_models/sanguo/textures/baimayicong.texture
51 unit_models/sanguo/textures/baimayicong_nor.texture
42 unit_sprites/norway_baimayicong_sprite.spr
8 scotland
47 unit_models/sanguo/textures/baimayicong.texture
51 unit_models/sanguo/textures/baimayicong_nor.texture
42 unit_sprites/norway_baimayicong_sprite.spr
6 saxons
47 unit_models/sanguo/textures/baimayicong.texture
51 unit_models/sanguo/textures/baimayicong_nor.texture 0
6 aragon
47 unit_models/sanguo/textures/baimayicong.texture
51 unit_models/sanguo/textures/baimayicong_nor.texture 0
8 scotland
47 unit_models/sanguo/textures/baimayicong.texture
51 unit_models/sanguo/textures/baimayicong_nor.texture 0

汉殇小兵 发表于 2014-9-13 17:57:33

不会发图 见谅啊
building equestrian
{
levels stables knights_stables barons_stables earls_stables kings_stables
{
    stables requires factions { middle_eastern, egypt, cumans, mongols, }
    {
      capability
      {
      recruit_pool "yijunqibing"1   0.25   30requires factions { england, france, hre, spain, hungary, denmark, poland, venice, milan, sicily, scotland, byzantium, russia,portugal, turks,papal_states, aragon, saxons, novgorod, } and event_counter taofadongzhuo 1
      recruit_pool "Mongol Horse Archers"1   0.50   40requires factions { mongols, }
      recruit_pool "Mongol Light Lancers"1   0.50   40requires factions { mongols, }
      recruit_pool "gongqi" 5 5 5 5 requires factions { scotland, }
      recruits_morale_bonus bonus 1requires factions { denmark, novgorod, }
      cavalry_bonus 1requires factions { denmark, novgorod, aragon, saxons, }
      heavy_cavalry_bonus bonus 1requires factions { denmark, novgorod, }

      }
      material wooden
      construction2
      cost1000
      settlement_min town
      upgrades
      {
      knights_stables
      }
    }
    knights_stables requires factions { middle_eastern, egypt, cumans, mongols, }
    {
      capability
      {
      recruit_pool "yijunqibing"1   0.25   41requires factions { england, france, hre, spain, hungary, denmark, poland, venice, milan, sicily, scotland, byzantium, russia,portugal, turks,papal_states, aragon, saxons, novgorod, } and event_counter taofadongzhuo 1
      recruit_pool "ZYqibing"1   0.25   30requires factions { france, hungary, scotland, turks, poland, }
      recruit_pool "BSqibing"1   0.25   30requires factions { spain, milan, byzantium, }
      recruit_pool "JDqibing"1   0.25   30requires factions { england, sicily, }
      recruit_pool "HBqibing"1   0.25   30requires factions { hre, russia, aragon,saxons, }
      recruit_pool "XLqibing"1   0.25   30requires factions { denmark, novgorod, normans, }
      recruit_pool "JZqibing"1   0.25   30requires factions { venice, portugal, }
      recruit_pool "Mongol Horse Archers"1   0.50   41requires factions { mongols, }
      recruit_pool "Mongol Light Lancers"1   0.50   41requires factions { mongols, }
      recruit_pool "Mongol Heavy Archers"1   0.5   40requires factions { mongols, }
      recruit_pool "Mongol Heavy Lancers"1   0.5   40requires factions { mongols, }
      recruit_pool "SYzhongqibing"1   0.25   30requires factions { cumans, }
      recruit_pool "Nanmanqibin"1   0.25   40requires factions { egypt, }
      recruit_pool "Manzunvbing"1   0.25   40requires factions { egypt, }
      recruit_pool "YuLin_Qi"1   0.50   40requires factions { papal_states, }
      recruit_pool "Hubaoji"1   0.125   0.500requires factions { france, }
      recruit_pool "tujiang"1   0.1250.500requires factions { spain, }
      recruit_pool "Jieyingqi"1   0.125   0.500requires factions { england, }
      recruit_pool "Xuangeqibin"1   0.125   0.500requires factions { hungary, }
      recruit_pool "Yanyuntieqi"1   0.125   0.500requires factions { saxons, aragon, }
      recruit_pool "feixiongjun"1   0.125   0.500requires factions { normans, }
      recruit_pool "Baimayicong"1   0.125   0.500requires factions { saxons, }
      recruit_pool "xiliangtieqi"1   0.125   0.500requires factions { denmark, novgorod, }
      recruit_pool "yueqiying"1   0.25   20requires factions { papal_states, }
      recruit_pool "hanqibing"1   0.25   20requires factions { papal_states, }
      recruit_pool "xiliangtuqibing"1   0.125   0.700requires factions { denmark, novgorod, }
      recruit_pool "hanqibing"1   0.25   0.990requires factions { england, france, hre, spain, hungary, denmark, poland, venice, milan, sicily, scotland, byzantium, russia,portugal, turks,aragon, saxons, novgorod, normans,} and region_religion catholic 70
      recruit_pool "gongqi" 5 5 5 5 requires factions { scotland, }
      recruits_morale_bonus bonus 1requires factions { denmark, novgorod, }
      cavalry_bonus 1requires factions { denmark, novgorod, aragon, saxons, }
      heavy_cavalry_bonus bonus 1requires factions { denmark, novgorod, }


      }
      material wooden
      construction4
      cost2000
      settlement_min large_town
      upgrades
      {
      barons_stables
      }
    }
    barons_stables requires factions { middle_eastern, egypt, cumans, mongols, }
    {
      capability
      {
      recruit_pool "yijunqibing"1   0.25   51requires factions { england, france, hre, spain, hungary, denmark, poland, venice, milan, sicily, scotland, byzantium, russia,portugal, turks,papal_states, aragon, saxons, novgorod, } and event_counter taofadongzhuo 1
      recruit_pool "ZYqibing"1   0.25   41requires factions { france, hungary, scotland, turks, poland, }
      recruit_pool "BSqibing"1   0.25   41requires factions { spain, milan, byzantium, }
      recruit_pool "JDqibing"1   0.25   41requires factions { england, sicily, }
      recruit_pool "HBqibing"1   0.25   41requires factions { hre, russia, aragon, saxons, }
      recruit_pool "XLqibing"1   0.25   41requires factions { denmark, novgorod, normans, }
      recruit_pool "JZqibing"1   0.25   41requires factions { venice, portugal, }
      recruit_pool "ZYzhongqibing"1   0.25   20requires factions { france, hungary, scotland, turks, poland, }
      recruit_pool "BSzhongqibing"1   0.25   20requires factions { spain, milan, byzantium, }
      recruit_pool "JDzhongqibing"1   0.25   20requires factions { england, sicily, }
      recruit_pool "HBzhongqibing"1   0.25   20requires factions { hre, russia, aragon,saxons, }
      recruit_pool "XLzhongqibing"1   0.25   20requires factions { denmark, normans, novgorod,}
      recruit_pool "Baimasheshou"1   0.125   30requires factions { saxons, aragon, }
      recruit_pool "JZzhongqibing"1   0.25   20requires factions { venice, portugal, }
      recruit_pool "Mongol Horse Archers"1   0.50   42requires factions { mongols, }
      recruit_pool "Mongol Light Lancers"1   0.50   42requires factions { mongols, }
      recruit_pool "Mongol Heavy Archers"1   0.5   41requires factions { mongols, }
      recruit_pool "Mongol Heavy Lancers"1   0.5   41requires factions { mongols, }
      recruit_pool "SYzhongqibing"1   0.50   41requires factions { cumans, }
      recruit_pool "Nanmanqibin"1   0.50   41requires factions { egypt, }
      recruit_pool "Manzunvbing"1   0.50   41requires factions { egypt, }
      recruit_pool "Nanzhongzhanxiang"1   0.25   20requires factions { egypt, }
      recruit_pool "YuLin_Qi"1   0.50   41requires factions { papal_states, }
      recruit_pool "yuweiqibing"1   0.50   40requires factions { papal_states, }
      recruit_pool "yuweiqibing"1   0.125   20requires factions { spain, }and event_counter shujianguo 1   
      recruit_pool "yuweiqibing"1   0.125   20requires factions { france, }and event_counter weijianguo 1   
      recruit_pool "yuweiqibing"1   0.125   20requires factions { england, }and event_counter wujianguo 1
      recruit_pool "yuweiqibing"1   0.125   20requires factions { poland, }and event_counter yuanshuchengdi 1
      recruit_pool "yuweiqibing"1   0.125   20requires factions { middle_eastern, }and event_counter chengdi 1
      recruit_pool "Hubaoji"1   0.25   0.700requires factions { france, }
      recruit_pool "tujiang"1   0.25   0.700requires factions { spain, }
      recruit_pool "Jieyingqi"1   0.25   0.700requires factions { england, }
      recruit_pool "Xuangeqibin"1   0.25   0.700requires factions { hungary, }
      recruit_pool "Yanyuntieqi"1   0.25   0.700requires factions { saxons, aragon, }
      recruit_pool "feixiongjun"1   0.25   0.700requires factions { normans, }
      recruit_pool "Baimayicong"1   0.25   0.700requires factions { saxons, }
      recruit_pool "xiliangtieqi"1   0.25   0.700requires factions { denmark, novgorod, }
      recruit_pool "xiliangtuqibing"1   0.25   20requires factions { denmark, novgorod, }and hidden_resource xiyu
      recruit_pool "yueqiying"1   0.50   41requires factions { papal_states, }
      recruit_pool "hanqibing"1   0.50   41requires factions { papal_states, }
      recruit_pool "xuanjiaqibing"1   0.25   0.990requires factions { hre, poland, }
      recruit_pool "xiliangtuqibing"1   0.25   0.990requires factions { denmark, novgorod, }
      recruit_pool "yueqiying"1   0.25   0.990requires factions { england, france, hre, spain, hungary, denmark, poland, venice, milan, sicily, scotland, byzantium, russia,portugal, turks,aragon, saxons, novgorod, normans,} and region_religion catholic 70
      recruit_pool "hanqibing"1   0.25   0.990requires factions { england, france, hre, spain, hungary, denmark, poland, venice, milan, sicily, scotland, byzantium, russia,portugal, turks,aragon, saxons, novgorod, normans,} and region_religion catholic 70
      recruit_pool "gongqi" 5 5 5 5 requires factions { scotland, }
      recruits_morale_bonus bonus 1requires factions { denmark, novgorod, }
      cavalry_bonus 1requires factions { denmark, novgorod, aragon, saxons, }
      heavy_cavalry_bonus bonus 1requires factions { denmark, novgorod, }

      }
      material wooden
      construction6
      cost4000
      settlement_min city
      upgrades
      {
      earls_stables
      }
    }
    earls_stables requires factions { middle_eastern, egypt, cumans, mongols, }
    {
      capability
      {
      recruit_pool "yijunqibing"1   0.50   62requires factions { england, france, hre, spain, hungary, denmark, poland, venice, milan, sicily, scotland, byzantium, russia,portugal, turks,papal_states, aragon, saxons, novgorod, } and event_counter taofadongzhuo 1
      recruit_pool "BSqibing"1   0.50   62requires factions { spain, milan, byzantium, }
      recruit_pool "JDqibing"1   0.50   62requires factions { england, sicily, }
      recruit_pool "HBqibing"1   0.50   62requires factions { hre, russia, aragon,saxons, }
      recruit_pool "XLqibing"1   0.50   62requires factions { denmark, novgorod, normans, }
      recruit_pool "JZqibing"1   0.50   62requires factions { venice, portugal, }
      recruit_pool "ZYqibing"1   0.50   62requires factions { france, hungary, scotland, turks, poland, }
      recruit_pool "ZYzhongqibing"1   0.50   41requires factions { france, hungary, scotland, turks, poland, }
      recruit_pool "BSzhongqibing"1   0.50   41requires factions { spain, milan, byzantium, }
      recruit_pool "JDzhongqibing"1   0.50   41requires factions { england, sicily, }
      recruit_pool "HBzhongqibing"1   0.50   41requires factions { hre, russia, aragon, saxons, }
      recruit_pool "XLzhongqibing"1   0.50   41requires factions { denmark, normans, novgorod,}
      recruit_pool "JZzhongqibing"1   0.50   41requires factions { venice, portugal, }
      recruit_pool "Hubaoji"1   0.50   0.991requires factions { france, }
      recruit_pool "tujiang"1   0.50   0.991requires factions { spain, }
      recruit_pool "Jieyingqi"1   0.50   0.991requires factions { england, }
      recruit_pool "Xuangeqibin"1   0.50   0.991requires factions { hungary, }
      recruit_pool "Yanyuntieqi"1   0.50   0.991requires factions { saxons, aragon, }
      recruit_pool "feixiongjun"1   0.50   0.991requires factions { normans, }
      recruit_pool "Baimayicong"1   0.50   0.991requires factions { saxons, }
      recruit_pool "xiliangtieqi"1   0.50   0.991requires factions { denmark, novgorod, }
      recruit_pool "Baimasheshou"1   0.50   41requires factions { saxons, aragon, }
      recruit_pool "Mongol Horse Archers"1   0.50   43requires factions { mongols, }
      recruit_pool "Mongol Light Lancers"1   0.50   43requires factions { mongols, }
      recruit_pool "Mongol Heavy Archers"1   0.5   42requires factions { mongols, }
      recruit_pool "Mongol Heavy Lancers"1   0.5   42requires factions { mongols, }
      recruit_pool "SYzhongqibing"1   0.50   42requires factions { cumans, }
      recruit_pool "Nanmanqibin"1   0.50   42requires factions { egypt, }
      recruit_pool "Manzunvbing"1   0.50   42requires factions { egypt, }
      recruit_pool "Nanzhongzhanxiang"1   0.50   41requires factions { egypt, }
      recruit_pool "YuLin_Qi"1   0.50   42requires factions { papal_states, }
      recruit_pool "yuweiqibing"1   0.50   41requires factions { papal_states, }
      recruit_pool "yuweiqibing"1   0.25   40requires factions { spain, }and event_counter shujianguo 1   
      recruit_pool "yuweiqibing"1   0.25   40requires factions { france, }and event_counter weijianguo 1   
      recruit_pool "yuweiqibing"1   0.25   40requires factions { england, }and event_counter wujianguo 1   
      recruit_pool "yuweiqibing"1   0.25   40requires factions { poland, }and event_counter yuanshuchengdi 1
      recruit_pool "yuweiqibing"1   0.25   20requires factions { middle_eastern, }and event_counter chengdi 1
      recruit_pool "xiliangtuqibing"1   0.50   21requires factions { denmark, novgorod, }and hidden_resource xiyu
      recruit_pool "yueqiying"1   0.50   42requires factions { papal_states, }
      recruit_pool "hanqibing"1   0.50   42requires factions { papal_states, }
      recruit_pool "xuanjiaqibing"1   0.25   20requires factions { hre, poland, }
      recruit_pool "xiliangtuqibing"1   0.25   0.991requires factions { denmark, novgorod, }
      recruit_pool "yueqiying"1   0.25   0.991requires factions { england, france, hre, spain, hungary, denmark, poland, venice, milan, sicily, scotland, byzantium, russia,portugal, turks,aragon, saxons, novgorod, normans, } and region_religion catholic 70
      recruit_pool "hanqibing"1   0.25   0.991requires factions { england, france, hre, spain, hungary, denmark, poland, venice, milan, sicily, scotland, byzantium, russia,portugal, turks,aragon, saxons, novgorod, normans, } and region_religion catholic 70
      recruit_pool "gongqi" 5 5 5 5 requires factions { scotland, }
      recruits_morale_bonus bonus 1requires factions { denmark, novgorod, }
      cavalry_bonus 1requires factions { denmark, novgorod, aragon, saxons, }
      heavy_cavalry_bonus bonus 1requires factions { denmark, novgorod, }

汉殇小兵 发表于 2014-9-13 17:58:49

type             gongqi
dictionary       gongqi
category         cavalry
class            missile
voice_type       Light
banner faction   main_cavalry
banner holy      crusade_cavalry
soldier          baimayicong, 32, 0, 0.55, 0.3189, 1.5712
mount            zhongxingbaima
mount_effect   elephant -4, camel -4
attributes       sea_faring, hide_forest, very_hardy, can_withdraw, horse_archers, cantabrian_circle, free_upkeep_unit
move_speed_mod       1.1
formation      2, 4.4, 3, 6, 3, square
stat_health      1, 3
stat_pri         9, 2, cav_bodkin_arrow, 145, 35, missile, missile_mechanical, piercing, none, 0, 0.35
stat_pri_attr    no
stat_sec         8, 5, no, 0, 0, melee, melee_blade, piercing, sword, -25, 0.1
stat_sec_attr    no
stat_pri_armour8, 8, 0, flesh
stat_sec_armour0, 0, flesh
stat_heat      1
stat_ground      0, -1, -2, 1
stat_mental      16, disciplined, highly_trained
stat_charge_dist 20
stat_fire_delay0
stat_food      60, 300
stat_cost      5, 1500, 750, 200, 200, 555, 1, 100
armour_ug_levels 3, 4, 5
armour_ug_models baimayicong, baimayicong, baimayicong
ownership      scotland
era 0            scotland
era 1            scotland
era 2            scotland
recruit_priority_offset35

bxi99901 发表于 2014-9-14 09:37:19

本帖最后由 bxi99901 于 2014-9-14 10:04 编辑

汉殇小兵 发表于 2014-9-13 17:56
谁帮我看看 我哪里错了 游戏进不去!!!!!!!!
这个是兵模吧!!


你这个图里面


红框处 也就是上面数字42和下面数字6之间 应该有一列

而这一列 只要1个数字3

你进步了游戏的原因 就是这里 改错了
你后面的图里 ,虽然有些问题,但还不算错。

bxi99901 发表于 2014-9-14 09:49:49

汉殇小兵 发表于 2014-9-13 17:57
不会发图 见谅啊
building equestrian
{


这是在建筑里添加 可做



在红框处后面括号里面 你要添加 陶谦的 势力代码

recruit_pool "Baimayicong"1   0.125   0.500requires factions { saxons, scotland, }
改成这样,后面的每一条都需要这样改

另外 1.03的精锐 是武将野外招募的 城里可以整编,比如就是这条

说的意思 就是 8(0.125)回合 只能招到半个(0.50)

所以 你要在、想再城市做 中间的这些数字 10.125 0.50 0
要改成
recruit_pool "Baimayicong"1   0.50   20requires factions { saxons, scotland, }
这样 他的意思就是2(0.50)回合可招到 1个 最多 容满2个(2)

另外 说下前面的 1 的意思 做好这级兵营 就有1个 后面的 0的意思是 招募到的兵自带是0级的经验

后面每级的骑兵营里面

你都要改


bxi99901 发表于 2014-9-14 09:55:29

汉殇小兵 发表于 2014-9-13 17:58
type             gongqi
dictionary       gongqi
category         cavalry


这个里面




你应该是 复制了白马的属性,然后1改了名字2 改了所属势力

这样做其实也没什么不对

但 最好你只要在原 白马的属性里在公孙瓒的 后面添加陶谦就可以了
这样你就不需要再为这个兵种去做文字说明的改动

汉殇小兵 发表于 2014-9-15 19:01:45

bxi99901 发表于 2014-9-14 09:49
这是在建筑里添加 可做




十分感谢 我渐渐的摸到了一些窍门谢谢!{:soso_e100:}

再请问下 那个unit_models文件夹里的battle_models.modeldb的文件中 怎么没有南中战象的代码!!!!

我现在想把大象改到可招募。。。。。

bxi99901 发表于 2014-9-15 23:21:06

汉殇小兵 发表于 2014-9-15 19:01
十分感谢 我渐渐的摸到了一些窍门谢谢!

再请问下 那个unit_models文件夹里的battle_mod ...

象兵 和骑兵一样的

要分 上面的兵 和下面的坐骑

象兵的坐骑就是象了

象有2种 1种是 木鹿大王将领的 xiaoxiang 和一般象兵的 elephant

在孟获 象上面的兵用的是mandonggongshou
而你要移到其他势力你可以换成你想移到的势力的弓手兵种

bxi99901 发表于 2014-9-15 23:26:07

汉殇小兵 发表于 2014-9-15 19:01
十分感谢 我渐渐的摸到了一些窍门谢谢!

再请问下 那个unit_models文件夹里的battle_mod ...

另外想说下
游戏里用的兵种的名字,在battle_models里并不一定就也会是一样的拼音名字

用的兵种具体他使用的是 哪个模型

你要看这一条





汉殇小兵 发表于 2014-9-16 11:00:53

bxi99901 发表于 2014-9-15 23:21
象兵 和骑兵一样的

要分 上面的兵 和下面的坐骑


首先先谢谢!!!
大象兵的兵模我搞不懂了 万望继续执教下 怎么弄!!!!{:soso_e101:}

汉殇小兵 发表于 2014-9-16 11:14:06

bxi99901 发表于 2014-9-15 23:21
象兵 和骑兵一样的

要分 上面的兵 和下面的坐骑


{:soso_e127:}没用弄兵模 游戏进得去 兵牌变成了小刀兵   战争画面后还是战象 。。。。

bxi99901 发表于 2014-9-16 16:21:58

汉殇小兵 发表于 2014-9-16 11:14
没用弄兵模 游戏进得去 兵牌变成了小刀兵   战争画面后还是战象 。。。。 ...

兵牌是小刀兵 那是你没有移象兵的 兵牌到你想弄的势力呀

象兵 是可以雇佣的 所以不需要去弄兵模文件 任何势力用都不会出现透明的

属性文件里 直接复制一段 南中战象的属性

改成这样 以移到陶谦为例

红框内是 需要改的地方 其他不需要改。

完了之后 可以在自定义 得到 大象上坐着的是 中原弓手的 象兵



我这也是 小刀兵

所以剩下的事情 1 移南中战象的 兵牌 到陶谦
mods\hanzhishang\data\ui\unit_info找到egypt(孟获)找到并复制Nanzhongzhanxiang_info
然后粘贴到scotland(陶谦)


并重命名为红框里的

再到mods\hanzhishang\data\ui\units找到egyp找到并复制#Nanzhongzhanxiang
然后粘贴到scotlan


并重命名为红框里的


                         2 修改 mods\hanzhishang\data\text中的 export_units文件 找到南中战象 复制一份
改成这样,这是给他添加文字说明这样他就不会出现一堆英文了。



                  3在DATA 里的export_descr_buildings文件中收索 nanzhongzhanxiang,然后改这样


完了后点下一条 一共 4条 都改

全部弄好 进游戏







OK 了


页: [1] 2
查看完整版本: 1.03如何添加特有兵种给二流势力