player2_dz

Untitled

Aug 18th, 2016
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 9.01 KB | None | 0 0
  1. /*---------------------------------------------------------------------------
  2.         Player2's Capture Points for ArmA 2 - Config File
  3. ---------------------------------------------------------------------------*/
  4.  
  5. /*---------------------------------------------------------------------------
  6.     Enable Debugging
  7.         Modes: 0 - Off, 1 = Errors & Startup, 2 = Verbose, 3 = Full
  8. ---------------------------------------------------------------------------*/
  9. p2c_cfgDebug                            = 3;
  10.  
  11. /*---------------------------------------------------------------------------
  12.     Enable Test Mode (Server detects AI in zone so AI can be used to test)
  13. ---------------------------------------------------------------------------*/
  14. p2c_cfgTestMode                         = true;
  15.  
  16. /*---------------------------------------------------------------------------
  17.     Log Prefix
  18. ---------------------------------------------------------------------------*/
  19. p2c_logPrefix                           = "p2c";
  20.  
  21. /*---------------------------------------------------------------------------
  22.     Maximum Points that can be active at a time
  23. ---------------------------------------------------------------------------*/
  24. p2c_cfgMaxActiveCapturePoints           = 2;
  25.  
  26. /*---------------------------------------------------------------------------
  27.     Minimum amount of players online before a capture point is spawned
  28. ---------------------------------------------------------------------------*/
  29. p2c_cfgMinPlayers                       = 10;
  30.  
  31. /*---------------------------------------------------------------------------
  32.     Minimum amount of time to wait between spawning capture points (minutes)
  33. ---------------------------------------------------------------------------*/
  34. p2c_cfgCapturePointSpawnTimer_MinWait   = 5;
  35.  
  36. /*---------------------------------------------------------------------------
  37.     Maximum amount of time to wait between spawning capture points (minutes)
  38. ---------------------------------------------------------------------------*/
  39. p2c_cfgCapturePointSpawnTimer_MaxWait   = 15;
  40.  
  41. /*---------------------------------------------------------------------------
  42.     Length of time a capture point will last (minutes)
  43. ---------------------------------------------------------------------------*/
  44. p2c_cfgCapturePointActiveTime           = 5;
  45.  
  46. /*---------------------------------------------------------------------------
  47.     Amount of time between status change checks at each point
  48.     Warning: Must be a multiple of p2c_cfgGiveControllersGoldTimer
  49. ---------------------------------------------------------------------------*/
  50. p2c_cfgPointCheckTimer                  = 5;
  51.  
  52. /*---------------------------------------------------------------------------
  53.     Interval in seconds for rewarding the capture point controllers (seconds)
  54.     Warning: Must be divisible by p2c_cfgPointCheckTimer
  55. ---------------------------------------------------------------------------*/
  56. p2c_cfgGiveControllersGoldTimer         = 60;
  57.  
  58. /*---------------------------------------------------------------------------
  59.     Amount of gold to give to controllers per interval above (gold)
  60. ---------------------------------------------------------------------------*/
  61. p2c_cfgGiveControllersGoldAmount        = 200;
  62.  
  63. /*---------------------------------------------------------------------------
  64.     Announcement Mode
  65.         0 = Map Marker Change Only (Map marker changes for all below too)
  66.         1 = Chat
  67.         2 = Standard Hint Message
  68.         3 = Standard Hint Message & Chat
  69.         4 = CutText
  70.         5 = CutText & Chat
  71.         6 = TitleText
  72.         7 = TitleText & Chat
  73.         8 = Player2's Notification System (todo)
  74.         9 = Player2's Notification System & Chat (todo)
  75.         10 = Player2's Debug Monitor
  76.         11 = Player2's Debug Monitor & Chat
  77. ---------------------------------------------------------------------------*/
  78. p2c_cfgAnnouncementMode                 = 11;
  79.  
  80. /*---------------------------------------------------------------------------
  81.     Locations to select from when a capture point needs to spawn
  82.         Format:
  83.         X Pos, Y Pos, Size, Building to spawn at center, Building direction
  84.  
  85.         If you don't want a building, leave "" for the building and 0 for
  86.         the direction
  87. ---------------------------------------------------------------------------*/
  88. p2c_cfgCaptureZonePositions = [
  89.     [6213,8437,30,"Red_Light_Blinking_EP1",45], //Test Pos
  90.     [5137,2258,50,"",0],    //Test Pos
  91.     [5956,8684,100,"",0]    //Test Pos
  92. ];
  93.  
  94. /*---------------------------------------------------------------------------
  95.     Map marker colours (Available: "ColorBlack","ColorRed","ColorGreen","ColorBlue","ColorYellow","ColorOrange","ColorWhite","ColorPink","ColorBrown","ColorKhaki","ColorRedAlpha","ColorGreenAlpha","ColorRedFaded75","ColorRedFaded50","ColorRedFaded25","ColorGreenFaded75","ColorGreenFaded50","ColorGreenFaded25","ColorGreenFaded20","ColorBlueFaded75","ColorBlueFaded50","ColorBlueFaded25","ColorLightGrey","ColorLightGreen")
  96. ---------------------------------------------------------------------------*/
  97. p2c_cfgMarkerColour_Contested  = "ColorOrange";     //Orange
  98. p2c_cfgMarkerColour_Neutral    = "ColorLightGrey";  //Grey
  99. p2c_cfgMarkerColour_Controlled = "ColorRed";        //Red
  100.  
  101. /*---------------------------------------------------------------------------
  102.     Spawn gear box when capture point mission ends
  103. ---------------------------------------------------------------------------*/
  104. p2c_cfgSpawnGearBoxAtEnd = true;
  105.  
  106. /*---------------------------------------------------------------------------
  107.     Contents to put in gear box
  108. ---------------------------------------------------------------------------*/
  109. p2c_cfgGearBoxContents =  [
  110.         /*
  111.             Format for gear crates:
  112.  
  113.             [
  114.                 "Crate Name",
  115.                 [   [Weapons & Toolbelt Items],     [Magazines & Vehicle Parts & Other Supplies],           [Backpacks]             ],
  116.                 [   [Amount per Weapon / Item],     [Amount Per Magazine / Item],                           [Amount Per Backpack]   ]
  117.             ]
  118.  
  119.             Simple Example:
  120.  
  121.             [
  122.                 "AK47 & Misc Stuff",
  123.                 [   ["AK_47_M",     "ItemGPS"],     ["30Rnd_762x39_AK47",   "PartWheel",    "ItemMorphine"],        ["DZ_Backpack_EP1", "DZ_LargeGunBag_EP1"]   ],
  124.                 [   [2,         2],                 [20,                    4,              2],                     [2,                 1                   ]   ]
  125.             ],
  126.  
  127.         */
  128.  
  129.         //Gear crates go here:
  130.  
  131.         [
  132.             "AK47 & Misc Stuff",
  133.             [   ["AK_47_M",     "ItemGPS"],     ["30Rnd_762x39_AK47",   "PartWheel",    "ItemMorphine"],        ["DZ_Backpack_EP1", "DZ_LargeGunBag_EP1"]   ],
  134.             [   [2,         2],                 [20,                    4,              2],                     [2,                 1                   ]   ]
  135.         ],
  136.         [
  137.             "Silenced Stuff",
  138.             [   ["RH_m9csd",    "ItemGPS"],         ["15Rnd_9x19_M9SD", "PartWheel",    "ItemMorphine"],        ["DZ_Backpack_EP1", "DZ_LargeGunBag_EP1"]   ],
  139.             [   [2,         2],                     [20,                4,              2],                     [2,                 1                   ]   ]
  140.         ]
  141.  
  142.         //End of gear crates, make sure the last one doesnt have a comma!
  143. ];
  144.  
  145. /*---------------------------------------------------------------------------
  146.     Test Mode Only Settings
  147. ---------------------------------------------------------------------------*/
  148. if (p2c_cfgTestMode) then {
  149.    
  150.     /*---------------------------------------------------------------------------
  151.         Minimum amount of time to wait between spawning capture points (minutes)
  152.     ---------------------------------------------------------------------------*/
  153.     p2c_cfgCapturePointSpawnTimer_MinWait   = 2;
  154.  
  155.     /*---------------------------------------------------------------------------
  156.         Maximum amount of time to wait between spawning capture points (minutes)
  157.     ---------------------------------------------------------------------------*/
  158.     p2c_cfgCapturePointSpawnTimer_MaxWait   = 3;
  159.  
  160.     /*---------------------------------------------------------------------------
  161.         Length of time a capture point will last (minutes)
  162.     ---------------------------------------------------------------------------*/
  163.     p2c_cfgCapturePointActiveTime           = 5;
  164.  
  165.     /*---------------------------------------------------------------------------
  166.     Minimum amount of players online before a capture point is spawned
  167.     ---------------------------------------------------------------------------*/
  168.     p2c_cfgMinPlayers                       = 1;
  169.  
  170.     /*---------------------------------------------------------------------------
  171.     Interval in seconds for rewarding the capture point controllers (seconds)
  172.     ---------------------------------------------------------------------------*/
  173.     p2c_cfgGiveControllersGoldTimer         = 45;
  174.  
  175.  
  176.     //TODO Stuff:
  177.    
  178.     /*---------------------------------------------------------------------------
  179.         Image path for Notifications / DebugMon, Leave as "" for none
  180.     ---------------------------------------------------------------------------*/
  181.     p2c_notifImagePath                      = "";
  182.  
  183.     /*---------------------------------------------------------------------------
  184.         Enable Sound Announcements that players can hear in 3d space around the
  185.         capture point
  186.     ---------------------------------------------------------------------------*/
  187.     p2c_enableSoundAnnouncements            = false;
  188.  
  189.     /*---------------------------------------------------------------------------
  190.         If Sound announcements enabled, put the path to your sound files here
  191.          I use https://www.ivona.com/ and the voice Emma from Britain
  192.     ---------------------------------------------------------------------------*/
  193.     p2c_sound_zoneContested                  = "";
  194.     p2c_sound_zoneCaptured                   = "";
  195.     p2c_sound_zoneEnded                      = "";
  196.  
  197. };
Advertisement
Add Comment
Please, Sign In to add comment