罗马全面战争修改之增加一个新兵种

时间:2024.4.21

打印 [罗马全面战争] 罗马全面战争修改之增加一个新兵种

圣殿骑士

骑士团当家

Perfect

帖子2386 精华10 佛罗林币10605 枚 功勋0 注册时间2004-3-13 发短消息 加为好友 当前离线 楼主 大 中 小 发表于 2004-11-1 12:09 AM 只看该作者 罗马全面战争修改之增加一个新兵种

玩了一段时间的罗马,是不是有点厌烦了,想自己加个新兵种进去,具体步骤是这样的:

1、先制作一个新兵种的dds文件,就是皮肤,具体方法请看/forum/thread-10943-1-1.html,会3dmax的朋友还可以修改Rome - Total War\Data\models_unit里的cas文件,这个是兵种的3d模型,也就是骨架,可以做一个全新的兵种。做好的皮肤(dds文件)放在Rome - Total War\Data\models_unit\TEXTURES里,起个新名字,比如是UNIT_EASTERN_LIGHT_INFANTRY_CHINA.TGA,然后打开Rome - Total War\Data下的descr_model_battle,加入下面的内容:

引用:

type Chinese_cavalry

skeleton fs_hc_spearman, fs_hc_swordsman

indiv_range 40

texture parthia, data/models_unit/textures/UNIT_EASTERN_LIGHT_INFANTRY_CHINA.TGA

model_flexi data/models_unit/unit_eastern_heavy_infantry_high.cas, 15

model_flexi data/models_unit/unit_eastern_heavy_infantry_med.cas, 30

model_flexi data/models_unit/unit_eastern_heavy_infantry_low.cas, 40

model_flexi

data/models_unit/unit_eastern_heavy_infantry_lowest.cas, max

model_sprite

data/sprites/china_HEAVY_INFANTRY_SPRITE.SPR

model_tri 400, 0.5f, 0.5f, 0.5f

详细说一下:

引用:

type Chinese_cavalry

这是兵种的内部名字。

引用:

skeleton fs_hc_spearman, fs_hc_swordsman

这是兵种的动作文件,什么兵该有什么样的动作,fs_hc_spearman是马上用长矛的,fs_hc_swordsman是马上用剑的,还有其他的,大家可以看其他兵种就明白了。修改这里可以让兵种出现不同的动作,比如长矛兵可以象标枪兵那样把矛投出去等。

引用:

texture parthia, parthia, 60.0,

data/models_unit/textures/UNIT_EASTERN_LIGHT_INFANTRY_CHINA.TGA

这就是新兵种的皮肤所在位置,一定不要弄错了!

引用:

model_flexi data/models_unit/unit_eastern_heavy_infantry_high.cas, 15

model_flexi data/models_unit/unit_eastern_heavy_infantry_med.cas, 30

model_flexi data/models_unit/unit_eastern_heavy_infantry_low.cas, 40

model_flexi

data/models_unit/unit_eastern_heavy_infantry_lowest.cas, max

这些是3d模型的设定,如果你只是修改了皮肤(dds文件),而没有修改cas文件,这些可以不变;如果修改了cas文件,就把文件名换换,指向新修改的cas文件。(其实cas文件可以只有一个,不用向游戏原来那样分成high,med,low,lowest四个,但格式一样要按原来的,比如改成这样:

引用:

model_flexi data/models_unit/unit_eastern_heavy_infantry.cas, 15 model_flexi data/models_unit/unit_eastern_heavy_infantry.cas, 30 model_flexi data/models_unit/unit_eastern_heavy_infantry.cas, 40 model_flexi data/models_unit/unit_eastern_heavy_infantry.cas, max 引用:

model_sprite parthia, 60.0, data/sprites/china_HEAVY_INFANTRY_SPRITE.SPR

这个是兵种最小化时使用的文件,要和前面的model_flexi所用兵种一致,就是说前面是骑兵的,这里不能改步兵,不然会跳出游戏。

添加了上述内容后保存即可。

2、打开Rome - Total War\Data里的export_descr_unit,设定兵种的具体数值,详细说明看/forum/thread-9834-1-1.html,加入如下内容:

引用:

type Chinese cavalry

dictionary Chinese_cavalry ; Chinese cavalry

category cavalry

class heavy

voice_type Medium_1

soldier Chinese_cavalry, 27, 0, 1

mount light horse

mount_effect elephant -8, camel -4

attributes sea_faring, hide_forest

formation 1.5, 4, 3, 6, 4, square, wedge

stat_health 1, 0

stat_pri 7, 7, no, 0, 0, melee, blade, piercing, spear, 25 ,1

stat_pri_attr no

stat_sec 5, 3, no, 0, 0, melee, simple, piercing, sword, 25 ,1

stat_sec_attr no

stat_pri_armour 3, 3, 4, metal

stat_sec_armour 0, 1, flesh

stat_heat -1

stat_ground 0, 1, -4, 1

stat_mental 4, normal, trained

stat_charge_dist 40

stat_fire_delay 0

stat_food 60, 300

stat_cost 1, 350, 110, 70, 100, 550

ownership parthia

需要说明的是:

引用:

soldier Chinese_cavalry, 27, 0, 1

这里是兵种的模型说明,要和descr_model_battle里的type Chinese_cavalry一致 引用:

mount light horse

mount_effect elephant -8, camel -4

这是骑兵,象兵等才有,单独的士兵可以没有这两项

修改这个文件要慎重,不要改得太夸张,不然进不了游戏,修改完后保存即可。

3、打开Rome - Total War\Data\text里的export_units,设定兵种的说明,要按照里面的格式,加入一下内容:

引用:

{Chinese_cavalry} Chinese Cavalrymen

{Chinese_cavalry_descr}

Superior\nImpetuous\nCan Form Wedge\n\nChinese cavalry are superb horsemen: armoured lancers who can put many infantry units to flight. They are heavy cavalry who seek the good opinion of their people by acts of bravery. They are eager to prove their worth and the lure of glory is what drives them.\n\nThey are equipped as armoured lancers wearing heavy Scythian mail, reinforced with bronze and iron scales in vulnerable spots. They do not bother with shields so that both hands are free to manipulate the lance.\n\nOn the battlefield Scythian nobles are often used to break through an enemy line after it has been weakened by archery, carrying all before them in a disciplined, dangerous charge.

{Chinese_cavalry_descr_short}

nChinese cavalry are superb horsemen: armoured lancers who can put many infantry units to flight. They are heavy cavalry who seek the good opinion of their people by acts of bravery. They are eager to prove their worth and the lure of glory is what drives them.\n\nThey are equipped as armoured lancers wearing heavy Scythian mail, reinforced with bronze and iron scales in vulnerable spots. They do not bother with shields so that both hands are free to manipulate the lance.\n\nOn the battlefield Scythian nobles are often used to break through an enemy line after it has been weakened by archery, carrying all before them in a disciplined, dangerous charge.

兵种的名字(Chinese_cavalry)不能错,要和export_descr_unit里的dictionary Chinese_cavalry ; Chinese cavalry一致。

引用:

{Chinese_cavalry_descr}是完整说明,{Chinese_cavalry_descr_short}

是简短说明。

Superior\nImpetuous\nCan Form Wedge\n是属性说明

到这里,新加的兵种就可以在自定义战役里使用,不过图标是农民。

4、打开Rome - Total War\Data里的export_descr_unit_enums,加入以下内容即可:

引用:

{Chinese_cavalry}

{Chinese_cavalry_descr}

{Chinese_cavalry_descr_short}

5、在Rome - Total War\Data新建一个ui文件夹,在里面新建一个UNIT_INFO文件夹,这个里面是兵种说明时出现的图标,比如刚才的Chinese_cavalry属于PARTHIA,就新建PARTHIA文件夹,找个兵种图,大小是160*210的,转成tga格式的(用ACDSee就可以),把文件名改成Chinese_cavalry_INFO即可。

6、在Rome - Total War\Data\ui里新建一个UNITS文件夹,这里是放游戏界面里下方部队小图标的,比如刚才的Chinese_cavalry属于PARTHIA,就新建PARTHIA文件夹,找个兵种图,大小是160*210的,大小是48*64的,转成tga格式的(用ACDSee就可以),把文件名改成#Chinese_cavalry即可。这样游戏里新加兵种就有了自己的图标。

7、打开Rome - Total War\Data\export_descr_buildings,这里是兵种所需要的建筑说明,在相应的建筑里,按照文件的格式加入:recruit "Chinese cavalry" 0 requires factions { parthia, }即可。

好了,这样我们就可以拥有自己创造的军队,带他们去征服世界吧!!!

1.5的修改我来帮你。呵呵。先问一下,你是不是想把圣团兵种修改成其他势力或家族也可用。

进入游戏找到马其顿圣团兵种,在兵种图片上点击右键,左侧会出现他的相关信息,找到他的征募费用和维护费用(假如是200,100)。

然后在游戏的安装文件里找到这个文件Rome - Total War\Data\export_descr_unit.txt.记得先保存一份,免得出错,进入搜索200,100.逗号后面有个空格。搜索到以后现在这一列对应的就是圣团兵种的属性了。

最后一列的ownership代表的是他属于那个国家或家族。想让他在那个国家出现后面就添加那个国家的名称就OK了。记得名称之间用逗号隔开,逗号后面没有空格。

以修改希腊能生产同伴骑兵(Companion Cavalry)为例。

1.找到游戏目录

X:\Program Files\Activision\Rome - Total War\Data里的export_descr_buildings.txt以及export_descr_unit.txt这两个文件。

2.打开export_descr_buildings.txt,找到

引用:

circus_maximus requires factions { carthage, parthia, macedon, seleucid, roman, } .....

.....

recruit "greek royal cavalry" 0 requires factions { seleucid, macedon, } 这里,在大括号可生产国家内添入greek_cities,改后就是

引用:

recruit "greek royal cavalry" 0 requires factions { seleucid, macedon, greek_cities, }

然后保存。

3.打开export_descr_unit.txt,找到

引用:

type greek royal cavalry

dictionary greek_royal_cavalry ; Companion Cavalry

category cavalry

class heavy

voice_type Heavy_1

soldier greek_royal_cavalry, 27, 0, 1

mount heavy horse

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 10, 16, no, 0, 0, melee, blade, piercing, spear, 25 ,1

stat_pri_attr no

stat_sec 12, 4, no, 0, 0, melee, simple, piercing, sword, 25 ,1

stat_sec_attr no

stat_pri_armour 11, 6, 0, metal

stat_sec_armour 0, 1, flesh

stat_heat 2

stat_ground 0, 0, -6, 0

stat_mental 10, disciplined, highly_trained

stat_charge_dist 40

stat_fire_delay 0

stat_food 60, 300

stat_cost 2, 760, 240, 80, 120, 760

ownership macedon, seleucid

在ownership里加入greek_cities就变成了

引用:

type greek royal cavalry

dictionary greek_royal_cavalry ; Companion Cavalry

category cavalry

class heavy

voice_type Heavy_1

soldier greek_royal_cavalry, 27, 0, 1

mount heavy horse

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 10, 16, no, 0, 0, melee, blade, piercing, spear, 25 ,1

stat_pri_attr no

stat_sec 12, 4, no, 0, 0, melee, simple, piercing, sword, 25 ,1

stat_sec_attr no

stat_pri_armour 11, 6, 0, metal

stat_sec_armour 0, 1, flesh

stat_heat 2

stat_ground 0, 0, -6, 0

stat_mental 10, disciplined, highly_trained

stat_charge_dist 40

stat_fire_delay 0

stat_food 60, 300

stat_cost 2, 760, 240, 80, 120, 760

ownership macedon, seleucid, greek_cities

然后保存。

4.在Data目录下建立一个新的目录ui,在ui目录下再建两个目录unit_info和units,在然后再在这两个目录下分别建立名为greek_cities的目录。在units目录下建立CONSTRUCTION目录。

5.到游戏中截同伴骑兵兵种介绍的图,用PhotoShop、Firework之类的图形软件将图处理成160(宽) x 210(高)像素的tga图形文件。将这个文件改名为greek_royal_cavalry_info.tga存到刚才建立的Data\ui\unit_info\greek_cities目录下。

6.到游戏中截同伴骑兵兵种士兵牌的图,同样用图形软件将图处理成尺寸为42(宽) X 56(高)像素的tga图形文件。将这个文件改名为

#greek_royal_cavalry.tga存到刚才建立的Data\ui\units\greek_cities目录下。

7.到游戏中截同伴骑兵兵种士兵牌的图,同样用图形软件将图处理成尺寸为44(宽) X 64(高)像素的tga图形文件。将这个文件改名为

#greek_royal_cavalry.tga存到刚才建立的Data\ui\CONSTRUCTION\greek_cities目录下。

注意兵种名称(蓝色)一定要与export_descr_unit.txt里dictionary给出的相同,兵种名称的红色部分是统一的使用格式。其他兵种建立方式可以以此类推。

本帖来自:黄龙骑士团论坛 原文:/forum/thread-40493-1-1.html

更多相关推荐:
罗马全面战争攻略

罗马非一日建成如果你梦想亲身体验这句名言的魅力那么就别错过罗马全面战争这部3CD的史诗巨作它将你引回到2200多年前动荡的地中海建立庞大帝国完成恺撒式千秋功业的机遇就展现在眼前它在战略层次上借鉴了文明式的回合制...

战争名言

罗马全面战争中出现的所有名言原版15243明智的人在和平时期备战贺拉斯古罗马三大诗人之一44战争是母亲的梦魇贺拉斯古罗马三大诗人之一45姑息一人的罪过就等于鼓励众人犯罪帕布留斯西鲁斯古罗马智者46居安思危方为全...

拿破仑全面战争策略

排兵布阵的策略在拿破仑全面战争中有很多经典名言个人最喜欢的是历史是大多数人相信的寓言现在和大家一块分享一下我的游戏战争策略单纯的排兵布阵希望和大家一块书写我们自己的战争历史若想赢得战争的胜利在战场上必须学会排兵...

帝国全面战争:秘籍

打开后输入addmoney100000每次最多加40000togglefow去除战争迷雾autowindefenderattacker自动赢得下一场战斗showcursorstat游戏会给出鼠标所在位置的坐标m...

帝国 全面战争 国家一览

帝国全面战争国家一览主要国家英国法国西班牙普鲁士奥地利俄罗斯马拉地联盟瑞典波兰立陶宛奥斯曼莫卧儿荷兰次要国家爱尔兰苏格兰格鲁吉亚车臣达吉斯坦阿富汗旁遮普迈索尔马穆鲁克埃及美索不达米亚摩洛哥巴巴里葡萄牙克里米亚挪...

帝国的叹息(全面战争)秘籍

帝国的叹息全面战争秘籍按建输入指令地图全开togglefow加金钱addmoney30000加兵createunit空格城市名或人名代码空格quot兵种代码quot空格1空格9空格3空格3如createunit...

罗马全面战争城市名

罗马全面战争城市名NamesforregionsandsettlementsintheimperialcampaignBritanniaInferior下不列颠TribusSaxones撒克逊LocusGepi...

罗马皇帝Marcus Aurelius及其名言

罗马皇帝MarcusAurelius在古罗马帝国衰退前期统治这个公元160年期间的欧亚大国十六年他就是20xx年电影Gladiators中那个即将死去的老人他遗留下来的一本笔记感悟或者说给自己的教训我读来觉得和...

罗马法格言集

罗马法格言集法律法学理论习惯是法律最好的解释者70有法律就有欺诈135法不是针对个别人的而是为所有人普遍创设的137法律应当能被所有人理解151通晓法律不在于了解它的文字表述而在于掌握它的精神和实质223法是善...

关于战争的名言

关于战争的名言1战争是强迫敌人服从我们意志的一种暴力行为克劳塞维茨2战争在你愿意时开始却并不你乐时结束马基雅弗利3包括懦夫在内的任何人都可以发动战争但要结束战争却得到胜利者的同意萨卢斯特4战争用伯也用黄金奥维德...

有关战争的诗句名言

1美酒夜光杯欲饮琵琶马上催醉卧沙场君莫笑古来征战几人回王翰凉州词2秦时明月汉时关万里长征人未还但使龙城飞将在不教胡马度阴山王昌龄出塞3青海长云暗雪山孤城遥望玉门关黄沙百战穿金甲不破楼兰终不还王昌龄从军行4醉里挑...

关于战争的名言

关于战争的名言1如果在扎马我没有被你击败那我将把自己列在亚历山大之上汉尼拔第二次布匿战争中侵入罗马本土的迦太基名将2雅典人留来勉励大家的时间已经不多了但是对于勇敢者而言几句话就如同长篇大论的演讲希波克拉提斯伯罗...

罗马全面战争名言(1篇)