导航:首页 > 军事战争 > 全面战争创建新兵种

全面战争创建新兵种

发布时间:2021-03-02 08:53:07

『壹』 三国全面战争怎么创兵种

创建兵种很麻烦,还要做模型。。
你要改改现有兵种的话容易。 打开bi/data文件夹下的export_descr_unit。
你按内兵种名容称找到那个兵种。 然后找到下面那一行 。12就是人数
soldier Wudangfeijun_Liubei, 12, 0, 1 ;士兵的详细情况,Wudangfeijun_Liubei就是无当飞军的意思,这里意思是采用的无当飞军的模型,你可以自己改,比如改成Yanyun_Gongsun燕云铁骑,在战场上就是燕云铁骑的样子了。注 意这里只能改骑兵,弓骑兵也不可以,将军是什么兵种就只能换成什么兵种的,12, 0, 1里12是指部队的人数,这是在标准规模下的人数,0是指动物的数量,一般的兵都是0,像什么驯兽兵这里就可以调整动物的数量,1是指士兵的碰撞质量,正常为1.0。

『贰』 拿破仑全面战争 怎么添加新兵种

拿破仑全面战来争添加源新兵种,以陆地单位为例,打开patch文件的db条目

  1. unit_stats_land_table,随便一个同类兵种的词条,改成自己想要的属性和名称;

  2. unit_table,添加这个兵种名称,并修改相应属性,比如招募价格,招募需要的时间等;

  3. building_unit_allowed,添加这个兵种到需要的建筑;

  4. units_to_exclusive_faction_permissions,添加兵种到需要的阵营;

  5. (可选,不一定非要改)variantmodels,添加需要兵种的模型,添加后在unit_stats_land_table中把新兵种的模型名改成添加的新模型名;

  6. ui中的icons是兵牌图案,懂作图的可以给新兵种添加一个新兵牌;

可以在创意工坊订阅我上传的罗马2全面战争的mod,方法是类似的,只不过罗2的表格名称稍许变化,比较有参考价值,删掉“哈哈”就是网址

steamcommunity.哈哈com/sharedfiles/filedetails/?id=908872741

『叁』 罗马全面战争如何添加一个新的兵种

应该不行啊 中二的肯定放不到罗马去 只能再罗马的基础上修改贴图或者模型

『肆』 罗马全面战争秘籍中创建一个新兵种是什么意思

就是你自己建立一个架空的兵种,参数、外观、装备等都有你自己设定。

『伍』 罗马全面战争自创兵种

新兵种,首先 要有模型,也就是.TGA.DDS文件和.CAS文件
在1.3以上版本加新兵种,推荐先使用罗马保护硬盘加游戏速度的XPAK把游戏的PACK文件夹解包.
然后把上面提到的前一种文件放进游戏目录/DATA/MODELS_UNIT/TEXTURES中,后者放进/DATA/MODELS_UNIT中
这样模型就放好了
下面开始改文件:
首先要改的是DATA文件夹下的descr_model_battle文件,这个文件控制单位模型的指向
用记事本就可以打开:
可以看见这个文件是这样写的(我们以第一个希腊精锐黑骑兵为例)
type gangoh
skeleton fs_hc_spearman, fs_hc_swordsman
indiv_range 40
texture greek_cities, data/models_unit/textures/gangoh.tga
texture seleucid, data/models_unit/textures/gangoh.tga
texture macedon, data/models_unit/textures/gangoh.tga
texture thrace, data/models_unit/textures/gangoh.tga
model_flexi_m data/models_unit/gangoh.cas, 15
model_flexi_m data/models_unit/gangoh.cas, 30
model_flexi_m data/models_unit/gangoh.cas, 40
model_flexi data/models_unit/gangoh.cas, max
model_sprite greek_cities, 60.0, data/sprites/romans_senate_roman_praetorian_cavalry_sprite.spr
model_sprite seleucid, 60.0, data/sprites/romans_scipii_roman_praetorian_cavalry_sprite.spr
model_sprite macedon, 60.0, data/sprites/romans_brutii_roman_praetorian_cavalry_sprite.spr
model_sprite thrace, 60.0, data/sprites/romans_julii_roman_praetorian_cavalry_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5f
这里,第一行的TYPE是兵种模型的名字,接着的TEXTURE指向上面的/DATA/MODELS_UNIT/TEXTURES中的文件,再下面的model_flexi指向/DATA/MODELS_UNIT中的文件,注意,如果进游戏后,进入战斗画面读时跳出,就请检查模型的位置是否一致,如果一致,就在该文件中TEXTURE的模型名字前面加上使用国家的名字,如上面的骑兵就加了使用国家的名字,尤其是多个国家公用的兵种建议一定要加国家名.skeleton表示的是兵种模型的骨架类型——步,枪,骑,弓,弓骑等等。如果是骑兵,用的是游戏中没有的马,还要加上马的模型
如下:
type gangohorses
skeleton fs_fast_horse
scale 0.875
indiv_range 40
texture greek_cities, data/models_unit/textures/gangohorses.tga
texture seleucid, data/models_unit/textures/gangohorses.tga
texture macedon, data/models_unit/textures/gangohorses.tga
texture thrace, data/models_unit/textures/gangohorses.tga
model_flexi data/models_unit/gangohorses.CAS, 15
model_flexi data/models_unit/gangohorses.CAS, 30
model_flexi data/models_unit/gangohorses.CAS, 60
model_flexi data/models_unit/gangohorses.CAS, 80
model_flexi data/models_unit/gangohorses.CAS, max
model_sprite greek_cities, 100.0, data/sprites/romans_julii_generals_horse_sprite.spr
model_sprite seleucid, 100.0, data/sprites/romans_julii_generals_horse_sprite.spr
model_sprite macedon, 100.0, data/sprites/romans_julii_generals_horse_sprite.spr
model_sprite thrace, 100.0, data/sprites/romans_julii_generals_horse_sprite.spr
model_tri 700, 0.3f, 0.3f, 0.3f
写的方法和兵种一样。然后还要在DATA文件夹下的descr_mount文件中加上马的数据
type gangohorses
class horse
model gangohorses
radius 1.5
x_radius 0.5
height 2.5
mass 7
banner_height 0
bouyancy_offset 1.8
water_trail_effect horse_water_trail
root_node_height 1.6
rider_offset 0.0, 0.15, 0.0
如果新加马,就写在HORSE类下,加象,写在ELEPHENT类下,等等

接着,就要改下一个export_descr_unit文件
这个文件控制兵种的基本属性
type gangoh
dictionary gangoh ; gangoh
category cavalry
class heavy
voice_type Heavy_1
soldier gangoh, 27, 0, 1
mount gangohorses
mount_effect elephant -8, camel -4
attributes sea_faring, hide_forest, hardy
formation 1.5, 4, 3, 6, 4, square, wedge
stat_health 1, 0
stat_pri 11, 6, no, 0, 0, melee, simple, piercing, spear, 25 ,1
stat_pri_attr no
stat_sec 18, 8, no, 0, 0, melee, simple, piercing, sword, 25 ,1
stat_sec_attr no
stat_pri_armour 15, 10, 0, metal
stat_sec_armour 0, 1, flesh
stat_heat 2
stat_ground 0, 0, 0, 0
stat_mental 10, disciplined, highly_trained
stat_charge_dist 40
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 1500, 200, 250, 500, 1500
ownership greek
详细说明如下:
1、type carthaginian elephant african cataphract
类型 兵种的内部名称,不会在游戏界面显示
2、dictionary carthaginian_elephant_african_cataphract ; Armoured Elephants
名称 游戏界面上显示的名字
3、category cavalry
种类:可分为infantry步兵,cavalry骑兵,siege机械,handler训兽者,ship船只和non_combatant其他人员。
4、class heavy
等级:轻装light,重装heavy,投射missile和长矛兵spearmen。
5、voice_type Heavy_1
兵种使用的声音文件
6、soldier carthaginian_big_elephant_crew, 18, 6, 1
士兵模式 依次为:
士兵模型使用的名字;
士兵的标准数量;
士兵携带其他物体的数量(猪,狗,大象,两轮战车,机械等);
士兵的碰撞质量,正常为1.0,只限于步兵。
7、mount elephant african cataphract
兵种所携带的物体 战象
此项根据不同的兵种还可以分为:
officer 军官 某些步兵由军官带领,一支部队最多可以有3名军官
ship 海军
engine 机械
animal 不能骑的动物(狗和猪)
mount 坐骑(包括马,骆驼,大象)和战车
8、mount_effect horse +4, chariot +8, camel +4
战斗中对抗敌人的特殊坐骑时对战斗力的影响。大象对马时攻击+4,战车+8,骆驼+4
9、attributes sea_faring, can_run_amok, frighten_foot, frighten_mounted
属性 兵种单位所具有的能力,可以有多个,用逗号隔开,具体分为:
sea_faring = can board ships 能上船
hide_forest, hide_improved_forest, hide_long_grass, hide_anywhere = defines where the unit can hide 单位能隐藏的地方:树林,森林,长的草地,任何地方
can_sap = Can dig tunnels under walls 能在墙脚下挖地道
frighten_foot, frighten_mounted = Cause fear to certain nearby unit types 让附近的特定单位产生恐惧
can_run_amok = Unit may go out of control when riders lose control of animals 失去对动物的控制后,动物会乱跑
general_unit = The unit can be used for a named character's bodyguard 亲卫队
cantabrian_circle = The unit has this special ability 单位拥有的技能
no_custom = The unit may not be selected in custom battles 在自定义战役里不能选择
command = The unit carries a legionary eagle, and gives bonuses to nearby units 单位携带一只古代罗马军团的鹰, 能激励附近的单位
mercenary_unit = The unit is s mercenary unit available to all factions 可雇佣
10、formation 7, 11, 13,16, 1, square
阵型 依次为:
紧密阵型士兵左右和前后的间距;
松散阵型士兵左右的间距;
默认的行数;
单位拥有的特殊阵型(可以有一或两个):square 正方形方阵,horde游牧阵型,phalanx步兵方阵,testudo龟甲阵,wedge三角阵;
11、stat_health 1, 15
1, 15 这个是生命值,前一个是人的,后一个是动物的(骑兵的坐骑不计算生命值)大多数兵种是1,斯巴达枪兵和公牛战士是2,狂战士是3,大象是15。
12、stat_pri 10, 3, arrow, 120, 60, missile, archery, piercing, none, 25 ,1
士兵的主要武器,如果是远程兵种,远程武器就是主要的 依次为:
攻击力;
冲锋时的攻击加成(突击力);
远程武器类型;
远程武器射击距离;
士兵携带的远程武器数量;
武器类型:melee肉搏, thrown投掷, missile远程(弓箭),siege_missile机械;
技术类型:simple简单,other其他,blade刀刃,archery弓箭或siege机械;
伤害类型:piercing穿刺,blunt钝武器,slashing猛击,fire火烧;
武器撞击的声音:none无,knife小刀,mace铁锤,axe斧头,sword刀剑,spear长矛;
攻击的最小时间间隔;
13、stat_pri_attr no
主要武器属性 依次为:
ap 破甲,只有目标有甲时才计算
bp 穿透身体,指远程武器在上穿第一个人后,是否还对后面的人造成伤害
spear 长矛,对骑兵有加成,对步兵有扣除
long_pike 长枪,只有能组成方阵的步兵使用
short_pike 短枪,只有能组成方阵的步兵使用
prec 只在冲锋前投掷武器
thrown 投掷,指距离比较短的武器
launching 射击,能在空中飞行一段距离
area = 成片攻击,不只是一个人
14、stat_sec 7, 11, no, 0, 0, melee, other, blunt, none, 25 ,1
次要武器:如果是骑兵、动物、战车,这就是他们的攻击力;如果是远程兵种,这就是他们的肉搏能力;如果是一些特殊的肉搏兵种(长武器的),这就是他们短武器的攻击力,具体同stat_pri
15、stat_sec_attr area, launching, ap
具体同stat_pri_attr
16、stat_pri_armour 0, 4, 0, flesh
主要防御 依次为
防御力;防御技巧加成(被射击时无用);盾牌加成(只对来自左边的攻击有效);被撞击发出的声音:身体,皮革,金属
17、stat_sec_armour 16, 3, flesh
次要防御:指动物或战车的防御(骑马的另外计算),具体同stat_pri_armour
18、stat_heat -1
在炎热天气作战时,体力的额外损失(正的越多表示损失越大)
19、stat_ground 0, 1, -6, -1
在不同地形作战的加成(对于攻击力而言): 灌木,沙漠,森林,雪地
20、stat_mental 8, normal, untrained
依次为:基本的士气,纪律和训练。纪律分为正常,低纪律,有纪律和狂暴,狂暴的部队有可能不下令就突击。训练决定阵型的整齐程度
21、stat_charge_dist 30
士兵开始突击敌人的距离
22、stat_fire_delay 0
这个不知道
23、stat_food 60, 300
已经无用了
24、stat_cost 2, 2670, 590, 270, 400, 2670
依次为:招募所需回合数;帝国战役的招募费用;平时的维护费用;升级武器的费用;升级盔甲的费用;自定义战役的招募费用
25、ownership carthage
哪个国家可以使用此单位
注意:这里,如果office,mount在游戏中原来没有的话,一定要把模型写在descr_model_battle文件里

第三,我们还要改一个:export_descr_unit_enums文件
这里是兵种的例举、
把新兵种名字加上去就可以了,标准格式如下:
gangoh
gangoh_descr
gangoh_descr_short

为了在游戏里显示你新兵种的名字,打开DATA/TEXT文件夹,里面有一个export_units文件
打开,在最后一行写上兵种名字和基本介绍
{gangoh} 希腊精锐黑骑兵

{gangoh_descr}
精英\n有纪律\n可以组成楔形队型\n\n希腊黑骑兵是希腊战争和社会中的精英。他们以重骑兵的方式\n作战,其纪律是其他国家罕见匹敌者。他们使用长矛,穿戴好的盔\n甲,因此可以在冲锋时造成极大的破坏。他们是罗马帝国的忠心仆\n人,由他们的父母交给神殿,以负担军事责任,而非做为仪式的祭\n礼。

{gangoh_descr_short}
希腊黑骑兵以重骑兵的方式作战,配备长矛和\n剑,全身上上都穿著盔甲。他们是希腊战事和\n社会的精英。
第一行是兵种名字
第二段是在帝国战役中拉出的兵种介绍
第三段是在自定义战役前,选兵的时候鼠标放在兵牌上显示的短介绍
繁体罗马最好用繁体写,英语罗马用英语写

为了在帝国征战中兵种能招募,请打开DATA下的export_descr_buildings文件,在你需要的兵营下写出兵种名字,如果你找不到也没关系,找一个你熟悉的兵种名字,找到后在这个兵种下画葫芦画一行,改成你的兵种名字就可以了
如:recruit "gangoh" 0 requires factions { greek, }
这里注意两点:1:如果你在低级的兵营可以招募,记得要把这行字复制粘贴到更高一级别的兵营中,否则会出现升级兵营而不能造以前的兵种的现象。
2;一个国家同一建筑建造的单位不能超过32个

如果你想把某个兵种变成雇佣兵,请仍然按上面的除了改export_descr_buildings文件外的方式做,在export_descr_unit文件一定要加上雇佣属性(具体见上面该文件解释)
然后打开\Data\world\maps\campaign\imperial_campaign里的descr_mercenaries文件
把你兵种加到想出现的雇佣地区下
如下:
pool Britain
regions Britannia_Inferior Tribus_Silurii Britannia_Superior Hibernia
unit merc barbarian infantry, exp 0 cost 800 replenish 0.06 - 0.19 max 2 initial 1
第一行为地区
第二行:该地区省份
第三行开始为可雇佣军队,UNIT后加上兵种名字,EXP后面加上经验,COST后面加上价格,EPLENISH后加出现几率。

加新兵种注意事项:
1;严格按游戏文件格式:该空格空格,该加的标点等等一个不能少,请多参考已有的兵种。
2;加完一个兵种可以用自定义战役测试下是否正确,如果不能进游戏或者进自定义战役前跳出,就说明修改有问题,请参照上面一个个检查

【兵种属性编辑器】中文版

你去这个论坛找找,有很多好东西应该有你需要的。得注册下啊!

http://www.clanlong.com/forum/thread-20468-1-1.html

『陆』 三国全面战争怎么造新兵种

create_unit 城市代码或任务代码 兵种代码 数量 经验 武器 防具

bi\data\text中查代码barbarian_invasion_easy_regions_and_settlement_names.txt为城市代码和郡代码(城就是郡城,地图上的都是郡城,郡是某个郡城领土范围),names.txt为任务代码,兵种代码是兵种名称+势力名称,在export_unit.txt中,建议找到后复制到word文档里方便查询。

{Huben_Wei}虎贲步兵

{Qinzou_Wei}青州兵

{Hubaoji_Wei}虎豹骑

{Zhongyuanzhong_Wei}中原重步兵

{Zhongyuanchangqiang_Wei}中原长枪兵

{Zhongyuanzhongji_Wei}中原重骑兵

{Wuhen_Wei}乌桓弓骑

{Zhonglu_BaShu}重弩手

{Zhongyuanbubin_Wei}中原步兵

{Zhongyuanqiangbin_Wei}中原枪兵

{Lu_Bashu}弩手

{Zhongyuanqibin_Wei}中原骑兵

{Gongshou_Wei}弓手

{Piliche_Wei}霹雳车

{Xianshushi_Wei}仙术师

{Minbin_Wei}民兵

{Xiaoyaojinsishi_Lvbu}逍遥津死士

{Xuangeqibin_Lvbu}并州铁骑

{Xianzhenyin_Lvbu}陷阵营

{Dafubin_Yuansu}大斧兵

{Fubin_Yuansu}斧兵

{Qiangqibin_Zhangxiu}羌骑兵

{Danyangbin_Taoqian}丹阳兵

{Xiliangtieji_Mateng}西凉铁骑

{Qiangbin_Mateng}羌兵

{Yongliangzhongbubin_Mateng}雍凉重步兵

{Yongliangzhongbubin_Mateng_descr_short}
{Yongliangchangqiangbin_Mateng}雍凉长枪兵

{Yongliangzhongqibin_Mateng}雍凉重骑兵

{Yongliangbubin_Mateng}雍凉步兵

{Yongliangqiangbin_Mateng}雍凉枪兵

{Yongliangqibin_Mateng}雍凉骑兵

{Gongshou_Mateng}弓手

{yuweibin_liyu}御卫兵

{Jinzouzhongbubin_Hanxuan}荆州重步兵

{Jinzouzhongchangqiangbin_Hanxuan}荆州长枪兵

{changbinsheshou_Hanxuan}苍髯射手

{Jinzoububin_Hanxuan}荆州步兵

{Jinzouqiangbin_Hanxuan}荆州枪兵

{Jinzouqibin_Hanxuan}荆州骑兵

{Gongshou_Hanxuan}弓手

{Minbin_Hanxuan}乡勇

{Jinzouzhongqibin_Liubiao}荆州重骑兵

{Hengjiangsheshou_Liubiao}横江射手

{Toushiche_Liubiao}投石车

{jiaozhouyishi_Hanxuan}交州义士

{Jieyinqi_Sunche}劫营骑

{Jiangdongzhongbubin_Sunche}江东重步兵

{Shanyuebin_Sunche}山越兵

{Jiangdongchangqiangbin_Sunche}江东长枪兵

{Jiefanbubin_Sunche}解烦步兵

{Jiangdongbubin_Sunche}江东步兵

{Jiangdongqiangbin_Sunche}江东枪兵

{Jiangdongqibin_Sunche}江东骑兵

{Gongshou_Sunche}弓手

{Minbin_Sunche}民兵

{Dageshi_YuanShao}大戟士

{Hebeizhongbubin_YuanShao}河北重步兵

{Hebeichangqiangbin_YuanShao}河北长枪兵

{Hebeizhongqibin_YuanShao}河北重骑兵

{Xiandengsishi_YuanShao}先登死士

{Hebeibubin_YuanShao}河北步兵

{Hebeiqiangbin_YuanShao}河北枪兵

{Hebeiqibin_YuanShao}河北骑兵

{Gongshou_YuanShao}弓手

{Xianbeigongqi_Zhangyan}鲜卑弓骑

{Heishanzei_Zhangyan}黑山贼

{Yanyun_Gongsun}燕云铁骑

{Baimayicong_Gongsun}白马义众

{Baimasheshou_Gongsun}白马射手

{Baimasheshou_Gongsun_descr_short}
{Wudangfeijun_Liubei}无当飞军

{Shanyue_Liubei}山岳骑兵

{Baierbin_Liubei}白耳兵

{Bashuzhongbubin_Liubei}巴蜀重步兵

{Bashuchangqiangbin_Liubei}巴蜀长枪兵

{Bashuzhongqibin_Liubei}巴蜀重骑兵

{Zhugelu_Liubei}诸葛弩

{Bashububin_Liubei}巴蜀步兵

{Bashuqiangbin_Liubei}巴蜀枪兵

{Bashuqibin_Liubei}巴蜀骑兵

{Gongshou_Liubei}弓手

Jianshi_Liubei}剑士

{Shanyue_Liuzhang}山岳兵

{Nanmanbin_Menghuo}南蛮兵

{NanmanZhongJiabin_Menghuo}南蛮重甲兵

{Xiangbin_Menghuo}象兵

{Nanzhongzhanxiang_Menghuo}南中战象

{Xunshoubin_Menghuo}训兽兵

{Xunshoubin_Menghuo}驱兽师

{Nanmanqibin_Menghuo}南蛮骑兵

{YuLin_BuBing}羽林军

{YuLin_BuBing_descr_short}
{YuLin_Qi}羽林骑

{JingRuiGongShou_JinZhou}荆襄精锐弓箭手

{Yaoshushi_All}妖术师

{Cike_All}刺客

{ManZei_ALL}蛮贼

{ShanZei_ALL}山贼

{LieRen_All}猎人

{LingNanYeRen_HanXuan}岭南野人

{LingNanYeRen_HanXuan_descr_short}
{YuLin_GongShou}羽林弓手

{YuLin_GongShou_descr}
{YuLin_QiangZhen}羽林枪阵

{JiaZhouZhongBing_All}甲胄重兵

{SunMeiMei_Sunce}孙氏女兵

{Shuibin_Sunche}水兵

{Baiyishuibing_Sunche}白衣水兵

{huangjinjun_all}黄巾军

{huangjinzei_all}黄巾贼

『柒』 谁知道如何在罗马全面战争中新添加一个新的兵种呀

说实话,对于罗马的修改是很久前的事了,具体也记不清楚了,建议你版上 罗马全面战权争 贴吧 问问下。
感觉你对罗马的修改也有点底子,给你说下,你先自己先看看,记住改前备份。
先在 export_descr_unit.txt 文件里面设定你想要的兵种,你可以先试着复制修改个原有的兵种,等熟悉了再自制。
再在 export_descr_buildings.txt 里面设定该兵种的招募条件和势力。
如果是远程兵种,可以在 descr_projectile_new.txt 里面增加你想要的远程武器,也可以用原有的。
在 text 文件夹里面的 export_units.txt 是赋予你新增兵种的说明,自己写写吧。
最后则是兵种的图片,这个就比较麻烦了,不是一句两句能说清楚的,具体什么的我也记不清了,建议你上那个贴吧问问,也可以网络下,但是就算没图片,前面弄好了也能用,无非是图片是农民的图片。
如果有什么不懂的问题,可以继续问,也可以上贴吧问问,不过你在贴吧里面提我的名字,估计也没人记得我。
最后再说下,改前备份。

这是我找到的类似的修改,你先看看。

『捌』 罗马全面战争增加新兵种

士兵模型一样是没法改的因为会冲突

『玖』 罗马全面战争添加其他兵种!求高手!

以下是在下把圣骑兵加入罗马布鲁图斯的方法
首先在dataexport_descr_unit.txt 这个文件中找圣骑兵
type east heavy cataphract
dictionary east_heavy_cataphract ; Cataphracts
category cavalry
class heavy
voice_type Heavy_1
soldier east_heavy_cataphract, 27, 0, 1
mount horse cataphract
mount_effect elephant -8, camel -4
attributes sea_faring, hide_forest
formation 1.2, 4, 2.4, 6, 3, square, wedge
stat_health 1, 0
stat_pri 7, 15, no, 0, 0, melee, blade, piercing, spear, 25 ,1
stat_pri_attr no
stat_sec 9, 4, no, 0, 0, melee, simple, blunt, mace, 25 ,1
stat_sec_attr ap
stat_pri_armour 18, 5, 0, metal
stat_sec_armour 0, 1, flesh
stat_heat 3
stat_ground 0, 1, -6, -1
stat_mental 8, normal, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 2, 890, 140, 90, 140, 890
ownership parthia, armenia, seleucid(在这后面加上, romans_brutii )
然后再修改dataexport_descr_buildings.txt 这个文件
我是这样改的:打开export_descr_buildings.txt 搜索到
recruit "east heavy cataphract" 0 requires factions { armenia, parthia, }
这样一行命令 如果我要添加亚马孙女战士进去就在这行下面加上
recruit "east heavy cataphract" 0 requires factions { romans_brutii, }
双引号里面的是兵种的名称 括号里面是招募的国家 招募的国家要和在
(最好在搜索到的每一条recruit "east heavy cataphract" 0 requires factions { armenia, parthia, }
下面都加上recruit "east heavy cataphract" 0 requires factions { romans_brutii, }
其他兵种也可以用这种方法弄到你想要的家族里

『拾』 罗马全战如何添加新兵种

首先 要有模型,也就是.TGA.DDS文件和.CAS文件
在1.3以上版本加新兵种,推荐先使用罗马保护硬盘加游戏速度的XPAK把游戏的PACK文件夹解包.
然后把上面提到的前一种文件放进游戏目录/DATA/MODELS_UNIT/TEXTURES中,后者放进/DATA/MODELS_UNIT中
这样模型就放好了
下面开始改文件:
首先要改的是DATA文件夹下的descr_model_battle文件,这个文件控制单位模型的指向
用记事本就可以打开:
可以看见这个文件是这样写的(我们以第一个希腊精锐黑骑兵为例)
type gangoh
skeleton fs_hc_spearman, fs_hc_swordsman
indiv_range 40
texture greek_cities, data/models_unit/textures/gangoh.tga
texture seleucid, data/models_unit/textures/gangoh.tga
texture macedon, data/models_unit/textures/gangoh.tga
texture thrace, data/models_unit/textures/gangoh.tga
model_flexi_m data/models_unit/gangoh.cas, 15
model_flexi_m data/models_unit/gangoh.cas, 30
model_flexi_m data/models_unit/gangoh.cas, 40
model_flexi data/models_unit/gangoh.cas, max
model_sprite greek_cities, 60.0, data/sprites/romans_senate_roman_praetorian_cavalry_sprite.spr
model_sprite seleucid, 60.0, data/sprites/romans_scipii_roman_praetorian_cavalry_sprite.spr
model_sprite macedon, 60.0, data/sprites/romans_brutii_roman_praetorian_cavalry_sprite.spr
model_sprite thrace, 60.0, data/sprites/romans_julii_roman_praetorian_cavalry_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5f
这里,第一行的TYPE是兵种模型的名字,接着的TEXTURE指向上面的/DATA/MODELS_UNIT/TEXTURES中的文件,
再下面的model_flexi指向/DATA/MODELS_UNIT中的文件,注意,如果进游戏后,进入战斗画面读时跳出,
就请检查模型的位置是否一致,如果一致,就在该文件中TEXTURE的模型名字前面加上使用国家的名字,
如上面的骑兵就加了使用国家的名字,尤其是多个国家公用的兵种建议一定要加国家名.
skeleton表示的是兵种模型的骨架类型--步,枪,骑,弓,弓骑等等。如果是骑兵,
用的是游戏中没有的马,还要加上马的模型
如下:
type gangohorses
skeleton fs_fast_horse
scale 0.875
indiv_range 40
texture greek_cities, data/models_unit/textures/gangohorses.tga
texture seleucid, data/models_unit/textures/gangohorses.tga
texture macedon, data/models_unit/textures/gangohorses.tga
texture thrace, data/models_unit/textures/gangohorses.tga
model_flexi data/models_unit/gangohorses.CAS, 15
model_flexi data/models_unit/gangohorses.CAS, 30
model_flexi data/models_unit/gangohorses.CAS, 60
model_flexi data/models_unit/gangohorses.CAS, 80
model_flexi data/models_unit/gangohorses.CAS, max
model_sprite greek_cities, 100.0, data/sprites/romans_julii_generals_horse_sprite.spr
model_sprite seleucid, 100.0, data/sprites/romans_julii_generals_horse_sprite.spr
model_sprite macedon, 100.0, data/sprites/romans_julii_generals_horse_sprite.spr
model_sprite thrace, 100.0, data/sprites/romans_julii_generals_horse_sprite.spr
model_tri 700, 0.3f, 0.3f, 0.3f
马的方法和兵种一样。然后还要在DATA文件夹下的descr_mount文件中加上马的数据
type gangohorses
class horse
model gangohorses
radius 1.5
x_radius 0.5
height 2.5
mass 7
banner_height 0
bouyancy_offset 1.8
water_trail_effect horse_water_trail
root_node_height 1.6
rider_offset 0.0, 0.15, 0.0
如果新加马,就写在HORSE类下,加象,写在ELEPHENT类下,等等
接着,就要改下一个export_descr_unit文件
这个文件控制兵种的基本属性
type gangoh
dictionary gangoh ; gangoh
category cavalry
class heavy
voice_type Heavy_1
soldier gangoh, 27, 0, 1
mount gangohorses
mount_effect elephant -8, camel -4
attributes sea_faring, hide_forest, hardy
formation 1.5, 4, 3, 6, 4, square, wedge
stat_health 1, 0
stat_pri 11, 6, no, 0, 0, melee, simple, piercing, spear, 25 ,1
stat_pri_attr no
stat_sec 18, 8, no, 0, 0, melee, simple, piercing, sword, 25 ,1
stat_sec_attr no
stat_pri_armour 15, 10, 0, metal
stat_sec_armour 0, 1, flesh
stat_heat 2
stat_ground 0, 0, 0, 0
stat_mental 10, disciplined, highly_trained
stat_charge_dist 40
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 1500, 200, 250, 500, 1500
ownership greek
详细说明如下:
1、type carthaginian elephant african cataphract
类型 兵种的内部名称,不会在游戏界面显示
2、dictionary carthaginian_elephant_african_cataphract ; Armoured Elephants
名称 游戏界面上显示的名字
3、category cavalry
种类:可分为infantry步兵,cavalry骑兵,siege机械,handler训兽者,ship船只和non_combatant其他人员。
4、class heavy
等级:轻装light,重装heavy,投射missile和长矛兵spearmen。
5、voice_type Heavy_1
兵种使用的声音文件
6、soldier carthaginian_big_elephant_crew, 18, 6, 1
士兵模式 依次为:
士兵模型使用的名字;
士兵的标准数量;
士兵携带其他物体的数量(猪,狗,大象,两轮战车,机械等);
士兵的碰撞质量,正常为1.0,只限于步兵。
7、mount elephant african cataphract
兵种所携带的物体 战象
此项根据不同的兵种还可以分为:
officer 军官 某些步兵由军官带领,一支部队最多可以有3名军官
ship 海军
engine 机械
animal 不能骑的动物(狗和猪)
mount 坐骑(包括马,骆驼,大象)和战车
8、mount_effect horse +4, chariot +8, camel +4
战斗中对抗敌人的特殊坐骑时对战斗力的影响。大象对马时攻击+4,战车+8,骆驼+4
9、attributes sea_faring, can_run_amok, frighten_foot, frighten_mounted
属性 兵种单位所具有的能力,可以有多个,用逗号隔开,具体分为:
sea_faring = can board ships 能上船
hide_forest, hide_improved_forest, hide_long_grass, hide_anywhere = defines where the unit can hide 单位能隐藏的地方:树林,森林,长的草地,任何地方
can_sap = Can dig tunnels under walls 能在墙脚下挖地道
frighten_foot, frighten_mounted = Cause fear to certain nearby unit types 让附近的特定单位产生恐惧
can_run_amok = Unit may go out of control when riders lose control of animals 失去对动物的控制后,动物会乱跑
general_unit = The unit can be used for a named character's bodyguard 亲卫队
cantabrian_circle = The unit has this special ability 单位拥有的技能
no_custom = The unit may not be selected in custom battles 在自定义战役里不能选择
command = The unit carries a legionary eagle, and gives bonuses to nearby units 单位携带一只古代罗马军团的鹰, 能激励附近的单位
mercenary_unit = The unit is s mercenary unit available to all factions 可雇佣
10、formation 7, 11, 13,16, 1, square
阵型 依次为:
紧密阵型士兵左右和前后的间距;
松散阵型士兵左右的间距;
默认的行数;
单位拥有的特殊阵型(可以有一或两个):square 正方形方阵,horde游牧阵型,phalanx步兵方阵,testudo龟甲阵,wedge三角阵;
11、stat_health 1, 15
1, 15 这个是生命值,前一个是人的,后一个是动物的(骑兵的坐骑不计算生命值)大多数兵种是1,斯巴达枪兵和公牛战士是2,狂战士是3,大象是15。
12、stat_pri 10, 3, arrow, 120, 60, missile, archery, piercing, none, 25 ,1
士兵的主要武器,如果是远程兵种,远程武器就是主要的 依次为:
攻击力;
冲锋时的攻击加成(突击力);
远程武器类型;
远程武器射击距离;
士兵携带的远程武器数量;
武器类型:melee肉搏, thrown投掷, missile远程(弓箭),siege_missile机械;
技术类型:simple简单,other其他,blade刀刃,archery弓箭或siege机械;
伤害类型:piercing穿刺,blunt钝武器,slashing猛击,fire火烧;
武器撞击的声音:none无,knife小刀,mace铁锤,axe斧头,sword刀剑,spear长矛;
攻击的最小时间间隔;
13、stat_pri_attr no
主要武器属性 依次为:
ap 破甲,只有目标有甲时才计算
bp 穿透身体,指远程武器在上穿第一个人后,是否还对后面的人造成伤害
spear 长矛,对骑兵有加成,对步兵有扣除
long_pike 长枪,只有能组成方阵的步兵使用
short_pike 短枪,只有能组成方阵的步兵使用
prec 只在冲锋前投掷武器
thrown 投掷,指距离比较短的武器
launching 射击,能在空中飞行一段距离
area = 成片攻击,不只是一个人
14、stat_sec 7, 11, no, 0, 0, melee, other, blunt, none, 25 ,1
次要武器:如果是骑兵、动物、战车,这就是他们的攻击力;如果是远程兵种,这就是他们的肉搏能力;如果是一些特殊的肉搏兵种(长武器的),这就是他们短武器的攻击力,具体同stat_pri
15、stat_sec_attr area, launching, ap
具体同stat_pri_attr
16、stat_pri_armour 0, 4, 0, flesh
主要防御 依次为
防御力;防御技巧加成(被射击时无用);盾牌加成(只对来自左边的攻击有效);被撞击发出的声音:身体,皮革,金属
17、stat_sec_armour 16, 3, flesh
次要防御:指动物或战车的防御(骑马的另外计算),具体同stat_pri_armour
18、stat_heat -1
在炎热天气作战时,体力的额外损失(正的越多表示损失越大)
19、stat_ground 0, 1, -6, -1
在不同地形作战的加成(对于攻击力而言): 灌木,沙漠,森林,雪地
20、stat_mental 8, normal, untrained
依次为:基本的士气,纪律和训练。纪律分为正常,低纪律,有纪律和狂暴,狂暴的部队有可能不下令就突击。训练决定阵型的整齐程度
21、stat_charge_dist 30
士兵开始突击敌人的距离
22、stat_fire_delay 0
这个不知道
23、stat_food 60, 300
已经无用了
24、stat_cost 2, 2670, 590, 270, 400, 2670
依次为:招募所需回合数;帝国战役的招募费用;平时的维护费用;升级武器的费用;升级盔甲的费用;自定义战役的招募费用
25、ownership carthage
哪个国家可以使用此单位
注意:这里,如果office,mount在游戏中原来没有的话,一定要把模型写在descr_model_battle文件里
第三,我们还要改一个:export_descr_unit_enums文件
这里是兵种的例举、
把新兵种名字加上去就可以了,标准格式如下:
gangoh
gangoh_descr
gangoh_descr_short
为了在游戏里显示你新兵种的名字,打开DATA/TEXT文件夹,里面有一个export_units文件
打开,在最后一行写上兵种名字和基本介绍
{gangoh} 希腊精锐黑骑兵
{gangoh_descr}
精英\n有纪律\n可以组成楔形队型\n\n希腊黑骑兵是希腊战争和社会中的精英。他们以重骑兵的方式\n作战,其纪律是其他国家罕见匹敌者。他们使用长矛,穿戴好的盔\n甲,因此可以在冲锋时造成极大的破坏。他们是罗马帝国的忠心仆\n人,由他们的父母交给神殿,以负担军事责任,而非做为仪式的祭\n礼。
{gangoh_descr_short}
希腊黑骑兵以重骑兵的方式作战,配备长矛和\n剑,全身上上都穿著盔甲。他们是希腊战事和\n社会的精英。
第一行是兵种名字
第二段是在帝国战役中拉出的兵种介绍
第三段是在自定义战役前,选兵的时候鼠标放在兵牌上显示的短介绍
繁体罗马最好用繁体写,英语罗马用英语写
为了在帝国征战中兵种能招募,请打开DATA下的export_descr_buildings文件,在你需要的兵营下写出兵种名字,如果你找不到也没关系,找一个你熟悉的兵种名字,找到后在这个兵种下画葫芦画一行,改成你的兵种名字就可以了
如:recruit "gangoh" 0 requires factions { greek, }
这里注意两点:1:如果你在低级的兵营可以招募,记得要把这行字复制粘贴到更高一级别的兵营中,否则会出现升级兵营而不能造以前的兵种的现象。
2;一个国家同一建筑建造的单位不能超过32个
如果你想把某个兵种变成雇佣兵,请仍然按上面的除了改export_descr_buildings文件外的方式做,在export_descr_unit文件一定要加上雇佣属性(具体见上面该文件解释)
然后打开\Data\world\maps\campaign\imperial_campaign里的descr_mercenaries文件
把你兵种加到想出现的雇佣地区下
如下:
pool Britain
regions Britannia_Inferior Tribus_Silurii Britannia_Superior Hibernia
unit merc barbarian infantry, exp 0 cost 800 replenish 0.06 - 0.19 max 2 initial 1
第一行为地区
第二行:该地区省份
第三行开始为可雇佣军队,UNIT后加上兵种名字,EXP后面加上经验,COST后面加上价格,REPLENISH后加出现几率。
加新兵种注意事项:
1;严格按游戏文件格式:该空格空格,该加的标点等等一个不能少,请多参考已有的兵种。
2;加完一个兵种可以用自定义战役测试下是否正确,如果不能进游戏或者进自定义战役前跳出,就说明修改有问题,请
--------------------------------------------------------------
简单加新兵的方法:
先下那个黑暗军团的兵种,
按里面的文件名,一个一个加,这样应该不难吧
文件夹可以直接覆盖, 其中一个文件夹就不能覆盖,那个TEXT文件就不能直接覆盖,里面是文本,
文本要找到原来的游戏文件,把里面的数据直接添加进去。直接复制里面的数据,加到文件的最下面
加好后就用自定战役测试,加入新兵种模型的测试好方法之一,不能在自定战役正常使用的兵种,在会战中也会出错的。
测试成功后,想在帝国会战里玩就要:

由于我做的兵种模型没有在export_descr_buildings.txt加入该兵种,是因为各版本的这个文件都不相同,所以只能自己修改。
1、用“Ctrl+F”查找barracks,找到:
building barracks
{
levels muster_field militia_barracks city_barracks army_barracks royal_barracks
{
muster_field requires factions { barbarian, ct_carthage, eastern, parthia, egyptian, greek, roman, }
{
capability
{
recruit "carthaginian city militia" 0 requires factions { spain, }
recruit "barb infantry briton" 0 requires factions { britons, }
recruit "barb infantry dacian" 0 requires factions { dacia, }
recruit "barb infantry gaul" 0 requires factions { gauls, }
recruit "warband spear german" 0 requires factions { germans, }
recruit "barb horse archers scythian" 0 requires factions { scythia, }
recruit "carthaginian city militia" 0 requires factions { carthage, }
recruit "numidian javelinmen" 0 requires factions { numidia, }
recruit "east infantry" 0 requires factions { eastern, }
recruit "egyptian nubian spearmen" 0 requires factions { egyptian, }
recruit "greek hoplite militia" 0 requires factions { greek, }
recruit "roman city militia" 0 requires factions { roman, }
}
construction 2
cost 600
settlement_min town
upgrades
在recruit "roman city militia" 0 requires factions { roman, }下面
增加recruit "你的兵种" 0 requires factions { 国家, } ,例:
recruit "greek hoplite militia" 0 requires factions { greek, }
recruit "roman city militia" 0 requires factions { roman, }
recruit "你的兵种" 0 requires factions { 国家, }
}
construction 2

阅读全文

与全面战争创建新兵种相关的资料

热点内容
历史知识薄弱 浏览:23
军事理论心得照片 浏览:553
历史故事的启发 浏览:22
美自然历史博物馆 浏览:287
如何评价韩国历史人物 浏览:694
中国炼丹历史有多久 浏览:800
邮政历史故事 浏览:579
哪里有革命历史博物馆 浏览:534
大麦网如何删除历史订单 浏览:134
我心目中的中国历史 浏览:680
如何回答跨考历史 浏览:708
法国葡萄酒历史文化特色 浏览:577
历史人物评价唐太宗ppt 浏览:789
泰安的抗日战争历史 浏览:115
七上历史第四课知识梳理 浏览:848
历史老师职称需要什么专业 浏览:957
什么标志军事信息革命进入第二阶段 浏览:141
正确评价历史人物ppt 浏览:159
ie浏览器如何设置历史记录时间 浏览:676
高一历史必修一第十课鸦片战争知识点 浏览:296