Autojump As A Setting
- TheReaperKing
- Member
- Posts: 531
- Joined: Sun Nov 22, 2015 21:36
- Contact:
Autojump As A Setting
In another post I saw how to add code to make it so that autojump can work in the PC version just like the Android version. I was wondering if it isn't too hard to do, would it be possible to add it as a setting in Minetest?
By autojump I'm referring to if land is only one block high in front of you, instead of having to jump, your character automatically and smoothly moves up it.
Thanks for all of your great work!
-Mike
By autojump I'm referring to if land is only one block high in front of you, instead of having to jump, your character automatically and smoothly moves up it.
Thanks for all of your great work!
-Mike
Become A Real Life Superhero - http://SuperheroHill.com
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com
Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com
Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com
Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com
Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids
Re: Autojump As A Setting
The autojump I think will be present in 0.5.0 because they want it in many. A simple but extremely useful and functional feature for both PC and Android. I hope it is present in the next release because press space bar I find it a useless and inconvenient thing to jump a block.
viewtopic.php?t=10404&p=159486 I found this old post where this features was proposed. I await the developers' response to confirm.
viewtopic.php?t=10404&p=159486 I found this old post where this features was proposed. I await the developers' response to confirm.
- paramat
- Developer
- Posts: 3700
- Joined: Sun Oct 28, 2012 00:05
- GitHub: paramat
- IRC: paramat
- Location: UK
Re: Autojump As A Setting
We're tackling this issue right now in the engine. Android autojump is essentially just a custom 'stepheight' for the player, and is hardcoded for Android only, which is bad and will be changed. We could make it a server setting for all players, but autojump is a strong personal preference, so it's best server-controlled but the server (if it wishes) can give players the abiity to choose. A higher stepheight gives players slight and unexpected movement advantages, so some servers may need to restrict it or disallow it, or apply it to all playes equally.
It is already possible in 0.4.16 stable to alter 'stepheight' per-player using player object properties, so you can write a mod to do this.
It is already possible in 0.4.16 stable to alter 'stepheight' per-player using player object properties, so you can write a mod to do this.
- TheReaperKing
- Member
- Posts: 531
- Joined: Sun Nov 22, 2015 21:36
- Contact:
Re: Autojump As A Setting
Awesome, thank you so much for the info! You rock!
Become A Real Life Superhero - http://SuperheroHill.com
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com
Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com
Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com
Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com
Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids
- ANAND
- Member
- Posts: 335
- Joined: Sun Jan 28, 2018 12:54
- GitHub: magnetar47
- IRC: MAGNETAR ANAND
- In-game: ANAND and all names with Tomato
- Location: India
- Contact:
Re: Autojump As A Setting
Just a FYI: I was on Android one fine day, and observed that the auto-jump, and the 'jump' button together makes the player jump 2 blocks high.
When you manually jump (1-block high only) in front of a 2-block high obstacle, auto-jump recognizes a one-block high obstacle and kicks in, taking you to the top of a 2-block high obstacle, just like the infamous sneak-jump.
When you manually jump (1-block high only) in front of a 2-block high obstacle, auto-jump recognizes a one-block high obstacle and kicks in, taking you to the top of a 2-block high obstacle, just like the infamous sneak-jump.
Last edited by ANAND on Sun Mar 11, 2018 01:42, edited 1 time in total.
- texmex
- Member
- Posts: 1753
- Joined: Mon Jul 11, 2016 21:08
- GitHub: tacotexmex
- In-game: tacotexmex
Re: Autojump As A Setting
I can’t find any documentation on stepheight, paramat. Alter it how?
Edit: Found out:
Edit: Found out:
Code: Select all
player:set_properties({stepheight = 1.05})
Re: Autojump As A Setting
I would love this feature being ready.
- texmex
- Member
- Posts: 1753
- Joined: Mon Jul 11, 2016 21:08
- GitHub: tacotexmex
- In-game: tacotexmex
Re: Autojump As A Setting
Try this small mod. It may only work in 5.0.0-dev, but I haven't checked.
- Attachments
-
- player_stepheight.zip
- (1.2 KiB) Downloaded 61 times
- TumeniNodes
- Member
- Posts: 2943
- Joined: Fri Feb 26, 2016 19:49
- GitHub: TumeniNodes
- IRC: tumeninodes
- In-game: TumeniNodes
- Location: in the dark recesses of the mind
- Contact:
Re: Autojump As A Setting
It should be a toggled/keyed feature the same as H, J, and K
Having it set full time would be annoying, and having to go into settings to turn it on/off would be equally annoying.
Having it set full time would be annoying, and having to go into settings to turn it on/off would be equally annoying.
A Wonderful World
Re: Autojump As A Setting
This is for 5 version. But I'm going to save it for when releasing.
- texmex
- Member
- Posts: 1753
- Joined: Mon Jul 11, 2016 21:08
- GitHub: tacotexmex
- In-game: tacotexmex
Re: Autojump As A Setting
Yes, I can't make it work in 0.4.17.1, sorry!
- paramat
- Developer
- Posts: 3700
- Joined: Sun Oct 28, 2012 00:05
- GitHub: paramat
- IRC: paramat
- Location: UK
Re: Autojump As A Setting
The PR for this is about to be merged.
Re: Autojump As A Setting
Cool, it is one of those silly features but that it makes the trick.paramat wrote:The PR for this is about to be merged.
- paramat
- Developer
- Posts: 3700
- Joined: Sun Oct 28, 2012 00:05
- GitHub: paramat
- IRC: paramat
- Location: UK
Re: Autojump As A Setting
Merged. it's available as a client setting for PC and Android users. Default is on for Android, off for PC. Switchable in-game in key change menu.
- TumeniNodes
- Member
- Posts: 2943
- Joined: Fri Feb 26, 2016 19:49
- GitHub: TumeniNodes
- IRC: tumeninodes
- In-game: TumeniNodes
- Location: in the dark recesses of the mind
- Contact:
Who is online
Users browsing this forum: No registered users and 7 guests