Some kind of middleway values for player acceleration for now
authorPerttu Ahola <celeron55@gmail.com>
Fri, 15 Feb 2013 21:18:19 +0000 (23:18 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Fri, 15 Feb 2013 21:18:19 +0000 (23:18 +0200)
minetest.conf.example
src/defaultsettings.cpp
src/player.cpp

index 5afe6c5e29b832340b4061d3860c4ce65ea201cc..30d0dbd5cec288cfc5c2542e0cf5987c051b72e3 100644 (file)
 #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
index 5786858fc8e3203665eb6770d027bc4f3cd275b4..e3c6b2f7d7f2dd073602dd0b2df1729cce45ce18 100644 (file)
@@ -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");
index 90aa4fe0585a16af7114e5913f7659ceb4974d10..86d3ae1848b8b5f457fbf8ee0626d8ba49f0956f 100644 (file)
@@ -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;