
我的意思是,没错,你确实可以给自己开启超级无敌模式并获取所有配方,但你的朋友们呢? 本指南包含适用于主机和客户端的命令。 在游戏中按“~”键打开控制台。 这在默认启用控制台命令的情况下有效。 如果你在个人服务器中想要使用作弊功能,请确保在提交命令前将控制台切换为“remote”模式: 你可以通过按键盘上的“ctrl”键在“remote”和“local”模式之间切换。

*You every to re-enter commands each time you load the server *To find out which player corresponds to what player number: c_listallplayers() Commands for hosts and clients IMPORTANT!! These commands apply to clients/ non-host players but the host has to be the one to enter the console commandSUPERGODMODE For host c_supergodmode()For everyone including hostsfor k,v in pairs(AllPlayers) do c_supergodmode(v) endFor individual players in server, number correspond with player number(example: first player to enter the server is player 1)c_supergodmode(AllPlayers[number]) ACCESS TO ALL RECIPES For hostGetPlayer().components.builder:GiveAllRecipes()For individual players in server, number correspond with player number(example: first player to enter the server is player 1)AllPlayers[number].components.builder:GiveAllRecipes() HIGER COMBAT DAMAGE For hostThePlayer.components.combat.damagemultiplier=(5000)For individual players in server, number correspond with player number(example: first player to enter the server is player 1)AllPlayers[number].components.combat.damagemultiplier=(5000) REVEAL ENTIRE MAP For everyone including hostfor k,v in pairs(AllPlayers) do for x=-1600,1600,35 do for y=-1600,1600,35 do v.player_classified.MapExplorer:RevealArea(x,0,y) end end end TRANPORT PLAYERS TO YOU Your friend will transport to position under your mouse cursor Number correspond with player number (example: first player to enter the server is player 1) For hostc_move(AllPlayers[number])For everyone including hostsfor k,v in pairs(AllPlayers) do c_move(v) end TRANPORT TO OTHER PLAYERS You will appear next to your friend Number correspond with player number (example: first player to enter the server is player 1) For hostc_goto(AllPlayers[number])DROP PLAYER'S INVENTORYFor individual players in server, number correspond with player number(example: first player to enter the server is player 1)AllPlayers[number].components.inventory:DropEverything()RESSURECTIONFor individual players in server, number correspond with player number(example: first player to enter the server is player 1)AllPlayers[number]:PushEvent('respawnfromghost')PUSH DEATHFor individual players in server, number correspond with player number(example: first player to enter the server is player 1)AllPlayers[number]:PushEvent('death') Commands for hosts only WALK FASTER Default speed is "1" so if multiplier = 2 then you will walk twice as fast c_speedmult(multiplier) INVISIBLE TO MOBS Mobs won't attack you c_makeinvisible() SET HEALTH PERCANTAGE Use fractional numbers (example: 0.90 = 90% c_sethealth(percent) SET SANITY PERCANTAGE Use fractional numbers (example: 0.90 = 90% c_setsanity(percent) SET HUNGER PERCANTAGE Use fractional numbers (example: 0.90 = 90% c_sethunger(percent) SET MOISTURE PERCANTAGE Use fractional numbers (example: 0.90 = 90% c_setmoisture(percent) SET BODY TEMPERATURE PERCANTAGE Use fractional numbers (example: 0.90 = 90% c_settemperature(degrees) SET MAXIMUM HEALTH GetPlayer().components.health:SetMaxHealth(5000) SET MAXIMUM SANITY GetPlayer().components.health:SetMaxSanity(5000) SET MAXIMUM HUNGER GetPlayer().components.health:SetMaxHunger(5000) TRANPORT TO NEAREST PREFAB You will appear next the prefab c_gonext("prefab")(example: c_gonext("cave")) SPAWN ITEM INTO YOUR OWN INVENTORY If the item cannot be kept in inventory (example: backpacks), it will drop to the ground c_give("prefab",amount)(example: c_give("berries",40)) SPAWN MOBS Mobs will spawn under your mouse cursor c_give("prefab",amount)(example: c_spawn("beefalo",2)) Commands for server/ world MAKE SERVER ANNOUNCEMENT c_announce("announcement") SKIP TO NEXT DAY CYCLE TheWorld:PushEvent("ms_nextcycle") SKIP AMOUNT OF DAYS c_skip(num) SKIP PHASE TheWorld:PushEvent("ms_nextphase") START SEASONS: Summer/ Autumn/ Winter/ Spring TheWorld:PushEvent("ms_setseason", "winter")Swap out "winter" for preferred season START RAIN TheWorld:PushEvent("ms_forceprecipitation") START RAIN TheWorld:PushEvent("ms_forceprecipitation", false) DO LIGHTNING STRIKE Lightning will strike under your mouse cursor TheWorld:PushEvent("ms_sendlightningstrike", ConsoleWorldPosition()) DO METEOR STRIKE Meteor will strike under your mouse cursor c_spawn("shadowmeteor", 1) CLEAR THE MORGUE ErasePersistentString("morgue") SAVE THE SERVER Useful for rollback mid-game c_save() ROLLBACK THE SERVER Rollsback to last (1) save or second-last (2) save and so on... c_rollback(count) ACTIVATE ALL EVENTS Doesn't work if world configuration events set to "auto" for k, v in pairs(SPECIAL_EVENTS) do if v ~= SPECIAL_EVENTS.NONE then local tech = TECH[k] if tech ~= nil then tech.SCIENCE = 0 end end end function IsSpecialEventActive(event) return true end MUST HAVE CHEAT!! SPAWN TAMED BEEFALO Step one: function spawn_beef(tendency) local beef = c_spawn("beefalo"); beef.components.hunger:DoDelta(400); beef.components.domesticatable:DeltaTendency(tendency, 1); beef:SetTendency(); beef.components.domesticatable.domestication = 1; beef.components.domesticatable:BecomeDomesticated(); endStep two: spawn_beef("DEFAULT")Swap "DEFAULT" with "RIDER", "ORNERY" or "PUDGY" for different looks of beefalo: "DEFAULT" accepts saddle and mounting easily

“骑手”看起来很生气,需要先喂食才能上鞍和骑乘

“倔强”外观华丽,易于装备马鞍和骑乘

“PUDGY”看起来胖乎乎的,能轻松装备鞍具并被骑乘

2026-02-19 10:00:43 发布在
饥荒联机版
说点好听的...
收藏
0
0
