Jump to content

[Server Addon] ZCP - Zupa's Capture Points 2.0 Updated for Epoch 0.3


Zupa

Recommended Posts

I do NOT give hosts permission to ask money for installing this on people's servers.

 

 

ZCP - Zupa's Capture Points

 

Current Version 2.0

 

 

An independent addon for your Epoch server.  

 

This will spawn random bases (How many you configured) on the map which the player can go to and start capturing. 

 

This does not involve any AI. This addon focuses to direct PVP action more to those places for people that actually want the danger.

 

 

How it works:
 

Players will get a notice that a camp has been set up that they can capture.

 

c0sqO7Z.png

 

 

If they look on the map they can see the marker with a certain color:

 

  • Green  ->      Not being captured and not contested.
  • Purple  ->      Being captured by a player ( and his group) and not contested.
  • Red      ->     Being captured and being contested by someone else.

 

5OQS4Ay.jpg

 

 

Ariving at the spot there will be a base to give a little battle arena / defending position.

 

118ktWq.jpg

 

A message will warn all players that a player started capping that specfic point.

 

 

hOxFG1t.jpg

 

rVWu0cZ.jpg

 

This base will vanish  1 minut after being captured succesfully.

 

If someone died while capping. The capping status will be handed over to a new player in the zone. Timer is reset and you will be announced again on the right side of the screen.

 

Group members does not effect contesting.

 

Winner will receive a cash reward directly into their wallet.

 

 

Future version will hold more features.

 

Extra notices:

  • You can make own bases and add them in the right folder and in the config. First object is the cappoint. Position does not matter, the script recalculates the positions ^^
  • Use M3Editor to build bases because the scripts uses that sqf markup. 
  • Cappoints will choose a random base from the base list config each time they spawn.
  • Easy to configure configs.
  • No AI.
  • Low influence on server performance.
  • Easy to install ( very fucking easy)
  • Best experienced on more populated servers, Cus this creates PVP. Not effective for PVE as long as there are no AI.
  • I might add an AI option later that attacks the cappoint.

 

Maps

 

This works on every map.

 

But warning, the original base might be build with some AIA buildings, Those specific objects wil not spawn on a non AIA map. This will however not influence the script itself ( only buildings missing in the base).

 

Make a little base yourself for example and put it in base1.sqf 

 

Ill make a full non AIA base myself this evening.

 

 

Planned Features

 

  • Visual Timers
  • AI option
  • Contesting pauses cap time.
  • ...

 

Changelogs 1.1

 

  • [Added] configs to calculate  price on the amount of players online.
  • [Added] configs to delay spawning until a specific amount of people are online.
  • [Added] config to define time to wait for base cleanup.
  • [Added] Anouncements on halftime and 1 minut mark for capturing.

 

Changelogs 2.0

 

  • [added] Reward system : Krypto / Vehicle drop / Weapon or Build box.
  • [added] More configs
  • [added] More checks
  • [fixed] Epoch 0.3 Krypto rewards.
  • [changed] Code cleanup and optimization.

 

Github - Code
 

https://github.com/DevZupa/ZCP-A3

 

 

Install Instructions

 

 

1) Pack the a3_epoch_server_zcp into a pbo and place it in the @epochive/addon folder of your epoch server.

 

2) Add zcp.sqf to your mission

 

3) Call zcp.sqf from init.sqf or anywhere u want :)

execVM "zcp.sqf";

DONE.

 

 

CONFIG

 

Edit the boxes, cus they are really default ^^. Vehicle reward is disabled by default cus they don't save after restart without changin epoch code.

 

Example Logs

8:01:25 [ZCP]: Giving server some time to boot.
8:03:47 [ZCP]: Initiate Zupas Capture Points
8:03:47 [ZCP]: ZCP No 0 started.
8:03:47 [ZCP]: ZCP No 1 started.
8:03:47 [ZCP]: All Capture Points are running.
8:03:47 [ZCP]: Waiting 79 secs for next cap point.
8:03:47 [ZCP]: Waiting 80 secs for next cap point.
8:05:09 [ZCP]: Cap Point Alpha :Spawning dynamic on [11174.8,7836.09,0]
8:05:09 [ZCP]: Cap Point Alpha started.
8:05:12 [ZCP]: Cap Point Beta :Spawning dynamic on [3919.28,11111.1,0]
8:05:12 [ZCP]: Cap Point Beta started.
9:31:01 [ZCP]: Ansgar won Cap Point Alpha
9:31:02 [ZCP]: Cap Point Alpha cleaned up and ended.
9:31:02 [ZCP]: Waiting 119 secs for next cap point.
9:33:14 [ZCP]: Cap Point Alpha :Spawning dynamic on [2905.8,5070.86,0]
9:33:15 [ZCP]: Cap Point Alpha started.
9:59:10 [ZCP]: m0nster [MUR] won Cap Point Beta
9:59:11 [ZCP]: Cap Point Beta cleaned up and ended.
9:59:11 [ZCP]: Waiting 147 secs for next cap point.
10:01:46 [ZCP]: Cap Point Beta :Spawning dynamic on [9335.61,11222.1,0]
10:01:46 [ZCP]: Cap Point Beta started.
Link to comment
Share on other sites

Is this setup for altis yet?

 

Added the following to aswner your question:

 

Maps

 

This works on every map.

 

But warning, the original base might be build with some AIA buildings, Those specific objects wil not spawn on a non AIA map. This will however not influence the script itself ( only buildings missing in the base).

 

Make a little base yourself for example and put it in base1.sqf 

 

Ill make a full non AIA base myself this evening.

Link to comment
Share on other sites

 

I gotta say your A2 styled debug looks sexy as well.

 

 

Might release it later. It's currently attached on Epoch assets, so they won't allow it in. Need to remake that before public release.

Link to comment
Share on other sites

Do you need to call the init.sqf inside the a3_epoch_ server_zcp.pbo from the initserver.sqf file in your mission pbo? 

 

I didn't see any flags so I stopped the server and added the call from initserver.sqf to the zcp pbo and it's working now.

 

It's a self booting system. But it gives the server abit of time to boot first.

 

The only thing mission sided ( is the event handler to display messages). which must be called on clients. not the server.

 

If you look in the server RPT you can see what [ZCP] is doing. I made it so it tells what action it's undertaking. 

 

It even says; Waiting for server to boot, etc.

Link to comment
Share on other sites

Well that's the thing I looked in the RPT and saw nothing there.  Maybe I didn't wait long enough.

 

How does the pbo placed in the epochhive addons auto execute?  I thought there always has to be a IsServer check and a call to something in the server side to kick it off.

 

Your server see the @epochhive as an full mod. Then on launch, every PBO inside the addon folder of that mod get executed. If that pbo is configurated correctly it will launch it's init.

Link to comment
Share on other sites

Hey Zupa,

 

this looks awesome :D Thanks... But your playerStats look beutiful, is there any chance of a Release ? they look perfect....

 

so it was only a question, do not want to be bold, in any case, thank you for your always good releases :D

 

Suppe

Link to comment
Share on other sites

I've looked at the cleanupBase.sqf. How do I increase the cleanup timer for example 5 minutes?

ZCP_MinWaitTime = 1800; // seconds to wait to spawn a new capturepoint when 1 was capped.

I'm not worried about perfomance, I have it set every 30 min.

 

@suppe

 

 

Might release it later. It's currently attached on Epoch assets, so they won't allow it in. Need to remake that before public release.

Link to comment
Share on other sites

I've looked at the cleanupBase.sqf. How do I increase the cleanup timer for example 5 minutes?

ZCP_MinWaitTime = 1800; // seconds to wait to spawn a new capturepoint when 1 was capped.

I'm not worried about perfomance, I have it set every 30 min.

 

@suppe

 

 

Performance wouldn't realy be a thing, since there aren't AI ^^

 

the cleanup sqf is actually not used atm.

 

in start.sqf scroll to bottom

 

there is a sleep, increase the 60seconds to what u want.

	sleep 60;
	
	{
		deleteVehicle _x;
	}count _ZCP_baseObjects;

Ill' make thi configurable in next releases

Link to comment
Share on other sites

 

Hey Zupa is there a way it can check for number of players on the server before spawning the capture points?  I want it for a semi-low pop server but I don't want 1 kid farming it at 4am for krypto etc.

 

I'll put that in for next release ( prob this evening)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...