Toggle loot and infected spawn - Arkensor/DayZCommunityOfflineMode GitHub Wiki

Step 1

Navigate to your community offline mode installation. It is typically located here: Steam\steamapps\common\DayZ\Missions\DayZCommunityOfflineMode.ChernarusPlus

Step 2

Go into the folder core and open the file CommunityOfflineClient.c with your preferred text editor (E.g Notepad++).

Step 3

Change line 3 to adjust the state.

  • true = enabled = loot and infected will spawn
  • false = disabled = loot and infected will not spawn

This is an example of how the line looks like if the spawn should be disabled:

protected bool HIVE_ENABLED = false;