《饥荒海难》死亡不删档的方法。
来源: 系统大全 2015/12/09 08:57
打开dont_starve\data\DLC0002\scripts\gamelogic.lua文件,将下列内容:
(新出的沙滩就是DLC0002 巨人是DLC0001)
local playtime = GetTimePlaying()
playtime = math.floor(playtime*1000)
SetTimingStat("time", "scenario", playtime)
SendTrackingStats()
local days_survived, start_xp, reward_xp, new_xp, capped = CalculatePlayerRewards(wilson)
ProfileStatsSet("xp_gain", reward_xp)
ProfileStatsSet("xp_total", new_xp)
SubmitCompletedLevel() --close off the instance
wilson.components.health.invincible = true
wilson.profile:Save(function()
SaveGameIndex:EraseCurrent(function()
scheduler:ExecuteInTime(3, function()
TheFrontEnd

end)
end)
end)
替换为:
StartNextInstance({reset_action=RESET_ACTION.LOAD_SLOT, save_slot = SaveGameIndex:GetCurrentSaveSlot()}, true)
即可死亡自动读档,死后游戏会卡一会儿,不要动,是在读档