Based on the existing default checkpoint in SC.
Download this repository and extract it's contents inside Steam\steamapps\common\Sven Co-op\svencoop\
That should look like this:
└── 📁svencoop
└── 📁scripts
└── 📁maps
└── 📁gaftherman
├── 📄point_checkpoint.as
└── 📁pcp_misc
├── 📄think.as
├── 📄misc.as
└── 📄cbasekeepdata.as
Now, in you map script you need to add:
#include "gaftherman/point_checkpoint"
void MapInit()
{
RegisterPointCheckPointEntity();
}
And there is, you installed my Custom Point CheckPoint. 🎉🎉🎉🎉🎉🎉
In this modification/creation made by me, taking as a problem that the original checkpoint is very accessible for trolling, I decided to create my own kind of checkpoint.
Now, if you start a map with this script installed, you will noticed a counter at the top left.
This counter will increase according to how many checkpoints have been taken.
And will decrease depending on how many times you have respawned (to respawn you need to be dead, have at least 1 checkpoint taken and press you +alt1 key binded).
-
This counter is personal, by this I mean that if they take 2 checkpoints and you used 1, you will have 1 checkpoint remaning to respawn while your teammates will have 2 to respawn.
-
As you can see in the gif, they respawn according to the order of the checkpoints that have been taken.
- Sven Co-op team for the original CheckPoint entity
- Mikk for the feedback Mikk github
Any features/feedback to add please contact me Gaftherman#0231
or join to this discord channel Discord server.
Thx for read this :D