player2_dz

Untitled

Aug 18th, 2016
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 2.27 KB | None | 0 0
  1. /*---------------------------------------------------------------------------
  2.     Script: Player2's Capture The Point System for ArmA 2
  3.  
  4.     Description: Groups of players fight for control of a marked area on the
  5.      map. The largest group controls the area, receiving periodic rewards
  6.      in gold and at the missions end a gear crate spawns in the area.
  7.  
  8.     Contact Me (I'm lonely):
  9.         [email protected] / http://steamcommunity.com/id/Player2Wins/
  10. ---------------------------------------------------------------------------*/
  11. /* Disclaimer / Authors Request
  12.  
  13.     First of all, congrats on downloading my capture point system and
  14.     thank you for deciding to use it on your server! I ask that you please
  15.     keep the comments in your files, or at least my contact information
  16.     in some form in a clear place.
  17.  
  18.     If you have any questions or need help or just want someone to talk to
  19.     then add me on steam or email me! <3
  20. */
  21. /*
  22.     Installation Instructions
  23.  
  24.     You should have a folder called 'p2c' with 2 folders inside it
  25.     called 'client' and 'server' respectively
  26.  
  27.     Cut and paste the folder 'server' inside 'p2c'
  28.     into a new folder called 'p2c' in the 'addons\dayz_server\' folder
  29.     so that it looks like '...\addons\dayz_server\p2c\server\'
  30.  
  31.     Now cut and paste the folder 'client' into a new folder called 'p2c'
  32.     in your mission file, so that it looks like '...\p2c\client\'
  33.  
  34.     Now add these 5 lines to the very top of your mission files init.sqf on their own lines before anything else: */
  35.         //      Run Player2's Capture Pont System
  36.         //Set client side folder for p2c
  37.         p2c_clientFolder = "p2c\client";
  38.         //Run it
  39.         execVM format["%1\p2c_clientInit.sqf",p2c_clientFolder];
  40.            
  41.     /* Now add these 3 lines to your '...\addons\dayz_server\init\server_functions.sqf' */
  42.         //      Player2's Capture Point System Startup (ServerSide):
  43.         //  Set server file path
  44.         p2c_serverFolder = "\z\addons\dayz_server\p2c\server";
  45.         //  Wait for config to load first
  46.         waitUntil{(!isNil 'p2c_cfgMaxActiveCapturePoints')};
  47.         //  Start Server Init
  48.         execVM format["%1\p2c_serverInit.sqf",p2c_serverFolder];
  49.  
  50.  
  51.     /* Now open up the file called 'p2c_config.sqf' inside the '<MissionFile>\p2c\client' folder
  52.     and edit it to suit your server. That's all there is to it! You're done! Restart your test server and check it out!
  53. */
Advertisement
Add Comment
Please, Sign In to add comment