mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-29 21:33:02 +05:00
Animations installer and cleanup
This commit is contained in:
parent
8699efe670
commit
34ec4813a4
18 changed files with 19 additions and 4 deletions
BIN
beatrun/Beatrun Animations Installer.exe
Normal file
BIN
beatrun/Beatrun Animations Installer.exe
Normal file
Binary file not shown.
BIN
beatrun/_new/climbanim.dx80.vtx
Normal file
BIN
beatrun/_new/climbanim.dx80.vtx
Normal file
Binary file not shown.
BIN
beatrun/_new/climbanim.dx90.vtx
Normal file
BIN
beatrun/_new/climbanim.dx90.vtx
Normal file
Binary file not shown.
BIN
beatrun/_new/climbanim.mdl
Normal file
BIN
beatrun/_new/climbanim.mdl
Normal file
Binary file not shown.
BIN
beatrun/_new/climbanim.sw.vtx
Normal file
BIN
beatrun/_new/climbanim.sw.vtx
Normal file
Binary file not shown.
BIN
beatrun/_new/climbanim.vvd
Normal file
BIN
beatrun/_new/climbanim.vvd
Normal file
Binary file not shown.
BIN
beatrun/_old/climbanim.dx80.vtx
Normal file
BIN
beatrun/_old/climbanim.dx80.vtx
Normal file
Binary file not shown.
BIN
beatrun/_old/climbanim.dx90.vtx
Normal file
BIN
beatrun/_old/climbanim.dx90.vtx
Normal file
Binary file not shown.
BIN
beatrun/_old/climbanim.mdl
Normal file
BIN
beatrun/_old/climbanim.mdl
Normal file
Binary file not shown.
BIN
beatrun/_old/climbanim.sw.vtx
Normal file
BIN
beatrun/_old/climbanim.sw.vtx
Normal file
Binary file not shown.
BIN
beatrun/_old/climbanim.vvd
Normal file
BIN
beatrun/_old/climbanim.vvd
Normal file
Binary file not shown.
17
beatrun/anims.py
Normal file
17
beatrun/anims.py
Normal file
|
@ -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)
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -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,7 +267,6 @@ function CourseHUD()
|
|||
|
||||
if timealpha > 0 then
|
||||
local w, _ = surface.GetTextSize(timetext)
|
||||
|
||||
w = w or 0
|
||||
|
||||
timealpha = math.max(0, timealpha - FrameTime() * 250)
|
||||
|
|
Loading…
Reference in a new issue