注册 | 登录

游侠NETSHOW论坛





游侠NETSHOW论坛 游侠NETSHOW论坛 全面战争全系列MOD讨论区 三国MOD里铁匠铺里的属性如何修改
查看: 5092|回复: 4
打印 上一主题 下一主题

[求助] 三国MOD里铁匠铺里的属性如何修改 [复制链接]

帖子
6
精华
0
积分
2
金钱
39
荣誉
0
人气
0
评议
0
跳转到指定楼层
楼主
发表于 2009-9-27 09:11:57 |只看该作者 |倒序浏览
三国MOD里铁匠铺里的属性如何修改 也就是那些 轻武器 重武器 装甲 之类的  我改了庙宇的属性 可那个并不全面 所以想寻找铁匠铺的代码 请哪位修改达人 指导一下 谢谢!

使用道具 举报

帖子
6
精华
0
积分
2
金钱
39
荣誉
0
人气
0
评议
0
沙发
发表于 2009-9-27 10:50:33 |只看该作者
另外请帮忙翻译下下面各代码

以  白马义从-弓骑 为例

type             Baimayicong Gongsun
dictionary       Baimayicong_Gongsun
category         cavalry
class            missile
voice_type       Heavy_1
soldier          Baimayicong_Gongsun, 1000, 0, 1
mount            sanguo horse bmyz
mount_effect     elephant -4, camel -4
attributes       sea_faring, hide_forest, hardy, cantabrian_circle, power_charge
formation        1.5, 4, 3, 6, 4, square
stat_health      1, 0
stat_pri         11, 6, arrow, 130, 30, missile, archery, piercing, none, 25 ,1
stat_pri_attr    no
stat_sec         8, 7, no, 0, 0, melee, simple, piercing, sword, 25 ,1
stat_sec_attr    no
stat_pri_armour  12, 11, 0, leather
stat_sec_armour  0, 4, flesh
stat_heat        3
stat_ground      0, 2, -6, 4
stat_mental      11, disciplined, highly_trained
stat_charge_dist 40
stat_fire_delay  0
stat_food        60, 300
stat_cost        0, 2400, 1040, 220, 200, 1200
ownership        saxons

  万分感谢!!

使用道具 举报

帖子
968
精华
0
积分
524
金钱
1381
荣誉
4
人气
0
评议
0
板凳
发表于 2009-9-27 13:37:17 |只看该作者

供参考

在data下export_descr_unit文件
以原版Lancer为例:
type Lancers
dictionary Lancers ; Lancers
category cavalry
(兵种类:骑兵还是步兵还是.......要对应你改的兵种)
class heavy
(兵类型)
voice_type Heavy
(兵的声响类型)
banner faction main_cavalry
(兵种旗帜)
banner holy crusade_cavalry
(变成十字军或发动圣战后的旗帜)
soldier Lancers, 32, 0, 1
(依次为:骑手;兵标准数,坐骑的数量,冲撞质量....骑兵人马合一,故骑为0;大象骑手按比例,想增加枪象上的射手就把前数增加,最大为2人1象,想增加大象就改中间数字;冲撞质量标准为1,增加则提高突破能力。)
mount armoured horse
(坐骑类型)
mount_effect elephant -4, camel -4
(和哪种兵战斗有加成或惩罚多少)
attributes sea_faring, hide_forest, hardy, can_withdraw, can_formed_charge, knight
(兵的属性)
formation 2, 4.4, 3, 6, 2, square, wedge
(兵的前后左右排列和能使用的阵型,红2是指行数,可调整兵的正面火力覆盖;后面分别是初始阵型和可变阵型)
stat_health 1, 0
(依次:人的生命值;坐骑的生命值......注意远射兵器只识别人的生命,所以大象怕远射)
stat_pri 13, 8, no, 0, 0, melee, melee_blade, piercing, spear, 25, 1
(依次:主武器攻击;冲锋加成;远程武器名;射程;弹药;交战类型;武器类型;武器声音;近战武器名;动作时间;武器切换速度)
;stat_pri_ex 0, 0, 0
(武器升级变化)
stat_pri_attr no
(主武器属性)
stat_sec 14, 4, no, 0, 0, melee, melee_blade, piercing, sword, 25, 1
(依次是次武器:攻击;冲锋加成等.....参照stat_pri)
;stat_sec_ex 0, 0, 0
(次器升级变化)
stat_sec_attr no
(次武器属性)
stat_pri_armour 11, 5, 0, metal
(依次:兵的甲防;技防;盾防;......技防近战有效,对远射无效;盾防正面有效,跑动中无效,原版盾防计算出错,使得防御倒减)
;stat_armour_ex 11, 0, 0, 0, 5, 0, 0, metal
(兵防御的升级变化)
stat_sec_armour 0, 0, flesh
(坐骑防御的升级变化)
stat_heat 6
(疲劳速度,越大越累得越快)
stat_ground 0, -2, -4, 0
(依次:灌木丛,沙地,森林,雪地的攻击和防御加成或惩罚)
stat_mental 11, impetuous, trained
(依次:士气;纪律;训练.......纪律就是会不会乱冲乱跑,训练影响阵型是否容易被打乱)
stat_charge_dist 45
(开始冲锋距离........冲锋时不能变向,但有冲锋加成)
stat_fire_delay 0
(整合队伍时间,影响部队的反映能力)
stat_food 60, 300
(不明)
stat_cost 1, 930, 320, 130, 100, 930, 4, 230
(依次:造兵回合;购买价格;维护费;升级武器费;升级盔甲费;自定义战役费用;多于几队开始罚钱;罚钱的多少)
armour_ug_levels 6
(盔甲升级要求铁匠等级)
armour_ug_models Lancers
(盔甲升级后套用模型)
ownership france
(哪国能造)
era 2 france
(哪国在哪些时期拥有.....era 0为初期;era 1为中期;era 2为后期;注意要按上下顺序依次添加)
;unit_info 13, 0, 16
(凡是前面带;号数据无效)

《常用兵属性列表》:attributes后能用的数据
sea_faring 能上船
can_withdraw 可以撤退
mercenary_unit 雇佣兵
hide_forest 能隐藏在森林中
hide_improved_forest 能良好的隐藏在森林中
hide_anywhere 能隐藏在任何地方
hardy 耐力良好
very_hardy 耐力极佳
can_formed_charge 可列队冲锋
knight 骑士(作用不明)
free_upkeep_unit 在城镇中可免维护费
cantabrian_circle 环形射击
general_unit 将军单位
general_unit_upgrade 后期将军单位
gunpowder_unit 有火枪装弹动作
fire_by_rank 多列轮流射击
gunmen 火枪手,只有第一排可以射击
guncavalry 龙骑兵,只有第一排可以射击
crossbow 十字弓,只有第一排可以射击
start_not_skirmishing 默认关闭自动闪避
stakes 可放置木桩
pike 超长枪
frighten_mounted 惊吓马匹
frighten_foot 惊吓步兵
can_run_amok 会发疯
druid 德鲁依,增加友军士气
artillery 炮兵(武器)
cannon 加农炮(武器)
rocket 火箭(武器名)
mortar 迫击炮(武器)
explode 会爆气
standard 军旗部队(加士气)
is_peasant城市免费

《常用武器属性列表》:stat_pri_attr和stat_sec_attr后能用的数据
ap 破甲,目标的盔甲防御力减半
bp 穿体,远程攻击可以穿过人体打击到后面的人
spear 适用于长矛,对骑兵攻击有加成,对步兵攻击受惩罚
long_pike 适用于超长矛
short_pike适用于短矛
prec远程武器于战斗前投掷(如标枪)
thrown 投掷,远程武器为投掷方式(如标枪)
launching 可以把目标击飞(如大象)
area 大面积伤害即践踏
spear & light_spear 具有防止骑兵正面冲击的各种能力
spear_bonus_x 攻击骑兵有加成

《坐骑mount列表》:mount后能用的数据
pony 最垃圾的马
fast pony 快马
heavy horse 重装战马
mailed horse 初期战马(天主教)
barded horse 游侠战马(天主教)
armoured horse 西欧铁骑(天主教)
eastern armoured horse 东放铁骑(穆斯林和东正教国)
camel 骆驼
elephant 枪象
elephant_cannon 炮象
elephant_rocket 火箭战象

《远射武器列表》:步骑射兵在stat_pri后第3项 ,工程器类在stat_sec后第3项。
弓箭 arrow
火箭 arrow_fiery
弩兵 steel_crossbow_bolt
床弩 ballista
投弹兵nahptha_bomb
龙骑 pistol_bullet
火枪 musket_bullet
风琴炮ribault_shot
怪炮monster_ribault_shot
火箭 rocket
枪象 arquebus_bullet
炮象 elephant_cannon_shot
火箭战象elephant_rocket
mortar炮mortar_shot
bombard炮bombard_shot
culverin炮culverin_shot
basilisk炮basilisk_shot
加浓炮serpentine_shot
射石炮grand_bombard_shot
巨炮 monster_bombard_shot
抛石车catapult(抛射)
抛石器trebuchet(抛射,可燃)
(以下是隐藏武器类)
exploding_culverin_shot 开花弹
exploding_basilisk_shot 开花弹
exploding_cannon_shot 开花弹
flaming_bombard_shot 燃烧弹
flaming_grand_bombard_shot 燃烧弹
fiery_norman_catapult 燃烧
我觉得,我们更应该为德国而战,而非元首。

使用道具 举报

帖子
178
精华
0
积分
89
金钱
2467
荣誉
0
人气
0
评议
0
地板
发表于 2009-9-28 14:27:25 |只看该作者
LZ问的是三国,也就是中世纪罗马的,LS给的是中世纪2的,晕!

罗马的兵种基本数值放在:Rome - Total War\Data\export_descr_unit里,
打开这个文件可以看到各个兵种的设定,以象兵为例说明:
type carthaginian elephant african cataphract
dictionary carthaginian_elephant_african_cataphract ; Armoured Elephants
category cavalry
class heavy
voice_type Heavy_1
soldier carthaginian_big_elephant_crew, 18, 6, 1
mount elephant african cataphract
mount_effect horse +4, chariot +8, camel +4
attributes sea_faring, can_run_amok, frighten_foot, frighten_mounted
formation 7, 11, 13,16, 1, square
stat_health 1, 15
stat_pri 10, 3, arrow, 120, 60, missile, archery, piercing, none, 25 ,1
stat_pri_attr no
stat_sec 7, 11, no, 0, 0, melee, other, blunt, none, 25 ,1
stat_sec_attr area, launching, ap
stat_pri_armour 0, 4, 0, flesh
stat_sec_armour 16, 3, flesh
stat_heat -1
stat_ground 0, 1, -6, -1
stat_mental 8, normal, untrained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 2, 2670, 590, 270, 400, 2670
ownership carthage
详细说明如下:
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(horse +4),战车+8(chariot +8),骆驼+4(camel +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 单位能隐藏的地方:树林,森林,长的草地,任何地方
can_sap 能在墙脚下挖地道
frighten_foot, frighten_mounted 让附近的特定单位产生恐惧
can_run_amok 失去对动物的控制后,动物会乱跑
general_unit 亲卫队
cantabrian_circle 单位拥有的技能
no_custom 在自定义战役里不能选择
command 单位携带一只古代罗马军团的鹰,能激励附近的单位
mercenary_unit 可雇佣
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长矛;
攻击的最小时间间隔;(25越大越厉害,1越小越厉害)
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
哪个国家可以使用此单位

使用道具 举报

帖子
968
精华
0
积分
524
金钱
1381
荣誉
4
人气
0
评议
0
5#
发表于 2009-9-29 10:55:56 |只看该作者

回复 #4 sep23 的帖子

O(∩_∩)O~,差不多啦,大同小异。。。。
我觉得,我们更应该为德国而战,而非元首。

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

手机版|Archiver|游侠NETSHOW论坛 ( 苏ICP备2023007791号 )

GMT+8, 2025-8-23 12:28 , Processed in 0.361524 second(s), 12 queries , Gzip On, Memcache On.

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

分享到