Skip to content

Commit

Permalink
Made a difference between first time wiating when booting a server an…
Browse files Browse the repository at this point in the history
…d between ZCP's.
  • Loading branch information
Jonas Windmolders committed Apr 4, 2016
1 parent 89982b4 commit 5b26ca4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions server_addon_code/a3_zcp_exile/fn_config.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ ZCP_Min_AI_Amount = 4; // Min ammount of AI at a ZCP
ZCP_Random_AI_Max = 8; // so min 4 and max 12 (4+8) AI

ZCP_CapTime = 300; // Seconds to cap an area uncontested
ZCP_ServerStartWaitTime = 120;
ZCP_MinWaitTime = 120; // seconds to wait to spawn a new capturepoint when 1 was capped.
ZCP_MaxWaitTime = 120; // random between 0 and THIS number added to the ZCP_MinWaitTime to counter spawning points at the same time
ZCP_BaseCleanupDelay = 180; // seconds to wait to delete a captured base.
Expand Down
3 changes: 2 additions & 1 deletion server_addon_code/a3_zcp_exile/fn_startZCP.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,6 @@ ZCP_RandomReward = [];
};
}count ZCP_RewardWeightForRandomChoice;

[] spawn ZCP_fnc_missionLooper;
diag_log text format ["[ZCP]: Capture Points is fully running."];
uiSleep ZCP_ServerStartWaitTime;
[] spawn ZCP_fnc_missionLooper;

0 comments on commit 5b26ca4

Please sign in to comment.