Jump to content

Tumbleweed speed variance when local hosting


CarlZalph
  • Fixed

From scripts/components/blowinwind.lua:104-110::

	-- Map velocity magnitudes to a useful range of walkspeeds
	local curr_speed = self.averageSpeed
	local player = ThePlayer
	if player and player.components.locomotor then
		curr_speed = (player.components.locomotor:GetRunSpeed() + TUNING.WILSON_WALK_SPEED) / 2
	end
	self.speed = Remap(self.velocity:Length(), 0, 1, 0, curr_speed) --maybe only if changing dir??

This makes it so that if you are local hosting and are using anything that modifies the speed of the character (walking stick, etc) tumbleweeds will inherently blow around the world faster.

 

It's a bug because it's a global presence thing that makes all tumbles move quicker/slower regardless of proximity, and it only happens on local hosts; dedicated servers are not affected.

Perhaps change it to poll nearby players and get an average of their total movement speed if this is truly something desirable?

 

Seems like this feature is small enough to warrant just snipping it out.


Steps to Reproduce
Start a local hosted world without caverns. Run concommand: c_speedmult(10) Watch as all tumbleweeds fly around regardless of where you are at in the world.



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...