Jump to content

Wagpunk manager definitely used the wrong method to detect the player's distance from the Abandoned Junk Spawn Location


Cassielu
  • Fixed

After Update-600904, Wagpunk spawn is even weirder.

  • Wagpunk structures in the junkyard, doesn't have any change, still requires player be 250 units away from the junkyard to spawn.
  • Wagpunk structure in the wild now also requires player about 250 units away  to spawn.

For wild wagpunk structures, function IsPositionClearCenterPoint already use to ensure that the wagpunk structures spawn away from player 40 units (player's visual distance) away. MAX_DIST_FROM_AN_PLAYER should literally be the maximum distance when it spawn in the wild, not the minimum distance.

For junkyard wagpunk structures. It doesn't make sense to use MAX_DIST_FROM_AN_PLAYER as a distance that the player needs to stay away from.

 

the right way to fix:

Replace this with PLAYER_CAMERA_SEE_DISTANCE

XO5K_S8LNGWZ23669RL3.png.e51fe743b6aa05290b8dd8aaa65b6aca.png

 

 

last post:

 


Steps to Reproduce

Compare the wagpunk spawn mechanism in this version to the previous version.

  • Like 2
  • Thanks 1



User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...