Some kind of middleway values for player acceleration for now

This commit is contained in:
Perttu Ahola 2013-02-15 23:18:19 +02:00
parent 4035bf3259
commit c88d89d26e
3 changed files with 9 additions and 9 deletions

@ -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;