神之墓地3.0.5正式版怎么开全图

神之墓地3.0.5正式版怎么开全图

开全图方法:  1、找到游戏中main.lua,文件,地址在dont_starve\data\scripts。  2、用记事本打开,拖到最后,在最后一行(即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  );  --传送  TheInput:AddKeyUpHandler(KEY_2, function()  if TheInput:IsKeyDown(KEY_CTRL) then  local player = TheSim:FindFirstEntityWithTag("player");  player.Transform:SetPosition(TheInput:GetMouseWorldPos():Get())  end  end  )  3、进游戏后ctrl+1地图全开,ctrl+2瞬移到鼠标所在位置。