Closed kristiker closed 2 years ago
$modelname "v_models\v_rifle_ak47.mdl" $cdmaterials models\v_models\Weapons\rifle $model v_rifle_ak47 "dmx/rifle_ak47_ref.dmx" $include "Bones_Scripts\definebones.qci" $include "Bones_Scripts\bonemerge.qci" //game told me to do this: $bonemerge "ValveBiped.weapon_bone" $origin 3 5 64 $pushd "dmx/animation" $ikchain lhand "ValveBiped.Bip01_L_Hand" $ikchain rhand "ValveBiped.Bip01_R_Hand" $attachment "fowardnode" "ValveBiped.weapon_bone" 0 0 0 RIGID $weightlist VIEWARMS "Valvebiped.Bip01" 1.0 $weightlist Sniper_ARM "Valvebiped.Bip01" 1.0 $animation a_idle_1 "ak47_idle.dmx" loop $animation look_mid "ak47_look_poses.dmx" frames 0 0 subtract a_idle_1 0 $animation look_down "ak47_look_poses.dmx" frames 1 1 subtract a_idle_1 0 $animation look_up "ak47_look_poses.dmx" frames 2 2 subtract a_idle_1 0 //$sequence idle_layer "ak47_idle.dmx" addlayer look_poses subtract idle 0 delta ACT_VM_IDLE_LAYER 1 $sequence deploy "ak47_deploy.dmx" ACT_VM_DEPLOY 1 $sequence deploy_layer "ak47_deploy.dmx" ACT_VM_DEPLOY_LAYER 1 { event 5004 1 "AK47.Deploy" } $sequence helping_hand_extend "ak47_helpinghand_extend.dmx" ACT_VM_HELPINGHAND_EXTEND 1 $sequence helping_hand_extend_layer "ak47_helpinghand_extend.dmx" fadeout 0.0 ACT_VM_HELPINGHAND_EXTEND_LAYER 1 { event 5004 1 "AK47.HelpingHandExtend" } $sequence helping_hand_loop "ak47_helpinghand_loop.dmx" loop ACT_VM_HELPINGHAND_LOOP 1 $sequence helping_hand_loop_layer "ak47_helpinghand_loop.dmx" loop ACT_VM_HELPINGHAND_LOOP_LAYER 1 $sequence helping_hand_retract "ak47_helpinghand_retract.dmx" ACT_VM_HELPINGHAND_RETRACT 1 $sequence helping_hand_retract_layer "ak47_helpinghand_retract.dmx" fadein 0.0 ACT_VM_HELPINGHAND_RETRACT_LAYER 1 { event 5004 1 "AK47.HelpingHandRetract" } $sequence item_extend "ak47_itempickup_extend.dmx" ACT_VM_ITEMPICKUP_EXTEND 1 $sequence item_extend_layer "ak47_itempickup_extend.dmx" fadeout 0.0 ACT_VM_ITEMPICKUP_EXTEND_LAYER 1 { event 5004 1 "AK47.ItemPickupExtend" } $sequence item_loop "ak47_itempickup_loop.dmx" loop ACT_VM_ITEMPICKUP_LOOP 1 $sequence item_loop_layer "ak47_itempickup_loop.dmx" loop ACT_VM_ITEMPICKUP_LOOP_LAYER 1 $sequence item_retract "ak47_itempickup_retract.dmx" ACT_VM_ITEMPICKUP_RETRACT 1 $sequence item_retract_layer "ak47_itempickup_retract.dmx" fadein 0.0 ACT_VM_ITEMPICKUP_RETRACT_LAYER 1 { event 5004 1 "AK47.ItemPickupRetract" }
⬇️⬇️⬇️⬇️
⬇️⬇️⬇️⬇️