饥荒实用修改教程 饥荒地图全开教程
。饥荒教程饥荒教程
地图全开(游戏中按Ctrl+1)

用记事本打开游戏目录\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)
即可在游戏中按Ctrl + 1使地图全开

进入专题