如何录制只有人物手臂的绿幕图层



  • 搞了半天没弄明白 隐藏主视角加效果还是会加到别人的身上



  • CFG预设里有stream.cfg,有手臂通道



  • 分层录制就好了,使用紫佬的 stream.cfg 就好了



  • //F2 持枪通道
    mirv_exec bind  F2             "func_viewModel";
    mirv_exec alias func_viewModel "viewModel_prev";
    mirv_exec alias viewModel_prev "alias func_viewModel viewModel_1;mirv_streams add baseFx viewModel;vM1;vM2;mirv_streams edit viewModel drawHud 0;mirv_streams preview viewModel;bind ins viewModel_on;bind del viewModel_off;echo;echo {QUOTE}>>> 正在预览持枪通道... {QUOTE}";
    mirv_exec alias viewModel_1    "alias func_viewModel viewModel_2;remdraw; remdraw; remdraw; remdraw; remnodraw; remnodraw; remmask; nosticker; nostat; norename; vM1;vM2;mirv_streams preview viewModel;bind ins viewModel_on;bind del viewModel_off; echo;echo {QUOTE}>>> 持枪通道贴纸、改名卡、计数器均已移除 {QUOTE};echo;";
    mirv_exec alias viewModel_2    "alias func_viewModel viewModel_1;remdraw; remdraw; remdraw; remdraw; remnodraw; remnodraw; remnodraw; remnodraw; remnodraw; remmask; vM1;vM2;mirv_streams preview viewModel;bind ins viewModel_on;bind del viewModel_off; echo;echo {QUOTE}>>> 持枪通道已还原 {QUOTE};echo;";
    mirv_exec alias vM1            "mirv_streams edit viewModel actionFilter addEx "className=predicted_viewmodel" "action=draw";mirv_streams edit viewModel actionFilter addEx "name=vgui_\*" "action=draw";mirv_streams edit viewModel actionFilter addEx "name=dev/glow_\*" "action=noDraw";"
    mirv_exec alias vM2            "mirv_streams edit viewModel actionFilter addEx "name=dev/halo_\*" "action=noDraw";mirv_streams edit viewModel actionFilter addEx "name=engine/\*" "action=draw";mirv_streams edit viewModel actionFilter addEx "name=dev/\*" "action=draw";mirv_streams edit viewModel actionFilter addEx "action=mask";"
    mirv_exec alias remdraw        "mirv_streams edit viewModel actionFilter remove "action=Draw"";"
    mirv_exec alias remnodraw      "mirv_streams edit viewModel actionFilter remove "action=noDraw";"
    mirv_exec alias remmask        "mirv_streams edit viewModel actionFilter remove "action=mask";"
    mirv_exec alias nosticker      "mirv_streams edit viewModel actionFilter addEx {QUOTE}shader=WeaponDecal_dx9{QUOTE} {QUOTE}action=noDraw{QUOTE};"
    mirv_exec alias nostat         "mirv_streams edit viewModel actionFilter addEx {QUOTE}name=models/weapons/stattrack/\*{QUOTE} {QUOTE}action=noDraw{QUOTE};"
    mirv_exec alias norename       "mirv_streams edit viewModel actionFilter addEx {QUOTE}name=models/weapons/uid/\*{QUOTE} {QUOTE}action=noDraw{QUOTE};"
    mirv_exec alias viewModel_on   "mirv_streams edit viewModel record 1;mirv_streams previewend;echo;echo {QUOTE}>>> 持枪通道已开启√ {QUOTE}";
    mirv_exec alias viewModel_off  "mirv_streams edit viewModel record 0;mirv_streams previewend;echo;echo {QUOTE}>>> 持枪通道已关闭× {QUOTE}";
    

    —By Purp1e from stream.cfg


Log in to reply