Skip to content
Permalink
Browse files

Some kind of middleway values for player acceleration for now

  • Loading branch information
celeron55 committed Feb 15, 2013
1 parent 4035bf3 commit c88d89d26edb0d7864feb1b8b1d8e79c765ae0ef
Showing with 9 additions and 9 deletions.
  1. +3 −3 minetest.conf.example
  2. +3 −3 src/defaultsettings.cpp
  3. +3 −3 src/player.cpp
@@ -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
@@ -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");
@@ -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;

0 comments on commit c88d89d

Please sign in to comment.