So i decided to make a prototype for a new spawn system. The idea is to be able to spawn close by the squad, without spawning inside it. The main usage would be infantry only missions, but it could be made to work with vehicles.
It works like this:
Demonstration
Any feedback welcome.
It works like this:
- Finds the largest grouping of players within a giving range (100m).
- Find the average position of those players (the centroid).
- If that position is a set distance away from the last update and the squad (100m) it will move the spawnpoint there.
Demonstration