Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix spawn posis, and refactor a bunch of other stuff #43

Merged
merged 1 commit into from
Mar 14, 2020

Conversation

Fusselwurm
Copy link
Member

@Fusselwurm Fusselwurm commented Feb 15, 2020

on a dedi, patrols create more waypoints. not sure why. idc though, it's not too extreme 👀

@Fusselwurm Fusselwurm changed the title Fix spawn posis Fix spawn posis, and refactor a bunch of other stuff Feb 15, 2020
@Fusselwurm Fusselwurm marked this pull request as ready for review March 11, 2020 13:11
	* lots of refactor - refactored house finding / spawn position / patrol waypoint logic
		* there were bugfixes to be had in relation to
		  player distancing & exclusion zones
	* make cars appear it least 100m away from other "Man" (dont look into civilians array)
	* add some tests (have to be executed manually on a terrain with flat SW
	  corner like Zargabad… there is some TODO to be had here)

	NOTE FOR USERS:
		I recommend defining exclusion zones for little
		islands, steep mountains and other non-trivial terrain
		to avoid bad server fps. For the same reason, using a headless client is recommended.
@Fusselwurm Fusselwurm merged commit 5a28bad into master Mar 14, 2020
@Fusselwurm Fusselwurm deleted the fix-spawn-posis branch March 14, 2020 16:50
@Fusselwurm
Copy link
Member Author

Nicht hundert pro perfekt, aber ich vertrau dem Code erheblich mehr als vorher.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

min spawn distance buggy for footsies and residents
1 participant