找到游戏中main.lua,文件,地址在dont_starve\data\scripts,用记事本打开
在倒数第41行(ctrl+F是查找)(即ModManager:LoadMods()——这一行前面)添加以下代码
TheInput:AddKeyUpHandler(KEY_1, function()
if TheInput:IsKeyDown(KEY_CTRL) then
local MainCharacter = TheSim:FindFirstEntityWithTag("player")
local map = TheSim:FindFirstEntityWithTag("minimap")
if MainCharacter and map then
local x, y, z = MainCharacter.Transform:GetWorldPosition()
map.MiniMap:ShowArea(x, y, z, 10000)
end
end
end
保存,进游戏后ctrl+1地图全开,建议修改前保存原文件!
望采纳!