bruce 发表于 2009-6-17 13:01:21

向 剧情请教关于如何使用RORD修改帝国1


当看到剧情的作品,一种强烈的求知欲刺激着我,向剧情发出求教信号,很快得到回应,并简要交谈,发现剧情即热情又非常友善,真是喜从天降啊,呵呵。再次感谢你的不吝赐教!

问题:
如何使用RORD修改初始资源或兵种属性?
A、譬如将初始资源 木头 200食物 200黄金 0石头200修改成2000
B、譬如将“商”里的 战车弓兵 的属性中的生命值从原来的70修改成700

by:经初步了解 直接在 “patches.txt”修改,可命令格式是什么呢?

望 剧情能百忙之中指点迷津,本人不甚感激!

狂~劇情狂 发表于 2009-6-17 18:49:59

同另一帖……請稱呼我為「狂」……:L

A:

將civ01head.txt到civ16head.txt檔的第6組列代碼「unknown03」複製到patches.txt,然後將首4個數值改為2000:

civ_1_unknown03: 2000 2000 2000 2000 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 102 103 101 10 0 0 0 0 0 0 0 0 2 250 0 0 0 0 0 0 0 0 0 0.25 1 0 0 0 0 0 0 0 0 0 0
civ_2_unknown03: 2000 2000 2000 2000 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 102 103 101 10 0 0 0 0 0 0 0 0 2 250 0 0 0 0 0 0 0 0 0 0.25 1 0 0 0 0 0 0 0 0 0 0
civ_3_unknown03: 2000 2000 2000 2000 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 102 103 101 10 0 0 0 0 0 0 0 0 2 250 0 0 0 0 0 0 0 0 0 0.25 1 0 0 0 0 0 0 0 0 0 0
civ_4_unknown03: 2000 2000 2000 2000 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 102 103 101 10 0 0 0 0 0 0 0 0 2 250 0 0 0 0 0 0 0 0 0 0.25 1 0 0 0 0 0 0 0 0 0 0
civ_5_unknown03: 2000 2000 2000 2000 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 102 103 101 10 0 0 0 0 0 0 0 0 2 250 0 0 0 0 0 0 0 0 0 0.25 1 0 0 0 0 0 0 0 0 0 0
civ_6_unknown03: 2000 2000 2000 2000 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 102 103 101 10 0 0 0 0 0 0 0 0 2 250 0 0 0 0 0 0 0 0 0 0.25 1 0 0 0 0 0 0 0 0 0 0
civ_7_unknown03: 2000 2000 2000 2000 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 102 103 101 10 0 0 0 0 0 0 0 0 2 250 0 0 0 0 0 0 0 0 0 0.25 1 0 0 0 0 0 0 0 0 0 0
civ_8_unknown03: 2000 2000 2000 2000 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 102 103 101 10 0 0 0 0 0 0 0 0 2 250 0 0 0 0 0 0 0 0 0 0.25 1 0 0 0 0 0 0 0 0 0 0
civ_9_unknown03: 2000 2000 2000 2000 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 102 103 101 10 0 0 0 0 0 0 0 0 2 250 0 0 0 0 0 0 0 0 0 0.25 1 0 0 0 0 0 0 0 0 0 0
civ_10_unknown03: 2000 2000 2000 2000 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 102 103 101 10 0 0 0 0 0 0 0 0 2 250 0 0 0 0 0 0 0 0 0 0.25 1 0 0 0 0 0 0 0 0 0 0
civ_11_unknown03: 2000 2000 2000 2000 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 102 103 101 10 0 0 0 0 0 0 0 0 2 250 0 0 0 0 0 0 0 0 0 0.25 1 0 0 0 0 0 0 0 0 0 0
civ_12_unknown03: 2000 2000 2000 2000 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 102 103 101 10 0 0 0 0 0 0 0 0 2 250 0 0 0 0 0 0 0 0 0 0.25 1 0 0 0 0 0 0 0 0 0 0
civ_13_unknown03: 2000 2000 2000 2000 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 102 103 101 10 0 0 0 0 0 0 0 0 2 250 0 0 0 0 0 0 0 0 0 0.25 1 0 0 0 0 0 0 0 0 0 0
civ_14_unknown03: 2000 2000 2000 2000 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 102 103 101 10 0 0 0 0 0 0 0 0 2 250 0 0 0 0 0 0 0 0 0 0.25 1 0 0 0 0 0 0 0 0 0 0
civ_15_unknown03: 2000 2000 2000 2000 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 102 103 101 10 0 0 0 0 0 0 0 0 2 250 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0
civ_16_unknown03: 2000 2000 2000 2000 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 102 103 101 10 0 0 0 0 0 0 0 0 2 250 0 0 0 0 0 0 0 0 0 0.25 1 0 0 0 0 0 0 0 0 0 0

注意帕馬爾人(Palmyra,第15號文明)在此組列代碼的第47項數值為0而非0.25,與其免費進貢優勢有關。

B:

從civ10units.txt及civ10head.txt兩個文件可以知道,商(Shang)是第10號文明,戰車弓兵(Chariot Archer)是第41號單位,而其生命值欄位為civ10units.txt檔中「civ_10_unit_41_hit_points: 70」一列,因此需要的代碼為:

civ_10_unit_41_hit_points: 700

在patches.txt輸入上述代碼後,再在RoRd程序運行Create New Genie File動作即可。

bruce 发表于 2009-6-18 08:25:16

原帖由 狂~劇情狂 于 2009-6-17 18:49 发表 https://www.hawkaoe.net/bbs/images/common/back.gif
同另一帖……請稱呼我為「狂」……:L

A:

將civ01head.txt到civ16head.txt檔的第6組列代碼「unknown03」複製到patches.txt,然後將首4個數值改為2000:

civ_1_unknown03: 2000 2000 2000 2000 0 0 0 0 0 0...


狂你真的非常棒也,佩服 经测试无误,太强悍了

谢谢

bruce 发表于 2009-6-18 08:34:26

再请教一个问题,就是如何修改人口限制?tks

狂~劇情狂 发表于 2009-6-18 18:55:22

不能直接修改人口限制,但可以增加、減少各單位的佔用人口數目;為了令這一修改在遊戲開始時生效,可以考慮改動石器時代(第100號科技)的效果,而從research.txt可知石器時代的科技效果編號為94,再從techage.txt可知石器時代的科技效果本身已經有5個,分別是設定「時代」資源(第6號資源)為1、設定城鎮中心(第109號單位)的圖形方向為1、啟用村民(第83號單位)及居住房屋(第70號單位)及增加8單位「積分」資源(第30號資源),而要再進一步增加更多減少單位佔用人口限制的科技效果,可以在patches.txt加入以下代碼:

techage_94_count: 22
techage_94_5_type: 0
techage_94_5_unit: -1
techage_94_5_class: 2
techage_94_5_attribute: 101
techage_94_5_amount: -0.5
techage_94_6_type: 0
techage_94_6_unit: -1
techage_94_6_class: 4
techage_94_6_attribute: 101
techage_94_6_amount: -0.5
techage_94_7_type: 0
techage_94_7_unit: -1
techage_94_7_class: 6
techage_94_7_attribute: 101
techage_94_7_amount: -0.5
techage_94_8_type: 0
techage_94_8_unit: -1
techage_94_8_class: 12
techage_94_8_attribute: 101
techage_94_8_amount: -0.5
techage_94_9_type: 0
techage_94_9_unit: -1
techage_94_9_class: 13
techage_94_9_attribute: 101
techage_94_9_amount: -0.5
techage_94_10_type: 0
techage_94_10_unit: -1
techage_94_10_class: 18
techage_94_10_attribute: 101
techage_94_10_amount: -0.5
techage_94_11_type: 0
techage_94_11_unit: -1
techage_94_11_class: 20
techage_94_11_attribute: 101
techage_94_11_amount: -0.5
techage_94_12_type: 0
techage_94_12_unit: -1
techage_94_12_class: 21
techage_94_12_attribute: 101
techage_94_12_amount: -0.5
techage_94_13_type: 0
techage_94_13_unit: -1
techage_94_13_class: 22
techage_94_13_attribute: 101
techage_94_13_amount: -0.5
techage_94_14_type: 0
techage_94_14_unit: -1
techage_94_14_class: 23
techage_94_14_attribute: 101
techage_94_14_amount: -0.5
techage_94_15_type: 0
techage_94_15_unit: -1
techage_94_15_class: 24
techage_94_15_attribute: 101
techage_94_15_amount: -0.5
techage_94_16_type: 0
techage_94_16_unit: -1
techage_94_16_class: 25
techage_94_16_attribute: 101
techage_94_16_amount: -0.5
techage_94_17_type: 0
techage_94_17_unit: -1
techage_94_17_class: 26
techage_94_17_attribute: 101
techage_94_17_amount: -0.5
techage_94_18_type: 0
techage_94_18_unit: -1
techage_94_18_class: 28
techage_94_18_attribute: 101
techage_94_18_amount: -0.5
techage_94_19_type: 0
techage_94_19_unit: -1
techage_94_19_class: 35
techage_94_19_attribute: 101
techage_94_19_amount: -0.5
techage_94_20_type: 0
techage_94_20_unit: -1
techage_94_20_class: 36
techage_94_20_attribute: 101
techage_94_20_amount: -0.5
techage_94_21_type: 0
techage_94_21_unit: -1
techage_94_21_class: 39
techage_94_21_attribute: 101
techage_94_21_amount: -0.5

上述各列的-0.5是指每個單位的人口折算比例,亦即人口限制放寬1倍。(填入-0.01則為100倍,如此類推)

[ 本帖最后由 狂~劇情狂 于 2009-6-18 19:06 编辑 ]

bruce 发表于 2009-6-19 23:46:15

除了感谢 唯有感谢了,呵呵

有问题再请教你:lol
页: [1]
查看完整版本: 向 剧情请教关于如何使用RORD修改帝国1