Don't Starve

Don't Starve

79 ratings
Wave Fix + Fog Fix [SW]
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
30.203 KB
18 Apr, 2016 @ 2:20pm
27 May, 2016 @ 12:46pm
3 Change Notes ( view )

Subscribe to download
Wave Fix + Fog Fix [SW]

Description
NEVER AGAIN, shall you crash into the wave when the wave corner is correct!

Fixes 'awkward' wave crashing bug, -- aka when you move the same direction BUT STILL CRASH!!!

Has a setting to normalize boost, which means your boost gets 'boosted' by 1.3, but at the same time only if you steer exactly same direction with the wave, otherwise it goes down to no boost at all if you steer close to 90 degrees. (DEFAULT ON)

Turn the setting off and you'll only get the corner fix.

Also when entering fog, you no longer crash into waves (without mod, when you enter fog, you can still crash into waves, raising wetness, no damage taken either ways)
48 Comments
Jayfang 2 Jan, 2017 @ 7:39pm 
░░░░░▄▄▄░░▄██▄░░░
░░░░░▐▀█▀▌░░░░▀█▄░░░
░░░░░▐█▄█▌░░░░░░▀█▄░░
░░░░░░▀▄▀░░░▄▄▄▄▄▀▀░░
░░░░▄▄▄██▀▀▀▀░░░░░░░
░░░█▀▄▄▄█░▀▀░░
░░░▌░▄▄▄▐▌▀▀▀░░ THIS IS BOB
▄░▐░░░▄▄░█░▀▀ ░░
▀█▌░░░▄░▀█▀░▀ ░░ COPY AND PASTE HIM,
░░░░░░░▄▄▐▌▄▄░░░ SO, HE CAN TAKE
░░░░░░░▀███▀█░▄░░ OVER THE WORKSHOP!
░░░░░░▐▌▀▄▀▄▀▐▄░░
░░░░░░▐▀░░░░░░▐▌░░
░░░░░░█░░░░░░░░█░░░
░░░░░▐▌░░░░░░░░░█░░
IvanX  [author] 17 Sep, 2016 @ 1:33am 
I don't mind deleting the mod :P
Mobbstar 16 Sep, 2016 @ 10:47pm 
Did they also fix the wetness when in fog?
Unknown 16 Sep, 2016 @ 2:00pm 
They fixed waves. this mod isn't needed anymore.
Kasuha 27 May, 2016 @ 12:54pm 
Thanks!
IvanX  [author] 27 May, 2016 @ 12:48pm 
Uploaded the fix, thanks for the find :) Funny how nobody complained about it earlier!
Kasuha 27 May, 2016 @ 2:07am 
Ah, I missed that you subtract the value from 360 instead of subtracting 360 from it. Ok then, it should work.
IvanX  [author] 27 May, 2016 @ 12:21am 
there's math.abs(waveangle - playerangle)
Thus the difference is always positive
Kasuha 26 May, 2016 @ 11:10pm 
math.abs is required. Imagine the difference is 200 degrees - you subtract 360, get -160 and next step you get a false positive in the compare with boostThreshold
IvanX  [author] 26 May, 2016 @ 10:47pm 
You're right, just looked into the original file from work, just commenting the line is not enough.

When I get back home, I'll add a new line:
if angleDiff > 180 then angleDiff = 360 - angleDiff end

math.abs isn't required from what I see, angleDiff is within [0,360] boundaries
As for GetRotation, it returns angles from -180 to 180, but that doesn't change anything.