Added and applied a bunch of new macros and shared animation stuff

This commit is contained in:
Blixibon 2021-10-28 14:30:59 -05:00
parent cf4953ce05
commit 402b4f5a92
15 changed files with 755 additions and 273 deletions

View File

@ -1,22 +1,4 @@
$weightlist "weights_weapon_draw_spine" {
"ValveBiped.Bip01_Pelvis" 0
"ValveBiped.Bip01_Spine" 1
"ValveBiped.Bip01_L_Clavicle" 0
"ValveBiped.Bip01_R_Clavicle" 0
}
$weightlist "weights_weapon_draw_arms" {
"ValveBiped.Bip01_Pelvis" 0
"ValveBiped.Bip01_Spine" 0
"ValveBiped.Bip01_L_Clavicle" 1
"ValveBiped.Bip01_R_Clavicle" 1
}
$weightlist "weights_weapon_draw_gesture" {
"ValveBiped.Bip01_Pelvis" 0
}
$animation "@weapon_draw_spine_corrective_animation" "alyx_animations_hl2\@weapon_draw_spine_corrective_animation.smd" {
}
@ -32,7 +14,7 @@ $sequence "weapon_draw_spine" {
fadeout 0.2
hidden
fps 30
weightlist "weights_weapon_draw_spine"
weightlist "weapongesture_justspine"
}
$sequence "weapon_draw_arms" {
@ -41,7 +23,7 @@ $sequence "weapon_draw_arms" {
fadeout 0.2
hidden
fps 30
weightlist "weights_weapon_draw_arms"
weightlist "weapongesture_armsonly"
}
$sequence "weapon_draw_gesture" {
@ -56,7 +38,7 @@ $sequence "weapon_draw_gesture" {
blendlayer "weapon_draw_spine" 0 10 26 40 spline
fps 30
ikrule "rhand" touch "ValveBiped.Bip01_Spine" contact 10 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 10 26 1 target 0 usesequence
weightlist "weights_weapon_draw_gesture"
noanimation numframes 40
}
$sequence "weapon_holster_spine" {
@ -68,7 +50,7 @@ $sequence "weapon_holster_spine" {
fadeout 0.2
hidden
fps 30
weightlist "weights_weapon_draw_spine"
weightlist "weapongesture_justspine"
}
$sequence "weapon_holster_arms" {
@ -77,7 +59,7 @@ $sequence "weapon_holster_arms" {
fadeout 0.2
hidden
fps 30
weightlist "weights_weapon_draw_arms"
weightlist "weapongesture_armsonly"
}
$sequence "weapon_holster_gesture" {
@ -92,5 +74,5 @@ $sequence "weapon_holster_gesture" {
blendlayer "weapon_holster_spine" 0 21 30 45 spline
fps 30
ikrule "rhand" touch "ValveBiped.Bip01_Spine" contact 21 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 21 40 1 target 0 usesequence
weightlist "weights_weapon_draw_gesture"
noanimation numframes 45
}

View File

@ -1,13 +1,4 @@
$weightlist "weights_weapon_draw_gesturespine" {
"ValveBiped.Bip01_Pelvis" 1
"ValveBiped.Bip01_Spine" 1
"ValveBiped.Bip01_L_Clavicle" 0
"ValveBiped.Bip01_R_Clavicle" 0
"ValveBiped.Bip01_L_Thigh" 0
"ValveBiped.Bip01_R_Thigh" 0
}
$weightlist "weights_weapon_holster_gesturespine" {
"ValveBiped.Bip01_Pelvis" 0.9
"ValveBiped.Bip01_Spine" 0.8
@ -18,17 +9,6 @@ $weightlist "weights_weapon_holster_gesturespine" {
"ValveBiped.Bip01_R_Thigh" 0
}
$weightlist "weights_gesture_reload_pistolarms" {
"ValveBiped.Bip01_Pelvis" 0
"ValveBiped.Bip01_Spine" 0
"ValveBiped.Bip01_L_Clavicle" 1
"ValveBiped.Bip01_R_Clavicle" 1
}
$weightlist "weights_gesture_reload_pistol" {
"ValveBiped.Bip01_Pelvis" 0
}
$weightlist "weights_layer_run_holding_Shotgun_Relaxed" {
"ValveBiped.Bip01_Pelvis" 0.1
"ValveBiped.Bip01_Spine" 0.2
@ -54,7 +34,7 @@ $sequence "weapon_draw_gesturespine" {
fadeout 0.2
hidden
fps 30
weightlist "weights_weapon_draw_gesturespine"
weightlist "weapongesture_justspine"
}
$sequence "weapon_draw_gesturearms" {
@ -65,7 +45,7 @@ $sequence "weapon_draw_gesturearms" {
fps 30
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 45 45 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 45 45 target 1
weightlist "weights_gesture_reload_pistolarms"
weightlist "weapongesture_armsonly"
}
$sequence "weapon_draw_gesture" {
@ -81,7 +61,7 @@ $sequence "weapon_draw_gesture" {
fps 30
ikrule "rhand" touch "ValveBiped.Bip01_Spine" contact 10 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 10 26 40 target 0 usesequence
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 44 44 target 1 usesequence
weightlist "weights_gesture_reload_pistol"
noanimation
}
$sequence "weapon_holster_gesturespine" {
@ -121,5 +101,5 @@ $sequence "weapon_holster_gesture" {
fps 30
ikrule "rhand" touch "ValveBiped.Bip01_Spine" contact 15 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 15 30 1 target 0 usesequence
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 44 44 target 1 usesequence
weightlist "weights_gesture_reload_pistol"
noanimation
}

View File

@ -14,15 +14,13 @@ $sequence "arrest_act_floor_curious" {
activity "ACT_ARREST_FLOOR_CURIOUS" 1
}
$weightlist "ArmsOnly" { "ValveBiped.Bip01_Pelvis" 0 "ValveBiped.Bip01_R_Clavicle" 1 "ValveBiped.Bip01_L_Clavicle" 1 }
$sequence "arrest_act_standing_gesture" {
"apcarrestidle.smd"
activity "ACT_ARREST_STANDING_GESTURE" 1
fadein 0.2
fadeout 0.2
fps 20
weightlist "ArmsOnly"
weightlist "weapongesture_armsonly"
loop
}
@ -33,8 +31,6 @@ $sequence "arrest_act_standing_gesture" {
// loop
//}
$weightlist "NoHands" { "ValveBiped.Bip01_Pelvis" 1 "ValveBiped.Bip01_R_Hand" 0 "ValveBiped.Bip01_L_Hand" 0 }
$sequence "arrest_act_floor_enter" {
"slumpenter_b.smd"
frame 5 97

View File

@ -2,15 +2,15 @@
$include "CitizenPackageRun.qci"
$sequence "run_holding_package_all" {
"a_FemaleCitizenRunS"
"a_FemaleCitizenRunSE"
"a_FemaleCitizenRunE"
"a_FemaleCitizenRunNE"
"a_FemaleCitizenRunN" // a_WalkN_package
"a_FemaleCitizenRunNW"
"a_FemaleCitizenRunW"
"a_FemaleCitizenRunSW"
"a_FemaleCitizenRunS"
"a_CitizenRunS"
"a_CitizenRunSE"
"a_CitizenRunE"
"a_CitizenRunNE"
"a_CitizenRunN" // a_WalkN_package
"a_CitizenRunNW"
"a_CitizenRunW"
"a_CitizenRunSW"
"a_CitizenRunS"
activity "ACT_RUN_PACKAGE" 1
blend "move_yaw" -180 180
blendwidth 9

View File

@ -2,15 +2,15 @@
$include "CitizenPackageRun.qci"
$sequence "run_holding_package_all" {
"a_MaleCitizenRunS"
"a_MaleCitizenRunSE"
"a_MaleCitizenRunE"
"a_MaleCitizenRunNE"
"a_MaleCitizenRunN" // a_WalkN_package
"a_MaleCitizenRunNW"
"a_MaleCitizenRunW"
"a_MaleCitizenRunSW"
"a_MaleCitizenRunS"
"a_CitizenRunS"
"a_CitizenRunSE"
"a_CitizenRunE"
"a_CitizenRunNE"
"a_CitizenRunN" // a_WalkN_package
"a_CitizenRunNW"
"a_CitizenRunW"
"a_CitizenRunSW"
"a_CitizenRunS"
activity "ACT_RUN_PACKAGE" 1
blend "move_yaw" -180 180
blendwidth 9

View File

@ -64,15 +64,15 @@ $weightlist "weights_layer_luggage_run" {
$include "CitizenSuitcase.qci"
$sequence "luggage_walk_all" {
"a_FemaleCitizenWalkS"
"a_FemaleCitizenWalkSE"
"a_FemaleCitizenWalkE"
"a_FemaleCitizenWalkNE"
"a_FemaleCitizenWalkN" // a_luggage_walk
"a_FemaleCitizenWalkNW"
"a_FemaleCitizenWalkW"
"a_FemaleCitizenWalkSW"
"a_FemaleCitizenWalkS"
"a_CitizenWalkS"
"a_CitizenWalkSE"
"a_CitizenWalkE"
"a_CitizenWalkNE"
"a_CitizenWalkN" // a_luggage_walk
"a_CitizenWalkNW"
"a_CitizenWalkW"
"a_CitizenWalkSW"
"a_CitizenWalkS"
activity "ACT_WALK_SUITCASE" 1
blend "move_yaw" -180 180
blendwidth 9
@ -85,15 +85,15 @@ $sequence "luggage_walk_all" {
}
$sequence "luggage_run_all" {
"a_FemaleCitizenRunS"
"a_FemaleCitizenRunSE"
"a_FemaleCitizenRunE"
"a_FemaleCitizenRunNE"
"a_FemaleCitizenRunN" // a_luggage_walk
"a_FemaleCitizenRunNW"
"a_FemaleCitizenRunW"
"a_FemaleCitizenRunSW"
"a_FemaleCitizenRunS"
"a_CitizenRunS"
"a_CitizenRunSE"
"a_CitizenRunE"
"a_CitizenRunNE"
"a_CitizenRunN" // a_luggage_walk
"a_CitizenRunNW"
"a_CitizenRunW"
"a_CitizenRunSW"
"a_CitizenRunS"
activity "ACT_RUN_SUITCASE" 1
blend "move_yaw" -180 180
blendwidth 9

View File

@ -2,162 +2,291 @@
// Female Citizen Movement Animations
// ================================================================
$animation "a_FemaleCitizenWalkS" "female_shared_anims\a_WalkS.smd" {
$animation "a_CitizenWalkS" "female_shared_anims\a_WalkS.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 10 fakeorigin -7.85 4.14 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 27 5 21 27 target 3
ikrule "rfoot" footstep contact 24 fakeorigin -7.32 -2.25 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 12 19 6 12 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 28 28 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 28 28 target 1
walkframe 28 LX LY
}
$animation "a_FemaleCitizenWalkSE" "female_shared_anims\a_WalkSE.smd" {
$animation "a_CitizenWalkSE" "female_shared_anims\a_WalkSE.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 11 fakeorigin -4.59 0.58 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 27 6 21 27 target 3
ikrule "rfoot" footstep contact 25 fakeorigin -2.36 -5.69 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 13 20 7 13 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 28 28 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 28 28 target 1
walkframe 28 LX LY
}
$animation "a_FemaleCitizenWalkE" "female_shared_anims\a_WalkE.smd" {
$animation "a_CitizenWalkE" "female_shared_anims\a_WalkE.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 9 fakeorigin 5.61 -4.22 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 1 6 22 1 target 3
ikrule "rfoot" footstep contact 22 fakeorigin -2.65 -10.76 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 13 20 7 13 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 26 26 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 26 26 target 1
walkframe 26 LX LY
}
$animation "a_FemaleCitizenWalkNE" "female_shared_anims\a_WalkNE.smd" {
$animation "a_CitizenWalkNE" "female_shared_anims\a_WalkNE.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 9 fakeorigin 7.33 -1.32 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 25 5 20 25 target 3
ikrule "rfoot" footstep contact 22 fakeorigin 4.31 -9.39 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 12 18 7 12 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 26 26 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 26 26 target 1
walkframe 26 LX LY
}
$animation "a_FemaleCitizenWalkN" "female_shared_anims\a_WalkN.smd" {
$animation "a_CitizenWalkN" "female_shared_anims\a_WalkN.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 10 fakeorigin 10.25 4.75 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 28 5 21 28 target 3
ikrule "rfoot" footstep contact 25 fakeorigin 10.26 -2.65 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 13 20 6 13 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 30 30 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 30 30 target 1
walkframe 30 LX LY
}
$animation "a_FemaleCitizenWalkNW" "female_shared_anims\a_WalkNW.smd" {
$animation "a_CitizenWalkNW" "female_shared_anims\a_WalkNW.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 9 fakeorigin 4.17 11.18 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 25 5 19 25 target 3
ikrule "rfoot" footstep contact 22 fakeorigin 5.76 1.71 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 12 18 7 12 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 26 26 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 26 26 target 1
walkframe 26 LX LY
}
$animation "a_FemaleCitizenWalkW" "female_shared_anims\a_WalkW.smd" {
$animation "a_CitizenWalkW" "female_shared_anims\a_WalkW.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 9 fakeorigin -3.31 10.98 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 25 5 20 25 target 3
ikrule "rfoot" footstep contact 23 fakeorigin 5.42 3.48 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 14 20 9 14 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 26 26 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 26 26 target 1
walkframe 26 LX LY
}
$animation "a_FemaleCitizenWalkSW" "female_shared_anims\a_WalkSW.smd" {
$animation "a_CitizenWalkSW" "female_shared_anims\a_WalkSW.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 11 fakeorigin -1.77 7 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 26 5 20 26 target 3
ikrule "rfoot" footstep contact 25 fakeorigin -3.99 -0.86 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 13 20 6 13 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 28 28 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 28 28 target 1
walkframe 28 LX LY
}
$animation "a_FemaleCitizenRunS" "female_shared_anims\a_RunS.smd" {
$animation "a_CitizenRunS" "female_shared_anims\a_RunS.smd" {
fps 31
loop
ikrule "lfoot" footstep contact 8 fakeorigin -1.67 4.9 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 17 5 11 17 target 3
ikrule "rfoot" footstep contact 17 fakeorigin -2.19 -4.26 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 8 14 3 8 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 1
walkframe 18 LX LY
}
$animation "a_FemaleCitizenRunSE" "female_shared_anims\a_RunSE.smd" {
$animation "a_CitizenRunSE" "female_shared_anims\a_RunSE.smd" {
fps 29
loop
ikrule "lfoot" footstep contact 8 fakeorigin -6.04 4.12 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 17 5 12 17 target 3
ikrule "rfoot" footstep contact 17 fakeorigin 2.09 -6.05 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 8 14 3 8 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 1
walkframe 18 LX LY
}
$animation "a_FemaleCitizenRunE" "female_shared_anims\a_RunE.smd" {
$animation "a_CitizenRunE" "female_shared_anims\a_RunE.smd" {
fps 31
loop
ikrule "lfoot" footstep contact 6 fakeorigin 4.24 -4.05 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 15 4 9 15 target 3
ikrule "rfoot" footstep contact 14 fakeorigin -2.39 -13.73 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 7 13 1 7 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 1
walkframe 18 LX LY
}
$animation "a_FemaleCitizenRunNE" "female_shared_anims\a_RunNE.smd" {
$animation "a_CitizenRunNE" "female_shared_anims\a_RunNE.smd" {
fps 29
loop
ikrule "lfoot" footstep contact 6 fakeorigin 8.14 -2.01 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 16 5 9 16 target 3
ikrule "rfoot" footstep contact 16 fakeorigin 3.03 -6.53 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 7 14 18 7 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 1
walkframe 18 LX LY
}
$animation "a_FemaleCitizenRunN" "female_shared_anims\a_RunN.smd" {
$animation "a_CitizenRunN" "female_shared_anims\a_RunN.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 7 fakeorigin 4.52 2.76 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 16 5 10 16 target 3
ikrule "rfoot" footstep contact 16 fakeorigin 4.56 -1.62 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 7 14 1 7 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 1
walkframe 18 LX LY
}
$animation "a_FemaleCitizenRunNW" "female_shared_anims\a_RunNW.smd" {
$animation "a_CitizenRunNW" "female_shared_anims\a_RunNW.smd" {
fps 28
loop
ikrule "lfoot" footstep contact 8 fakeorigin 3.25 5.63 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 17 5 11 17 target 3
ikrule "rfoot" footstep contact 16 fakeorigin 6.76 2.86 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 7 15 18 7 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 1
walkframe 18 LX LY
}
$animation "a_FemaleCitizenRunW" "female_shared_anims\a_RunW.smd" {
$animation "a_CitizenRunW" "female_shared_anims\a_RunW.smd" {
fps 32
loop
ikrule "lfoot" footstep contact 6 fakeorigin -6.05 11.44 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 16 5 10 16 target 3
ikrule "rfoot" footstep contact 15 fakeorigin 1.47 3.9 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 8 13 3 8 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 1
walkframe 18 LX LY
}
$animation "a_FemaleCitizenRunSW" "female_shared_anims\a_RunSW.smd" {
$animation "a_CitizenRunSW" "female_shared_anims\a_RunSW.smd" {
fps 31
loop
ikrule "lfoot" footstep contact 9 fakeorigin 5.87 -0.98 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 17 5 11 17 target 3
ikrule "rfoot" footstep contact 17 fakeorigin -1.3 -3.48 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 7 13 2 7 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 1
walkframe 18 LX LY
}
// ----------------------------------------------------------------
$animation "a_CitizenCrouch_runS_delta_corrective_animation" "female_shared_anims\a_crouch_runS_delta_corrective_animation.smd" {
}
$animation "a_CitizenCrouch_runSE_delta_corrective_animation" "female_shared_anims\a_crouch_runSE_delta_corrective_animation.smd" {
}
$animation "a_CitizenCrouch_runE_delta_corrective_animation" "female_shared_anims\a_crouch_runE_delta_corrective_animation.smd" {
}
$animation "a_CitizenCrouch_runNE_delta_corrective_animation" "female_shared_anims\a_crouch_runNE_delta_corrective_animation.smd" {
}
$animation "a_CitizenCrouch_runN_delta_corrective_animation" "female_shared_anims\a_crouch_runN_delta_corrective_animation.smd" {
}
$animation "a_CitizenCrouch_runNW_delta_corrective_animation" "female_shared_anims\a_crouch_runNW_delta_corrective_animation.smd" {
}
$animation "a_CitizenCrouch_runW_delta_corrective_animation" "female_shared_anims\a_crouch_runW_delta_corrective_animation.smd" {
}
$animation "a_CitizenCrouch_runSW_delta_corrective_animation" "female_shared_anims\a_crouch_runSW_delta_corrective_animation.smd" {
}
$animation "a_CitizenCrouch_walkS" "female_shared_anims\a_Crouch_walkS.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 8 fakeorigin -6.56 4.84 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 0 8 22 30 target 3
ikrule "rfoot" footstep contact 23 fakeorigin -7.78 -4.29 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 15 23 7 15 target 2
walkframe 30 LX LY
}
$animation "a_CitizenCrouch_walkSE" "female_shared_anims\a_Crouch_walkSE.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 8 fakeorigin -3.8 -5.87 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 0 8 22 30 target 3
ikrule "rfoot" footstep contact 23 fakeorigin -3.66 -13.04 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 15 23 7 15 target 2
walkframe 30 LX LY
}
$animation "a_CitizenCrouch_walkE" "female_shared_anims\a_Crouch_walkE.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 8 fakeorigin 9.77 -16.57 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 0 8 23 30 target 3
ikrule "rfoot" footstep contact 22 fakeorigin 2.56 -17.58 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 15 22 8 15 target 2
walkframe 30 LX LY
}
$animation "a_CitizenCrouch_walkNE" "female_shared_anims\a_Crouch_walkNE.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 8 fakeorigin 14.03 -7.72 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 0 8 23 30 target 3
ikrule "rfoot" footstep contact 22 fakeorigin 13.16 -14.96 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 15 22 8 15 target 2
walkframe 30 LX LY
}
$animation "a_CitizenCrouch_walkN" "female_shared_anims\a_Crouch_walkN.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 8 fakeorigin 19.26 4.16 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 0 8 23 30 target 3
ikrule "rfoot" footstep contact 23 fakeorigin 15.37 -4.18 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 15 23 7 15 target 2
walkframe 30 LX LY
}
$animation "a_CitizenCrouch_walkNW" "female_shared_anims\a_Crouch_walkNW.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 8 fakeorigin 12.16 13.87 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 24 8 11 24 target 3
ikrule "rfoot" footstep contact 16 fakeorigin 7.71 -1.08 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 8 16 30 8 target 2
walkframe 30 LX LY
}
$animation "a_CitizenCrouch_walkW" "female_shared_anims\a_Crouch_walkW.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 8 fakeorigin 2.61 15.26 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 24 8 11 24 target 3
ikrule "rfoot" footstep contact 16 fakeorigin 11.15 -1.86 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 8 16 30 8 target 2
walkframe 30 LX LY
}
$animation "a_CitizenCrouch_walkSW" "female_shared_anims\a_Crouch_walkSW.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 8 fakeorigin -2.91 13.99 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 24 8 11 24 target 3
ikrule "rfoot" footstep contact 16 fakeorigin 2.58 -3.9 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 8 16 30 8 target 2
walkframe 30 LX LY
}
$animation "a_CitizenCrouch_runN" "female_shared_anims\a_Crouch_runN.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 6 fakeorigin 16.54 2.93 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 17 6 10 17 target 3
ikrule "rfoot" footstep contact 15 fakeorigin 16.52 -0.37 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 8 15 1 8 target 2
walkframe 18 LX LY
}
$weightlist "weights_crouch_run_all_delta" {
"ValveBiped.Bip01_Pelvis" 1
"ValveBiped.Bip01_Spine" 0
"ValveBiped.Bip01_L_Thigh" 0
"ValveBiped.Bip01_R_Thigh" 0
}
$animation "a_CitizenCrouch_runS_delta" "female_shared_anims\a_crouch_runS_delta.smd" {
fps 30
// Crowbar writes this subtract option to prevent jigglebone and poseparameter problems when delta sequences are recompiled.
subtract "a_CitizenCrouch_runS_delta_corrective_animation" 0
weightlist "weights_crouch_run_all_delta"
}
$animation "a_CitizenCrouch_runSE_delta" "female_shared_anims\a_crouch_runSE_delta.smd" {
fps 30
// Crowbar writes this subtract option to prevent jigglebone and poseparameter problems when delta sequences are recompiled.
subtract "a_CitizenCrouch_runSE_delta_corrective_animation" 0
weightlist "weights_crouch_run_all_delta"
}
$animation "a_CitizenCrouch_runE_delta" "female_shared_anims\a_crouch_runE_delta.smd" {
fps 30
// Crowbar writes this subtract option to prevent jigglebone and poseparameter problems when delta sequences are recompiled.
subtract "a_CitizenCrouch_runE_delta_corrective_animation" 0
weightlist "weights_crouch_run_all_delta"
}
$animation "a_CitizenCrouch_runNE_delta" "female_shared_anims\a_crouch_runNE_delta.smd" {
fps 30
// Crowbar writes this subtract option to prevent jigglebone and poseparameter problems when delta sequences are recompiled.
subtract "a_CitizenCrouch_runNE_delta_corrective_animation" 0
weightlist "weights_crouch_run_all_delta"
}
$animation "a_CitizenCrouch_runN_delta" "female_shared_anims\a_crouch_runN_delta.smd" {
fps 30
// Crowbar writes this subtract option to prevent jigglebone and poseparameter problems when delta sequences are recompiled.
subtract "a_CitizenCrouch_runN_delta_corrective_animation" 0
weightlist "weights_crouch_run_all_delta"
}
$animation "a_CitizenCrouch_runNW_delta" "female_shared_anims\a_crouch_runNW_delta.smd" {
fps 30
// Crowbar writes this subtract option to prevent jigglebone and poseparameter problems when delta sequences are recompiled.
subtract "a_CitizenCrouch_runNW_delta_corrective_animation" 0
weightlist "weights_crouch_run_all_delta"
}
$animation "a_CitizenCrouch_runW_delta" "female_shared_anims\a_crouch_runW_delta.smd" {
fps 30
// Crowbar writes this subtract option to prevent jigglebone and poseparameter problems when delta sequences are recompiled.
subtract "a_CitizenCrouch_runW_delta_corrective_animation" 0
weightlist "weights_crouch_run_all_delta"
}
$animation "a_CitizenCrouch_runSW_delta" "female_shared_anims\a_crouch_runSW_delta.smd" {
fps 30
// Crowbar writes this subtract option to prevent jigglebone and poseparameter problems when delta sequences are recompiled.
subtract "a_CitizenCrouch_runSW_delta_corrective_animation" 0
weightlist "weights_crouch_run_all_delta"
}

View File

@ -1,3 +1,108 @@
// ================================================================
//
// Generic Animation Macros
//
// ================================================================
$definemacro GenericIdle IdleName IdleSeq IdleAct \\
$sequence $IdleName$ { $IdleSeq$ activity $IdleAct$ 1 loop \\
cmdlist lockfeetandlefthand \\
}
$definemacro GenericIdleWeight IdleName IdleSeq IdleAct ActWeight \\
$sequence $IdleName$ { $IdleSeq$ activity $IdleAct$ $ActWeight$ loop \\
cmdlist lockfeetandlefthand \\
}
$definemacro GenericIdleHands IdleName IdleSeq IdleAct HandsLayer \\
$sequence $IdleName$ { $IdleSeq$ activity $IdleAct$ 1 loop \\
cmdlist lockfeet \\
blendlayer $HandsLayer$ 0 0 0 0 local \\
}
$definemacro GenericCombatIdle IdleName IdleSeq IdleAct AimLayer \\
$sequence $IdleName$ { \\
$IdleSeq$ \\
activity $IdleAct$ 1 \\
{ event 4 0 "" } \\
addlayer $AimLayer$ \\
loop \\
cmdlist lockfeetandlefthand \\
}
$definemacro GenericShoot SeqName FileName ActName AimLayer \\
$sequence $SeqName$ { \\
$FileName$ \\
{ event 4 0 "" } \\ // { event 3014 1 "" }?
addlayer $AimLayer$ \\
activity $ActName$ 1 \\
cmdlist lockfeetandlefthand \\
}
$definemacro GenericReload SeqName FileName ActName AimLayer AimFadeOut AimFadeIn NumFrames EventFrame \\
$sequence $SeqName$ { \\
$FileName$ \\
{ event 3017 0 "" } \\
{ event 3018 $EventFrame$ "" } \\
blendlayer $AimLayer$ 0 0 0 $AimFadeOut$ spline \\
blendlayer $AimLayer$ $AimFadeIn$ $NumFrames$ $NumFrames$ $NumFrames$ spline \\
activity $ActName$ 1 \\
cmdlist lockfeet \\
ikrule "rhand" release \\
ikrule "lhand" release \\
}
$definemacro GenericAimMoveLayer SeqName FileName HandsLayer AimLayer \\
$sequence $SeqName$ { $FileName$ hidden addlayer $AimLayer$ loop \\
ikrule "rhand" release \\
ikrule "lhand" release \\
blendlayer $HandsLayer$ 0 0 0 0 local \\
weightlist "weights_layer_walk_ar2" \\
}
// ----------------------------------------------------------------
$definemacro GenericShootFromIdle SeqName FileName ActName AimLayer GestureLayer NumFrames \\
$sequence $SeqName$ { \\
$FileName$ \\
numframes $NumFrames$ \\
{ event 3014 1 "" } \\
blendlayer $GestureLayer$ 0 0 0 0 local \\
addlayer $AimLayer$ \\
activity $ActName$ 1 \\
cmdlist lockfeetandlefthand \\
}
$definemacro GenericShootFromIdle_NoHandIK SeqName FileName ActName AimLayer GestureLayer NumFrames \\
$sequence $SeqName$ { \\
$FileName$ \\
numframes $NumFrames$ \\
{ event 3014 1 "" } \\
blendlayer $GestureLayer$ 0 0 0 0 local \\
addlayer $AimLayer$ \\
activity $ActName$ 1 \\
cmdlist lockfeet \\
}
$definemacro GenericReloadFromIdle SeqName FileName ActName AimLayer GestureLayer AimFadeOut AimFadeIn NumFrames EventFrame \\
$sequence $SeqName$legs $FileName$ weightlist "LegsAndPelvis" hidden \\
$sequence $SeqName$ { \\
$FileName$ \\
numframes $NumFrames$ \\
{ event 3015 $EventFrame$ "" } \\
blendlayer $GestureLayer$ 0 0 0 0 local \\
blendlayer $AimLayer$ 0 0 0 $AimFadeOut$ spline \\
blendlayer $AimLayer$ $AimFadeIn$ $NumFrames$ $NumFrames$ $NumFrames$ spline \\
activity $ActName$ 1 \\
cmdlist lockfeet \\
ikrule "rhand" release \\
ikrule "lhand" release \\
}
// =============================================================================================
//
// Generic macros for overlaying animations.

View File

@ -0,0 +1,14 @@
// ================================================================
//
// Generic Weightlists
//
// ================================================================
$weightlist "NoHands" { "ValveBiped.Bip01_Pelvis" 1 "ValveBiped.Bip01_R_Hand" 0 "ValveBiped.Bip01_L_Hand" 0 }
$weightlist "LegsAndPelvis" { "ValveBiped.Bip01_Pelvis" 1 "ValveBiped.Bip01_Spine" 0 }
$weightlist "weights_layer_walk_ar2" {
"ValveBiped.Bip01_Pelvis" 0
"ValveBiped.Bip01_Spine" 1
"ValveBiped.Bip01_Neck1" 0
}

View File

@ -39,7 +39,7 @@ $append "hunter_cit_tackle_di" {
// { event 1004 21 "npc_citizen.pain03" }
// { event 1004 57 "npc_citizen.pain08" }
//
$MakeDynamicInteraction "hunter_cit_stomp" "female_shared_anims\hunter_cit_stomp.smd" $Blend_SMD_Rifle$ 22 91 91
$MakeDynamicInteraction "hunter_cit_stomp" "male_shared_anims\hunter_cit_stomp.smd" $Blend_SMD_Rifle$ 22 91 91
$append "hunter_cit_stomp" {
activity "ACT_DI_HUNTER_MELEE" 1
{ event 1004 59 "flesh.break" }

View File

@ -2,162 +2,291 @@
// Male Citizen Movement Animations
// ================================================================
$animation "a_MaleCitizenWalkS" "male_shared_anims\a_WalkS.smd" {
$animation "a_CitizenWalkS" "male_shared_anims\a_WalkS.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 10 fakeorigin -7.85 4.14 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 27 5 21 27 target 3
ikrule "rfoot" footstep contact 24 fakeorigin -7.32 -2.25 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 12 19 6 12 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 28 28 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 28 28 target 1
walkframe 28 LX LY
}
$animation "a_MaleCitizenWalkSE" "male_shared_anims\a_WalkSE.smd" {
$animation "a_CitizenWalkSE" "male_shared_anims\a_WalkSE.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 11 fakeorigin -4.59 0.58 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 27 6 21 27 target 3
ikrule "rfoot" footstep contact 25 fakeorigin -2.36 -5.69 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 13 20 7 13 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 28 28 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 28 28 target 1
walkframe 28 LX LY
}
$animation "a_MaleCitizenWalkE" "male_shared_anims\a_WalkE.smd" {
$animation "a_CitizenWalkE" "male_shared_anims\a_WalkE.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 9 fakeorigin 5.61 -4.22 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 1 6 22 1 target 3
ikrule "rfoot" footstep contact 22 fakeorigin -2.65 -10.76 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 13 20 7 13 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 26 26 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 26 26 target 1
walkframe 26 LX LY
}
$animation "a_MaleCitizenWalkNE" "male_shared_anims\a_WalkNE.smd" {
$animation "a_CitizenWalkNE" "male_shared_anims\a_WalkNE.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 9 fakeorigin 7.33 -1.32 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 25 5 20 25 target 3
ikrule "rfoot" footstep contact 22 fakeorigin 4.31 -9.39 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 12 18 7 12 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 26 26 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 26 26 target 1
walkframe 26 LX LY
}
$animation "a_MaleCitizenWalkN" "male_shared_anims\a_WalkN.smd" {
$animation "a_CitizenWalkN" "male_shared_anims\a_WalkN.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 10 fakeorigin 10.25 4.75 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 28 5 21 28 target 3
ikrule "rfoot" footstep contact 25 fakeorigin 10.26 -2.65 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 13 20 6 13 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 30 30 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 30 30 target 1
walkframe 30 LX LY
}
$animation "a_MaleCitizenWalkNW" "male_shared_anims\a_WalkNW.smd" {
$animation "a_CitizenWalkNW" "male_shared_anims\a_WalkNW.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 9 fakeorigin 4.17 11.18 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 25 5 19 25 target 3
ikrule "rfoot" footstep contact 22 fakeorigin 5.76 1.71 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 12 18 7 12 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 26 26 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 26 26 target 1
walkframe 26 LX LY
}
$animation "a_MaleCitizenWalkW" "male_shared_anims\a_WalkW.smd" {
$animation "a_CitizenWalkW" "male_shared_anims\a_WalkW.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 9 fakeorigin -3.31 10.98 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 25 5 20 25 target 3
ikrule "rfoot" footstep contact 23 fakeorigin 5.42 3.48 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 14 20 9 14 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 26 26 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 26 26 target 1
walkframe 26 LX LY
}
$animation "a_MaleCitizenWalkSW" "male_shared_anims\a_WalkSW.smd" {
$animation "a_CitizenWalkSW" "male_shared_anims\a_WalkSW.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 11 fakeorigin -1.77 7 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 26 5 20 26 target 3
ikrule "rfoot" footstep contact 25 fakeorigin -3.99 -0.86 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 13 20 6 13 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 28 28 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 28 28 target 1
walkframe 28 LX LY
}
$animation "a_MaleCitizenRunS" "male_shared_anims\a_RunS.smd" {
$animation "a_CitizenRunS" "male_shared_anims\a_RunS.smd" {
fps 31
loop
ikrule "lfoot" footstep contact 8 fakeorigin -1.67 4.9 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 17 5 11 17 target 3
ikrule "rfoot" footstep contact 17 fakeorigin -2.19 -4.26 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 8 14 3 8 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 1
walkframe 18 LX LY
}
$animation "a_MaleCitizenRunSE" "male_shared_anims\a_RunSE.smd" {
$animation "a_CitizenRunSE" "male_shared_anims\a_RunSE.smd" {
fps 29
loop
ikrule "lfoot" footstep contact 8 fakeorigin -6.04 4.12 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 17 5 12 17 target 3
ikrule "rfoot" footstep contact 17 fakeorigin 2.09 -6.05 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 8 14 3 8 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 1
walkframe 18 LX LY
}
$animation "a_MaleCitizenRunE" "male_shared_anims\a_RunE.smd" {
$animation "a_CitizenRunE" "male_shared_anims\a_RunE.smd" {
fps 31
loop
ikrule "lfoot" footstep contact 6 fakeorigin 4.24 -4.05 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 15 4 9 15 target 3
ikrule "rfoot" footstep contact 14 fakeorigin -2.39 -13.73 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 7 13 1 7 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 1
walkframe 18 LX LY
}
$animation "a_MaleCitizenRunNE" "male_shared_anims\a_RunNE.smd" {
$animation "a_CitizenRunNE" "male_shared_anims\a_RunNE.smd" {
fps 29
loop
ikrule "lfoot" footstep contact 6 fakeorigin 8.14 -2.01 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 16 5 9 16 target 3
ikrule "rfoot" footstep contact 16 fakeorigin 3.03 -6.53 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 7 14 18 7 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 1
walkframe 18 LX LY
}
$animation "a_MaleCitizenRunN" "male_shared_anims\a_RunN.smd" {
$animation "a_CitizenRunN" "male_shared_anims\a_RunN.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 7 fakeorigin 4.52 2.76 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 16 5 10 16 target 3
ikrule "rfoot" footstep contact 16 fakeorigin 4.56 -1.62 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 7 14 1 7 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 1
walkframe 18 LX LY
}
$animation "a_MaleCitizenRunNW" "male_shared_anims\a_RunNW.smd" {
$animation "a_CitizenRunNW" "male_shared_anims\a_RunNW.smd" {
fps 28
loop
ikrule "lfoot" footstep contact 8 fakeorigin 3.25 5.63 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 17 5 11 17 target 3
ikrule "rfoot" footstep contact 16 fakeorigin 6.76 2.86 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 7 15 18 7 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 1
walkframe 18 LX LY
}
$animation "a_MaleCitizenRunW" "male_shared_anims\a_RunW.smd" {
$animation "a_CitizenRunW" "male_shared_anims\a_RunW.smd" {
fps 32
loop
ikrule "lfoot" footstep contact 6 fakeorigin -6.05 11.44 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 16 5 10 16 target 3
ikrule "rfoot" footstep contact 15 fakeorigin 1.47 3.9 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 8 13 3 8 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 1
walkframe 18 LX LY
}
$animation "a_MaleCitizenRunSW" "male_shared_anims\a_RunSW.smd" {
$animation "a_CitizenRunSW" "male_shared_anims\a_RunSW.smd" {
fps 31
loop
ikrule "lfoot" footstep contact 9 fakeorigin 5.87 -0.98 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 17 5 11 17 target 3
ikrule "rfoot" footstep contact 17 fakeorigin -1.3 -3.48 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 7 13 2 7 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 18 18 target 1
walkframe 18 LX LY
}
// ----------------------------------------------------------------
$animation "a_CitizenCrouch_runS_delta_corrective_animation" "male_shared_anims\a_crouch_runS_delta_corrective_animation.smd" {
}
$animation "a_CitizenCrouch_runSE_delta_corrective_animation" "male_shared_anims\a_crouch_runSE_delta_corrective_animation.smd" {
}
$animation "a_CitizenCrouch_runE_delta_corrective_animation" "male_shared_anims\a_crouch_runE_delta_corrective_animation.smd" {
}
$animation "a_CitizenCrouch_runNE_delta_corrective_animation" "male_shared_anims\a_crouch_runNE_delta_corrective_animation.smd" {
}
$animation "a_CitizenCrouch_runN_delta_corrective_animation" "male_shared_anims\a_crouch_runN_delta_corrective_animation.smd" {
}
$animation "a_CitizenCrouch_runNW_delta_corrective_animation" "male_shared_anims\a_crouch_runNW_delta_corrective_animation.smd" {
}
$animation "a_CitizenCrouch_runW_delta_corrective_animation" "male_shared_anims\a_crouch_runW_delta_corrective_animation.smd" {
}
$animation "a_CitizenCrouch_runSW_delta_corrective_animation" "male_shared_anims\a_crouch_runSW_delta_corrective_animation.smd" {
}
$animation "a_CitizenCrouch_walkS" "male_shared_anims\a_Crouch_walkS.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 10 fakeorigin -5.37 6.35 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 28 5 22 28 target 3
ikrule "rfoot" footstep contact 25 fakeorigin -5.55 -5.78 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 13 20 7 13 target 2
walkframe 30 LX LY
}
$animation "a_CitizenCrouch_walkSE" "male_shared_anims\a_Crouch_walkSE.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 10 fakeorigin -2.77 -4.1 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 28 5 22 28 target 3
ikrule "rfoot" footstep contact 25 fakeorigin -2.11 -11.61 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 13 20 7 13 target 2
walkframe 30 LX LY
}
$animation "a_CitizenCrouch_walkE" "male_shared_anims\a_Crouch_walkE.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 10 fakeorigin 9.12 -12.11 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 0 7 23 30 target 3
ikrule "rfoot" footstep contact 22 fakeorigin 2.25 -18.79 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 14 20 8 14 target 2
walkframe 30 LX LY
}
$animation "a_CitizenCrouch_walkNE" "male_shared_anims\a_Crouch_walkNE.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 11 fakeorigin 9.53 -2.01 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 29 6 23 29 target 3
ikrule "rfoot" footstep contact 23 fakeorigin 12.58 -15.59 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 13 19 8 13 target 2
walkframe 30 LX LY
}
$animation "a_CitizenCrouch_walkN" "male_shared_anims\a_Crouch_walkN.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 8 fakeorigin 18.99 5.56 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 29 5 23 29 target 3
ikrule "rfoot" footstep contact 23 fakeorigin 15.12 -5.52 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 13 20 7 13 target 2
walkframe 30 LX LY
}
$animation "a_CitizenCrouch_walkNW" "male_shared_anims\a_Crouch_walkNW.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 7 fakeorigin 12.87 14.64 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 22 4 11 22 target 3
ikrule "rfoot" footstep contact 23 fakeorigin 15.05 6.11 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 9 19 30 9 target 2
walkframe 30 LX LY
}
$animation "a_CitizenCrouch_walkW" "male_shared_anims\a_Crouch_walkW.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 8 fakeorigin 2.32 16.56 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 23 5 11 23 target 3
ikrule "rfoot" footstep contact 27 fakeorigin 9.74 3.72 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 11 22 30 11 target 2
walkframe 30 LX LY
}
$animation "a_CitizenCrouch_walkSW" "male_shared_anims\a_Crouch_walkSW.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 10 fakeorigin -1.36 12.72 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 23 5 11 23 target 3
ikrule "rfoot" footstep contact 25 fakeorigin -0.89 2.41 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 10 20 30 10 target 2
walkframe 30 LX LY
}
$animation "a_CitizenCrouch_runN" "male_shared_anims\a_Crouch_runN.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 6 fakeorigin 16.28 4.3 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 16 5 10 16 target 3
ikrule "rfoot" footstep contact 15 fakeorigin 16.26 -1.75 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 7 14 1 7 target 2
walkframe 18 LX LY
}
$weightlist "weights_crouch_run_all_delta" {
"ValveBiped.Bip01_Pelvis" 1
"ValveBiped.Bip01_Spine" 0
"ValveBiped.Bip01_L_Thigh" 0
"ValveBiped.Bip01_R_Thigh" 0
}
$animation "a_CitizenCrouch_runS_delta" "male_shared_anims\a_crouch_runS_delta.smd" {
fps 30
// Crowbar writes this subtract option to prevent jigglebone and poseparameter problems when delta sequences are recompiled.
subtract "a_CitizenCrouch_runS_delta_corrective_animation" 0
weightlist "weights_crouch_run_all_delta"
}
$animation "a_CitizenCrouch_runSE_delta" "male_shared_anims\a_crouch_runSE_delta.smd" {
fps 30
// Crowbar writes this subtract option to prevent jigglebone and poseparameter problems when delta sequences are recompiled.
subtract "a_CitizenCrouch_runSE_delta_corrective_animation" 0
weightlist "weights_crouch_run_all_delta"
}
$animation "a_CitizenCrouch_runE_delta" "male_shared_anims\a_crouch_runE_delta.smd" {
fps 30
// Crowbar writes this subtract option to prevent jigglebone and poseparameter problems when delta sequences are recompiled.
subtract "a_CitizenCrouch_runE_delta_corrective_animation" 0
weightlist "weights_crouch_run_all_delta"
}
$animation "a_CitizenCrouch_runNE_delta" "male_shared_anims\a_crouch_runNE_delta.smd" {
fps 30
// Crowbar writes this subtract option to prevent jigglebone and poseparameter problems when delta sequences are recompiled.
subtract "a_CitizenCrouch_runNE_delta_corrective_animation" 0
weightlist "weights_crouch_run_all_delta"
}
$animation "a_CitizenCrouch_runN_delta" "male_shared_anims\a_crouch_runN_delta.smd" {
fps 30
// Crowbar writes this subtract option to prevent jigglebone and poseparameter problems when delta sequences are recompiled.
subtract "a_CitizenCrouch_runN_delta_corrective_animation" 0
weightlist "weights_crouch_run_all_delta"
}
$animation "a_CitizenCrouch_runNW_delta" "male_shared_anims\a_crouch_runNW_delta.smd" {
fps 30
// Crowbar writes this subtract option to prevent jigglebone and poseparameter problems when delta sequences are recompiled.
subtract "a_CitizenCrouch_runNW_delta_corrective_animation" 0
weightlist "weights_crouch_run_all_delta"
}
$animation "a_CitizenCrouch_runW_delta" "male_shared_anims\a_crouch_runW_delta.smd" {
fps 30
// Crowbar writes this subtract option to prevent jigglebone and poseparameter problems when delta sequences are recompiled.
subtract "a_CitizenCrouch_runW_delta_corrective_animation" 0
weightlist "weights_crouch_run_all_delta"
}
$animation "a_CitizenCrouch_runSW_delta" "male_shared_anims\a_crouch_runSW_delta.smd" {
fps 30
// Crowbar writes this subtract option to prevent jigglebone and poseparameter problems when delta sequences are recompiled.
subtract "a_CitizenCrouch_runSW_delta_corrective_animation" 0
weightlist "weights_crouch_run_all_delta"
}

View File

@ -2,13 +2,71 @@
// Police Movement Animations
// ================================================================
$definemacro a_WalkBlends \\
"a_PoliceWalkS" \\
"a_PoliceWalkSE" \\
"a_PoliceWalkE" \\
"a_PoliceWalkNE" \\
"a_PoliceWalkN" \\
"a_PoliceWalkNW" \\
"a_PoliceWalkW" \\
"a_PoliceWalkSW" \\
"a_PoliceWalkS" \\
blend "move_yaw" -180 180 \\
blendwidth 9 \\
{ event 6004 9 "NPC_MetroPolice" } \\
{ event 6005 25 "NPC_MetroPolice" } \\
$definemacro a_RunBlends \\
"a_PoliceRunS" \\
"a_PoliceRunSE" \\
"a_PoliceRunE" \\
"a_PoliceRunNE" \\
"a_PoliceRunN" \\
"a_PoliceRunNW" \\
"a_PoliceRunW" \\
"a_PoliceRunSW" \\
"a_PoliceRunS" \\
blend "move_yaw" -180 180 \\
blendwidth 9 \\
{ event 6004 6 "NPC_MetroPolice" } \\
{ event 6005 16 "NPC_MetroPolice" } \\
$definemacro a_CrouchWalkBlends \\
"a_PoliceCrouch_walkS" \\
"a_PoliceCrouch_walkSE" \\
"a_PoliceCrouch_walkE" \\
"a_PoliceCrouch_walkNE" \\
"a_PoliceCrouch_walkN" \\
"a_PoliceCrouch_walkNW" \\
"a_PoliceCrouch_walkW" \\
"a_PoliceCrouch_walkSW" \\
"a_PoliceCrouch_walkS" \\
blend "move_yaw" -180 180 \\
blendwidth 9 \\
$definemacro a_CrouchRunBlends \\
"a_PoliceCrouch_walkS" \\
"a_PoliceCrouch_walkSE" \\
"a_PoliceCrouch_walkE" \\
"a_PoliceCrouch_walkNE" \\
"a_PoliceCrouch_runN" \\
"a_PoliceCrouch_walkNW" \\
"a_PoliceCrouch_walkW" \\
"a_PoliceCrouch_walkSW" \\
"a_PoliceCrouch_walkS" \\
blend "move_yaw" -180 180 \\
blendwidth 9 \\
//{ event 6004 7 "NPC_MetroPolice" } \\ // This is new
//{ event 6005 16 "NPC_MetroPolice" } \\ // This is new
// ----------------------------------------------------------------
$animation "a_PoliceWalkS" "police_animations_anims\a_WalkS.smd" {
fps 31
loop
ikrule "lfoot" footstep contact 7 fakeorigin -8.31 8.22 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 29 7 21 29 target 3
ikrule "rfoot" footstep contact 22 fakeorigin -11.48 -3.43 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 14 22 6 14 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 30 30 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 30 30 target 1
walkframe 30 LX LY
}
@ -17,8 +75,6 @@ $animation "a_PoliceWalkSE" "police_animations_anims\a_WalkSE.smd" {
loop
ikrule "lfoot" footstep contact 7 fakeorigin -4.37 8.31 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 29 7 21 29 target 3
ikrule "rfoot" footstep contact 22 fakeorigin -6.05 -7.44 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 14 22 6 14 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 30 30 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 30 30 target 1
walkframe 30 LX LY
}
@ -27,8 +83,6 @@ $animation "a_PoliceWalkE" "police_animations_anims\a_WalkE.smd" {
loop
ikrule "lfoot" footstep contact 7 fakeorigin 8.4 -0.33 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 29 7 21 29 target 3
ikrule "rfoot" footstep contact 22 fakeorigin -3.88 -10.25 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 14 22 6 14 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 30 30 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 30 30 target 1
walkframe 30 LX LY
}
@ -37,8 +91,6 @@ $animation "a_PoliceWalkNE" "police_animations_anims\a_WalkNE.smd" {
loop
ikrule "lfoot" footstep contact 7 fakeorigin 8.82 3.92 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 29 7 21 29 target 3
ikrule "rfoot" footstep contact 22 fakeorigin 3.71 -11.55 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 14 22 6 14 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 30 30 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 30 30 target 1
walkframe 30 LX LY
}
@ -47,8 +99,6 @@ $animation "a_PoliceWalkN" "police_animations_anims\a_WalkN.smd" {
loop
ikrule "lfoot" footstep contact 7 fakeorigin 13.65 6.55 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 29 7 21 29 target 3
ikrule "rfoot" footstep contact 22 fakeorigin 13.7 -1.18 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 14 22 6 14 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 30 30 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 30 30 target 1
walkframe 30 LX LY
}
@ -57,8 +107,6 @@ $animation "a_PoliceWalkNW" "police_animations_anims\a_WalkNW.smd" {
loop
ikrule "lfoot" footstep contact 7 fakeorigin 8.2 9.8 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 29 7 21 29 target 3
ikrule "rfoot" footstep contact 22 fakeorigin 6.42 8.17 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 14 22 6 14 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 30 30 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 30 30 target 1
walkframe 30 LX LY
}
@ -67,8 +115,6 @@ $animation "a_PoliceWalkW" "police_animations_anims\a_WalkW.smd" {
loop
ikrule "lfoot" footstep contact 7 fakeorigin 5.76 10.9 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 29 7 21 29 target 3
ikrule "rfoot" footstep contact 22 fakeorigin -1.32 8.4 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 14 22 6 14 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 30 30 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 30 30 target 1
walkframe 30 LX LY
}
@ -77,8 +123,6 @@ $animation "a_PoliceWalkSW" "police_animations_anims\a_WalkSW.smd" {
loop
ikrule "lfoot" footstep contact 7 fakeorigin 0.4 8.73 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 29 7 21 29 target 3
ikrule "rfoot" footstep contact 22 fakeorigin -9.1 5.01 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 14 22 6 14 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 30 30 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 30 30 target 1
walkframe 30 LX LY
}
@ -87,8 +131,6 @@ $animation "a_PoliceRunS" "police_animations_anims\a_RunS.smd" {
loop
ikrule "lfoot" footstep contact 9 fakeorigin -1.03 6.18 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 18 7 10 18 target 3
ikrule "rfoot" footstep contact 19 fakeorigin -3 -1.16 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 8 16 1 8 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 20 20 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 20 20 target 1
walkframe 20 LX LY
}
@ -97,8 +139,6 @@ $animation "a_PoliceRunSE" "police_animations_anims\a_RunSE.smd" {
loop
ikrule "lfoot" footstep contact 9 fakeorigin 2.17 8.46 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 18 7 10 18 target 3
ikrule "rfoot" footstep contact 19 fakeorigin 2.16 1.19 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 8 16 1 8 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 20 20 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 20 20 target 1
walkframe 20 LX LY
}
@ -107,8 +147,6 @@ $animation "a_PoliceRunE" "police_animations_anims\a_RunE.smd" {
loop
ikrule "lfoot" footstep contact 10 fakeorigin 5.83 6.44 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 18 7 10 18 target 3
ikrule "rfoot" footstep contact 19 fakeorigin -3.99 -3.14 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 8 16 1 8 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 20 20 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 20 20 target 1
walkframe 20 LX LY
}
@ -117,8 +155,6 @@ $animation "a_PoliceRunNE" "police_animations_anims\a_RunNE.smd" {
loop
ikrule "lfoot" footstep contact 9 fakeorigin 5.3 2.41 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 18 7 10 18 target 3
ikrule "rfoot" footstep contact 19 fakeorigin 4.2 -7.29 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 8 16 1 8 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 20 20 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 20 20 target 1
walkframe 20 LX LY
}
@ -127,8 +163,6 @@ $animation "a_PoliceRunN" "police_animations_anims\a_RunN.smd" {
loop
ikrule "lfoot" footstep contact 10 fakeorigin -1.82 6.13 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 18 7 10 18 target 3
ikrule "rfoot" footstep contact 19 fakeorigin 5.1 -1.25 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 8 16 1 8 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 20 20 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 20 20 target 1
walkframe 20 LX LY
}
@ -137,8 +171,6 @@ $animation "a_PoliceRunNW" "police_animations_anims\a_RunNW.smd" {
loop
ikrule "lfoot" footstep contact 8 fakeorigin 2.32 13.27 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 18 7 10 18 target 3
ikrule "rfoot" footstep contact 20 fakeorigin -0.93 2.33 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 8 16 1 8 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 20 20 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 20 20 target 1
walkframe 20 LX LY
}
@ -147,8 +179,6 @@ $animation "a_PoliceRunW" "police_animations_anims\a_RunW.smd" {
loop
ikrule "lfoot" footstep contact 10 fakeorigin 5.89 4.81 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 18 7 10 18 target 3
ikrule "rfoot" footstep contact 1 fakeorigin -3.72 -4.06 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 10 16 4 10 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 20 20 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 20 20 target 1
walkframe 20 LX LY
}
@ -157,7 +187,157 @@ $animation "a_PoliceRunSW" "police_animations_anims\a_RunSW.smd" {
loop
ikrule "lfoot" footstep contact 9 fakeorigin 5.37 6.98 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 18 7 10 18 target 3
ikrule "rfoot" footstep contact 20 fakeorigin -1.64 -2.46 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 8 16 1 8 target 2
ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 20 20 target 0
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 20 20 target 1
walkframe 20 LX LY
}
// ----------------------------------------------------------------
// Stock metrocop crouch movement animations are a little incomplete and don't work very well when combined with aiming animations, which is currently what we want these for.
// Citizen crouch movement animations are a lot better in this regard and mostly look fine when combined with metrocop aiming animations.
$animation "a_PoliceCrouch_walkS" "male_shared_anims\a_Crouch_walkS.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 10 fakeorigin -5.37 6.35 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 28 5 22 28 target 3
ikrule "rfoot" footstep contact 25 fakeorigin -5.55 -5.78 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 13 20 7 13 target 2
walkframe 30 LX LY
}
$animation "a_PoliceCrouch_walkSE" "male_shared_anims\a_Crouch_walkSE.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 10 fakeorigin -2.77 -4.1 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 28 5 22 28 target 3
ikrule "rfoot" footstep contact 25 fakeorigin -2.11 -11.61 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 13 20 7 13 target 2
walkframe 30 LX LY
}
$animation "a_PoliceCrouch_walkE" "male_shared_anims\a_Crouch_walkE.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 10 fakeorigin 9.12 -12.11 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 0 7 23 30 target 3
ikrule "rfoot" footstep contact 22 fakeorigin 2.25 -18.79 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 14 20 8 14 target 2
walkframe 30 LX LY
}
$animation "a_PoliceCrouch_walkNE" "male_shared_anims\a_Crouch_walkNE.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 11 fakeorigin 9.53 -2.01 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 29 6 23 29 target 3
ikrule "rfoot" footstep contact 23 fakeorigin 12.58 -15.59 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 13 19 8 13 target 2
walkframe 30 LX LY
}
$animation "a_PoliceCrouch_walkN" "male_shared_anims\a_Crouch_walkN.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 8 fakeorigin 18.99 5.56 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 29 5 23 29 target 3
ikrule "rfoot" footstep contact 23 fakeorigin 15.12 -5.52 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 13 20 7 13 target 2
walkframe 30 LX LY
}
$animation "a_PoliceCrouch_walkNW" "male_shared_anims\a_Crouch_walkNW.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 7 fakeorigin 12.87 14.64 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 22 4 11 22 target 3
ikrule "rfoot" footstep contact 23 fakeorigin 15.05 6.11 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 9 19 30 9 target 2
walkframe 30 LX LY
}
$animation "a_PoliceCrouch_walkW" "male_shared_anims\a_Crouch_walkW.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 8 fakeorigin 2.32 16.56 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 23 5 11 23 target 3
ikrule "rfoot" footstep contact 27 fakeorigin 9.74 3.72 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 11 22 30 11 target 2
walkframe 30 LX LY
}
$animation "a_PoliceCrouch_walkSW" "male_shared_anims\a_Crouch_walkSW.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 10 fakeorigin -1.36 12.72 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 23 5 11 23 target 3
ikrule "rfoot" footstep contact 25 fakeorigin -0.89 2.41 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 10 20 30 10 target 2
walkframe 30 LX LY
}
$animation "a_PoliceCrouch_runN" "male_shared_anims\a_Crouch_runN.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 6 fakeorigin 16.28 4.3 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 16 5 10 16 target 3
ikrule "rfoot" footstep contact 15 fakeorigin 16.26 -1.75 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 7 14 1 7 target 2
walkframe 18 LX LY
}
//$animation "a_PoliceCrouch_runN" "combine_soldier_anims_anims\a_Crouch_runN.smd" {
// fps 30
// loop
// ikrule "rfoot" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 20 20 target 2
// ikrule "lfoot" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 20 20 target 3
// //ikrule "lfoot" footstep contact 8 fakeorigin 10.58 2.92 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 2 8 14 2 target 3
// //ikrule "rfoot" footstep contact 16 fakeorigin 13.73 -4.74 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 10 16 4 10 target 2
// walkframe 19 LX
//}
//
//$animation "a_PoliceCrouch_walkS" "police_animations_anims\a_Crouch_walkS.smd" {
// fps 30
// loop
// ikrule "rfoot" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 20 20 target 2
// ikrule "lfoot" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 20 20 target 3
// walkframe 20 LX LY
//}
//
//$animation "a_PoliceCrouch_walkSE" "police_animations_anims\a_Crouch_walkSE.smd" {
// fps 30
// loop
// ikrule "rfoot" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 24 24 target 2
// ikrule "lfoot" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 24 24 target 3
// walkframe 24 LX LY
//}
//
//$animation "a_PoliceCrouch_walkE" "police_animations_anims\a_Crouch_walkE.smd" {
// fps 30
// loop
// ikrule "rfoot" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 21 21 target 2
// ikrule "lfoot" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 21 21 target 3
// walkframe 21 LX LY
//}
//
//$animation "a_PoliceCrouch_walkNE" "police_animations_anims\a_Crouch_walkNE.smd" {
// fps 30
// loop
// ikrule "rfoot" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 21 21 target 2
// ikrule "lfoot" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 21 21 target 3
// walkframe 21 LX LY
//}
//
//$animation "a_PoliceCrouch_walkN" "police_animations_anims\a_Crouch_walkN.smd" {
// fps 30
// loop
// ikrule "rfoot" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 24 24 target 2
// ikrule "lfoot" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 24 24 target 3
// walkframe 24 LX LY
//}
//
//$animation "a_PoliceCrouch_walkNW" "police_animations_anims\a_Crouch_walkNW.smd" {
// fps 30
// loop
// ikrule "rfoot" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 21 21 target 2
// ikrule "lfoot" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 21 21 target 3
// walkframe 21 LX LY
//}
//
//$animation "a_PoliceCrouch_walkW" "police_animations_anims\a_Crouch_walkW.smd" {
// fps 30
// loop
// ikrule "rfoot" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 20 20 target 2
// ikrule "lfoot" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 20 20 target 3
// walkframe 20 LX LY
//}
//
//$animation "a_PoliceCrouch_walkSW" "police_animations_anims\a_Crouch_walkSW.smd" {
// fps 30
// loop
// ikrule "rfoot" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 21 21 target 2
// ikrule "lfoot" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 21 21 target 3
// walkframe 21 LX LY
//}

View File

@ -46,15 +46,15 @@ $definemacro a_CrouchWalkBlends \\
blendwidth 9 \\
$definemacro a_CrouchRunBlends \\
"a_SoldierCrouch_walkS" \\
"a_SoldierCrouch_walkSE" \\
"a_SoldierCrouch_walkE" \\
"a_SoldierCrouch_walkNE" \\
"a_SoldierCrouch_runS" \\
"a_SoldierRunSE" \\
"a_SoldierRunE" \\
"a_SoldierRunNE" \\
"a_SoldierCrouch_runN" \\
"a_SoldierCrouch_walkNW" \\
"a_SoldierCrouch_walkW" \\
"a_SoldierCrouch_walkSW" \\
"a_SoldierCrouch_walkS" \\
"a_SoldierRunNW" \\
"a_SoldierRunW" \\
"a_SoldierRunSW" \\
"a_SoldierCrouch_runS" \\
blend "move_yaw" -180 180 \\
blendwidth 9 \\
{ event 6004 7 "NPC_CombineS" } \\ // This is new
@ -215,6 +215,16 @@ $animation "a_SoldierCrouch_runN" "combine_soldier_anims_anims\a_Crouch_runN.smd
walkframe 19 LX
}
$animation "a_SoldierCrouch_runS" "combine_soldier_anims_anims\custom\a_Crouch_runS.smd" {
fps 30
loop
ikrule "lfoot" footstep contact 8 fakeorigin 10.58 2.92 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 2 8 14 2 target 3
ikrule "rfoot" footstep contact 16 fakeorigin 13.73 -4.74 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 10 16 4 10 target 2
walkframe 19 LX
}
// ----------------------------------------------------------------
$animation "a_SoldierCrouch_walkS" "combine_soldier_anims_anims\a_Crouch_walkS.smd" {
fps 30
loop

View File

@ -66,22 +66,6 @@ $sequence "Ladder_Dismount_2" "a_Ladder_Dismount_2.smd" hidden
$sequence "Ladder_Dismount_3" "a_Ladder_Dismount_3.smd" hidden
$sequence "Ladder_Dismount_4" "a_Ladder_Dismount_4.smd" hidden
//$animation "a_Ladder_Dismount_Up" "a_Ladder_Dismount_Up.smd" {
// fps 30
// ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 0 0 target 0
// ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 0 0 target 1
// ikrule "rfoot" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 0 0 target 2
// ikrule "lfoot" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 0 0 target 3
//}
//
//$animation "a_Ladder_Dismount_Forward" "a_Ladder_Dismount_Forward.smd" {
// fps 30
// ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 0 0 target 0
// ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 0 0 target 1
// ikrule "rfoot" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 0 0 target 2
// ikrule "lfoot" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 0 0 target 3
//}
$sequence "Ladder_Idlenoise" {
"Ladder_Idlenoise.smd"
delta
@ -120,23 +104,6 @@ $sequence "Ladder_updown" {
blendwidth 5
}
//$sequence "Ladder_Dismount_Up" {
// "a_Ladder_Descend"
// activity "ACT_CLIMB_DISMOUNT" -1
// //noanimation
// numframes 40
// //blendlayer "a_Ladder_Dismount_1"
//}
$sequence "Ladder_Dismount_Up_reference" "Ladder_Dismount.smd" hidden
$sequence "Ladder_Dismount_idle_offset" {
"a_Ladder_Dismount_idle"
hidden
realtime
walkalign 1 "Ladder_Dismount_Up_reference" LX LY LZ 0 55
//alignto "Ladder_Dismount_Up_reference"
}
$sequence "Ladder_Dismount_idle" {
"a_Ladder_Dismount_idle"
hidden
@ -191,19 +158,11 @@ $sequence "Ladder_Dismount_Top" {
ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 60 60 target 1 usesequence
weightlist "LadderWeights"
//walkframe 60 LZ
// For now, align movement to the reversed animation so that movement is a right angle
walkalign 30 "Ladder_Mount_Top" LZ 30 30
//walkframe 30 LZ
walkframe 60 LX LY
//walkframe 30 LZ
//walkframe 60 LX LY LZ
//blendlayer "Ladder_Dismount_idle_offset" 55 75 75 75 spline local
//numframes 75
//walkalignto 75 "Ladder_Dismount_idle_offset" LX LY LXR LYR
// Extra frames are needed for the cycle
numframes 80
}

View File

@ -29,8 +29,6 @@ $weightlist "weights_holster_layer" {
"ValveBiped.Bip01_Neck1" 0
}
$weightlist "weights_DummyAim" { "ValveBiped.Bip01_Pelvis" 0 }
// TODO: Female?
$pushd "l4d1_ported_anims\male"
@ -52,9 +50,9 @@ $sequence "weapon_draw_gesture" { // Unholster_Standing_Pistol
fadein 0.2
fadeout 0.2
blendlayer "Unholster_Standing_Pistol_layer" 0 5 13 36 spline // 0 5 23 36
//numframes 30
ikrule "rhand" touch "ValveBiped.Bip01_Spine" contact 10 range 0 10 15 30 usesequence
fps 30
weightlist "weights_DummyAim"
noanimation numframes 36
}
$sequence "Holster_Standing_Pistol_layer" {
@ -76,7 +74,7 @@ $sequence "weapon_holster_gesture" { // Holster_Standing_Pistol
fadeout 0.2
blendlayer "Holster_Standing_Pistol_layer" 0 10 16 36 spline // 0 5 23 36
fps 30
weightlist "weights_DummyAim"
noanimation numframes 36
}
$popd