Terasology / LightAndShadow

Light & Shadow is an experimental game type set in a quirky Alice in Wonderland inspired setting
Apache License 2.0
8 stars 22 forks source link

feat: Randomize player respawn location #197

Closed ahv15 closed 3 years ago

ahv15 commented 3 years ago

Contains

"Fixes #85" Respawn the player at random locations on the base so that teamates don't spawn on top of each other.

How to test

In singleplayer mode in console type kill to kill the player multiple times, he should respawn at different positions each of those times.

Outstanding before merging

ahv15 commented 3 years ago

The ranges were modified on purpose as the player spawns outside the base at times.