diff --git a/beatrun/Beatrun Animations Installer.exe b/beatrun/Beatrun Animations Installer.exe new file mode 100644 index 0000000..5f8c005 Binary files /dev/null and b/beatrun/Beatrun Animations Installer.exe differ diff --git a/beatrun/_new/climbanim.dx80.vtx b/beatrun/_new/climbanim.dx80.vtx new file mode 100644 index 0000000..42d651b Binary files /dev/null and b/beatrun/_new/climbanim.dx80.vtx differ diff --git a/beatrun/_new/climbanim.dx90.vtx b/beatrun/_new/climbanim.dx90.vtx new file mode 100644 index 0000000..62bff42 Binary files /dev/null and b/beatrun/_new/climbanim.dx90.vtx differ diff --git a/beatrun/_new/climbanim.mdl b/beatrun/_new/climbanim.mdl new file mode 100644 index 0000000..c03227f Binary files /dev/null and b/beatrun/_new/climbanim.mdl differ diff --git a/beatrun/_new/climbanim.sw.vtx b/beatrun/_new/climbanim.sw.vtx new file mode 100644 index 0000000..63cae1d Binary files /dev/null and b/beatrun/_new/climbanim.sw.vtx differ diff --git a/beatrun/_new/climbanim.vvd b/beatrun/_new/climbanim.vvd new file mode 100644 index 0000000..36b6f42 Binary files /dev/null and b/beatrun/_new/climbanim.vvd differ diff --git a/beatrun/_old/climbanim.dx80.vtx b/beatrun/_old/climbanim.dx80.vtx new file mode 100644 index 0000000..4d1de16 Binary files /dev/null and b/beatrun/_old/climbanim.dx80.vtx differ diff --git a/beatrun/_old/climbanim.dx90.vtx b/beatrun/_old/climbanim.dx90.vtx new file mode 100644 index 0000000..c996ce2 Binary files /dev/null and b/beatrun/_old/climbanim.dx90.vtx differ diff --git a/beatrun/_old/climbanim.mdl b/beatrun/_old/climbanim.mdl new file mode 100644 index 0000000..c0f8d4f Binary files /dev/null and b/beatrun/_old/climbanim.mdl differ diff --git a/beatrun/_old/climbanim.sw.vtx b/beatrun/_old/climbanim.sw.vtx new file mode 100644 index 0000000..fb05a2b Binary files /dev/null and b/beatrun/_old/climbanim.sw.vtx differ diff --git a/beatrun/_old/climbanim.vvd b/beatrun/_old/climbanim.vvd new file mode 100644 index 0000000..6a8cfb7 Binary files /dev/null and b/beatrun/_old/climbanim.vvd differ diff --git a/beatrun/anims.py b/beatrun/anims.py new file mode 100644 index 0000000..5a523ab --- /dev/null +++ b/beatrun/anims.py @@ -0,0 +1,17 @@ +import os +import sys +import shutil + +files_new = [ file for file in os.listdir("_new") ] +files_old = [ file for file in os.listdir("_old") ] +i = input("Type \"y\" for new animations or \"n\" for old animations to be installed: ") + +if i == "y": + for file in files_new: + shutil.copy2(file, "gamemodes/beatrun/content/models") +else: + for file in files_old: + shutil.copy2(file, "gamemodes/beatrun/content/models") + +print("i hate python") +sys.exit(0) \ No newline at end of file diff --git a/beatrun/gamemodes/beatrun/content/models/climbanim.dx80.vtx b/beatrun/gamemodes/beatrun/content/models/climbanim.dx80.vtx index ccd0b80..4d1de16 100644 Binary files a/beatrun/gamemodes/beatrun/content/models/climbanim.dx80.vtx and b/beatrun/gamemodes/beatrun/content/models/climbanim.dx80.vtx differ diff --git a/beatrun/gamemodes/beatrun/content/models/climbanim.dx90.vtx b/beatrun/gamemodes/beatrun/content/models/climbanim.dx90.vtx index 00df51b..c996ce2 100644 Binary files a/beatrun/gamemodes/beatrun/content/models/climbanim.dx90.vtx and b/beatrun/gamemodes/beatrun/content/models/climbanim.dx90.vtx differ diff --git a/beatrun/gamemodes/beatrun/content/models/climbanim.mdl b/beatrun/gamemodes/beatrun/content/models/climbanim.mdl index 92ede71..c0f8d4f 100644 Binary files a/beatrun/gamemodes/beatrun/content/models/climbanim.mdl and b/beatrun/gamemodes/beatrun/content/models/climbanim.mdl differ diff --git a/beatrun/gamemodes/beatrun/content/models/climbanim.sw.vtx b/beatrun/gamemodes/beatrun/content/models/climbanim.sw.vtx index 36b9181..fb05a2b 100644 Binary files a/beatrun/gamemodes/beatrun/content/models/climbanim.sw.vtx and b/beatrun/gamemodes/beatrun/content/models/climbanim.sw.vtx differ diff --git a/beatrun/gamemodes/beatrun/content/models/climbanim.vvd b/beatrun/gamemodes/beatrun/content/models/climbanim.vvd index b036d94..6a8cfb7 100644 Binary files a/beatrun/gamemodes/beatrun/content/models/climbanim.vvd and b/beatrun/gamemodes/beatrun/content/models/climbanim.vvd differ diff --git a/beatrun/gamemodes/beatrun/gamemode/sh/Checkpoints.lua b/beatrun/gamemodes/beatrun/gamemode/sh/Checkpoints.lua index 537be7b..6ffb5f0 100644 --- a/beatrun/gamemodes/beatrun/gamemode/sh/Checkpoints.lua +++ b/beatrun/gamemodes/beatrun/gamemode/sh/Checkpoints.lua @@ -245,7 +245,6 @@ function CourseHUD() text = speed .. " km/h" local w, _ = surface.GetTextSize(text) - w = w or 0 local r, g, b, a = string.ToColor(GetConVar("Beatrun_HUDTextColor"):GetString()) @@ -268,9 +267,8 @@ function CourseHUD() if timealpha > 0 then local w, _ = surface.GetTextSize(timetext) - w = w or 0 - + timealpha = math.max(0, timealpha - FrameTime() * 250) timecolor.a = math.min(255, timealpha) @@ -366,4 +364,4 @@ net.Receive("BeatrunSpawn", function() if LocalPlayer().GetInfoNum then StartCourse(spawntime) end -end) +end) \ No newline at end of file