跑跑車首頁(yè)

當(dāng)前位置:首頁(yè)攻略秘籍單機(jī)攻略 → 饑荒怎么開全圖 饑荒22版地圖全開方法

饑荒怎么開全圖 饑荒22版地圖全開方法

作者:佚名來(lái)源:本站整理 發(fā)表時(shí)間:2016/2/29 16:35:56 評(píng)論(0)

饑荒怎么開全圖呢?小編今天給大家?guī)?lái)了饑荒22版本開啟全圖的方法,感興趣的玩家快來(lái)看下吧。

饑荒開全圖方法:
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、進(jìn)游戲后ctrl+1地圖全開,ctrl+2瞬移到鼠標(biāo)所在位置。


玩家評(píng)論
我要點(diǎn)評(píng)

網(wǎng)名 注:您的評(píng)論需要經(jīng)過(guò)審核才會(huì)顯示出來(lái)。

已有 0 位玩家參與點(diǎn)評(píng)
下載排行