summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorApickx <apickx@cogarr.com>2018-03-24 20:47:32 -0400
committerApickx <apickx@cogarr.com>2018-03-24 20:47:32 -0400
commitd22897e044a422e125f46e52c3467473a3656378 (patch)
treeb7eedbaa95f3ec6c7c28a2b33405dda84adbf945 /lua
downloadartery_stranded-d22897e044a422e125f46e52c3467473a3656378.tar.gz
artery_stranded-d22897e044a422e125f46e52c3467473a3656378.tar.bz2
artery_stranded-d22897e044a422e125f46e52c3467473a3656378.zip
Inital commit
Inital commit
Diffstat (limited to 'lua')
-rw-r--r--lua/autorun/animations.lua353
-rw-r--r--lua/autorun/items.lua0
-rw-r--r--lua/autorun/server/init.lua11
3 files changed, 364 insertions, 0 deletions
diff --git a/lua/autorun/animations.lua b/lua/autorun/animations.lua
new file mode 100644
index 0000000..f8aae38
--- /dev/null
+++ b/lua/autorun/animations.lua
@@ -0,0 +1,353 @@
+hook.Add("OnGamemodeLoaded","artery_stranded_anims",function()
+RegisterLuaAnimation('stranded_chop_wood', {
+ FrameData = {
+ {
+ BoneInfo = {
+ ['ValveBiped.Bip01_R_Calf'] = {
+ RU = 52.7383
+ },
+ ['ValveBiped.Bip01_R_Thigh'] = {
+ RU = -45.5908,
+ RR = 32.311,
+ RF = 19.3292
+ },
+ ['ValveBiped.Bip01_Spine2'] = {
+ RF = -12.8903
+ },
+ ['ValveBiped.Bip01_R_UpperArm'] = {
+ RU = 4.6922,
+ RR = 28.2239,
+ RF = 95.649
+ },
+ ['ValveBiped.Bip01_Spine'] = {
+ },
+ ['ValveBiped.Bip01_R_Forearm'] = {
+ RU = 6.7985,
+ RR = -138.8409,
+ RF = -3.6922
+ },
+ ['ValveBiped.Bip01_L_UpperArm'] = {
+ RU = -118.8375,
+ RR = 1.33,
+ RF = -18.6262
+ },
+ ['ValveBiped.Bip01_L_Forearm'] = {
+ RU = -54.1778,
+ RR = 49.3891,
+ RF = -17.4275
+ },
+ ['ValveBiped.Bip01_Spine1'] = {
+ },
+ ['ValveBiped.Bip01_L_Thigh'] = {
+ RU = 17.8439,
+ RR = -27.2881,
+ RF = -66.1325
+ },
+ ['ValveBiped.Bip01_Spine4'] = {
+ RF = -19.375
+ },
+ ['ValveBiped.Bip01_Pelvis'] = {
+ MU = -6.2234
+ },
+ ['ValveBiped.Bip01_L_Calf'] = {
+ RU = 0.1249,
+ RR = 23.1365
+ },
+ ['ValveBiped.Bip01_L_Foot'] = {
+ RU = 4.2748
+ }
+ },
+ FrameRate = 1
+ },
+ {
+ BoneInfo = {
+ ['ValveBiped.Bip01_R_Calf'] = {
+ RU = 52.7383
+ },
+ ['ValveBiped.Bip01_R_Thigh'] = {
+ RU = -45.5908,
+ RR = 32.311,
+ RF = 19.3292
+ },
+ ['ValveBiped.Bip01_L_Foot'] = {
+ RU = 4.2748
+ },
+ ['ValveBiped.Bip01_L_Calf'] = {
+ RU = 0.1249,
+ RR = 23.1365
+ },
+ ['ValveBiped.Bip01_Pelvis'] = {
+ MU = -6.2234
+ },
+ ['ValveBiped.Bip01_L_Forearm'] = {
+ RU = 14.726354797221,
+ RR = 14.372249178086,
+ RF = 67.254853315307
+ },
+ ['ValveBiped.Bip01_L_UpperArm'] = {
+ RU = -118.55072559209,
+ RR = -18.472382158172,
+ RF = -25.571552996169
+ },
+ ['ValveBiped.Bip01_R_Forearm'] = {
+ RU = 20.84833112133,
+ RR = -44.285748284171,
+ RF = 53.271771890186
+ },
+ ['ValveBiped.Bip01_Spine1'] = {
+ RU = 7.0719397868016
+ },
+ ['ValveBiped.Bip01_L_Thigh'] = {
+ RU = 17.8439,
+ RR = -27.2881,
+ RF = -66.1325
+ },
+ ['ValveBiped.Bip01_Spine4'] = {
+ RU = 6.7183427974615,
+ RF = 19.490397940959
+ },
+ ['ValveBiped.Bip01_Spine'] = {
+ RU = 11.400272978762
+ },
+ ['ValveBiped.Bip01_Spine2'] = {
+ RU = 6.3647458081214,
+ RF = 11.644257572985
+ },
+ ['ValveBiped.Bip01_R_UpperArm'] = {
+ RU = -107.25174221889,
+ RR = 2.5677191930821,
+ RF = 62.475625466013
+ }
+ },
+ FrameRate = 10
+ },
+ {
+ BoneInfo = {
+ ['ValveBiped.Bip01_R_Calf'] = {
+ RU = 52.7383
+ },
+ ['ValveBiped.Bip01_R_Thigh'] = {
+ RU = -45.5908,
+ RR = 32.311,
+ RF = 19.3292
+ },
+ ['ValveBiped.Bip01_L_Foot'] = {
+ RU = 4.2748
+ },
+ ['ValveBiped.Bip01_L_Calf'] = {
+ RU = 0.1249,
+ RR = 23.1365
+ },
+ ['ValveBiped.Bip01_Pelvis'] = {
+ MU = -6.2234
+ },
+ ['ValveBiped.Bip01_L_Forearm'] = {
+ RU = -54.1778,
+ RR = 49.3891,
+ RF = -17.4275
+ },
+ ['ValveBiped.Bip01_L_UpperArm'] = {
+ RU = -118.8375,
+ RR = 1.33,
+ RF = -18.6262
+ },
+ ['ValveBiped.Bip01_R_Forearm'] = {
+ RU = 6.7985,
+ RR = -138.8409,
+ RF = -3.6922
+ },
+ ['ValveBiped.Bip01_Spine1'] = {
+ },
+ ['ValveBiped.Bip01_L_Thigh'] = {
+ RU = 17.8439,
+ RR = -27.2881,
+ RF = -66.1325
+ },
+ ['ValveBiped.Bip01_Spine4'] = {
+ RF = -19.375
+ },
+ ['ValveBiped.Bip01_Spine'] = {
+ },
+ ['ValveBiped.Bip01_Spine2'] = {
+ RF = -12.8903
+ },
+ ['ValveBiped.Bip01_R_UpperArm'] = {
+ RU = 4.6922,
+ RR = 28.2239,
+ RF = 95.649
+ }
+ },
+ FrameRate = 1
+ }
+ },
+ RestartFrame = 2,
+ Type = TYPE_SEQUENCE
+})
+
+RegisterLuaAnimation('stranded_mine_rocks', {
+ FrameData = {
+ {
+ BoneInfo = {
+ ['ValveBiped.Bip01_Spine2'] = {
+ },
+ ['ValveBiped.Bip01_L_Thigh'] = {
+ },
+ ['ValveBiped.Bip01_Head1'] = {
+ RU = 16.3653
+ },
+ ['ValveBiped.Bip01_R_Clavicle'] = {
+ },
+ ['ValveBiped.Bip01_L_UpperArm'] = {
+ RU = -169.4528,
+ RR = -17.0857
+ },
+ ['ValveBiped.Bip01_Spine4'] = {
+ },
+ ['ValveBiped.Bip01_Pelvis'] = {
+ },
+ ['ValveBiped.Bip01_R_Hand'] = {
+ },
+ ['ValveBiped.Bip01_L_Calf'] = {
+ },
+ ['ValveBiped.Bip01_R_Forearm'] = {
+ RU = 0.3663,
+ RR = -23.8679
+ },
+ ['ValveBiped.Bip01_L_Clavicle'] = {
+ },
+ ['ValveBiped.Bip01_Spine1'] = {
+ },
+ ['ValveBiped.Bip01_Spine'] = {
+ },
+ ['ValveBiped.Bip01_R_Thigh'] = {
+ },
+ ['ValveBiped.Bip01_R_UpperArm'] = {
+ RU = -160,
+ RR = 16.6091,
+ RF = -5.0659
+ },
+ ['ValveBiped.Bip01_L_Forearm'] = {
+ RU = 13.9547,
+ RR = 23.0274
+ },
+ ['ValveBiped.Bip01_R_Foot'] = {
+ }
+ },
+ FrameRate = 1
+ },
+ {
+ BoneInfo = {
+ ['ValveBiped.Bip01_Spine2'] = {
+ RU = 19.5945
+ },
+ ['ValveBiped.Bip01_L_Thigh'] = {
+ RU = -25.9972,
+ RR = -4.3907
+ },
+ ['ValveBiped.Bip01_Head1'] = {
+ },
+ ['ValveBiped.Bip01_R_Clavicle'] = {
+ RF = 57.3827
+ },
+ ['ValveBiped.Bip01_R_UpperArm'] = {
+ RU = 2.5616,
+ RR = -11.5777
+ },
+ ['ValveBiped.Bip01_Spine4'] = {
+ RU = 9.6885
+ },
+ ['ValveBiped.Bip01_Pelvis'] = {
+ MU = -3.3808,
+ RR = -11.3417
+ },
+ ['ValveBiped.Bip01_R_Hand'] = {
+ RU = 26.3055,
+ RR = -25.3824,
+ RF = -7.8628
+ },
+ ['ValveBiped.Bip01_L_Calf'] = {
+ RU = 25.0442
+ },
+ ['ValveBiped.Bip01_L_Forearm'] = {
+ RR = 38.3937
+ },
+ ['ValveBiped.Bip01_L_Clavicle'] = {
+ RU = 2.3203,
+ RF = -38.6058
+ },
+ ['ValveBiped.Bip01_Spine1'] = {
+ RU = 0.6215
+ },
+ ['ValveBiped.Bip01_Spine'] = {
+ RU = 17.2787
+ },
+ ['ValveBiped.Bip01_R_Thigh'] = {
+ RU = 19.0125
+ },
+ ['ValveBiped.Bip01_L_UpperArm'] = {
+ RU = -29.9497,
+ RR = -6.5064
+ },
+ ['ValveBiped.Bip01_R_Forearm'] = {
+ RR = -33.6703
+ },
+ ['ValveBiped.Bip01_R_Foot'] = {
+ RU = -17.9333
+ }
+ },
+ FrameRate = 4
+ },
+ {
+ BoneInfo = {
+ ['ValveBiped.Bip01_Spine2'] = {
+ },
+ ['ValveBiped.Bip01_L_Thigh'] = {
+ },
+ ['ValveBiped.Bip01_Head1'] = {
+ RU = 16.3653
+ },
+ ['ValveBiped.Bip01_L_Clavicle'] = {
+ },
+ ['ValveBiped.Bip01_R_UpperArm'] = {
+ RU = -160,
+ RR = 16.6091,
+ RF = -5.0659
+ },
+ ['ValveBiped.Bip01_Spine4'] = {
+ },
+ ['ValveBiped.Bip01_Pelvis'] = {
+ },
+ ['ValveBiped.Bip01_R_Hand'] = {
+ },
+ ['ValveBiped.Bip01_L_Calf'] = {
+ },
+ ['ValveBiped.Bip01_R_Forearm'] = {
+ RU = 0.3663,
+ RR = -23.8679
+ },
+ ['ValveBiped.Bip01_R_Clavicle'] = {
+ },
+ ['ValveBiped.Bip01_Spine1'] = {
+ },
+ ['ValveBiped.Bip01_Spine'] = {
+ },
+ ['ValveBiped.Bip01_R_Thigh'] = {
+ },
+ ['ValveBiped.Bip01_L_UpperArm'] = {
+ RU = -169.4528,
+ RR = -17.0857
+ },
+ ['ValveBiped.Bip01_L_Forearm'] = {
+ RU = 13.9547,
+ RR = 23.0274
+ },
+ ['ValveBiped.Bip01_R_Foot'] = {
+ }
+ },
+ FrameRate = 1
+ }
+ },
+ RestartFrame = 2,
+ Type = TYPE_STANCE
+})
+end)
diff --git a/lua/autorun/items.lua b/lua/autorun/items.lua
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/lua/autorun/items.lua
diff --git a/lua/autorun/server/init.lua b/lua/autorun/server/init.lua
new file mode 100644
index 0000000..71956ae
--- /dev/null
+++ b/lua/autorun/server/init.lua
@@ -0,0 +1,11 @@
+print("hello from artery_stranded init.lua")
+do return end
+--for k,v in pairs(ents.FindByClass("trigger_teleport")) do v:Remove() end
+
+local config = nrequire("sv_newplayer.lua")
+config.newmeta = function()
+ return {
+ lastserver = "67.163.245.187:27015",
+ lastlocation = "5699 -5191 131"
+ }
+end