diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-08-09 17:53:52 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-08-09 17:53:52 -0400 |
| commit | d4f197a35c207c9891d3f4dc5e9708af48c935de (patch) | |
| tree | ee8fd3960c3a3fb4ecaf0f62b50d251f007ebaf3 /gamemode/shared/animations/swing_axe.lua | |
| parent | 2fe3c4551344870e3784733fce2d95027b5c8382 (diff) | |
| download | artery-d4f197a35c207c9891d3f4dc5e9708af48c935de.tar.gz artery-d4f197a35c207c9891d3f4dc5e9708af48c935de.tar.bz2 artery-d4f197a35c207c9891d3f4dc5e9708af48c935de.zip | |
Added some weapons
Diffstat (limited to 'gamemode/shared/animations/swing_axe.lua')
| -rw-r--r-- | gamemode/shared/animations/swing_axe.lua | 141 |
1 files changed, 141 insertions, 0 deletions
diff --git a/gamemode/shared/animations/swing_axe.lua b/gamemode/shared/animations/swing_axe.lua new file mode 100644 index 0000000..60133b5 --- /dev/null +++ b/gamemode/shared/animations/swing_axe.lua @@ -0,0 +1,141 @@ +RegisterLuaAnimation('axe_swing_up', { + FrameData = { + { + BoneInfo = { + ['ValveBiped.Bip01_R_UpperArm'] = { + RU = -135.0759, + RR = 4.7695, + RF = 68.1705 + }, + ['ValveBiped.Bip01_R_Hand'] = { + RR = -7.0246, + RF = -41.0529 + }, + ['ValveBiped.Bip01_R_Forearm'] = { + RU = -24.6284 + } + }, + FrameRate = 1 + }, + { + BoneInfo = { + ['ValveBiped.Bip01_R_UpperArm'] = { + RU = -134.3106, + RR = -111.2052, + RF = 58.2835 + }, + ['ValveBiped.Bip01_R_Forearm'] = { + RU = 80 + }, + ['ValveBiped.Bip01_R_Hand'] = { + RU = -12.7583, + RR = -9.4569, + RF = 8.4272 + } + }, + FrameRate = 3 + }, + { + BoneInfo = { + ['ValveBiped.Bip01_R_UpperArm'] = { + }, + ['ValveBiped.Bip01_R_Hand'] = { + }, + ['ValveBiped.Bip01_R_Forearm'] = { + } + }, + FrameRate = 1 + } + }, + Type = TYPE_GESTURE +}) + +RegisterLuaAnimation('axe_swing_left', { + FrameData = { + { + BoneInfo = { + ['ValveBiped.Bip01_R_UpperArm'] = { + RU = -16 + }, + ['ValveBiped.Bip01_R_Forearm'] = { + RU = 62.502896241406, + RR = 19.915292262581, + RF = 58.999558486575 + } + }, + FrameRate = 1 + }, + { + BoneInfo = { + ['ValveBiped.Bip01_R_UpperArm'] = { + RU = -71.048983114736, + RR = -118.30349058938, + RF = 12.994644385626 + }, + ['ValveBiped.Bip01_R_Forearm'] = { + RU = 80.297417901061, + RR = -36.146186854911, + RF = -0.18188548377852 + } + }, + FrameRate = 3 + }, + { + BoneInfo = { + }, + FrameRate = 1 + } + }, + Type = TYPE_GESTURE +}) + +RegisterLuaAnimation('axe_swing_right', { + FrameData = { + { + BoneInfo = { + ['ValveBiped.Bip01_R_UpperArm'] = { + RU = -64, + RR = -118.23451384787 + }, + ['ValveBiped.Bip01_Spine4'] = { + }, + ['ValveBiped.Bip01_R_Forearm'] = { + RR = -51.895180109443, + RF = 4.9449765561345 + }, + ['ValveBiped.Bip01_Spine2'] = { + RU = -18.770943776107 + }, + ['ValveBiped.Bip01_R_Hand'] = { + RF = -38.639462488655 + } + }, + FrameRate = 1 + }, + { + BoneInfo = { + ['ValveBiped.Bip01_R_UpperArm'] = { + RF = -80 + }, + ['ValveBiped.Bip01_Spine4'] = { + }, + ['ValveBiped.Bip01_R_Forearm'] = { + RU = 48, + RR = 16, + RF = -44.792066414109 + }, + ['ValveBiped.Bip01_Spine2'] = { + }, + ['ValveBiped.Bip01_R_Hand'] = { + } + }, + FrameRate = 3 + }, + { + BoneInfo = { + }, + FrameRate = 1 + } + }, + Type = TYPE_GESTURE +}) |
