下载客户端

控制台命令 - 手册

2026-02-19 04:00:13

导读

这是一份游戏控制台命令手册,推荐使用更安全的控制台命令替代易致崩溃的第三方修改工具。介绍了默认可用的8个基础控制台命令,含使用方法、参数说明及示例,还提及需先输入EnableCheats解锁的高级控制台命令,可辅助玩家调整游戏资源、时间、建筑等内容。

Console Commands - Manual Mod Usage Warning! Some players are using modder tools like WeMod or other similar software. Those tools are known to cause game crashes! We recommend that you use 'console commands' rather than those tools. Of course, it is still possible for the console commands to cause issues with the game, especially when used excessively, but they are much safer in that regard. Basic Console Commands There is a total of 8 basic console commands that are available by default. To use them, you only have to open the console command window (available under the "~" hotkey) and type them directly while using the correct parameters. All the other console commands require the usage of the "EnableCheats" command first, which will unlock access to all the other commands. More details about them can be found in the Advanced Console Commands section. List of Basic Console Commands: AddResourcesToHq AddWorkersToHq SpawnVehicle SetHour UnlockContent SpawnGroupAtCursor AdaptBuilding SetSoldierHp Parameters Most of the console commands require the use of parameters. That means that after the console command, you have to specify further what exact change you want to see happen. For example, writing "AddResourcesToHq" on its own won't result in any changes in the game. But writing "AddResourcesToHq res_ammo 50" will spawn 50 units of ammo. In this case, "res_ammo" is the first required parameter, and "50" is the second. The player basically has to specify which resource they want to spawn and in what quantity. Don't worry, hints are available when using the console commands. Using TAB and UP arrow A quick hint! To make navigation with the console commands easier, you can use the TAB keyboard button and UP arrow keyboard button. The TAB button will autocomplete your current command. Launch the console command with the "~" hotkey, type "E," and press the TAB button to see that the whole text "EnableCheats" will now be suggested in the window. The UP arrow button will bring back the last console command that you have used. It might be especially useful when adding a lot of different resources. To continue the usage of the example mentioned in the "Parameters" section: you can write "AddResourcesToHq res_ammo 50", use the UP arrow to bring back the whole command again, and only replace the name of the resource ("AddResourcesToHq res_wood 50") to make the whole process faster. AddResourcesToHq Let's tackle the basic console commands one by one. AddResourcesToHq will spawn the desired resources directly to your Zone's shared storage. As mentioned above, you can select which resources you want to spawn and in what quantity. Be careful not to fill up your warehouse if you don't want to block your production cycles. Adding resources above the warehouse limit isn't possible. The command won't execute in such a case. Usage Example: "AddResourcesToHq eq_shotgun 5" will result in 5 shotguns spawning in the Zone's shared storage space. You can pick them up from any HQ or Warehouse in your Zone. "AddResourcesToHq res_ammo 100" will spawn 100 crates of ammo in the Zone's shared storage space. "AddResourcesToHq res_cans 100" will spawn 100 crates of food in the Zone's shared storage space. You can spawn the following resources when using the AddResourcesToHq console command: res_cans, res_fuel, res_ammo, res_bricks, res_metal, res_wood, res_fertiliser, res_drugs, res_meat, res_basic_tool, res_scientificmaterial, eq_pistol, eq_sniper_rifle, eq_assault_rifle, eq_shotgun, eq_wear_protectors, eq_wear_riot_gear, eq_wear_plate, res_grain, res_food_rations, res_scientists_case, eq_polearm, res_scientists_vaccine, res_scientists_sample AddWorkersToHq This console command is very simple. It will add new Workers to your Zone. If needed, they can be trained later on as squad members. The player only has to provide one numerical parameter. Usage Example: "AddWorkersToHq 20" will result in 20 new workers available in your Zone. Important! Workers can impact the game's performance in a significant way. Spawning 20 workers here and there won't cause any issues. But spawning 2000 of them might result in less FPS, and in the worst case scenario - in the game crashing. SpawnVehicle SpawnVehicle allows you to spawn any vehicle at the desired location on the map. After using the command, you have to use the LMB (left mouse button) to choose where the vehicle is supposed to spawn. Important! Subsequent clicks will spawn more vehicles. Use the RMB (right mouse button) to stop spawning the vehicles. Usage Example: "SpawnVehicle ve_truck" will start spawning trucks in the locations that you choose with LMB. You can spawn the following vehicles when using the SpawnVehicle console command: ve_bus, ve_cistern, ve_pickup, ve_sedan, ve_truck, ve_minicar, ve_combi, ve_sport_car, ve_van, ve_suv, ve_armoured_transport SetHour The SetHour console command allows you to change the time of the day. You can quickly end the night, which might help against sudden attacks of the infected. Or proceed with some actions that you would like to happen sooner. SetHour is based on the 24-hour time format. Usage Example: "SerHour 0" will set the hour to 12:00 AM, midnight. "Set Hour 13" will set the hour to 1:00 PM. "Set Hour 100" will set the hour to 12:00 AM the next day. It's not possible to skip more than one day with this console command. Important! You can slightly "turn back time" with this command, but only within the same day. For example, it's possible to go from DAY 4, 11:00 PM to DAY 4, 12:00 AM. But it's not possible to go from DAY 4, 12:00 AM to DAY 3, 11:00 PM. UnlockContent The UnlockContent command can be used to unlock several game aspects that are otherwise locked behind reaching certain points of game progression or selecting a specific starting map. Usage Example: "UnlockContent bld_greenhouse" will allow you to immediately build the Greenhouse structures, without researching the corresponding technology first. "UnlockContent GroupSpawn_inf_bear" will allow the infected bears to spawn on your map, even if they wouldn't do so normally do so due to the selected biome. The following content can be unlock with the usage of the UnlockContent console commands: CreateSquad, DeconstructBuilding, TakeOverVehicle, bld_arms_factory, prod_ammo, prod_pistol, prod_assault_riffle, prod_shotgun, prod_sniper_rifle, bld_fortified_wall, bld_metal_fence, bld_hq, bld_hospital, prod_medbay_drugs, prod_vaccine, prod_medbay_nothing, bld_house, bld_warehouse, bld_wooden_tower, bld_fortified_tower, bld_shelter, bld_farm, prod_farm_grain, prod_farm_fertiliser_to_grain, bld_fuel_factory, prod_wood_to_fertiliser, prod_fertiliser_to_fuel, prod_wood_to_fuel, prod_fuel_to_fertiliser, prod_grain_to_fuel, bld_wooden_palisade, bld_metal_tower, bld_barbed_wire, bld_brick_wall, bld_antenna, bld_kitchen, prod_kitchen_grain_and_wood_to_food, prod_kitchen_meat_and_wood_to_food, bld_barn, prod_barn_grain_to_meat_and_fertiliser, bld_butchery, bld_cans_factory, prod_food_and_metal_to_cans, bld_greenhouse, prod_greenhouse_grain, prod_greenhouse_fertiliser_to_grain, bld_medbay, prod_medbay_drugs, prod_medbay_nothing, bld_medieval_tower, bld_medieval_wall, bld_research_center, bld_sawmill, bld_temple, bld_tool_factory, prod_wood_and_metal_to_tools, prod_polearm, bld_carworkshop, bld_wooden_gate, bld_metal_gate, bld_fortified_gate, bld_medieval_wall, bld_weather_center, bld_gear_factory, prod_wear_protectors, prod_wear_riot_gear, prod_wear_plate, bld_kindergarten, prod_kindergarten_care, bld_bar, prod_bar_spot, bld_squad_quarters, bld_repairmen, bld_carworkshop, bld_farm_big, prod_farm_big_grain, prod_farm_big_fertiliser_to_grain, bld_forester, bld_scrapyard, outtrans_allback, outtrans_backup, outtrans_welcome, GroupSpawn_bandit_big, GroupSpawn_bandit_big_assault_rifle, GroupSpawn_bandit_big_machette, GroupSpawn_bandit_medium, GroupSpawn_bandit_medium_assault_rifle, GroupSpawn_bandit_medium_machette, GroupSpawn_bandit_small, GroupSpawn_bandit_small_machette, GroupSpawn_bandit_sniper, GroupSpawn_immigrants_medium, GroupSpawn_inf_dog_big, GroupSpawn_inf_dog_medium, GroupSpawn_inf_dog_small, GroupSpawn_inf_human_big, GroupSpawn_inf_human_medium, GroupSpawn_inf_human_small, GroupSpawn_inf_human_tiny, GroupSpawn_immigrants_big_assault_rifle, GroupSpawn_immigrants_big_machette, GroupSpawn_immigrants_big_pistol, GroupSpawn_immigrants_medium_assault_rifle, GroupSpawn_immigrants_medium_pistol, GroupSpawn_immigrants_small_pistol, GroupSpawn_animal_deer_small, GroupSpawn_animal_deer_medium, GroupSpawn_animal_deer_big, GroupSpawn_animal_boar_small, GroupSpawn_animal_boar_medium, GroupSpawn_animal_boar_big, GroupSpawn_inf_bull, GroupSpawn_inf_moose, GroupSpawn_inf_bear, children_born, CustomBuildingConstruction, SwarmsAlwaysWithAlpha, AlphaDropOnDeath, AnimalDropOnDeath, AnimalDropOnDeath, pos_skills, pos_tech, pos_res, pos_guns, pos_strong, neg_weird, neg_ill, neg_shot, neg_wound, neg_hungry SpawnGroupAtCursor The SpawnGroupAtCursor command is similar to the SpawnVehicle command. You have to choose the type of group you want to spawn, the quantity, and then use the LMB to select the spawn location. Usage Example: "SpawnGroupAtCursor animal_deer 5" will spawn 5 deers in the selected location. "SpawnGroupAtCursor bandits 15 eq_shotgun" will spawn 15 bandits, each armed with a shotgun weapon. "SpawnGroupAtCursor immigrants 20 eq_polearm 1000" will spawn 20 immigrants, each armed with a polearm, with an additional view range of 1000 units. Important! The last two parameters, which define the weapon and view range, are optional. You can spawn the following groups with the SpawnGroupAtCursor console command: inf_human, inf_dog, inf_alpha, bandits, army, immigrants, animal_deer, animal_boar, inf_bear, inf_moose, inf_bull AdaptBuilding The AdaptBuilding console command allows you to adapt any building on the map to your desired role in an instant. It also overrides the limitations imposed by the unlocked content. So, even if you haven't unlocked the Cannery building through the corresponding research, the "AdaptBuilding bld_cans_factory" will work on its own. This command also requires the usage of the LMB to select the building that has to be adapted to the chosen role. Usage Example: "AdaptBuilding bld_warehouse" will allow you to adapt any chosen building on the map as a warehouse. You can adapt the following buildings with the AdaptBuilding console command: bld_arms_factory, bld_hq, bld_hospital, bld_house, bld_warehouse, bld_shelter, bld_fuel_factory, bld_kitchen, bld_barn, bld_butchery, bld_cans_factory, bld_medbay, bld_research_center, bld_sawmill, bld_tool_factory, bld_weather_center, bld_gear_factory, bld_kindergarten, bld_bar, bld_squad_quarters, bld_repairmen, bld_forester, bld_scrapyard SetSoldierHp The SetSoldierHP console command allows you to modify the toughness of your Squads. We have received countless requests for an option to make the Squads immortal and this console command should bring you a few steps closer towards that goal. Of course, if you want, you can make the Squads only slightly tougher or even make them weaker. Usage Example: "SetSoldierHp" will set the HP of your Squad members to 10000000. The Squads will be very, very durable. "SetSoldierHp 500" will set the HP of your Squad members to your desired value. In our case, up to 500 HP per Squad member. Advanced Console Commands - Enable Cheats Advanced console commands have been created first and foremost to make the development and testing of the game easier. While those commands are still available to the community, we have to be honest when informing you that their usage can cause unwanted issues with your gameplay. To enable Advanced Console Commands, you have to click on the "~" hotkey on your keyboard first and then proceed with typing "EnableCheats" to unlock all the remaining commands. We won't provide a detailed explanation and usage examples as with the Basic console commands, but below is the full list of all available commands. AddResearchProgressPoints AddWeatherForecastPoints AddResourcesToBuilding AddScientificMaterials AddResourceSupplyList AddResourcesToHq AddMoodModifier AddWorkersToHq AddEventToPool AdaptBuilding ClearFractionResourcesContainer CheckAchievementsProgress CheckAchievementProgress CompleteActiveMissions ChangeMainUILayerState CreateResourceCursor ClearAllPlayerPrefs ChangeLanguage CreateFarmland ClearNavData CreateTower CreateWall CreateGate DoNotReplaceMissingTranslationToEng DiscardResourcesFromBuilding DiscardResourcesFromHq DestroyResourceCursor EndMission FillFractionResourcesContainer HideFps - hides the FPS counter in the bottom left corner of the screen ImportTransmissionTabFromDoc KillAllWorkersExcept KillAllGroups KillWorker MakeBabies RemoveResourcesFromHq ResetVendorCooldown RemoveMoodModifier ResetAchievement ReportBug - opens the Bug Reporter. Useful when it's not possible to reach Bug Reporter via Esc Menu StartTransmissionWithGroupCharacteristics SetSpawnPointVisualizationState SetFpsDisplayerRefreshTime SetCitizenChanceToGoSick01 SpawnHordeAt9404_12519_15 SpawnVehicleGroupAtCursor SpawnGroupsAtExpedition ScavengeAllExpeditions SpawnBigSquadAtCursor SpawnImmigrantsAccept SetVolumetricFogState ScavengeAllBuildings SpawnGroupInBuilding SetCanAbandonVehicle SetResearchAvailable SetBugDetectorState SpawnSquadAtCursor SpawnSquadAtLatLon SpawnGroupAtCursor ShowDebugZoomInfo StartTransmission SetVendorCooldown SetResearchState SetLoggingLevel StartWeatherFog SpawnImmigrants SwitchFogOfWar SetVendorState SetResolution ShowAllGroups SetTimeSpeed SpawnSquadAt SetSoldierHp SpawnVehicle ShowVehicles StartMission SetFpsLimit StartAction StartEvent SwarmDebug SaveGame SetNpcHp ShowFps - displays the FPS counter in the bottom left corner of the screen SetHour SetDay UnlockAllExpeditionTiles UnlockResearchType UnlockContent

评论

共0条评论
face
inputImg
相关阅读
最新更新

控制台命令

你好!本指南将介绍所有控制台命令(所有命令均不影响成就,例如通过命令获得100k时,仍会正常解锁成就): industrial - 升至28级,并解锁爆炸后的剧…

2026-02-20 16:001赞 · 0评论

控制台命令(已更新天赋)

如何启用控制台以及部分基础指令(如金钱、技能点等)的使用方法。 启用控制台 简要步骤: 1. 进入菜单中的设置 2. 选择热键选项 3. 向下滚动至额外功能(位…

2026-02-14 19:000赞 · 0评论

如何修复因大量模组导致的崩溃

你好!大量的模组,如纹理、脚本、模型、音效等,会占用游戏内存。游戏本身比较老旧,资源内存有限。 在游戏过程中,你的内存会逐渐被占用(打开控制台并输入mem_du…

2026-02-12 20:310赞 · 0评论

控制台命令/作弊码扩展指南

This guide will show you how to use cheats/console commands and what they actual…

2026-02-20 01:000赞 · 0评论

100% 成尹

剧透警告:本指南包含游戏截图,可能涉及剧透。 游戏内各成就的提示与指南! 指南中包含所有成就及非常基础的信息,我还会陆续补充更多信息和图片。 简介 本指南旨在提…

2026-02-19 13:000赞 · 0评论

控制台命令

可复制粘贴命令列表 控制台命令 游戏中使用控制台命令需按下Shift+O调出控制台。调出控制台后输入命令并按下回车键即可。按Esc键退出控制台。 有时在游戏中进…

2026-04-07 16:000赞 · 0评论

部分控制台命令

游戏内置控制台使用方法:按【~】键打开控制台,输入命令后按回车键执行。 部分控制台命令: - Additem ItemID:添加物品,例如“additem 10…

2026-04-01 19:000赞 · 0评论

如何重置角色属性

以下是如何更改你的角色姓名、种族、性别、职业以及调整技能的方法。 启用控制台: 首先,你需要找到《魔岩山传说2》的配置文件。 导航至文档/Almost Huma…

2026-04-01 01:000赞 · 0评论

控制台命令

数据挖掘到的控制台命令列表;我尚未测试这些命令,但大多数命令的作用都很明显。 (更新指南) 这份列表是在我发现官方文档链接之前整理的。以下是从该文档中复制粘贴的…

2026-03-20 07:000赞 · 0评论

控制台命令

CCD的所有控制台命令完整列表 简介 我发现了一个使用控制台命令的功能,而我没看到任何YouTube博主或其他人使用过这些控制台命令,所以不如制作一份Steam…

2026-02-18 22:000赞 · 0评论
暂无更多

最新更新

  • 《无感染区》更新#38修复公告 1. 修复了巴士总部容量问题 2. 服务器更新 — 《无感染区》修复公告 1. 调整了车队模式下巴士总部的容量,从初始设置后的60提升至300。 2. 更新了服务器设置。 3. 更新了分析事件相关内容。 4. 修…
  • 《无感染区》重大更新#6预览 - 全新优先级系统、区域警报、熔铁炉 — 《无感染区》大型更新#6内容公告 各位幸存者们,大家好! 我们很高兴为大家带来《无感染区》大型更新#6的另一批新特性。如果您错过了之前的公告,我们最近新增了爆炸…
  • 《无感染区》更新公告#37 - 修复内容 1. 树木采集系统平衡调整 2. 新增服务器 3. 商队问题修复 — 《无感染区》修复更新公告 1. 新增新加坡服务器。下载新地图时,游戏会自动检测并切换至最佳服务器。 2. 为以车队模式开始的游戏中的载具增加了初始资源。 3. …
  • 200天 — 第200天基本情况总结以及初期需要做什么才能撑到第200天 第200天——一切如何? 我在第200天的一些个人见解 首先,不是我想这样,而是因为市民太多会让我的…
  • 《无感染区》Bug修复更新 #36 - 自由视角、建筑拆分修复、内存泄漏修复 — 各位幸存者们,大家好! 应广大玩家的需求,我们已开始试验自由视角控制台命令。尽管该功能尚处于高度试验阶段,但我们仍将其加入了当前版本。欢迎大家体验并反馈使用感受…
  • Globetrotter Achievement — 我在2024年11月7日解锁了该成就,本指南将帮助你也解锁它。 Great Success! 2025年5月12日更新:已由开发团队修复。 如何解锁成就
  • 我是传奇 — 你是否曾想过获得类似电影《我是传奇》中的成就,也就是仅靠一名幸存者存活12天?以下是我的做法: 1. 选择纽约市(哈哈) 2. 将所有人编成小队,让剩余人力开始…
  • 如何提升游戏性能? — 如果你想提升游戏的性能和稳定性,可以尝试以下解决方案: 调整设置 尝试降低图形设置,因为默认设置可能无法达到你期望的帧率。
  • 藏身处与巢穴使用指南 — 对于许多玩家来说,藏身处和据点目前有点难对付。以下是应对方法: 藏身处是土匪的生成点。它和你的建筑一样有生命值,并且里面始终至少有一个4人土匪小队。要对付它,你…
  • 终极重建指南 — 那么,你已经在狭窄封闭的地堡中坚持到安全信号响起了吗?恭喜!这份专利指南将为你提供所有*重建社会所需的基础知识、信息和指导,助你踏上这段危险却意义重大的旅程! …