-
Notifications
You must be signed in to change notification settings - Fork 34
/
stream2.cfg
148 lines (128 loc) · 16.7 KB
/
stream2.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
// ═══════════════════════════════════════════
// Config Preset V1.7 by Purp1e
// CFG预设(Purp1e制作)
// #2023/1/12#
// https://space.bilibili.com/73115492
// ═══════════════════════════════════════════
// 新版分层录制CFG 支持原始、持枪、世界、物体、景深、透视、HUD、透明持枪、透明物体通道
// 全指令控制 · 兼容reshade · 支持穿烟 · 支持去除燃烧弹黑烟
// 快捷键绑定
bind [ dist // [ 修复远处物体消失问题
bind ] sp // ] 结束通道预览 同时打印所有通道信息
bind del reset // Delete 删除所有通道 重置状态
// 必要设置
sv_cheats 1; net_graph 0; cl_showpos 0;
// dist 修复远处物体消失问题
mirv_exec alias dist "r_disable_distance_fade_on_big_props 1;r_disable_distance_fade_on_big_props_thresh 0;echo {QUOTE}>>> 已修复远处物体消失问题{QUOTE};"
alias sp "mirv_streams print" // 打印通道信息
alias sc "mirv_streams clear" // 删除所有通道
alias spe "mirv_streams previewend" // 关闭预览
// reset 删除所有通道 重置状态
mirv_exec alias reset "mirv_streams remove raw;mirv_streams remove viewModel;mirv_streams remove world;mirv_streams remove object;mirv_streams remove dof;mirv_streams remove afxWh;mirv_streams remove hudwt;mirv_streams remove hudblk;echo {QUOTE}>>> 通道已全部移除{QUOTE};echo;";
reset;
// raw 原始通道
mirv_exec alias +raw "mirv_streams add baseFx raw;mirv_streams edit raw drawHud -1;mirv_streams edit raw record 1;mirv_streams edit raw reshade enabled 1;mirv_streams preview raw;echo;echo {QUOTE}>>> 原始通道已添加 {QUOTE};echo;";
mirv_exec alias -raw "mirv_streams remove raw; echo {QUOTE}>>> 原始通道已移除× {QUOTE};echo;"
mirv_exec alias raw "mirv_streams preview raw;echo;echo {QUOTE}>>> 正在预览原始通道... {QUOTE};echo;";
mirv_exec alias raw+vm "mirv_streams edit raw drawViewModel 1;mirv_streams preview raw; echo;echo {QUOTE}>>> 原始通道显示持枪 {QUOTE};echo;";
mirv_exec alias raw-vm "mirv_streams edit raw drawViewModel 0;mirv_streams preview raw; echo;echo {QUOTE}>>> 原始通道不显示持枪 {QUOTE};echo;";
mirv_exec alias raw+re "mirv_streams edit raw reshade enabled 1;mirv_streams preview raw; echo;echo {QUOTE}>>> 原始通道应用reshade {QUOTE};echo;"
mirv_exec alias raw-re "mirv_streams edit raw reshade enabled 0;mirv_streams preview raw; echo;echo {QUOTE}>>> 原始通道取消reshade {QUOTE};echo;"
mirv_exec alias raw+hud "mirv_streams edit raw drawHud -1;mirv_streams preview raw; echo;echo {QUOTE}>>> 原始通道显示HUD {QUOTE};echo;"
mirv_exec alias raw-hud "mirv_streams edit raw drawHud 0;mirv_streams preview raw; echo;echo {QUOTE}>>> 原始通道不显示HUD {QUOTE};echo;"
mirv_exec alias raw+smoke "mirv_streams edit raw smokeOverlayAlphaFactor 0;mirv_streams preview raw; echo;echo {QUOTE}>>> 原始通穿烟√ {QUOTE};echo;"
mirv_exec alias raw-smoke "mirv_streams edit raw smokeOverlayAlphaFactor 1;mirv_streams preview raw; echo;echo {QUOTE}>>> 原始通穿烟× {QUOTE};echo;"
mirv_exec alias raw+fire "mirv_streams edit raw actionFilter addEx name=particle/particle_flares/particle_flare_gray action=noDraw;mirv_streams edit raw actionFilter addEx name=particle/particle_flares/particle_flare_001_nodepth_noz action=noDraw;mirv_streams preview raw; echo;echo {QUOTE}>>> 原始通道去燃烧弹黑烟√ {QUOTE};echo;"
mirv_exec alias raw-fire "mirv_streams edit raw actionFilter addEx name=particle/particle_flares/particle_flare_gray action=draw;mirv_streams edit raw actionFilter addEx name=particle/particle_flares/particle_flare_001_nodepth_noz action=draw;mirv_streams preview raw; echo;echo {QUOTE}>>> 原始通道去燃烧弹黑烟× {QUOTE};echo;"
mirv_exec alias raw-on "mirv_streams edit raw record 1;echo;echo {QUOTE}>>> 原始通道已开启√ {QUOTE};echo;";
mirv_exec alias raw-off "mirv_streams edit raw record 0;echo;echo {QUOTE}>>> 原始通道已关闭× {QUOTE};echo;";
// vm 持枪通道
mirv_exec alias +vm "mirv_streams add baseFx viewModel;vM1;vM2;mirv_streams edit viewModel drawHud 0;mirv_streams edit viewModel record 1;mirv_streams preview viewModel;echo;echo {QUOTE}>>> 正在预览持枪通道... {QUOTE}";
mirv_exec alias -vm "mirv_streams remove vm; echo {QUOTE}>>> 持枪通道已移除× {QUOTE};echo;"
mirv_exec alias vm+draw "remdraw; remdraw; remdraw; remdraw; remnodraw; remnodraw; remnodraw; remnodraw; remnodraw; remmask; vM1;vM2;mirv_streams preview viewModel;echo;echo {QUOTE}>>> 持枪通道贴纸、改名卡、计数器已显示 {QUOTE};echo;";
mirv_exec alias vm-draw "remdraw; remdraw; remdraw; remdraw; remnodraw; remnodraw; remmask; nosticker; nostat; norename; vM1;vM2;mirv_streams preview viewModel;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 vm-on "mirv_streams edit viewModel record 1;echo;echo {QUOTE}>>> 持枪通道已开启√ {QUOTE}";
mirv_exec alias vm-off "mirv_streams edit viewModel record 0;echo;echo {QUOTE}>>> 持枪通道已关闭× {QUOTE}";
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};"
// world 世界通道 无物体持枪 世界除了物体和持枪
mirv_exec alias +world "mirv_streams add matteWorld world;mirv_streams edit world actionFilter add "dev/scope_bluroverlay" noDraw;mirv_streams edit world record 1;mirv_streams preview world;echo;echo {QUOTE}>>> 世界通道已添加 {QUOTE};echo;";
mirv_exec alias -world "mirv_streams remove world; echo {QUOTE}>>> 原始世界已移除× {QUOTE};echo;"
mirv_exec alias world "mirv_streams preview world;echo;echo {QUOTE}>>> 正在预览世界通道... {QUOTE};echo;"
mirv_exec alias world+re "mirv_streams edit world reshade enabled 1;mirv_streams preview world; echo;echo {QUOTE}>>> 世界通道应用reshade {QUOTE};echo;"
mirv_exec alias world-re "mirv_streams edit world reshade enabled 0;mirv_streams preview world; echo;echo {QUOTE}>>> 世界通道取消reshade {QUOTE};echo;"
mirv_exec alias world+smoke "mirv_streams edit world smokeOverlayAlphaFactor 0;mirv_streams preview world; echo;echo {QUOTE}>>> 世界通穿烟√ {QUOTE};echo;"
mirv_exec alias world-smoke "mirv_streams edit world smokeOverlayAlphaFactor 1;mirv_streams preview world; echo;echo {QUOTE}>>> 世界通穿烟× {QUOTE};echo;"
mirv_exec alias world+fire "mirv_streams edit world actionFilter addEx name=particle/particle_flares/particle_flare_gray action=noDraw;mirv_streams edit raw actionFilter addEx name=particle/particle_flares/particle_flare_001_nodepth_noz action=noDraw;mirv_streams preview world; echo;echo {QUOTE}>>> 世界通道去燃烧弹黑烟√ {QUOTE};echo;"
mirv_exec alias world-fire "mirv_streams edit world actionFilter addEx name=particle/particle_flares/particle_flare_gray action=draw;mirv_streams edit raw actionFilter addEx name=particle/particle_flares/particle_flare_001_nodepth_noz action=draw;mirv_streams preview world; echo;echo {QUOTE}>>> 世界通道去燃烧弹黑烟× {QUOTE};echo;"
mirv_exec alias world-on "mirv_streams edit world record 1;echo;echo {QUOTE}>>> 世界通道已开启√ {QUOTE};echo;";
mirv_exec alias world-off "mirv_streams edit world record 0;echo;echo {QUOTE}>>> 世界通道已关闭× {QUOTE};echo;";
// object 物体通道 无烟雾效果 仅仅有物体和持枪
mirv_exec alias +object "mirv_streams add matteEntity object;mirv_streams edit object drawViewModel 0;mirv_streams edit object actionFilter add "dev/scope_bluroverlay" noDraw;mirv_streams edit object record 1;mirv_streams preview object;echo;echo {QUOTE}>>> 正在预览物体通道... {QUOTE};echo;";
mirv_exec alias -object "mirv_streams remove object; echo {QUOTE}>>> 物体通道已移除× {QUOTE};echo;"
mirv_exec alias object+vm "mirv_streams preview object;mirv_streams edit object drawViewModel 1;echo;echo {QUOTE}>>> 物体通道显示持枪 {QUOTE};echo;"
mirv_exec alias object-vm "mirv_streams preview object;mirv_streams edit object drawViewModel 0;echo;echo {QUOTE}>>> 物体通道不显示持枪 {QUOTE};echo;"
mirv_exec alias object-on "mirv_streams edit object record 1;echo;echo {QUOTE}>>> 物体通道已开启√ {QUOTE};echo;";
mirv_exec alias object-off "mirv_streams edit object record 0;echo;echo {QUOTE}>>> 物体通道已关闭× {QUOTE};echo;";
// dof 景深通道 包含所有信息
mirv_exec alias +dof "mirv_streams add depth dof;mirv_streams edit dof depthValMax 1024.0;mirv_streams edit dof drawViewModel noDraw;mirv_streams preview dof;mirv_streams edit dof record 1;echo;echo {QUOTE}>>> 正在预览景深通道... {QUOTE}";
mirv_exec alias -dof "mirv_streams remove dof; echo {QUOTE}>>> 景深通道已移除× {QUOTE};echo;"
mirv_exec alias dof+object "mirv_streams remove dof;mirv_streams add depth dof;mirv_streams edit dof depthValMax 1024.0;mirv_streams edit dof drawViewModel noDraw;mirv_streams preview dof;mirv_streams edit dof record 1;echo;echo {QUOTE}>>> 景深显示玩家模型和道具{QUOTE};echo;";
mirv_exec alias dof-object "mirv_streams remove dof;mirv_streams add depthWorld dof;mirv_streams edit dof depthValMax 1024.0;mirv_streams edit dof drawViewModel noDraw;mirv_streams preview dof;mirv_streams edit dof record 1;echo;echo {QUOTE}>>> 景深不显示玩家模型和道具{QUOTE};echo;";
mirv_exec alias dof+vm "mirv_streams edit dof drawViewModel 1;mirv_streams preview dof;echo;echo {QUOTE}>>> 物体通道显示持枪 {QUOTE};echo;"
mirv_exec alias dof-vm "mirv_streams edit dof drawViewModel 0;mirv_streams preview dof;echo;echo {QUOTE}>>> 物体通道不显示持枪 {QUOTE};echo;"
mirv_exec alias dof-on "mirv_streams edit dof record 1;echo;echo {QUOTE}>>> 景深通道已开启√ {QUOTE};echo;";
mirv_exec alias dof-off "mirv_streams edit dof record 0;echo;echo {QUOTE}>>> 景深通道已关闭× {QUOTE};echo;";
mirv_exec alias depth1 "mirv_streams edit dof depthValMax 256.0;echo {QUOTE}>>> 景深最大值设为 256 {QUOTE}"
mirv_exec alias depth2 "mirv_streams edit dof depthValMax 1024.0;echo {QUOTE}>>> 景深最大值设为 1024{QUOTE}"
mirv_exec alias depth3 "mirv_streams edit dof depthValMax 2048.0;echo {QUOTE}>>> 景深最大值设为 2048{QUOTE}"
mirv_exec alias depth4 "mirv_streams edit dof depthValMax 4096.0;echo {QUOTE}>>> 景深最大值设为 4096{QUOTE}"
mirv_exec alias depth5 "mirv_streams edit dof depthValMax 8192.0;echo {QUOTE}>>> 景深最大值设为 8192{QUOTE}"
// wh 透视通道
mirv_exec alias +wh "exec afx/wh;r_occlusion 0;r_portalsopenall 1;mirv_streams edit afxWh drawHud 0;mirv_streams preview afxWh;mirv_streams edit afxWh record 1;echo;echo {QUOTE}>>> 正在预览透视通道... {QUOTE};echo;";
mirv_exec alias -wh "mirv_streams remove afxWh; echo {QUOTE}>>> 透视通道已移除× {QUOTE};echo;"
mirv_exec alias wh+vm "mirv_streams edit afxWh drawviewModel 1;mirv_streams preview afxWh;echo;echo {QUOTE}>>> 透视通道显示持枪 {QUOTE};echo;";
mirv_exec alias wh-vm "mirv_streams edit afxWh drawviewModel 0;mirv_streams preview afxWh;echo;echo {QUOTE}>>> 透视通道不显示持枪 {QUOTE};echo;";
mirv_exec alias wh-on "mirv_streams edit afxWh record 1;mirv_streams previewend;echo;echo {QUOTE}>>> 透视通道已开启√ {QUOTE};echo;";
mirv_exec alias wh-off "mirv_streams edit afxWh record 0;mirv_streams previewend;echo;echo {QUOTE}>>> 透视通道已关闭× {QUOTE};echo;";
// hud 黑+白通道
mirv_exec alias +hud "mirv_streams add hudWhite hudwt;mirv_streams add hudBlack hudblk;mirv_streams preview hudwt;mirv_streams edit hudwt record 1;mirv_streams edit hudblk record 1;echo;echo {QUOTE}>>> 正在预览HUD白通道... {QUOTE};echo;";
mirv_exec alias -hud "mirv_streams remove hudwt;mirv_streams remove hudblk; echo {QUOTE}>>> HUD白通道已移除× {QUOTE};echo;"
mirv_exec alias hud "mirv_streams preview hudwt;echo;echo {QUOTE}>>> 正在预览HUD白通道... {QUOTE};echo;"
mirv_exec alias hud-on "mirv_streams edit hudwt record 1;mirv_streams edit hudblk record 1;mirv_streams previewend;echo;echo {QUOTE}>>> HUD黑+白通道已开启√ {QUOTE};echo;";
mirv_exec alias hud-off "mirv_streams edit hudwt record 0;mirv_streams edit hudblk record 0;mirv_streams previewend;echo;echo {QUOTE}>>> HUD黑+白通道已关闭× {QUOTE};echo;";
// vma 透明持枪通道 默认 p4444a !不支持预览
mirv_exec alias +vma "mirv_streams add matte vmAlpha; mirv_streams edit vmAlpha drawViewModel 1; mirv_streams edit vmAlpha record 1; vMa1; vMa2; mirv_streams edit vmAlpha settings p4444a; echo {QUOTE}>>> 透明持枪通道已开启√ [不可预览] {QUOTE};echo;"
mirv_exec alias -vma "mirv_streams remove vmAlpha; echo {QUOTE}>>> 透明持枪通道已移除× {QUOTE};echo;"
mirv_exec alias vMa1 "mirv_streams edit vmAlpha actionFilter addEx "className=predicted_viewmodel" "action=drawMatte";mirv_streams edit vmAlpha actionFilter addEx "name=vgui_\*" "action=drawMatte";mirv_streams edit vmAlpha actionFilter addEx "name=dev/glow_\*" "action=noDrawMatte";"
mirv_exec alias vMa2 "mirv_streams edit vmAlpha actionFilter addEx "name=dev/halo_\*" "action=noDrawMatte";mirv_streams edit vmAlpha actionFilter addEx "name=engine/\*" "action=drawMatte";mirv_streams edit vmAlpha actionFilter addEx "name=dev/\*" "action=drawMatte";mirv_streams edit vmAlpha actionFilter addEx "action=mask";"
// objecta 透明物体通道 无烟雾效果 仅有物体和持枪 默认p4444a !不支持预览
mirv_exec alias +objecta "mirv_streams add matte objectAlpha;mirv_streams edit objectAlpha drawViewModel 0;mirv_streams edit objectAlpha actionFilter add "dev/scope_bluroverlay" noDrawMatte;mirv_streams edit objectAlpha record 1; mirv_streams edit objectAlpha settings p4444a;echo;echo {QUOTE}>>> 透明物体通道开启√ [不可预览] {QUOTE};echo;";
mirv_exec alias -objecta "mirv_streams remove objectAlpha;echo;echo {QUOTE}>>> 透明物体通道已移除× {QUOTE};echo;";
mirv_exec alias objecta+vm "mirv_streams edit objectAlpha drawViewModel 1;echo {QUOTE}>>> 透明物体通道显示手臂 {QUOTE};echo;";
mirv_exec alias objecta-vm "mirv_streams edit objectAlpha drawViewModel 0;echo {QUOTE}>>> 透明物体通道隐藏手臂 {QUOTE};echo;";
clear
echo "══════════════════════════════════════════════════════"
echo "───────────── 分层录制CFG 制作: Purp1e ──────────────"
echo "──── raw : 原始通道 +vm +re +hud +smoke +fire ";
echo "──── vm : 持枪通道 +draw +vm";
echo "──── world : 世界通道 +re +smoke +fire";
echo "──── object : 物体通道 +vm";
echo "──── dof : 景深通道 +object +vm";
echo "──── wh : 透视通道 +vm";
echo "──── hud : HUD通道";
echo "──── vma : 透明持枪通道";
echo "──── objecta : 透明物体通道";echo;
echo "█ 说明: +raw 添加 | -raw 删除 | raw 预览";
echo " 以raw为例 raw-on 开启 | raw-off 关闭 | raw+smoke 穿烟";
echo " raw-vm 去持枪 | raw-hud 关HUD | raw+fire 去黑烟";
echo "█ 其他: vm+draw 持枪通道显示贴纸、改名卡、计数器 | dof+object 景深通道显示物体深度信息";echo;
echo " depth1 depth2 ... depth5 设置最大景深数值"
echo "══════════════════════════════════════════════════════"
echo;