饑荒 地圖全開+傳送 修改檔案無需MOD

來源:樂享遊戲吧 1.05W

饑荒 地圖全開+傳送 修改檔案無需MOD

饑荒 地圖全開+傳送 修改檔案無需MOD

看到不少人求地圖全開MOD,分享個方法,理論全版本通用,至少從4.10開始之後的中英文版本適用。

找到遊戲中,檔案,地址在dont_starvedatascripts,用記事本開啟,拖到最後,在最後一行(即ModManageroadMods()——這一行前面)新增以下程式碼,儲存,進遊戲後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 = sform:GetWorldPosition()

Map:ShowArea(x, y, z, 10000)

end

end

end

);

--傳送

TheInput:AddKeyUpHandler(KEY_2, function()

if TheInput:IsKeyDown(KEY_CTRL) then

local player = TheSim:FindFirstEntityWithTag("player");

sform:SetPosition(TheInput:GetMouseWorldPos():Get())

end

end

)

 如果你不願意去弄,可以在遊戲dont_starvedatascripts這個裡面把下面的覆蓋!!!

下載地址:

熱門標籤