Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*---------------------------------------------------------------------------
- Player2's Capture Points for ArmA 2 - Config File
- ---------------------------------------------------------------------------*/
- /*---------------------------------------------------------------------------
- Enable Debugging
- Modes: 0 - Off, 1 = Errors & Startup, 2 = Verbose, 3 = Full
- ---------------------------------------------------------------------------*/
- p2c_cfgDebug = 3;
- /*---------------------------------------------------------------------------
- Enable Test Mode (Server detects AI in zone so AI can be used to test)
- ---------------------------------------------------------------------------*/
- p2c_cfgTestMode = true;
- /*---------------------------------------------------------------------------
- Log Prefix
- ---------------------------------------------------------------------------*/
- p2c_logPrefix = "p2c";
- /*---------------------------------------------------------------------------
- Maximum Points that can be active at a time
- ---------------------------------------------------------------------------*/
- p2c_cfgMaxActiveCapturePoints = 2;
- /*---------------------------------------------------------------------------
- Minimum amount of players online before a capture point is spawned
- ---------------------------------------------------------------------------*/
- p2c_cfgMinPlayers = 10;
- /*---------------------------------------------------------------------------
- Minimum amount of time to wait between spawning capture points (minutes)
- ---------------------------------------------------------------------------*/
- p2c_cfgCapturePointSpawnTimer_MinWait = 5;
- /*---------------------------------------------------------------------------
- Maximum amount of time to wait between spawning capture points (minutes)
- ---------------------------------------------------------------------------*/
- p2c_cfgCapturePointSpawnTimer_MaxWait = 15;
- /*---------------------------------------------------------------------------
- Length of time a capture point will last (minutes)
- ---------------------------------------------------------------------------*/
- p2c_cfgCapturePointActiveTime = 5;
- /*---------------------------------------------------------------------------
- Amount of time between status change checks at each point
- Warning: Must be a multiple of p2c_cfgGiveControllersGoldTimer
- ---------------------------------------------------------------------------*/
- p2c_cfgPointCheckTimer = 5;
- /*---------------------------------------------------------------------------
- Interval in seconds for rewarding the capture point controllers (seconds)
- Warning: Must be divisible by p2c_cfgPointCheckTimer
- ---------------------------------------------------------------------------*/
- p2c_cfgGiveControllersGoldTimer = 60;
- /*---------------------------------------------------------------------------
- Amount of gold to give to controllers per interval above (gold)
- ---------------------------------------------------------------------------*/
- p2c_cfgGiveControllersGoldAmount = 200;
- /*---------------------------------------------------------------------------
- Announcement Mode
- 0 = Map Marker Change Only (Map marker changes for all below too)
- 1 = Chat
- 2 = Standard Hint Message
- 3 = Standard Hint Message & Chat
- 4 = CutText
- 5 = CutText & Chat
- 6 = TitleText
- 7 = TitleText & Chat
- 8 = Player2's Notification System (todo)
- 9 = Player2's Notification System & Chat (todo)
- 10 = Player2's Debug Monitor
- 11 = Player2's Debug Monitor & Chat
- ---------------------------------------------------------------------------*/
- p2c_cfgAnnouncementMode = 11;
- /*---------------------------------------------------------------------------
- Locations to select from when a capture point needs to spawn
- Format:
- X Pos, Y Pos, Size, Building to spawn at center, Building direction
- If you don't want a building, leave "" for the building and 0 for
- the direction
- ---------------------------------------------------------------------------*/
- p2c_cfgCaptureZonePositions = [
- [6213,8437,30,"Red_Light_Blinking_EP1",45], //Test Pos
- [5137,2258,50,"",0], //Test Pos
- [5956,8684,100,"",0] //Test Pos
- ];
- /*---------------------------------------------------------------------------
- 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")
- ---------------------------------------------------------------------------*/
- p2c_cfgMarkerColour_Contested = "ColorOrange"; //Orange
- p2c_cfgMarkerColour_Neutral = "ColorLightGrey"; //Grey
- p2c_cfgMarkerColour_Controlled = "ColorRed"; //Red
- /*---------------------------------------------------------------------------
- Spawn gear box when capture point mission ends
- ---------------------------------------------------------------------------*/
- p2c_cfgSpawnGearBoxAtEnd = true;
- /*---------------------------------------------------------------------------
- Contents to put in gear box
- ---------------------------------------------------------------------------*/
- p2c_cfgGearBoxContents = [
- /*
- Format for gear crates:
- [
- "Crate Name",
- [ [Weapons & Toolbelt Items], [Magazines & Vehicle Parts & Other Supplies], [Backpacks] ],
- [ [Amount per Weapon / Item], [Amount Per Magazine / Item], [Amount Per Backpack] ]
- ]
- Simple Example:
- [
- "AK47 & Misc Stuff",
- [ ["AK_47_M", "ItemGPS"], ["30Rnd_762x39_AK47", "PartWheel", "ItemMorphine"], ["DZ_Backpack_EP1", "DZ_LargeGunBag_EP1"] ],
- [ [2, 2], [20, 4, 2], [2, 1 ] ]
- ],
- */
- //Gear crates go here:
- [
- "AK47 & Misc Stuff",
- [ ["AK_47_M", "ItemGPS"], ["30Rnd_762x39_AK47", "PartWheel", "ItemMorphine"], ["DZ_Backpack_EP1", "DZ_LargeGunBag_EP1"] ],
- [ [2, 2], [20, 4, 2], [2, 1 ] ]
- ],
- [
- "Silenced Stuff",
- [ ["RH_m9csd", "ItemGPS"], ["15Rnd_9x19_M9SD", "PartWheel", "ItemMorphine"], ["DZ_Backpack_EP1", "DZ_LargeGunBag_EP1"] ],
- [ [2, 2], [20, 4, 2], [2, 1 ] ]
- ]
- //End of gear crates, make sure the last one doesnt have a comma!
- ];
- /*---------------------------------------------------------------------------
- Test Mode Only Settings
- ---------------------------------------------------------------------------*/
- if (p2c_cfgTestMode) then {
- /*---------------------------------------------------------------------------
- Minimum amount of time to wait between spawning capture points (minutes)
- ---------------------------------------------------------------------------*/
- p2c_cfgCapturePointSpawnTimer_MinWait = 2;
- /*---------------------------------------------------------------------------
- Maximum amount of time to wait between spawning capture points (minutes)
- ---------------------------------------------------------------------------*/
- p2c_cfgCapturePointSpawnTimer_MaxWait = 3;
- /*---------------------------------------------------------------------------
- Length of time a capture point will last (minutes)
- ---------------------------------------------------------------------------*/
- p2c_cfgCapturePointActiveTime = 5;
- /*---------------------------------------------------------------------------
- Minimum amount of players online before a capture point is spawned
- ---------------------------------------------------------------------------*/
- p2c_cfgMinPlayers = 1;
- /*---------------------------------------------------------------------------
- Interval in seconds for rewarding the capture point controllers (seconds)
- ---------------------------------------------------------------------------*/
- p2c_cfgGiveControllersGoldTimer = 45;
- //TODO Stuff:
- /*---------------------------------------------------------------------------
- Image path for Notifications / DebugMon, Leave as "" for none
- ---------------------------------------------------------------------------*/
- p2c_notifImagePath = "";
- /*---------------------------------------------------------------------------
- Enable Sound Announcements that players can hear in 3d space around the
- capture point
- ---------------------------------------------------------------------------*/
- p2c_enableSoundAnnouncements = false;
- /*---------------------------------------------------------------------------
- If Sound announcements enabled, put the path to your sound files here
- I use https://www.ivona.com/ and the voice Emma from Britain
- ---------------------------------------------------------------------------*/
- p2c_sound_zoneContested = "";
- p2c_sound_zoneCaptured = "";
- p2c_sound_zoneEnded = "";
- };
Advertisement
Add Comment
Please, Sign In to add comment