From 327bad2eafb8cfc05b7f831992be5700a167a53c Mon Sep 17 00:00:00 2001 From: Gaƫl C Date: Sat, 1 Dec 2018 10:01:32 +0100 Subject: Added pitch fly mode (#7817) In pitch fly mode, you fly to the exact direction you are pointing at, using the forward key. Other move directions are also pitched accordingly. It allows smoother and more complex movements. Can be enabled/disabled by L key by default (set keymap_pitchfly in minetest.conf) --- builtin/settingtypes.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'builtin/settingtypes.txt') diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index 950de5d1c..3effd694a 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -72,6 +72,9 @@ enable_build_where_you_stand (Build inside player) bool false # This requires the "fly" privilege on the server. free_move (Flying) bool false +# If enabled together with fly mode, makes move directions relative to the player's pitch. +pitch_fly (Pitch fly mode) bool false + # Fast movement (via the "special" key). # This requires the "fast" privilege on the server. fast_move (Fast movement) bool false @@ -208,6 +211,10 @@ keymap_rangeselect (Range select key) key KEY_KEY_R # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 keymap_freemove (Fly key) key KEY_KEY_K +# Key for toggling pitch fly mode. +# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +keymap_pitchfly (Pitch fly key) key KEY_KEY_L + # Key for toggling fast mode. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 keymap_fastmove (Fast key) key KEY_KEY_J -- cgit v1.2.3