Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*---------------------------------------------------------------------------
- Script: Player2's Capture The Point System for ArmA 2
- Description: Groups of players fight for control of a marked area on the
- map. The largest group controls the area, receiving periodic rewards
- in gold and at the missions end a gear crate spawns in the area.
- Contact Me (I'm lonely):
- [email protected] / http://steamcommunity.com/id/Player2Wins/
- ---------------------------------------------------------------------------*/
- /* Disclaimer / Authors Request
- First of all, congrats on downloading my capture point system and
- thank you for deciding to use it on your server! I ask that you please
- keep the comments in your files, or at least my contact information
- in some form in a clear place.
- If you have any questions or need help or just want someone to talk to
- then add me on steam or email me! <3
- */
- /*
- Installation Instructions
- You should have a folder called 'p2c' with 2 folders inside it
- called 'client' and 'server' respectively
- Cut and paste the folder 'server' inside 'p2c'
- into a new folder called 'p2c' in the 'addons\dayz_server\' folder
- so that it looks like '...\addons\dayz_server\p2c\server\'
- Now cut and paste the folder 'client' into a new folder called 'p2c'
- in your mission file, so that it looks like '...\p2c\client\'
- Now add these 5 lines to the very top of your mission files init.sqf on their own lines before anything else: */
- // Run Player2's Capture Pont System
- //Set client side folder for p2c
- p2c_clientFolder = "p2c\client";
- //Run it
- execVM format["%1\p2c_clientInit.sqf",p2c_clientFolder];
- /* Now add these 3 lines to your '...\addons\dayz_server\init\server_functions.sqf' */
- // Player2's Capture Point System Startup (ServerSide):
- // Set server file path
- p2c_serverFolder = "\z\addons\dayz_server\p2c\server";
- // Wait for config to load first
- waitUntil{(!isNil 'p2c_cfgMaxActiveCapturePoints')};
- // Start Server Init
- execVM format["%1\p2c_serverInit.sqf",p2c_serverFolder];
- /* Now open up the file called 'p2c_config.sqf' inside the '<MissionFile>\p2c\client' folder
- 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!
- */
Advertisement
Add Comment
Please, Sign In to add comment