伊多:破碎世界的主人 修改單位屬性教程
- 來源: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文件,應(yīng)該是最新補(bǔ)丁的數(shù)據(jù)吧,000估計(jì)是1.0.0游戲的數(shù)據(jù))
section.begin
UnitList : struct.begin
: struct.begin
UnitID = 0
struct.end
: struct.begin
UnitID = 1 單位ID
Name = rebel 名稱
Hint = 物鈹麇礤?
Rank = 1 階級(jí)(兵種等級(jí))
Life = 17 生命
Attack = 4 攻擊
CounterAttack = 5 反擊
Defence = 0 近防
RangedDefence = 0 遠(yuǎn)防
Resist = 0 魔抗
Speed = 2 移動(dòng)速度
RangedAttack = 0 遠(yuǎn)程攻擊(不知道給近程添加遠(yuǎn)程相關(guān)的屬性后,遠(yuǎn)程攻擊會(huì)不會(huì)跳出)
ShootingRange = 0 射擊距離
Ammo = 0 彈藥
Stamina = 10 耐力
Moral = 9 士氣
Exp = 10 經(jīng)驗(yàn)(我猜是擊殺后所得經(jīng)驗(yàn))
ExpMod = 70 經(jīng)驗(yàn)(升級(jí)需要經(jīng)驗(yàn)??)
PointPrice = 10 得分??
LevelPrice = 2 等級(jí)獎(jiǎng)勵(lì)的得分??
GoldPrice = 10 招募金幣花費(fèi)
GemPrice = 0 招募水晶花費(fèi)
GoldPayment = 2 金幣維護(hù)費(fèi)
GemPayment = 0 水晶維護(hù)費(fèi)
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是死亡之地學(xué)8,希望有人整理出來具體含義吧!最后改完了將文件 保存在...\Eador Masters of the Broken World\data\game\var里(自己建個(gè)文件夾),
附上試驗(yàn)小白鼠

玩家點(diǎn)評(píng) (0人參與,0條評(píng)論)
熱門評(píng)論
全部評(píng)論