View Single Post
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 07-29-2018 , 09:16   Re: ROG - A better random origin generator
Reply With Quote #5

About this "bad spots", from the point of view of the checks the points are fully valid, meaning a player can fit there without being stuck.
I tried to find a way to filter outside map areas or areas where the player can't get out but I failed.

So yeah, I don't know how we could filter out this points, because again, they are valid spots. Maybe we could run some kind of pathfinding algorithm and if it fails we could assume it's a bad spot and ignore this origin.
The downside is the execution time will be increased tremendously and such algorithms are not easy to implement.
__________________
HamletEagle is offline