伊多:破碎世界的主人 修改單位屬性教程
- 來源:3DM論壇-asnm555
- 作者:fcz1234
- 編輯:ChunTian
感謝sunsol兄提供的工具,傳送門:
http://bbs.3dmgame.com/thread-3839292-1-1.html
物品修改教程及代碼:
http://bbs.3dmgame.com/thread-3840173-1-1.html
解壓data.000.pak后用UE打開data\game\var\unit.cfg文件,然后看到如下代碼:(最好還是解壓data.006.pak,然后修改unit文件,應該是最新補丁的數據吧,000估計是1.0.0游戲的數據)
section.begin
UnitList : struct.begin
: struct.begin
UnitID = 0
struct.end
: struct.begin
UnitID = 1 單位ID
Name = rebel 名稱
Hint = 物鈹麇礤?
Rank = 1 階級(兵種等級)
Life = 17 生命
Attack = 4 攻擊
CounterAttack = 5 反擊
Defence = 0 近防
RangedDefence = 0 遠防
Resist = 0 魔抗
Speed = 2 移動速度
RangedAttack = 0 遠程攻擊(不知道給近程添加遠程相關的屬性后,遠程攻擊會不會跳出)
ShootingRange = 0 射擊距離
Ammo = 0 彈藥
Stamina = 10 耐力
Moral = 9 士氣
Exp = 10 經驗(我猜是擊殺后所得經驗)
ExpMod = 70 經驗(升級需要經驗??)
PointPrice = 10 得分??
LevelPrice = 2 等級獎勵的得分??
GoldPrice = 10 招募金幣花費
GemPrice = 0 招募水晶花費
GoldPayment = 2 金幣維護費
GemPayment = 0 水晶維護費
Race = 1 種族ID
UnitType = 1 單位類型ID
UnitClass = 1 單位種類ID??(我猜是分中立和善惡的)
Karma = 0
SoundHit = 29 近戰(zhàn)打擊聲效ID
SoundShoot = 0 ...
SoundShootHit = 5 ...
SoundDeath = 30 ...
Missile = 0 投射物ID
UnitUpgrades : struct.begin 技能 : struct.begin
Level = 1
Upgrades : struct.begin
: struct.begin
UpgradeID = 1 技能ID
Possibility = 4 獲取可能性
struct.end
: struct.begin
UpgradeID = 30
Possibility = 4
struct.end
: struct.begin
UpgradeID = 33
Possibility = 3
struct.end
: struct.begin
UpgradeID = 7
Possibility = 1
struct.end
struct.end
struct.end
: struct.begin
Level = 2
Upgrades : struct.begin
: struct.begin
UpgradeID = 1
Possibility = 4
struct.end
: struct.begin
UpgradeID = 16
Possibility = 3
struct.end
: struct.begin
UpgradeID = 7
Possibility = 2
struct.end
struct.end
struct.end
如果我想改民兵初始帶有技能:可以在加入這段代碼
............
UnitType = 1
UnitClass = 1
Karma = 0
SoundHit = 29
SoundShoot = 0
SoundShootHit = 5
SoundDeath = 30
Missile = 0
StartUpgrades : struct.begin
.UpgradeID = 81
.UpgradeID = 153
struct.end
UnitUpgrades : struct.begin
: struct.begin
Level = 1
Upgrades : struct.begin
: struct.begin
UpgradeID = 1
Possibility = 4
struct.end
: struct.begin
UpgradeID = 30
Possibility = 4
struct.end
: struct.begin
UpgradeID = 33
Possibility = 3
struct.end
: struct.begin
UpgradeID = 7
Possibility = 1
struct.end
struct.end
struct.end
..............
就初始獲得了技能81和153了,這些代碼靠自己摸索了,比如81是局部毀滅打擊,153是死亡之地學8,希望有人整理出來具體含義吧!最后改完了將文件 保存在...\Eador Masters of the Broken World\data\game\var里(自己建個文件夾),
附上試驗小白鼠
玩家點評 (0人參與,0條評論)
熱門評論
全部評論