饑荒作弊碼怎麼使用
發佈日期 2021-03-23 14:20:00
在饑荒這款遊戲中,作弊碼的使用方法是在遊戲中按下“~”鍵(ESC鍵下面那個按鍵)調出控制檯,然後在控制檯中輸入作弊程式碼,作弊程式碼輸入完成後,按下Enter鍵就可以執行輸入的指令。
遊戲中控制檯可以輸入作弊碼:
GetPlayer().components.builder:GiveAllRecipes() ---------- 全物品直接製造
GetPlayer().components.hungerause(true) ---------- 飢餓值不降低
GetPlayer().components.sanity:SetMax(500) ---------- 精神值不降低(慎用不可取消 )
GetPlayer().components.health:SetMaxHealth(300) ---------- 最大血格
GetPlayer().components.health:SetInvincible(true) ---------- 上帝模式
下面是開全地圖,要輸入2個指令才行,每次都要回車執行:
minimap = TheSim:FindFirstEntityWithTag("minimap")
minimap.MiniMap:ShowArea(0,0,0, 10000)