好文档 - 专业文书写作范文服务资料分享网站

易宁:饥荒游戏实用修改技巧(2013-12-1更新)

天下 分享 时间: 加入收藏 我要投稿 点赞

蜘蛛帽 SPIDERHAT_PERISHTIME = 4*seg_time, 独奏乐器 ONEMANBAND_PERISHTIME = 6*seg_time, 兔耳罩 EARMUFF_PERISHTIME = total_day_time*5, 冬帽 WINTERHAT_PERISHTIME = total_day_time*10, 牛毛帽 BEEFALOHAT_PERISHTIME = total_day_time*10, 寒冬背心 TRUNKVEST_PERISHTIME = total_day_time*15, 小巧背心 SWEATERVEST_PERISHTIME = total_day_time*10, 饥饿腰带 HUNGERBELT_PERISHTIME = total_day_time*8, 海象帽子 WALRUSHAT_PERISHTIME = total_day_time*25, 羽毛帽 FEATHERHAT_PERISHTIME = total_day_time*8, 高礼帽 TOPHAT_PERISHTIME = total_day_time*8,

加大每行的数字,即可增加该装备使用次数及时间。如让牛毛帽使用时间增加10倍,就将BEEFALOHAT_PERISHTIME = total_day_time*10,替换为BEEFALOHAT_PERISHTIME = total_day_time*100,

三十一.武器伤害值加大

用记事本打开游戏目录\\data\\scripts\\tuning.lua文件,分别查找以下内容:

空手 UNARMED_DAMAGE = 10,

暗影剑 NIGHTSWORD_DAMAGE = wilson_attack*2, 蝙蝠棒 BATBAT_DAMAGE = wilson_attack * 1.25, 枯竭蝙蝠棒 BATBAT_DRAIN = wilson_attack * 0.2, 狼牙棒 SPIKE_DAMAGE = wilson_attack*1.5, 火腿棍棒 HAMBAT_DAMAGE = wilson_attack*1.75, 矛 SPEAR_DAMAGE = wilson_attack, 斧头 AXE_DAMAGE = wilson_attack*.8, 镐 PICK_DAMAGE = wilson_attack*.8,

回旋镖 BOOMERANG_DAMAGE = wilson_attack*.8, 火炬 TORCH_DAMAGE = wilson_attack*.5, 锤 HAMMER_DAMAGE = wilson_attack*.5, 铲子 SHOVEL_DAMAGE = wilson_attack*.5, 草叉 PITCHFORK_DAMAGE = wilson_attack*.5, 捕虫网 BUGNET_DAMAGE = wilson_attack*.125,

鱼杆 FISHINGROD_DAMAGE = wilson_attack*.125, 雨伞 UMBRELLA_DAMAGE = wilson_attack*.5, 手杖 CANE_DAMAGE = wilson_attack*.5, 多功能工具 MULTITOOL_DAMAGE = wilson_attack*.9, 遗迹短棍 RUINS_BAT_DAMAGE = wilson_attack * 1.75, 吹箭 PIPE_DART_DAMAGE = 100, 牙齿陷阱 TRAP_TEETH_DAMAGE = 60,

加大每行最后的数字,即可增大各种武器的伤害值,游戏中的伤害值是你修改的数字乘34(主角攻击力)。如将暗影剑的伤害值增大10倍,就将NIGHTSWORD_DAMAGE =

wilson_attack*2,替换为NIGHTSWORD_DAMAGE = wilson_attack*20,

三十二.盔甲在就不掉血(盔甲100%吸收伤害值)

用记事本打开游戏目录\\data\\scripts\\tuning.lua文件,

1.将ARMORGRASS_ABSORPTION = .6,替换为ARMORGRASS_ABSORPTION = 1,

2.将ARMORWOOD_ABSORPTION = .8,替换为ARMORWOOD_ABSORPTION = 1,

3.将ARMORMARBLE_ABSORPTION = .95,替换为ARMORMARBLE_ABSORPTION = 1,

4.将ARMORSNURTLESHELL_ABSORPTION = 0.6,替换为ARMORSNURTLESHELL_ABSORPTION = 1,

5.将ARMORRUINS_ABSORPTION = 0.9,替换为ARMORRUINS_ABSORPTION = 1,

6.将ARMORSLURPER_ABSORPTION = 0.6,替换为ARMORSLURPER_ABSORPTION = 1,

7.将ARMOR_FOOTBALLHAT_ABSORPTION = .8,替换为ARMOR_FOOTBALLHAT_ABSORPTION = 1,

8.将ARMOR_RUINSHAT_ABSORPTION = 0.9,替换为ARMOR_RUINSHAT_ABSORPTION = 1,

9.将ARMOR_SLURTLEHAT_ABSORPTION = 0.9,替换为ARMOR_SLURTLEHAT_ABSORPTION = 1,

10.将ARMOR_BEEHAT_ABSORPTION = .8,替换为ARMOR_BEEHAT_ABSORPTION = 1,

11.将ARMOR_SANITY_ABSORPTION = .95,替换为ARMOR_SANITY_ABSORPTION = 1,

即可让全部盔甲100%吸收伤害值

三十三.提高盔甲耐久力

用记事本打开游戏目录\\data\\scripts\\tuning.lua文件,分别查找以下内容:

草盔甲 ARMORGRASS = wilson_health*1.5, 木盔甲 ARMORWOOD = wilson_health*3, 大理石盔甲 ARMORMARBLE = wilson_health*7, 蜗牛龟盔甲 ARMORSNURTLESHELL = wilson_health*7, 远古盔甲 ARMORRUINS = wilson_health * 12, 啜食者盔甲 ARMORSLURPER = wilson_health * 4,

足球帽 ARMOR_FOOTBALLHAT = wilson_health*3, 远古王冠 ARMOR_RUINSHAT = wilson_health*8, 蜗牛帽 ARMOR_SLURTLEHAT = wilson_health*5, 蜂帽 ARMOR_BEEHAT = wilson_health*5, 夜魔盔甲 ARMOR_SANITY = wilson_health * 5,

加大每行最后的数字,即可提高盔甲耐久力。如让草盔甲耐久力增大10倍,则将ARMORGRASS = wilson_health*1.5,替换为ARMORGRASS = wilson_health*15,

三十四.盔甲永固(永远100%)

用记事本打开游戏目录\\data\\scripts\\components\\armor.lua文件,将下列内容:

function Armor:SetCondition(amount) self.condition = amount

替换为:

function Armor:SetCondition(amount) self.condition = self.maxcondition

即可让盔甲永固

三十五.一次采集五个

用记事本打开游戏目录\\data\\scripts\\components\\pickable.lua文件,将self.numtoharvest = number or 1替换为self.numtoharvest = 5

即可让全部采集品一次采集5个,数字可自行调整。也可单独修改某项物品一次采集五个:

1.草:用记事本打开游戏目录\\data\\scripts\\prefabs\\grass.lua文件,将inst.components.pickable:SetUp(\TUNING.GRASS_REGROW_TIME)替换为inst.components.pickable:SetUp(\.GRASS_REGROW_TIME, 5)

2.树杈:用记事本打开游戏目录\\data\\scripts\\prefabs\\sapling.lua文件,将inst.components.pickable:SetUp(\TUNING.SAPLING_REGROW_TIME)替换为inst.components.pickable:SetUp(\.SAPLING_REGROW_TIME, 5)

3.蘑菇:用记事本打开游戏目录\\data\\scripts\\prefabs\\mushrooms.lua文件,将inst.components.pickable:SetUp(data.pickloot, nil)替换为inst.components.pickable:SetUp(data.pickloot, nil, 5)

4.胡萝卜:用记事本打开游戏目录\\data\\scripts\\prefabs\\carrot.lua文件,将inst.components.pickable:SetUp(\替换为inst.components.pickable:SetUp(\

5.芦苇:用记事本打开游戏目录\\data\\scripts\\prefabs\\reeds.lua文件,将inst.components.pickable:SetUp(\TUNING.REEDS_REGROW_TIME)替换为inst.components.pickable:SetUp(\

6.浆果:用记事本打开游戏目录\\data\\scripts\\prefabs\\berrybush.lua文件,将inst.components.pickable:SetUp(\TUNING.BERRY_REGROW_TIME)替换为inst.components.pickable:SetUp(\.BERRY_REGROW_TIME, 5)

7.花:用记事本打开游戏目录\\data\\scripts\\prefabs\\flower.lua文件,将inst.components.pickable:SetUp(\替换为inst.components.pickable:SetUp(\

8.恶魔花:用记事本打开游戏目录\\data\\scripts\\prefabs\\flower_evil.lua文件,将inst.components.pickable:SetUp(\10)替换为inst.components.pickable:SetUp(\

9.洞穴花:用记事本打开游戏目录\\data\\scripts\\prefabs\\flower_cave.lua文件,将inst.components.pickable:SetUp(\TUNING.FLOWER_CAVE_REGROW_TIME)替换为inst.components.pickable:SetUp(\.FLOWER_CAVE_REGROW_TIME, 5)

10.香蕉:用记事本打开游戏目录\\data\\scripts\\prefabs\\cave_banana_tree.lua文件,将inst.components.pickable:SetUp(\TUNING.CAVE_BANANA_GROW_TIME)替换为inst.components.pickable:SetUp(\.CAVE_BANANA_GROW_TIME, 5)

11.蕨类:用记事本打开游戏目录\\data\\scripts\\prefabs\\cave_fern.lua文件,将inst.components.pickable:SetUp(\10)替换为inst.components.pickable:SetUp(\10, 5)

12.木炭:用记事本打开游戏目录\\data\\scripts\\prefabs\\evergreens.lua文件,将inst.components.lootdropper:SpawnLootPrefab(\替换为下列内容:

inst.components.lootdropper:SpawnLootPrefab(\ inst.components.lootdropper:SpawnLootPrefab(\ inst.components.lootdropper:SpawnLootPrefab(\ inst.components.lootdropper:SpawnLootPrefab(\ inst.components.lootdropper:SpawnLootPrefab(\

13.曼德拉草:用记事本打开游戏目录\\data\\scripts\\prefabs\\mandrake.lua文件,在inst:AddComponent(\的下一行插入inst.components.pickable:SetUp(\

即可单独修改某项物品一次采集五个

三十六.加快采集速度

用记事本打开游戏目录\\data\\scripts\\prefabs\\可采集物品.lua文件(具体文件名见下),在inst:AddComponent(\的下一行插入以下内容:

inst.components.pickable.quickpick = true

即可加快可采集品采集速度。例如修改草快速采集,就用记事本打开游戏目录\\data\\scripts\\prefabs\\grass.lua文件,在inst:AddComponent(\的下一行插入inst.components.pickable.quickpick = true

可采集物品:

浆果灌木丛 berrybush.lua 洞穴香蕉树 cave_banana_tree.lua 洞穴花 flower_cave.lua 草 grass.lua

尖刺灌木 marsh_bush.lua 芦苇 reeds.lua 树苗 sapling.lua 高鸟巢 tallbirdnest.lua

三十七.远程采集和拾起物品

用记事本打开游戏目录\\data\\scripts\\actions.lua文件,将下列内容:

PICK = Action(), PICKUP = Action(1),

替换为:

PICK = Action(0, true, false, 20), PICKUP = Action(1, true, false, 20),

即可用鼠标左键点击草、树杈等物品,直接采集或捡起,主角不必跑过去,大大节约了时间

三十八.收割者(吹排箫一次采集周边所有植物)

用记事本打开游戏目录\\data\\scripts\\prefabs\\panflute.lua文件,

1.在下列内容:

local function onfinished(inst) inst:Remove() end

的下一行插入以下内容:

function pickfn(inst, picker)

易宁:饥荒游戏实用修改技巧(2013-12-1更新)

蜘蛛帽SPIDERHAT_PERISHTIME=4*seg_time,独奏乐器ONEMANBAND_PERISHTIME=6*seg_time,兔耳罩EARMUFF_PERISHTIME=total_day_time*5,冬帽WINTERHAT_PERISHTIME=total_day_time*10,牛毛帽BEEFALOHAT_PER
推荐度:
点击下载文档文档为doc格式
2wt7p8uuy17e16g2fc0l
领取福利

微信扫码领取福利

微信扫码分享