设为首页收藏本站 天气与日历

饥荒 地图全亮MOD 支持6.12最新版本

[复制链接]
查看30 | 回复0 | 2023-3-1 13:45:51 | 显示全部楼层 |阅读模式
饥荒 地图全亮MOD 支持6.12最新版本

打开dont_starve\data\scripts\main.lua
最下面粘贴如下代码 进游戏ctrl+1
--地图全开
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
);
点击进入3DM《饥荒》游戏论坛专区
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则