来源:蜘蛛抓取(WebSpider)
时间:2016-07-05 19:09
标签:
饥荒自动回血修改
饥荒怎么修改血量_百度知道
饥荒怎么修改血量
修改效果以及修改源代码,包括神级修改、恶魔零件制作、主角血量、攻击力等等,非常全面,具体如下:一.提高主角血量10倍
用记事本打开游戏目录\data\scripts\tuning.lua文件,将以下内容:local wilson_health = 150
WX78_MIN_HEALTH = 100,
WX78_MAX_HEALTH = 400,
WOLFGANG_HEALTH_MIGHTY = 300,
WOLFGANG_HEALTH_NORMAL = 200,
WOLFGANG_HEALTH_WIMPY = 150,
修改为:local wilson_health = 1500
WX78_MIN_HEALTH = 1000,
WX78_MAX_HEALTH = 4000,
WOLFGANG_HEALTH_MIGHTY = 3000,
WOLFGANG_HEALTH_NORMAL = 2000,
WOLFGANG_HEALTH_WIMPY = 1500,
即可让全部主角血量提高10倍,修改这里也使盔甲的耐久度同步上升10倍二.主角自动回血
用记事本打开游戏目录\data\scripts\prefabs\player_common.lua文件,在ponents.health:SetMaxHealth(TUNING.WILSON_HEALTH)的下一行插入以下内容:
ponents.health:StartRegen(30, 10)
即可让主角自动回血,其中30为血量,10为10秒回血一次,可自行调整三.主角自动补脑(妈妈再也不用担心我的学习)
用记事本打开游戏目录\data\scripts\tuning.lua文件,将SANITY_DAY_GAIN = 0,--100/(day_time*32),修改为SANITY_DAY_GAIN = 100/(day_time),即可一个白天补100点精神值四.提高主角攻击力
用记事本打开游戏目录\data\scripts\tuning.lua文件,将local wilson_attack = 34修改为local wilson_attack = 500即可五.主角跑得更快
用记事本打开游戏目录\data\scripts\tuning.lua文件,将以下内容:
WILSON_WALK_SPEED = 4,
WILSON_RUN_SPEED = 6,
WILSON_WALK_SPEED = 8,
WILSON_RUN_SPEED = 12,
即可让主角跑步速度增加1倍六.修改人物科技水平(不用机器就可造全部物品)
用记事本打开游戏目录\data\scripts\prefabs\人物名.lua文件,在local fn = function(inst)下一行插入以下内容:
ponents.builder.bonus_tech_level = 3
即可不用机器就可造全部物品,下列为全部人物文件:wilson.lua 威尔逊willow.lua 薇洛wendy.lua 温蒂wolfgang.lua 沃而夫冈wx78.lua WX-78wickerbottom.lua 薇克巴顿女士wes.lua
韦斯maxwell.lua 麦斯威尔woodie.lua 伍迪
其他类似问题
为您推荐:
提问者采纳
修改这里也使盔甲的耐久度同步上升10倍望采纳;tuning: local wilson_health = 150
WX78_MIN_HEALTH = 100,改为: local wilson_health = 1500(或你想改成的血量)
WX78_MIN_HEALTH = 1000.lua文件,
WX78_MAX_HEALTH = 4000,
WOLFGANG_HEALTH_NORMAL = 2000;scripts\,即可让全部主角血量提高10倍,
WX78_MAX_HEALTH = 400;data\,
WOLFGANG_HEALTH_NORMAL = 200,
WOLFGANG_HEALTH_WIMPY = 150,
WOLFGANG_HEALTH_WIMPY = 1500,将以下内容用记事本打开游戏目录\,
WOLFGANG_HEALTH_MIGHTY = 3000,
WOLFGANG_HEALTH_MIGHTY = 300
其他1条回答
下一个饥荒修改器,按F2
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁| | |
| | | | |
| | | | |
| | | | | |
&>&&>&&>&正文
饥荒 全人物解锁及主角自动回血等实用修改教程
11:28:46 来源:互联网 作者:易宁 编辑:Shy夏夏
二二五.荒野之狼(吃蜗牛龟粘液变成狼,打败别的狼成为领袖)
用记事本打开游戏目录\data\DLC0001\scripts\prefabs\slurtleslime.lua文件,在inst:AddComponent("inspectable")的下一行插入以下内容:
local function item_oneaten(inst, eater)
if eater:HasTag("player") then
local pos = GetPlayer():GetPosition()
GetSeasonManager():DoLightningStrike(pos)
ponents.locomotor:Stop()
ponents.playercontroller:Enable(false)
eater:DoTaskInTime(1, function()
eater.AnimState:SetBank("hound")
eater.AnimState:SetBuild("hound_red")
eater.AnimState:PlayAnimation("idle")
eater:SetStateGraph("SGhound")
eater:RemoveTag("scarytoprey")
eater:AddTag("monster")
local light = eater.entity:AddLight()
light:SetFalloff(1)
light:SetIntensity(.8)
light:SetRadius(20)
light:Enable(true)
light:SetColour(0/255, 255/255, 0/255)
eater:ListenForEvent("attacked", function(eater)
local pt = eater:GetPosition()
eater.Transform:SetPosition(pt.x+(math.random(5)-math.random(5)), 0, pt.z+(math.random(5)-math.random(5)))
ponents.locomotor.runspeed = 25
ponents.sanity:ponents.sanity.max)
ponents.sanity.ignore = true
ponents.health:StartRegen(100, 10)
bat:SetDefaultDamage(500)
bat:SetAttackPeriod(0.1)
ponents.eater:SetCarnivore()
ponents.temperature:SetTemp(20)
ponents.playercontroller:Enable(true)
GetPlayer().HUD.controls.crafttabs:Hide()
GetPlayer().HUD.controls.inv:Hide()
GetPlayer().HUD.controls.mapcontrols.minimapBtn:Hide()
local head = GetPlayer().components.inventory:GetEquippedItem(EQUIPSLOTS.HEAD)
GetPlayer().components.inventory:DropItem(head)
local hands = GetPlayer().components.inventory:GetEquippedItem(EQUIPSLOTS.HANDS)
GetPlayer().components.inventory:DropItem(hands)
local body = GetPlayer().components.inventory:GetEquippedItem(EQUIPSLOTS.BODY)
GetPlayer().components.inventory:DropItem(body)
ponents.playeractionpicker.leftclickoverride = function(eater, target_ent, pos)
bat:CanTarget(target_ent) then
ponents.playeractionpicker:SortActionList({ACTIONS.ATTACK}, target_ent, nil)
if target_ent and ponents.edible ponents.eater:CanEat(target_ent) then
ponents.playeractionpicker:SortActionList({ACTIONS.EAT}, target_ent, nil)
eater:DoPeriodicTask(3, function(eater)
if math.random() & 0.05 then
ponents.hunger:GetPercent() & 0.995 then
local pt1 = eater:GetPosition()
local wolf = SpawnPrefab("slurtleslime")
wolf.Transform:SetPosition(pt1.x+(math.random(10)-math.random(10)), 0, pt1.z+(math.random(10)-math.random(10)))
wolf.AnimState:SetBank("hound")
wolf.AnimState:SetBuild("hound")
wolf.AnimState:PlayAnimation("idle")
wolf.Transform:SetFourFaced()
local sound = wolf.entity:AddSoundEmitter()
local shadow = wolf.entity:AddDynamicShadow()
shadow:SetSize( 2.5, 1.5 )
MakeCharacterPhysics(wolf, 10, .5)
wolf:AddComponent("locomotor")
ponents.locomotor.runspeed = 25
wolf:SetStateGraph("SGhound")
local brain = require "brains/frogbrain"
wolf:SetBrain(brain)
wolf:RemoveComponent("stackable")
wolf:RemoveComponent("fuel")
wolf:RemoveComponent("inventoryitem")
wolf:RemoveComponent("explosive")
wolf:RemoveComponent("burnable")
wolf:RemoveComponent("propagator")
wolf:RemoveComponent("edible")
wolf:AddComponent("follower")
wolf:AddComponent("knownlocations")
wolf:AddComponent("lootdropper")
ponents.lootdropper:SetLoot({"meat", "meat"})
wolf:AddComponent("health")
ponents.health:SetMaxHealth(2000)
ponents.health:StartRegen(100, 10)
wolf:AddComponent("combat")
bat:SetDefaultDamage(20)
bat:SetAttackPeriod(0.1)
bat:SetTarget(eater)
wolf.AnimState:SetMultColour(255/255,0/255,0/255,1)
bat:SetRetargetFunction(1, function(wolf)
if ponents.health:IsDead() then
return FindEntity(wolf, 300, function(guy)
return guy:HasTag("player")
bat:SetKeepTargetFunction(function(wolf, target) return target and target:IsValid() end )
wolf.task = wolf:DoPeriodicTask(1, function(customer)
ponents.health.currenthealth & 1000 then
bat:SetTarget(nil)
wolf:RemoveTag("goodbye")
local brain = require "brains/abigailbrain"
wolf:SetBrain(brain)
wolf:RestartBrain()
ponents.follower:SetLeader(GetPlayer())
wolf.AnimState:SetMultColour(255/255,255/255,255/255,1)
bat:SetRetargetFunction(2, function(wolf)
if ponents.health:IsDead() then
return FindEntity(wolf, 20, function(guy)
ponents.health and ponents.health:IsDead() and not guy:HasTag("wolfs") then
bat.target == GetPlayer() or GetPlayer().bat.target == guy
bat:SetKeepTargetFunction(function(wolf, target) return target and target:IsValid() end )
if wolf.task then wolf.task:Cancel() wolf.task = nil end
wolf:AddTag("monster")
wolf:AddTag("wolfs")
wolf:AddTag("goodbye")
inst:AddComponent("edible")
ponents.edible:SetOnEatenFn(item_oneaten)
ponents.edible.hungervalue = 1
ponents.edible.foodtype = "VEGGIE"
local function onsave(inst, data)
if inst:HasTag("wolfs") then
data.wolfs = true
if inst:HasTag("goodbye") then
data.goodbye = true
local function onload(inst, data)
if data and data.goodbye then
inst:Remove()
if data and data.wolfs then
inst.AnimState:SetBank("hound")
inst.AnimState:SetBuild("hound")
inst.AnimState:PlayAnimation("idle")
inst.Transform:SetFourFaced()
local sound = inst.entity:AddSoundEmitter()
local shadow = inst.entity:AddDynamicShadow()
shadow:SetSize( 2.5, 1.5 )
MakeCharacterPhysics(inst, 10, .5)
inst:AddComponent("locomotor")
ponents.locomotor.runspeed = 25
inst:SetStateGraph("SGhound")
inst:RemoveComponent("stackable")
inst:RemoveComponent("fuel")
inst:RemoveComponent("inventoryitem")
inst:RemoveComponent("explosive")
inst:RemoveComponent("burnable")
inst:RemoveComponent("propagator")
inst:RemoveComponent("edible")
inst:AddComponent("follower")
inst:AddComponent("knownlocations")
inst:AddComponent("lootdropper")
ponents.lootdropper:SetLoot({"meat", "meat"})
inst:AddComponent("health")
ponents.health:SetMaxHealth(2000)
ponents.health:StartRegen(100, 10)
inst:AddComponent("combat")
bat:SetDefaultDamage(20)
bat:SetAttackPeriod(0.1)
local brain = require "brains/abigailbrain"
inst:SetBrain(brain)
ponents.follower:SetLeader(GetPlayer())
bat:SetRetargetFunction(2, function(inst)
if ponents.health:IsDead() then
return FindEntity(inst, 20, function(guy)
ponents.health and ponents.health:IsDead() and not guy:HasTag("wolfs") then
bat.target == GetPlayer() or GetPlayer().bat.target == guy
bat:SetKeepTargetFunction(function(inst, target) return target and target:IsValid() end )
inst:AddTag("monster")
inst:AddTag("wolfs")
inst.OnSave = onsave
inst.OnLoad = onload
即可吃蜗牛龟粘液让主角变成狼,体验野生动物的生活。可喜的是,你将拥有强大的生命力(自动回血),超快的跑动速度和恐怖的咬合能力,黑夜也不会影响你看清前方,甚至由于没有了人的味道,一些小动物将无法躲避你。可悲的是,你必须告别之前所有的伙伴,连“新移民”都会主动攻击你,离开人类的生活,流浪在荒郊野外。战斗中,由于你的体重变轻,被打时会被甩出去,因此要学会扬长避短,发挥速度和攻击力的优势,跑过去咬上一口就躲,千万不要与敌人原地肉搏。当你进食到最饱时,有一定概率出现别的狼(全身红色)挑战你,打败它(它身上不再呈红色),则将成为你的小弟,用锋利的牙齿发展起你的狼群吧。如果实在受不了荒野的生活了,存档退出再读档,即可变回人,但狼小弟将继续跟随你。使用大力士、伍迪作主角时,不适用此项,不要与“变身传奇”、“饥饿的儿童”一同修改。蜗牛龟粘液可打蜗牛龟和蜗牛窝获得
更多相关内容请关注:
友情提示:支持键盘左右键“← →”翻页
文章内容导航
第275页:荒野之狼
没有任何记录
游戏制作:Klei Entertainment
游戏发行:Klei Entertainment
游戏平台:PC/PS4/PS Vita
上市时间:
游戏特色:
--游民指数
《饥荒》的开发商Klei工作室在12月6日举行的PSX 2015发布会上宣布旗下的付费多人游戏扩展包《饥荒多人版》正式登陆PS4平台,并放出了一款新预告
《饥荒》巨人版将于本月8月26日登陆Xbox One,而在其即将上架Xbox One游戏商店之前,官方发布了一个新的预告宣传视频以示庆祝。
Klei Entertainment宣布其生存游戏《饥荒》将迎来一个新的单人游戏扩展DLC“海难(Shipwrecked)”。
没有任何记录
单机游戏下载
综合热点资讯
游民星空联运游戏丨『疑问』易宁修改这个修改人物回血的到底什么意思_饥荒游戏吧_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天继续来努力!
本吧签到人数:0可签7级以上的吧50个
本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会员单次开通12个月以上,赠送连续签到卡3张
关注:106,887贴子:
丨『疑问』易宁修改这个修改人物回血的到底什么意思
用打开游戏目录\data\DLC0001\scripts\prefabs\player_common.lua文件,在ponents.health:SetMaxHealth(TUNING.WILSON_HEALTH)的下一行插入以下内容:
ponents.health:StartRegen(30, 10)
即可让主角自动回血,其中30为血量,10为10秒回血一次,可自行调整(这是原文) ponents.health:SetMaxHealth(TUNING.WILSON_HEALTH)
ponents.health.nofadeout = true
(代号3)(这是游戏文件)那么问题来了,上面说的
(下一行插入以下内容)
是把(代号3)修改为(代号1),还是在在(代号3)后面加上(代号1),还是在(代号2,3)中间加上(代号1)?????求大神解答
求问。。BOSS?还是什...
本帖内容来自Don't Sta...
这次人物选择画面不再是...
昨天我做了3个提瓶,放在...
地图上有个高鸟彩蛋! 我...
奶牛计划:即将逝去的20...
求大神教我虐蠕虫 ...
发张认真学习图镇
在沼泽地看地图被触手活...
距离牦牛比较近,草场...
想试一试 还是说他是个...
第一步,备份这个文件。第二步,试试你的除了替换以外的两个方案,出问题再用备份修复。
每对新人结婚成功的那一刻,送礼最多的吧友可以获得本次求婚的“月老”称号和成就,
很久以前修改脚本,然后游戏变得无趣,删。后来不改脚本,少开mod,游戏寿命变长好多
你这是纠结于作者的语法了我这样说吧:这是修改前<ponents.health:SetMaxHealth(TUNING.WILSON_HEALTH)<ponents.health.nofadeout = true这是修改后<ponents.health:SetMaxHealth(TUNING.WILSON_HEALTH)<ponents.health:StartRegen(30, 10)<ponents.health.nofadeout = true
贴吧热议榜
使用签名档&&
保存至快速回贴