-
Notifications
You must be signed in to change notification settings - Fork 9
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
Various bugs/typos #43
Comments
#17 complains that the player sometimes gets stuck mounted on the sledge. I have investigated that, and found a workaround, which is to add the following code in
More technical explanation: Especially in 3rd person view, clicking the ground both mounts the sledge and punches the sledge (if it's at the punched location). This is what causes the player to get stuck in a seated position. A full fix would modify sled:on_punch() to do nothing, if the player had mounted the sledge within (say) the last 0.5 seconds. My workaround above works just fine, though. Specifically, the sequence of calls is:
(On the understanding that this mod is abandoned, I'm posting all fixes here in this thread, for the benefit of anyone who might want to fork the mod.) |
After mounting the sled, it is invisible because the code places it beneath the ground. An acceptable workaround is to replace this line in sled.lua:
With this one:
Unfortunately, even after this change, the character animation places the character slightly below the top of the sled, and the rails of the sled are slightly below the ground. This one-line workaround isn't perfect, but is still an improvement and it doesn't require creating new character animations. |
The project is certainly open to adopting a new maintainer if anybody is looking to develop this mod into the future. |
Several of these notes are aimed at someone who wants to fork the mod, or re-use its contents.
Minor bugs:
.height_max
,.height_min
). Changing them to.y_max
and.y_min
fixes the issueforce_placement
to the bottom trunk node. This assumes that the tree is generated ondefault:snow
. The user sees a big gap between the snow and the bottom of the tree; usingforce_placement
removes thedefault:snow
, and therefore the gapMinor typos:
just_acitvated
should bejust_activated
WARNING! mapgen could not be identifyed!
should beidentified
The text was updated successfully, but these errors were encountered: