From: Perttu Ahola Date: Fri, 15 Feb 2013 21:18:19 +0000 (+0200) Subject: Some kind of middleway values for player acceleration for now X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=c88d89d26edb0d7864feb1b8b1d8e79c765ae0ef;p=zefram%2Fminetest%2Fminetest_engine.git Some kind of middleway values for player acceleration for now --- 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;