Welcome to The Few Good Men

Thanks for visiting our club and having a look around, there is a lot to see. Why not consider becoming a member?

Mission editing and suggestions

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:
  1. Finds the largest grouping of players within a giving range (100m).
  2. Find the average position of those players (the centroid).
  3. If that position is a set distance away from the last update and the squad (100m) it will move the spawnpoint there.
I still need to add checks for dead/incapacitated players, optimize the algorithm and add a check for nearby enemies. The distances are parameters and can be changed on the fly.

Demonstration
Any feedback welcome.
 
Back
Top