aboutsummaryrefslogtreecommitdiff
path: root/gamemode/shared
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2018-11-02 16:10:02 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2018-11-02 16:10:02 -0400
commit9408c8cc53b99585b1cfb3c4fbf0a1f4df438bd6 (patch)
tree75a879b12dd1d313b6e4290d4d559a716291a844 /gamemode/shared
parentf4ea4dc0bbc852c1e519be8435dbfcc5bc1e3834 (diff)
downloadartery-9408c8cc53b99585b1cfb3c4fbf0a1f4df438bd6.tar.gz
artery-9408c8cc53b99585b1cfb3c4fbf0a1f4df438bd6.tar.bz2
artery-9408c8cc53b99585b1cfb3c4fbf0a1f4df438bd6.zip
Use pac3's new animation library api
Pac3 modified it's animation library
Diffstat (limited to 'gamemode/shared')
-rw-r--r--gamemode/shared/animations/move_evade.lua4
-rw-r--r--gamemode/shared/animations/swing_axe.lua8
-rw-r--r--gamemode/shared/animations/swing_fists.lua8
-rw-r--r--gamemode/shared/animations/swing_hammer.lua8
-rw-r--r--gamemode/shared/animations/swing_knife.lua10
-rw-r--r--gamemode/shared/animations/swing_mele.lua10
6 files changed, 24 insertions, 24 deletions
diff --git a/gamemode/shared/animations/move_evade.lua b/gamemode/shared/animations/move_evade.lua
index c4afa59..b051570 100644
--- a/gamemode/shared/animations/move_evade.lua
+++ b/gamemode/shared/animations/move_evade.lua
@@ -1,6 +1,6 @@
-nrequire("sh_animations.lua")
+local ani = nrequire("sh_animations.lua")
-RegisterLuaAnimation('evade_left', {
+ani.RegisterAnimation('evade_left', {
FrameData = {
{
BoneInfo = {
diff --git a/gamemode/shared/animations/swing_axe.lua b/gamemode/shared/animations/swing_axe.lua
index 9e8ddb4..065c114 100644
--- a/gamemode/shared/animations/swing_axe.lua
+++ b/gamemode/shared/animations/swing_axe.lua
@@ -1,6 +1,6 @@
-nrequire("sh_animations.lua")
+local ani = nrequire("sh_animations.lua")
-RegisterLuaAnimation('axe_swing_up', {
+ani.RegisterAnimation('axe_swing_up', {
FrameData = {
{
BoneInfo = {
@@ -52,7 +52,7 @@ RegisterLuaAnimation('axe_swing_up', {
Type = TYPE_GESTURE
})
-RegisterLuaAnimation('axe_swing_left', {
+ani.RegisterAnimation('axe_swing_left', {
FrameData = {
{
BoneInfo = {
@@ -91,7 +91,7 @@ RegisterLuaAnimation('axe_swing_left', {
Type = TYPE_GESTURE
})
-RegisterLuaAnimation('axe_swing_right', {
+ani.RegisterAnimation('axe_swing_right', {
FrameData = {
{
BoneInfo = {
diff --git a/gamemode/shared/animations/swing_fists.lua b/gamemode/shared/animations/swing_fists.lua
index 8c0f106..f3da179 100644
--- a/gamemode/shared/animations/swing_fists.lua
+++ b/gamemode/shared/animations/swing_fists.lua
@@ -1,6 +1,6 @@
-nrequire("sh_animations.lua")
+local ani = nrequire("sh_animations.lua")
-RegisterLuaAnimation('fist_swing_up', {
+ani.RegisterAnimation('fist_swing_up', {
FrameData = {
{
BoneInfo = {
@@ -39,7 +39,7 @@ RegisterLuaAnimation('fist_swing_up', {
Type = TYPE_GESTURE
})
-RegisterLuaAnimation('fist_swing_down', {
+ani.RegisterAnimation('fist_swing_down', {
FrameData = {
{
BoneInfo = {
@@ -120,7 +120,7 @@ RegisterLuaAnimation('fist_swing_down', {
Type = TYPE_GESTURE
})
-RegisterLuaAnimation('fist_swing_left', {
+ani.RegisterAnimation('fist_swing_left', {
FrameData = {
{
BoneInfo = {
diff --git a/gamemode/shared/animations/swing_hammer.lua b/gamemode/shared/animations/swing_hammer.lua
index 2152709..183d3d2 100644
--- a/gamemode/shared/animations/swing_hammer.lua
+++ b/gamemode/shared/animations/swing_hammer.lua
@@ -1,6 +1,6 @@
-nrequire("sh_animations.lua")
+local ani = nrequire("sh_animations.lua")
-RegisterLuaAnimation('hammer_swing_up', {
+ani.RegisterAnimation('hammer_swing_up', {
FrameData = {
{
BoneInfo = {
@@ -70,7 +70,7 @@ RegisterLuaAnimation('hammer_swing_up', {
Type = TYPE_GESTURE
})
-RegisterLuaAnimation('hammer_swing_left', {
+ani.RegisterAnimation('hammer_swing_left', {
FrameData = {
{
BoneInfo = {
@@ -137,7 +137,7 @@ RegisterLuaAnimation('hammer_swing_left', {
Type = TYPE_GESTURE
})
-RegisterLuaAnimation('hammer_swing_right', {
+ani.RegisterAnimation('hammer_swing_right', {
FrameData = {
{
BoneInfo = {
diff --git a/gamemode/shared/animations/swing_knife.lua b/gamemode/shared/animations/swing_knife.lua
index cf78bb5..89e7ab2 100644
--- a/gamemode/shared/animations/swing_knife.lua
+++ b/gamemode/shared/animations/swing_knife.lua
@@ -1,6 +1,6 @@
-nrequire("sh_animations.lua")
+local ani = nrequire("sh_animations.lua")
-RegisterLuaAnimation('knife_swing_up', {
+ani.RegisterAnimation('knife_swing_up', {
FrameData = {
{
BoneInfo = {
@@ -41,7 +41,7 @@ RegisterLuaAnimation('knife_swing_up', {
Type = TYPE_GESTURE
})
-RegisterLuaAnimation('knife_swing_down', {
+ani.RegisterAnimation('knife_swing_down', {
FrameData = {
{
BoneInfo = {
@@ -92,7 +92,7 @@ RegisterLuaAnimation('knife_swing_down', {
Type = TYPE_GESTURE
})
-RegisterLuaAnimation('knife_swing_left', {
+ani.RegisterAnimation('knife_swing_left', {
FrameData = {
{
BoneInfo = {
@@ -144,7 +144,7 @@ RegisterLuaAnimation('knife_swing_left', {
Type = TYPE_GESTURE
})
-RegisterLuaAnimation('knife_swing_right', {
+ani.RegisterAnimation('knife_swing_right', {
FrameData = {
{
BoneInfo = {
diff --git a/gamemode/shared/animations/swing_mele.lua b/gamemode/shared/animations/swing_mele.lua
index 4a38876..c47c0b3 100644
--- a/gamemode/shared/animations/swing_mele.lua
+++ b/gamemode/shared/animations/swing_mele.lua
@@ -1,6 +1,6 @@
-nrequire("sh_animations.lua")
+local ani = nrequire("sh_animations.lua")
-RegisterLuaAnimation('swing_onehand_left', {
+ani.RegisterAnimation('swing_onehand_left', {
FrameData = {
{
BoneInfo = {
@@ -104,7 +104,7 @@ RegisterLuaAnimation('swing_onehand_left', {
Type = TYPE_GESTURE
})
-RegisterLuaAnimation('swing_onehand_overhead', {
+ani.RegisterAnimation('swing_onehand_overhead', {
FrameData = {
{
BoneInfo = {
@@ -235,7 +235,7 @@ RegisterLuaAnimation('swing_onehand_overhead', {
Type = TYPE_GESTURE
})
-RegisterLuaAnimation('swing_onehand_right', {
+ani.RegisterAnimation('swing_onehand_right', {
FrameData = {
{
BoneInfo = {
@@ -359,7 +359,7 @@ RegisterLuaAnimation('swing_onehand_right', {
Type = TYPE_GESTURE
})
-RegisterLuaAnimation('swing_onehand_stab', {
+ani.RegisterAnimation('swing_onehand_stab', {
FrameData = {
{
BoneInfo = {