From 803f472085b1769ad93d33653f21ab705d302bd3 Mon Sep 17 00:00:00 2001 From: Fox-McCloud Date: Fri, 16 Jan 2015 15:28:03 -0500 Subject: [PATCH] Tweaking of Movement Speed --- code/modules/admin/verbs/mapping.dm | 1 + code/modules/mob/living/carbon/alien/humanoid/humanoid.dm | 8 ++++---- code/modules/mob/mob_movement.dm | 6 +++--- code/setup.dm | 2 +- paradise.dme | 1 + 5 files changed, 10 insertions(+), 8 deletions(-) diff --git a/code/modules/admin/verbs/mapping.dm b/code/modules/admin/verbs/mapping.dm index e9d5f88164e..1aeed58f7df 100644 --- a/code/modules/admin/verbs/mapping.dm +++ b/code/modules/admin/verbs/mapping.dm @@ -134,6 +134,7 @@ var/intercom_range_display_status = 0 src.verbs += /client/proc/count_objects_all src.verbs += /client/proc/cmd_assume_direct_control //-errorage src.verbs += /client/proc/startSinglo + src.verbs += /client/proc/ticklag src.verbs += /client/proc/cmd_admin_grantfullaccess src.verbs += /client/proc/kaboom // src.verbs += /client/proc/splash diff --git a/code/modules/mob/living/carbon/alien/humanoid/humanoid.dm b/code/modules/mob/living/carbon/alien/humanoid/humanoid.dm index 6926fa1c29c..0eb6fe764ee 100644 --- a/code/modules/mob/living/carbon/alien/humanoid/humanoid.dm +++ b/code/modules/mob/living/carbon/alien/humanoid/humanoid.dm @@ -53,13 +53,13 @@ /mob/living/carbon/alien/humanoid/movement_delay() var/tally = 0 if (istype(src, /mob/living/carbon/alien/humanoid/queen)) - tally += 5 + tally += 4 if (istype(src, /mob/living/carbon/alien/humanoid/drone)) - tally += 1 + tally += 0 if (istype(src, /mob/living/carbon/alien/humanoid/sentinel)) - tally += 1 + tally += 0 if (istype(src, /mob/living/carbon/alien/humanoid/hunter)) - tally = -1 // hunters go supersuperfast + tally = -2 // hunters go supersuperfast return (tally + move_delay_add + config.alien_delay) /mob/living/carbon/alien/humanoid/Process_Spacemove(var/check_drift = 0) diff --git a/code/modules/mob/mob_movement.dm b/code/modules/mob/mob_movement.dm index 65a6ef220cd..d064544d060 100644 --- a/code/modules/mob/mob_movement.dm +++ b/code/modules/mob/mob_movement.dm @@ -245,14 +245,14 @@ if("run") if(mob.drowsyness > 0) move_delay += 6 - move_delay += config.run_speed + move_delay += 1+config.run_speed if("walk") - move_delay += config.walk_speed + move_delay += 1+config.walk_speed move_delay += mob.movement_delay() if(config.Tickcomp) move_delay -= 1.3 - var/tickcomp = (1 / (world.tick_lag)) * 1.3 + var/tickcomp = ((1/(world.tick_lag))*1.3) move_delay = move_delay + tickcomp if(istype(mob.buckled, /obj/vehicle) || istype(mob.buckled, /obj/structure/stool/bed/chair/cart)) diff --git a/code/setup.dm b/code/setup.dm index ab6e81d477c..8584fbf24b4 100644 --- a/code/setup.dm +++ b/code/setup.dm @@ -167,7 +167,7 @@ var/MAX_EXPLOSION_RANGE = 14 #define FLOWFRAC 0.99 // fraction of gas transfered per process -#define SHOES_SLOWDOWN 0 // How much shoes slow you down by default. Negative values speed you up +#define SHOES_SLOWDOWN -1.0 // How much shoes slow you down by default. Negative values speed you up //ITEM INVENTORY SLOT BITMASKS diff --git a/paradise.dme b/paradise.dme index 69918097b9c..91a51036225 100644 --- a/paradise.dme +++ b/paradise.dme @@ -863,6 +863,7 @@ #include "code\modules\admin\verbs\randomverbs.dm" #include "code\modules\admin\verbs\striketeam.dm" #include "code\modules\admin\verbs\striketeam_syndicate.dm" +#include "code\modules\admin\verbs\ticklag.dm" #include "code\modules\admin\verbs\tripAI.dm" #include "code\modules\admin\verbs\vox_raiders.dm" #include "code\modules\assembly\assembly.dm"