饥荒 地图全开+传送 修改文件无需MOD

整理:游戏131
作者:网络收集 时间:2024-06-16 18:32:44

饥荒地图全开MOD和刷物品MOD,科技全开MOD文件

找到游戏中main.lua,文件,地址在dont_starve/data/scripts,用记事本打开,拖到最后,在最后一行(即ModManager:LoadMods()——这一行前面)添加以下代码,保存,进游戏后ctrl+1地图全开,ctrl+2瞬移到鼠标所在位置。建议修改前保7a64e78988e69d8331333339653731存原文件!!!

--地图全开
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
)

更多攻略请关注18183饥荒专区:http://www.18183.com/jihuang/

饥荒地图全开MOD方法 地图MOD怎么使用

巴士饥荒游戏专题 饥荒全开地图  e799bee5baa6e79fa5e98193e4b893e5b19e31333332633039 饥荒地图全开的方法:   找到游戏中main.lua,文件,地址在dont_starve/data/scripts,用记事本打开,拖到最后,在最后一行(即ModManager:LoadMods()这一行前面)添加以下代码,保存,进游戏后ctrl+1地图全开,ctrl+2瞬移到鼠标所在位置。建议修改前保存原文件!!!    --地图全开   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);   修改文件的时候可能会遇到版本冲突问题,但是对于广大的玩家用户都是可以通过这种方式解决。

饥荒地图全开(改文件)如何弄

用记事本打开游戏目录/data/scripts/prefabs/player_common.lua文件,在inst:AddComponent("resurrectable")下一知行插入以下内容:
TheInput:AddKeyUpHandler(KEY_1, function()
if TheInput:IsKeyDown(KEY_CTRL) then
local map = TheSim:FindFirstEntityWithTag("minimap")
local x,y,z = GetPlayer().Transform:GetWorldPosition()
map.MiniMap:ShowArea(x, y, z, 10000)
end
end)
即可在游戏道中按Ctrl + 1使地图全开
。。内。。。。。。。。。。。。或者下载地图全开mod
答题不易容,望采纳。

饥荒100982版地图全开mod

地图全开(游戏中按Ctrl+1)

用记事本打开游戏目录zhidao/data/DLC0001/scripts/prefabs/player_common.lua文件,在inst:AddComponent("resurrectable")下一行插回入以下内容:

TheInput:AddKeyUpHandler(KEY_1, function()
if TheInput:IsKeyDown(KEY_CTRL) then
local map = TheSim:FindFirstEntityWithTag("minimap")
local x,y,z = GetPlayer().Transform:GetWorldPosition()
map.MiniMap:ShowArea(x, y, z, 10000)
end
end)
直接修改以上代码,轻松了事,也不会发生冲突,各版本适用!!亲答测100982版可用。

饥荒怎么地图全开传送

去饥荒修改吧 百度贴吧

推荐阅读: