《饑荒》是由Klei Entertainment開發(fā)的一款動作冒險類求生游戲,于2013年4月23日在PC上發(fā)行,2015年7月9日在iOS發(fā)布口袋版,2022年2月,Klei 宣布旗下《饑荒》游戲通過 Steam Deck 驗證。 看到不少人求地圖全開MOD,分享個方法,理論全版本通用,至少從4.10開始之后的中英文版本適用。 找到游戲中main.lua,文件,地址在dont_starvedatascripts,用記事本打開,拖到最后,在最后一行(即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"); player.Transform:SetPosition(TheInput:GetMouseWorldPos():Get()) end end ) 本次分享游戲《饑荒》攻略。 |
溫馨提示:喜歡本站的話,請收藏一下本站!