请问如何将摄像机镜头绑定在枪械or人物视角上



  • 并且还能动态跟随人物视角or枪械子弹射击视角
    CSGO茄子集锦
    时间:00:50~01:00



  • mirv_calcs



  • 如果你下载purple的cfg你会再压缩包里看到一个cfg后缀的文件

    cals.cfg
    

    俗称自拍杆

    //Purple调整,控制台指令cls恢复正常视角
    mirv_calcs handle add key key 0;
    mirv_calcs handle add activeWeapon aw key 2;
    mirv_calcs vecAng add handleAttachment awm aw muzzle_flash;
    mirv_calcs vecAng add handleAttachment awh aw weapon_hand_R;
    mirv_calcs vecAng add or awmh awm awh;
    mirv_calcs vecAng add value weaponOfs 20 0 0 0 0 179.9;
    mirv_calcs vecAng add offset awmOfs awmh weaponOfs 1;
    mirv_cam source calcVecAng awmOfs;
    mirv_cam offset none;
    spec_mode 5
    
    //一键切换自拍杆锁定的玩家
    bind [ player;
    alias player player1;
    alias player1 "alias player player2;mirv_calcs handle edit key key 1";
    alias player2 "alias player player3;mirv_calcs handle edit key key 2";
    alias player3 "alias player player4;mirv_calcs handle edit key key 3";
    alias player4 "alias player player5;mirv_calcs handle edit key key 4";
    alias player5 "alias player player6;mirv_calcs handle edit key key 5";
    alias player6 "alias player player7;mirv_calcs handle edit key key 6";
    alias player7 "alias player player8;mirv_calcs handle edit key key 7";
    alias player8 "alias player player9;mirv_calcs handle edit key key 8";
    alias player9 "alias player player0;mirv_calcs handle edit key key 9";
    alias player0 "alias player player1;mirv_calcs handle edit key key 0";
    
    //一键切换自拍杆角度预设[ 有其他好的OFFSET预设可提交到此处 https://github.com/Purple-CSGO/Cfg-Preset-By-Purp1e/issues ]
    bind ] offset;
    alias offset offset1;
    alias offset1 "alias offset offset2;mirv_cam offset 0 13 -5 -1 -11 -30";
    alias offset2 "alias offset offset3;mirv_cam offset -7 20 60 -20 45 -15";
    alias offset3 "alias offset offset4;mirv_cam offset -20 20 10 35 10 -15";
    alias offset4 "alias offset offset5;mirv_cam offset 70 25 -5 -1 -11 -160";
    alias offset5 "alias offset offset6;mirv_cam offset 65 15 12 -5 20 -160";
    alias offset6 "alias offset offset1;mirv_cam offset 40 23 -5 -25 -20 -79";
    
    //定义cls恢复正常视角
    alias "cls" "mirv_cam source calcVecAngClear;mirv_cam offset none"
    
    echo "═════════════════════════════════════════════════════════════"
    echo "──── 自拍杆cals.cfg 加载成功!"
    echo "──── 恢复正常的指令  :  cls"
    echo "──── 重新加载自拍杆  :  exec cals"
    echo "──── 切换锁定的玩家  :  ["
    echo "──── 切换自拍杆预设	  :  ]  		[↓6种预设间切换]"
    echo "──── Z8左前	  :  mirv_cam offset 0 13 -5 -1 -11 -30"
    echo "──── 左前上方	  :  mirv_cam offset -7 20 60 -20 45 -15"
    echo "──── 左前倾斜	  :  mirv_cam offset -20 20 10 35 10 -15"
    echo "──── 背后视角(dq)	  :  mirv_cam offset 70 25 -5 -1 -11 -160"
    echo "──── 右后步枪	  :  mirv_cam offset 65 15 12 -5 20 -160"
    echo "──── 右侧 (黄鱼)	  :  mirv_cam offset 40 23 -5 -25 -20 -79"
    echo "═════════════════════════════════════════════════════════════"
    
    


  • @做视频SHEKL 感谢大佬


Log in to reply