ai8223314
发表于 2014-8-29 15:31:54
加热今日推荐黑桃皇后
xiaoch121
发表于 2014-8-29 22:40:00
目录mods\hanzhishang\data内export_descr_unit 文件里,txt打开
黄巾军查找Huangjinjun ,黃巾賊查找Huangjinzei
---------------如下
;黄巾军
type Huangjinjun
dictionary Huangjinjun
category infantry
class light
voice_type Light
banner faction main_infantry
banner holy crusade
soldier huangjinbing, 48, 0, 0.85, 0.3189, 1.5712
attributes sea_faring, hide_forest, very_hardy, can_withdraw, mercenary_unit
formation 1.2, 0, 2.4, 2.4, 4, square
stat_health 1, 1
stat_pri 7, 4, no, 0, 0, melee, melee_blade, piercing, sword, -25, 0.1
stat_pri_attr no
stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 0, 1
stat_sec_attr no
stat_pri_armour7, 6, 0, metal ;
stat_sec_armour0, 0, flesh
stat_heat 5
stat_ground 0, -2, 2, -1
stat_mental 10, normal, trained
stat_charge_dist 6
stat_fire_delay0
stat_food 60, 300
stat_cost 1, 700, 350, 90, 70, 1030, 4, 150
armour_ug_levels 2
armour_ug_models huangjinbing
ownership france, slave
recruit_priority_offset 25
-------------
这是黄巾军兵种属性,颜色部分是这个兵种全部相关信息,包括兵牌信息,兵种介绍,以及兵种类型,属性的全部资料,如果只是要该雇佣兵的话,最简单的方法是,找到你想要的兵种,然后替换其中颜色部分。
例如 将黄巾贼替换成虎豹骑
-------------
;黃巾賊
type Huangjinzei (兵种类型,这个如果不是自己创建兵种千万不要改,这是你的兵种在游戏内部代码,对兵种属性没有任何影响)
dictionary Hubaoji(这里关系到兵种的介绍,兵牌还有名字)
category cavalry
class heavy
voice_type Heavy
banner faction main_cavalry
banner holy crusade_cavalry
soldier hubao, 36, 0, 5 (这才是你兵种到底是啥的关键地方,hubao代表你的兵种到底在地图上出现的是牛是马,36是部队人数,建议改70,改多卡退,非常蛋疼)
mount lingjiama
mount_effect elephant +2, camel +2, horse +4
attributes sea_faring, hide_forest, very_hardy, can_withdraw, can_formed_charge, knight, frighten_foot, mercenary_unit, frighten_mounted, command, warcry (这里是兵种的属性,关键是颜色部分!如果你是改的雇佣兵,一定要加上此条,否则有可能显示不出兵牌,当然这也和你选择的兵种有关,比如你选择的是大众脸御林军系列,这个貌似不加也有兵牌,如果是精锐的话还是最好加上)
move_speed_mod 1.4
formation 1.5, 4.4, 2, 6, 2, square
stat_health 3, 3
stat_pri 15, 12, no, 0, 0, melee, melee_blade, piercing, spear, -25, 0.1
stat_pri_attr ap, area
stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 0, 1
stat_sec_attr no
stat_pri_armour16, 14, 0, metal ;
stat_sec_armour0, 0, flesh
stat_heat 7
stat_ground 1, 1, 1, 1
stat_mental 18, disciplined, highly_trained
stat_charge_dist 45
stat_fire_delay0
stat_food 60, 300
stat_cost 5, 1400, 500, 200, 200, 555, 1, 100
armour_ug_levels 7, 8, 9
armour_ug_models hubao, hubao, hubao
ownership france, slave
recruit_priority_offset 25
----------------
改了上面几个地方以后,兵种的替换就接近完成了,如果还是没有兵牌和透明模型看下面
---------
添加兵种图片1、打开安装目录\mods\sanguo\data\ui\unit_info\france,有个hubaoji_info.tga,复制到安装目录\mods\sanguo\data\ui\unit_info\merc下,图片名字修改为hubaoji_ info.tga。2、打开安装目录\mods\sanguo\data\ui\unit\france,有个#hubaoji.tga,复制到安装目录\mods\sanguo\data\ui\unit \merc下,图片名字修改为#hubaoji.tga编辑模型分配文件。打开安装目录\mods\sanguo\data\unit_models中的battle_models.modeldb文件(记事本打开)
搜索hubao将以下下内容替换即可
5 hubao
1 1
34 unit_models/sanguo/hubao_lod0.mesh 6400
8
6 france
41 unit_models/sanguo/textures/hubao.texture
45 unit_models/sanguo/textures/hubao_nor.texture
36 unit_sprites/france_hubao_sprite.spr
7 hungary
41 unit_models/sanguo/textures/hubao.texture
45 unit_models/sanguo/textures/hubao_nor.texture
36 unit_sprites/france_hubao_sprite.spr
8 scotland
41 unit_models/sanguo/textures/hubao.texture
45 unit_models/sanguo/textures/hubao_nor.texture
36 unit_sprites/france_hubao_sprite.spr
6 poland
41 unit_models/sanguo/textures/hubao.texture
45 unit_models/sanguo/textures/hubao_nor.texture
36 unit_sprites/france_hubao_sprite.spr
5 turks
41 unit_models/sanguo/textures/hubao.texture
45 unit_models/sanguo/textures/hubao_nor.texture
36 unit_sprites/france_hubao_sprite.spr
7 england
41 unit_models/sanguo/textures/hubao.texture
45 unit_models/sanguo/textures/hubao_nor.texture
36 unit_sprites/france_hubao_sprite.spr
4 merc
41 unit_models/sanguo/textures/hubao.texture
45 unit_models/sanguo/textures/hubao_nor.texture
36 unit_sprites/france_hubao_sprite.spr
5 slave
41 unit_models/sanguo/textures/hubao.texture
45 unit_models/sanguo/textures/hubao_nor.texture
36 unit_sprites/france_hubao_sprite.spr
8
6 france
41 unit_models/sanguo/textures/hubao.texture
45 unit_models/sanguo/textures/hubao_nor.texture 0
7 hungary
41 unit_models/sanguo/textures/hubao.texture
45 unit_models/sanguo/textures/hubao_nor.texture 0
6 poland
41 unit_models/sanguo/textures/hubao.texture
45 unit_models/sanguo/textures/hubao_nor.texture 0
5 turks
41 unit_models/sanguo/textures/hubao.texture
45 unit_models/sanguo/textures/hubao_nor.texture 0
8 scotland
41 unit_models/sanguo/textures/hubao.texture
45 unit_models/sanguo/textures/hubao_nor.texture 0
7 england
41 unit_models/sanguo/textures/hubao.texture
45 unit_models/sanguo/textures/hubao_nor.texture 0
4 merc
41 unit_models/sanguo/textures/hubao.texture
45 unit_models/sanguo/textures/hubao_nor.texture 0
5 slave
41 unit_models/sanguo/textures/hubao.texture
45 unit_models/sanguo/textures/hubao_nor.texture 0
1
5 Horse
13 MTW2_HR_Spear
13 MTW2_HR_Sword 2
21 MTW2_HR_spear_Primary
14 fs_test_shield 2
18 MTW2_Sword_Primary
14 fs_test_shield
16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
颜色部分是你要修改的关键内容,黑字部分是原文
5 hubao (5是后面内容的长度,hubao就是兵种名字啦)1 1
34 unit_models/sanguo/hubao_lod0.mesh 6400
8 (这个代表有几个国家拥有模型)
6 france (国家名 老规矩 6 为france有6个字母下同)
41 unit_models/sanguo/textures/hubao.texture
45 unit_models/sanguo/textures/hubao_nor.texture
36 unit_sprites/france_hubao_sprite.spr
----
无敌弓箭机关枪修改,建议不要太变态,否则游戏失去了乐趣
第一步:修改箭矢模型打开安装目录mods\hanzhishang\data,寻找descr_projectile.txt,打开。本次修改以机弩发射箭矢为例。这是机弩的箭矢模型projectile ballistaeffect large_arrow_trail_setend_effect large_arrow_explode_setend_man_effect man_impact_small_setend_package_effect wall_impact_small_setend_shatter_effect large_arrow_explode_setend_shatter_man_effect man_impact_small_setend_shatter_package_effect wall_impact_small_setdamage 10damage_to_troops 5radius 0mass 0.8accuracy_vs_units 0.005accuracy_vs_buildings 0.05accuracy_vs_towers 0.025min_angle -30max_angle 35velocity 60;bounce 0.5 0.6 0.5 0.4body_piercingdisplay aimed particle_trail invert_model_zmodel data/models_missile/missile_ballista_bolt_high.CAS,40.0model data/models_missile/missile_ballista_bolt_med.CAS,80.0model data/models_missile/missile_ballista_bolt_low.CAS,maxprojectile flaming_ballistaflaming ballistaeffect flaming_ballista_projectile_setend_effect ground_fiery_impact_ballista_setend_man_effect man_impact_tiny_setend_package_effect wall_impact_fiery_ballista_setend_shatter_effect ground_fiery_impact_ballista_setend_shatter_man_effect man_impact_tiny_setend_shatter_package_effect wall_impact_fiery_ballista_seteffect_offset 1.0damage 10damage_to_troops 5radius 0mass 0.8accuracy_vs_units 0.01accuracy_vs_buildings 0.05accuracy_vs_towers 0.025fierymin_angle -60max_angle 70velocity 60;bounce 0.5 0.6 0.5 0.4body_piercingdisplay aimed invert_model_zmodel data/models_missile/missile_ballista_bolt_high.CAS,40.0model data/models_missile/missile_ballista_bolt_med.CAS,80.0model data/models_missile/missile_ballista_bolt_low.CAS,max修改以下红色部分projectile nuopao(名字)effect large_arrow_trail_setend_effect large_arrow_explode_setend_man_effect man_impact_small_setend_package_effect wall_impact_small_setend_shatter_effect large_arrow_explode_setend_shatter_man_effect man_impact_small_setend_shatter_package_effect wall_impact_small_setdamage 10(伤害)damage_to_troops 5(对部队伤害)radius 0mass 0.8accuracy_vs_units 0.005(对部队名中,越小越精确,但无法击中移动目标)accuracy_vs_buildings 0.05accuracy_vs_towers 0.025min_angle -60(角度,向下射击)max_angle 80(角度,向上射击)velocity 70(速度,这是关键,后面详解!)bounce 0.2 0.3 0.2 0.1(箭矢的弹跳度,落地后还能弹跳杀敌)body_piercingdisplay aimed particle_trail invert_model_zmodel data/models_missile/missile_ballista_bolt_high.CAS,40.0model data/models_missile/missile_ballista_bolt_med.CAS,80.0model data/models_missile/missile_ballista_bolt_low.CAS,maxprojectile flaming_nupao(名字)flaming ballistaeffect flaming_ballista_projectile_setend_effect ground_fiery_impact_ballista_setend_man_effect man_impact_tiny_setend_package_effect wall_impact_fiery_ballista_setend_shatter_effect ground_fiery_impact_ballista_setend_shatter_man_effect man_impact_tiny_setend_shatter_package_effect wall_impact_fiery_ballista_seteffect_offset 1.0damage 10damage_to_troops 5radius 0mass 0.8accuracy_vs_units 0.01accuracy_vs_buildings 0.05accuracy_vs_towers 0.025fierymin_angle -60max_angle 80(角度)velocity 70(速度)bounce 0.2 0.3 0.2 0.1body_piercingdisplay aimed invert_model_zmodel data/models_missile/missile_ballista_bolt_high.CAS,40.0model data/models_missile/missile_ballista_bolt_med.CAS,80.0model data/models_missile/missile_ballista_bolt_low.CAS,max箭矢的速度与射程详解
设速度=V,距离=S(V/48)*(V/48)*187=S也就是说,速度60的箭矢,最远射程为292,为了达到射程400,所以速度为70.第二步:兵种属性修改,打开安装目录\mods\sanguo\data,export_descr_unit.txttype gongqishidictionary gongqishicategory cavalryclass missilevoice_type Lightbanner faction main_cavalrybanner holy crusade_cavalrysoldier baimayicong, 32, 0, 1(士兵模型,机械数量,数量,最大60)mount zhongxingbaimamount_effect elephant -4, camel -4(坐骑特性,勿动,否则进不去游戏)attributes sea_faring, hide_forest, very_hardy, can_withdraw, horse_archers, cantabrian_circle,frighten_foot, frighten_mounted, command, warcry(依次为可以坐船,到处隐藏,耐力极佳,可以撤退,弓骑兵种,环形射击阵,惊吓步兵,惊吓骑兵,中军指挥,战吼)move_speed_mod 1.5(速度,建议别超过2)formation 2, 4.4, 3, 6, 3, square(队伍前后的距离,阵形)stat_health 1, 3(士兵生命,最大15,坐骑生命,最大30)stat_pri 18, 4, flaming_nupao, 400, 80, missile, missile_mechanical, piercing, none, 0, 1(红色部分为远程攻击力,冲击力,箭矢种类,射程,箭矢携带量)stat_pri_attr ap, bp(破甲,穿刺)
stat_sec 16, 10, no, 0, 0, melee, melee_blade, piercing, sword, 60, 1 ; light sw(红色部分为近战攻击力,冲击力)stat_sec_attr ap
stat_pri_armour16, 16, 0, flesh(红色部分为盔甲防御,防御技巧,盾牌防御)stat_sec_armour0, 0, fleshstat_heat 1stat_ground 0, -1, -2, 1(对各种地形的适应性,最大值均为10)stat_mental 18, disciplined, highly_trained(士气,有纪律,高训练度)stat_charge_dist 20stat_fire_delay0stat_food 60, 300stat_cost 1, 1500, 750, 200, 200, 555, 1, 100armour_ug_levels 3, 4, 5armour_ug_models baimayicong, baimayicong, baimayicongownership franceera 0 franceera 1 franceera 2 francerecruit_priority_offset35大功告成!!射程为400(整个战场距离约为1000),发射可以弹跳的“火弹”、箭矢充足、而且速度还远比对手快的弓骑兵,敌人想打打不着(射程不够),想追追不到(速度不够),完虐电脑
-----------附上兵种代码,方便查找
{Huben}虎贲步兵
{Qingzhoubing}青州兵
{Hubaoji}虎豹骑
{ZYzhongbubing}中塬重步兵
{ZYchangqiangbing}中塬重装枪兵
{ZYchangqiangzhen}中塬长枪阵
{ZYzhongqibing}中塬重骑兵
{Wuhen}乌桓弓骑
{Wuhen_Wei}乌桓弓骑
{BSnubing}巴蜀弩兵
{BSzhongnu}巴蜀重弩兵
{ZYnubing}中塬弩兵
{ZYzhongnu}中塬重弩兵
{HBnubing}河北弩兵
{HBzhongnu}河北重弩兵
{JDnubing}江东弩兵
{JDzhongnu}江东重弩兵
{XLzhongnu}雍凉重弩兵
{XLnubing}雍凉弩兵
{JZnubing}荆州弩兵
{JZzhongnu}荆州重弩兵
{ZYbubing}中塬步兵
{ZYqiangbing}中塬枪兵
{ZYqibing}中塬骑兵
{ZYgongbing}中塬弓兵
{Piliche_Wei}霹雳车
{Xianshushi_Wei}仙朮师
{Minbin_Wei}民兵
{Xiaoyaojinsishi}逍遥津勇士
{Xuangeqibin}并州铁骑
{Xianzhenying}陷阵营
{Dafubing}大斧兵
{Fubin_Yuansu}斧兵
{MTqiangqibing}羌骑兵
{merc_Qiangqibing}羌骑兵
{Danyangbin}丹阳兵
{Xiliangtieji_Mateng}西凉铁骑
{merc_Qiangbing}羌兵
{MTqiangbing}羌兵
{XLzhongbubing}雍凉重步兵
{XLchangqiangbing}雍凉重装枪兵
{XLchangqiangzhen}雍凉长枪阵
{XLzhongqibing}雍凉重骑兵
{XLbubing}雍凉步兵
{XLqiangbing}雍凉枪兵
{XLqibing}雍凉骑兵
{XLgongbing}雍凉弓手
{yuweibing}御卫步兵
{yuweiqiangbing}御卫枪兵
{yuweiqibing}御卫骑兵
{JZzhongbubing}荆州重步兵
{JZchangqiangbing}荆州重装枪兵
{JZchangqiangzhen}荆州长枪阵
{changbinsheshou_Hanxuan}苍髯射手
{JZbubing}荆州步兵
{JZqiangbing}荆州枪兵
{JZqibing}荆州骑兵
{JZgongbing}荆州弓手
{Minbin}乡勇
{JZzhongqibing}荆州重骑兵
{Hengjiangsheshou}横江射手
{Toushiche}投石车
{merc_jiaozhouyishi_Hanxuan}交州义士
{jiaozhouyishi_Hanxuan}交州义士
{Jieyingqi}劫营骑
{JDzhongbubing}江东重步兵
{merc_Shanyuebin_Sunche}山越兵
{Shanyuebin_Sunche}山越兵
{JDchangqiangbing}江东重装枪兵
{JDchangqiangzhen}江东长枪阵
{Jiefanbubin}解烦步兵
{JDzhongqibing}江东重骑兵
{JDbubing}江东步兵
{JDqiangbing}江东枪兵
{JDqibing}江东骑兵
{JDgongbing}江东弓兵
{Minbin_Sunche}民兵
{Dageshi}大戟士
{HBzhongbubing}河北重步兵
{HBchangqiangbing}河北重装枪兵
{HBchangqiangzhen}河北长枪阵
{HBzhongqibing}河北重骑兵
{Xiandengsishi}先登死士
{HBbubing}河北步兵
{HBqiangbing}河北枪兵
{HBqibing}河北骑兵
{HBgongbing}河北弓手
{merc_Xianbeigongqi}鲜卑弓骑
{Xianbeigongqi}鲜卑弓骑
{Heishanjun}黑山勇士
{Heishanzei}黑山贼
{Yanyuntieqi}燕云铁骑
{Baimayicong}白马义众
{Baimasheshou}白马射手
{Wudangfeijun}无当飞军
{Shanyue_Liubei}山岳骑兵
{Baierbing}白耳兵
{BSzhongbubing}巴蜀重步兵
{BSchangqiangbing}巴蜀重装枪兵
{BSchangqiangzhen}巴蜀长枪阵
{BSzhongqibing}巴蜀重骑兵
{Zhugelu}诸葛弩
{BSbubing}巴蜀步兵
{BSqiangbing}巴蜀枪兵
{BSqibing}巴蜀骑兵
{BSgongbing}巴蜀弓兵
{Jianshi_Liubei}剑士
{merc_Shanyue}山岳兵
{Shanyue_Liuzhang}山岳兵
{merc_Tengjiabin}藤甲兵
{Tengjiabin}藤甲兵
{Nanmanbin}南蛮兵
{JRNanmanbin}精锐南蛮兵
{NanmanZhongYongShi}南蛮勇士
{NanmanZhongJiabin}南蛮重甲兵
{Xiangbin_Menghuo}象兵
{merc_Nanzhongzhanxiang}南中战象
{merc_Xiangbin_Menghuo}象兵
{Nanzhongzhanxiang}南中战象
{Xunshoubin_Menghuo}训兽兵
{Xunshoubin_Menghuo}驱兽师
{Nanmanqibin}南蛮骑兵
{Nanmangongshou}南蛮弓手
{YuLin_BuBing}羽林步兵
{YuLin_Qi}羽林骑
{JingRuiGongShou}荆襄精锐弓箭手
{Yaoshushi}妖朮师
{Cike_All}刺客
{ManZei_ALL}蛮贼
{ShanZei_ALL}山贼
{LieRen}猎人
{merc_LingNanYeRen}岭南野人
{LingNanYeRen}岭南野人
{YuLin_GongShou}羽林弓手
{YuLin_nubing}羽林弩兵
{YuLin_nuqibing}羽林弩骑兵
{YuLin_QiangZhen}羽林枪兵
{JiaZhouZhongBing_All}甲冑重兵
{SunMeiMei_Sunce}孙氏女兵
{merc_Shuibin_Sunche}水兵
{Shuibin_Sunche}水兵
{Baiyishuibing_Sunche}白衣水兵
{Huangjinjun}黄巾军
{Huangjinzei}黄巾贼
{JiangJun_DaHan}大汉重骑将军
{JiangJun_ZhongYuan_Aa}中塬重骑将军
{JiangJun_BaShu_Aa}巴蜀重骑将军
{JiangJun_JiangDong_Aa}江东重骑将军
{JiangJun_JingZhou_Aa}荆州重骑将军
{JiangJun_HeBei_Aa}河北重骑将军
{JiangJun_YongLiang_Aa}雍凉重骑将军
{JiangJun_NanMan_Aa}南蛮重骑将军
{merc_huangjinjun}黄巾军
{merc_huangjinzei}黄巾贼
{Zouke_wei}走舸
{Mengchong_wei}蒙冲
{doujian_Liubiao}斗舰
{zhanjian_yaoyang}曜阳楼船
{zhanjian_zhonghua}中华战舰
{zhanjian_minghe}鸣鹤战舰
{zhanjian_jiaolong}蛟龙战舰
{NanmanLietou_Menghuo}猎头勐士
{Nanmannv_Menghuo}南蛮女弓骑兵
{Shengzhanxiang_Menghuo}圣战象
{Tiejiazhanxiang_Menghuo}铁甲战象
{TianShenXiang}天神象
{TieCheBing_franks}铁车兵
{gongqibing_Mateng}雍凉弓骑兵
{HuoZhuBing}火猪兵
{SYbiao}山越标枪兵
{SYfubing}山越双手斧
{SYsheshou}山越射手
{SYdadunwushi}山越大盾武士
{SYzhongnu}山越重弩
{SYzhongbubing}山越重步兵
{SYbubing}山越步兵
{SYzhongqibing}山越重骑兵
{SYmao}山越矛兵
{SYyeren}山越野人
{SYmengshi}山越勐士
{SYjingrugong}山越精锐射手
{SYnu}山越弩
{SYgongfu}山越蛮族射手
{SYtengjia}山越藤甲兵
{Manzunvbing}蛮族女骑兵
{xiliangtieqi}西凉铁骑
{baipao}白袍
{tujiang}突将骑兵
{junguobing}郡国枪兵
{yijunqiangbing}义军枪兵
{yijungong}义军弓手
{yijunqibing}义军轻骑兵
{feixiongjun}飞熊军骑兵
{feixiongjunbubing}飞熊军枪兵
飞洒发生飞洒
发表于 2014-9-3 21:42:50
11111111111111111111111111
空眸丶
发表于 2014-9-3 22:18:16
876876876876876
redjade758
发表于 2014-9-8 11:15:14
来看看有没有用。
adse
发表于 2014-9-8 23:24:04
这个一定要学学
逗妇乳
发表于 2014-9-10 12:13:51
谢谢楼主分享
天武神将
发表于 2014-9-10 13:15:37
{:soso_e103:}k看样很厉害
henaiheng
发表于 2014-9-10 17:39:13
看看再说
zxcv5530
发表于 2014-9-11 16:57:21
支持一下·····
YDYD
发表于 2014-9-16 13:29:01
看看吧
biaobiao
发表于 2014-9-22 17:39:01
好的非常的很好啊
qintao
发表于 2014-9-22 19:54:06
11111111111
天鬼才
发表于 2014-9-22 20:10:47
高手 :o:o:o
fishinga
发表于 2014-9-23 20:41:27
:):):):):):):)
复古的
发表于 2014-10-1 08:10:30
辛苦了
李雪杨
发表于 2014-10-1 20:04:45
4热特人热帖
cdl123456
发表于 2014-10-1 20:09:49
我要下载.
````
发表于 2014-10-1 22:46:13
{:soso_e115:}LZ你好贪心
qq6219218
发表于 2014-10-1 23:02:55
看看!!!!!!!!!!!!!!!