From c88d89d26edb0d7864feb1b8b1d8e79c765ae0ef Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Fri, 15 Feb 2013 23:18:19 +0200 Subject: [PATCH] Some kind of middleway values for player acceleration for now --- minetest.conf.example | 6 +++--- src/defaultsettings.cpp | 6 +++--- src/player.cpp | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/minetest.conf.example b/minetest.conf.example index 5afe6c5e..30d0dbd5 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -251,9 +251,9 @@ #remote_media = # Physics stuff -#movement_acceleration_default = 2 -#movement_acceleration_air = 0.5 -#movement_acceleration_fast = 4 +#movement_acceleration_default = 3 +#movement_acceleration_air = 2 +#movement_acceleration_fast = 10 #movement_speed_walk = 4 #movement_speed_crouch = 1.35 #movement_speed_fast = 20 diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index 5786858f..e3c6b2f7 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -180,9 +180,9 @@ void set_default_settings(Settings *settings) settings->setDefault("remote_media", ""); // physics stuff - settings->setDefault("movement_acceleration_default", "4"); - settings->setDefault("movement_acceleration_air", "4"); - settings->setDefault("movement_acceleration_fast", "4"); + settings->setDefault("movement_acceleration_default", "3"); + settings->setDefault("movement_acceleration_air", "2"); + settings->setDefault("movement_acceleration_fast", "10"); settings->setDefault("movement_speed_walk", "4"); settings->setDefault("movement_speed_crouch", "1.35"); settings->setDefault("movement_speed_fast", "20"); diff --git a/src/player.cpp b/src/player.cpp index 90aa4fe0..86d3ae18 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -59,9 +59,9 @@ Player::Player(IGameDef *gamedef): "list[current_player;craftpreview;7,1;1,1;]"; // Initialize movement settings at default values, so movement can work if the server fails to send them - movement_acceleration_default = 4 * BS; - movement_acceleration_air = 4 * BS; - movement_acceleration_fast = 4 * BS; + movement_acceleration_default = 3 * BS; + movement_acceleration_air = 2 * BS; + movement_acceleration_fast = 10 * BS; movement_speed_walk = 4 * BS; movement_speed_crouch = 1.35 * BS; movement_speed_fast = 20 * BS;