Advertisement
secondcoming

Untitled

Apr 18th, 2016
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 2.04 KB | None | 0 0
  1. span class="re5"> class CfgExileLootSettings
  2. {
  3.     /**
  4.      * Lifetime of loot in minutes. Synchronize this with
  5.      * the garbage collector settings of your server
  6.      * CfgSettings!
  7.      */
  8.     lifeTime = 8;
  9.  
  10.     /**
  11.      * Interval in seconds when the client searches for
  12.      * new buildings to spawn loot in
  13.      */
  14.     spawnInterval = 30;
  15.  
  16.     /**
  17.      * This is a percentage value to determine how many loot
  18.      * positions should contain loot when the system spawns loot.
  19.      *
  20.      * If a building has 20 positions defined, Exile will
  21.      * spawn loot in 10 random positions of them.
  22.      *
  23.      * This means smaller buildings spawn less loot and larger
  24.      * ones spawn more loot.
  25.      *
  26.      * You can also cap it at a maximum value. See below.
  27.      */
  28.     maximumPositionCoverage = 30;
  29.  
  30.     /**
  31.      * Limit the number of loot positions per building. If the
  32.      * above percentage value exceeds this value, it will be capped.
  33.      *
  34.      * Example: Coverage is 50%. Building has 60 loot positions defined.
  35.      * This results in 30 loot positions and that is too much. So we
  36.      * cap this at 10
  37.      */
  38.     maximumNumberOfLootSpotsPerBuilding = 10;
  39.  
  40.     /**
  41.      * Exile spawns a random number of items per loot spot. This
  42.      * is the upper cap for that. So 3 means it could spawn 1, 2
  43.      * or 3.
  44.      */
  45.     maximumNumberOfItemsPerLootSpot = 1;
  46.  
  47.     /**
  48.      * Radius in meter to spawn loot AROUND each player.
  49.      * Do NOT touch this value if you dont know what you do.
  50.      * The higher the number, the higher the drop rates, the
  51.      * easier your server will lag.
  52.      *
  53.      * 50m  = Minimum
  54.      * 200m = Maximum
  55.      */
  56.     spawnRadius = 60;
  57.  
  58.     /**
  59.      * Defines the radius around trader cities where the system should
  60.      * not spawn loot. Set this to 0 if you want to have loot spawning
  61.      * in trader citites, ugh.
  62.      */
  63.     minimumDistanceToTraderZones = 500;
  64.  
  65.     /**
  66.      * Defines the radius around territories where no loot spawns.
  67.      * This does not regard the actual size of a territory. So do not
  68.      * set this to a lower value than the maximum radius of a territory,
  69.      * which is 150m by default.
  70.      */
  71.     minimumDistanceToTerritories = 150;
  72. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement