Advertisement
Guest User

spawnConfig.sqf Kirtash Error

a guest
Feb 2nd, 2015
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 3.98 KB | None | 0 0
  1. /*  
  2.  
  3. Spawn Configuration:
  4.  
  5. 1. These spawns are just examples to show what this mod can do. You can add or delete
  6. any spawn in the _spawnPoints list. Don't forget to leave off the last comma for the last
  7. element in the array.
  8.  
  9. 2. Spawn format:
  10.     [Name, Pos, VIP Level, Humanity Level]
  11.     Name - Each spawn must have a unique name. Can be anything. Do not use double quotes " inside.
  12.     Pos - Coordinates in AboveTerrainLevel Format [x,y,z]
  13.     VIP Level -
  14.         0 - Anyone can pick this spawn
  15.         1 - Only players with UIDs in _spawnLevel1 can pick this spawn
  16.         2 - Only players with UIDs in _spawnLevel2 can pick this spawn
  17.         3 - Only players with UIDs in _spawnLevel3 can pick this spawn​
  18.     Humanity Level -
  19.         0 - Anyone can pick this spawn
  20.         Negative # - Only players with humanity less than this number can pick this spawn
  21.         Positive # - Only players with humanity greater than this number can pick this spawn​
  22.  
  23. 3. _customBase - List of UIDs that own custom bases.
  24.    _customBases - List of custom bases in this format: ["Name",[Pos]]
  25.    Name - Each base must have unique name. Can be anything. Do not use double quotes " inside.
  26.    Pos - In AboveTerrainLevel [x,y,z] format
  27.    These must match the order of the first list. The first UID in _customBase corresponds with the first base in _customBases and so on.
  28.    These will only show in the spawn list for the player who owns them. If multiple UIDs share the same base then add the same base multiple times to maintain order,
  29.    or consider making it a VIP spawn in _spawnPoints instead. Pos is exactly where you will spawn, does not run through findSafePos. These override body check.
  30.  
  31. */
  32.  
  33. _bodyCheck = 4000; // If a player has a body within this distance of a spawn that spawn will be blocked. Set to -1 to disable.
  34. _mapRadius = 12000; // Distance from center to farthest edge of map. Only used when spawnNearPlot is enabled.
  35. _spawnNearGroup = false; // Allow players to spawn near their group. Blocked if the player has a body within bodyCheck distance of the leader. Requires DZGM to work.
  36. _spawnNearPlot = false; // Allow players to spawn near their plot. Blocked if the player has a body within bodyCheck distance of their plot. Requires Plot4Life to work.
  37. _spawnRadius = 800; // Distance around spawn to find a safe pos. Lower is closer to exact coordinates. Do not set too low or BIS_fnc_findSafePos may fail.
  38. _customBase = [
  39.     "A GUID", // ebay
  40.     "0",
  41.     "0"
  42. ];
  43. _customBases = [ // Do not use a z (height) higher than _autoOpenHeight in haloConfig.sqf if using halo
  44.     ["NAME BASE",[2324,15365,0]],
  45.     [],
  46.     []
  47. ];
  48.  
  49. _spawnLevel1 = ["0","0","0"];
  50. _spawnLevel2 = ["0","0","0"];
  51. _spawnLevel3 = ["0","0","0"];
  52. // To give higher level VIPs access to lower level VIP spawns too use +. For example:
  53. // _spawnLevel2 = ["0","0","0"] + _spawnLevel1;
  54. // _spawnLevel3 = ["0","0","0"] + _spawnLevel2;
  55.  
  56. _spawnPoints = [
  57.     //["Random",[[4932,1989,0],[12048,8352,0],[6901,2509,0],[10294,2191,0],[2236,1923,0],[13510,5249,0]],0,0,1], // Random will never be blocked, so you should always keep it if using body check.
  58.     ["Balota",[4932,1989,0],0,0],
  59.     ["Berezino",[12048,8352,0],0,0],
  60.     ["Cherno",[6901,2509,0],0,0],
  61.     ["Elektro",[10294,2191,0],0,0],
  62.     ["Kamenka",[2236,1923,0],0,0],
  63.     ["Solnichny",[13510,5249,0],0,0],
  64.     // Above are defaults
  65.     //["Devils",[7068,11221,0],0,0],
  66.     //["Gorka",[9711,8962,0],0,0],
  67.     //["Grishino",[5939,10195,0],0,0],
  68.     //["Guglovo",[8421,6643,0],0,0],
  69.     //["Gvozdno",[8812,11642,0],0,0],
  70.     //["Kabanino",[5301,8548,0],0,0],
  71.     ["Kamyshovo",[12071,3591,0],0,0],
  72.     ["Komarovo",[3608,2152,0],0,0],
  73.     //["Krasnostav",[11053,12361,0],0,0],
  74.     ["Krutoy",[13407,4175,0],0,0],
  75.     //["Lopatino",[2718,10094,0],0,0],
  76.     //["Petrovka",[4984,12492,0],0,0],
  77.     //["Pogorevka",[4582,6457,0],0,0],
  78.     ["Prigor",[7952,3205,0],0,0],
  79.     //["Pusta",[9153,3901,0],0,0],
  80.     //["Vybor",[3626,8976,0],0,0],
  81.     //["Vyshnoye",[6587,6026,0],0,0],
  82.     //["Zelenogorsk",[2692,5284,0],0,0],
  83.     //["Bandit Base",[1607,7804,0],0,-2000],
  84.     //["Hero Hideout",[12944,12767,0],0,5000]
  85. ];
  86.  
  87. /*
  88.  Tavi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement