-
Notifications
You must be signed in to change notification settings - Fork 34
/
stream.cfg
147 lines (128 loc) · 14.9 KB
/
stream.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
// ═══════════════════════════════════════════
///////// 说明
/// 使用逻辑修改,原来是F1~F9切换某个通道的开关
/// 现在F1~F9切换某个通道的不同类型 统一由Insert键开启 Delete键关闭
/// F11关闭预览、打印所有通道信息 F12删除所有通道、重置状态
/// # 注意: 每次按F1~F9后都要按下Ins或Del确保开启或关闭
/////////////////////////////////////////////////////////////////////////////////
// 快捷键绑定
bind Home "exec stream";// Home 重新加载
bind Ins "stream_on"; // Insert 开启某层录制
bind Del "stream_off"; // Delete 关闭某层录制
// 必要设置
sv_cheats 1; net_graph 0;cl_showpos 0;
//F1 原始通道
mirv_exec bind F1 "func_raw";
mirv_exec alias func_raw "raw_prev";
mirv_exec alias raw_prev "alias func_raw raw_1;mirv_streams add baseFx raw;mirv_streams edit raw drawHud -1;mirv_streams edit raw reshade enabled 1;mirv_streams preview raw;alias stream_on raw_on;alias stream_off raw_off;echo;echo {QUOTE}>>> 正在预览原始通道... {QUOTE};echo;";
mirv_exec alias raw_1 "alias func_raw raw_2;mirv_streams edit raw drawHud 0;mirv_streams preview raw;alias stream_on raw_on;alias stream_off raw_off; echo;echo {QUOTE}>>> 原始通道HUD已关闭 {QUOTE};;echo;";
mirv_exec alias raw_2 "alias func_raw raw_3;mirv_streams edit raw drawViewModel 0;mirv_streams preview raw;alias stream_on raw_on;alias stream_off raw_off; echo;echo {QUOTE}>>> 原始通道不显示持枪 {QUOTE};echo;";
mirv_exec alias raw_3 "alias func_raw raw_1;mirv_streams edit raw drawHud -1;mirv_streams edit raw drawViewModel 1;mirv_streams preview raw;alias stream_on raw_on;alias stream_off raw_off; echo;echo {QUOTE}>>> 原始通道已还原 {QUOTE};echo;";
mirv_exec alias raw_on "mirv_streams edit raw record 1;mirv_streams previewend;echo;echo {QUOTE}>>> 原始通道已开启√ {QUOTE};echo;";
mirv_exec alias raw_off "mirv_streams edit raw record 0;mirv_streams previewend;echo;echo {QUOTE}>>> 原始通道已关闭× {QUOTE};echo;";
//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;alias stream_on viewModel_on;alias stream_off 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;alias stream_on viewModel_on;alias stream_off 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;alias stream_on viewModel_on;alias stream_off 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}";
//F3 世界通道 无物体持枪 世界除了物体和持枪
mirv_exec bind F3 "func_myWorld";
mirv_exec alias func_myWorld "myWorld_prev";
mirv_exec alias myWorld_prev "alias func_myWorld myWorld_prev;mirv_streams add matteWorld myWorld;mirv_streams edit myWorld actionFilter add "dev/scope_bluroverlay" noDraw;mirv_streams preview myWorld;alias stream_on myWorld_on;alias stream_off myWorld_off;echo;echo {QUOTE}>>> 正在预览世界通道... {QUOTE};echo;";
mirv_exec alias myWorld_1 "alias func_myWorld 1;mirv_streams preview myWorld;alias stream_on myWorld_on;alias stream_off myWorld_off;echo;echo {QUOTE}>>> 正在预览世界通道... {QUOTE};echo;"
mirv_exec alias myWorld_on "mirv_streams edit myWorld record 1;mirv_streams previewend;echo;echo {QUOTE}>>> 世界通道已开启√ {QUOTE};echo;";
mirv_exec alias myWorld_off "mirv_streams edit myWorld record 0;mirv_streams previewend;echo;echo {QUOTE}>>> 世界通道已关闭× {QUOTE};echo;";
//f4 物体通道 无烟雾效果 仅仅有物体和持枪
mirv_exec bind F4 "func_myMatte";
mirv_exec alias func_myMatte "myMatte_prev";
mirv_exec alias myMatte_prev "alias func_myMatte myMatte_prev;mirv_streams add matteEntity myMatte;mirv_streams preview myMatte;mirv_streams edit myMatte drawViewModel 0;mirv_streams edit myMatte actionFilter add "dev/scope_bluroverlay" noDraw;alias stream_on myMatte_on;alias stream_off myMatte_off;echo;echo {QUOTE}>>> 正在预览物体通道... {QUOTE};echo;";
mirv_exec alias myMatte_1 "alias func_myMatte 1;mirv_streams preview myMatte;alias stream_on myMatte_on;alias stream_off myMatte_off;echo;echo {QUOTE}>>> 正在预览物体通道... {QUOTE};echo;"
mirv_exec alias myMatte_on "mirv_streams edit myMatte record 1;mirv_streams previewend;echo;echo {QUOTE}>>> 物体通道已开启√ {QUOTE};echo;";
mirv_exec alias myMatte_off "mirv_streams edit myMatte record 0;mirv_streams previewend;echo;echo {QUOTE}>>> 物体通道已关闭× {QUOTE};echo;";
//F5 景深通道 包含所有信息
mirv_exec bind F5 "func_myDepth";
mirv_exec alias func_myDepth "myDepth_prev";
mirv_exec alias myDepth_prev "alias func_myDepth myDepth_1;mirv_streams add depth myDepth;mirv_streams edit myDepth depthValMax 4096.0;mirv_streams edit myDepth drawViewModel noDraw;mirv_streams preview myDepth;alias stream_on myDepth_on;alias stream_off myDepth_off;echo;echo {QUOTE}>>> 正在预览景深通道... {QUOTE}";
mirv_exec alias myDepth_1 "alias func_myDepth myDepth_2;mirv_streams remove myDepth;mirv_streams add depthWorld myDepth;mirv_streams edit myDepth depthValMax 4096.0;mirv_streams edit myDepth drawViewModel noDraw;mirv_streams preview myDepth;alias stream_on myDepth_on;alias stream_off myDepth_off;echo;echo {QUOTE}>>> 不显示玩家模型和道具(需重新开启录制){QUOTE};echo;";
mirv_exec alias myDepth_2 "alias func_myDepth myDepth_1;mirv_streams remove myDepth;mirv_streams add depth myDepth;mirv_streams edit myDepth depthValMax 4096.0;mirv_streams edit myDepth drawViewModel noDraw;mirv_streams preview myDepth;alias stream_on myDepth_on;alias stream_off myDepth_off;echo;echo {QUOTE}>>> 显示玩家模型和道具(需重新开启录制){QUOTE};echo;";
mirv_exec alias myDepth_on "mirv_streams edit myDepth record 1;mirv_streams previewend;echo;echo {QUOTE}>>> 景深通道已开启√ {QUOTE};echo;";
mirv_exec alias myDepth_off "mirv_streams edit myDepth record 0;mirv_streams previewend;echo;echo {QUOTE}>>> 景深通道已关闭× {QUOTE};echo;";
mirv_exec alias depth1 "mirv_streams edit myDepth depthValMax 256.0 ;echo {QUOTE}>>> 景深最大值设为256 {QUOTE}"
mirv_exec alias depth2 "mirv_streams edit myDepth depthValMax 4096.0;echo {QUOTE}>>> 景深最大值设为4096{QUOTE}"
mirv_exec alias depth3 "mirv_streams edit myDepth depthValMax 8192.0;echo {QUOTE}>>> 景深最大值设为8192{QUOTE}"
//F6 透视通道
mirv_exec bind F6 "func_afxWh";
mirv_exec alias func_afxWh "afxWh_prev";
mirv_exec alias afxWh_prev "alias func_afxWh afxWh_1;exec afx/wh;r_occlusion 0;r_portalsopenall 1;mirv_streams edit afxWh drawHud 0;mirv_streams preview afxWh;alias stream_on afxWh_on;alias stream_off afxWh_off;echo;echo {QUOTE}>>> 正在预览透视通道... {QUOTE};echo;";
mirv_exec alias afxWh_1 "alias func_afxWh afxWh_2;mirv_streams edit afxWh drawviewModel 0;mirv_streams preview afxWh;alias stream_on afxWh_on;alias stream_off afxWh_off; echo;echo {QUOTE}>>> 透视通道不显示持枪 {QUOTE};echo;";
mirv_exec alias afxWh_2 "alias func_afxWh afxWh_1;mirv_streams edit afxWh drawviewModel 1;mirv_streams preview afxWh;alias stream_on afxWh_on;alias stream_off afxWh_off; echo;echo {QUOTE}>>> 透视通道显示持枪 {QUOTE};echo;";
mirv_exec alias afxWh_on "mirv_streams edit afxWh record 1;mirv_streams previewend;echo;echo {QUOTE}>>> 透视通道已开启√ {QUOTE};echo;";
mirv_exec alias afxWh_off "mirv_streams edit afxWh record 0;mirv_streams previewend;echo;echo {QUOTE}>>> 透视通道已关闭× {QUOTE};echo;";
//F7 Hud黑+白通道
mirv_exec bind F7 "func_myHud";
mirv_exec alias func_myHud "myHud_prev";
mirv_exec alias myHud_prev "alias func_myHud myHud_prev;mirv_streams add hudWhite hudwt;mirv_streams add hudBlack hudblk;mirv_streams preview hudwt;alias stream_on myHud_on;alias stream_off myHud_off;echo;echo {QUOTE}>>> 正在预览HUD白通道... {QUOTE};echo;";
mirv_exec alias myHud_1 "alias func_myHud 1;mirv_streams preview myHud;alias stream_on myHud_on;alias stream_off myHud_off;echo;echo {QUOTE}>>> 正在预览物体通道... {QUOTE};echo;"
mirv_exec alias myHud_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 myHud_off "mirv_streams edit hudwt record 0;mirv_streams edit hudblk record 0;mirv_streams previewend;echo;echo {QUOTE}>>> HUD黑+白通道已关闭× {QUOTE};echo;";
//F8 HUD通道
//F9 特效通道
//F10 解决远距离物体不加载的问题
mirv_exec bind F10 "r_disable_distance_fade_on_big_props 1;r_disable_distance_fade_on_big_props_thresh 0;echo;echo {QUOTE}>>> 远距离物体加载的指令已执行{QUOTE};echo;"
//F11 结束通道预览 同时打印所有通道信息
mirv_exec alias none "echo;echo {QUOTE}>>> 请选择要操作的通道{QUOTE};echo;"
mirv_exec bind F11 "mirv_streams previewend;mirv_streams print;alias stream_on none;alias stream_off none;alias func_raw raw_1;"
//F12 删除所有通道 重置状态
mirv_exec bind F12 "+resetStream";
mirv_exec alias +resetStream "mirv_streams remove raw;mirv_streams remove viewModel;mirv_streams remove myWorld;mirv_streams remove myMatte;mirv_streams remove myDepth;mirv_streams remove afxWh;mirv_streams remove hudwt;mirv_streams remove hudblk;echo {QUOTE}>>> 通道已全部移除{QUOTE};echo;";
mirv_exec alias -resetStream "alias func_raw raw_prev;alias func_viewModel viewModel_prev;alias func_myWorld myWorld_prev;alias func_myMatte myMatte_prev;alias func_myDepth myDepth_prev;alias func_afxWh afxWh_prev;alias func_myHud myHud_prev;";
+resetStream;-resetStream;
// 分层预设档位
alias set1 "+resetStream; viewModel_prev;viewModel_1;viewModel_on; myWorld_prev;myWorld_on; myMatte_prev;myMatte_on; echo;echo =====;mirv_streams print;"
alias set2 "+resetStream; raw_prev;raw_2;raw_on; viewModel_prev;viewModel_1;viewModel_on; echo;echo =====;mirv_streams print;"
// alias set3 ""
// alias set4 ""
clear
echo "══════════════════════════════════════════════════════"
echo "───────────── 分层录制CFG 制作: Purp1e ──────────────"
echo;echo "──── F1 : 原始通道 <--> 不显示HUD <--> 不显示持枪"
echo;echo "──── F2 : 持枪通道 <--> 不显示贴纸、改名卡、计数器"
echo;echo "──── F3 : 世界通道 ---- 无玩家模型和持枪"
echo;echo "──── F4 : 物体通道 ---- 仅玩家模型和道具"
echo;echo "──── F5 : 景深通道 <--> 不显示玩家模型和道具"
echo;echo "──── F6 : 透视通道 <--> 不显示持枪"
echo;echo "──── F7 : HUD黑+白 ---- 用于后期抠出HUD"
//echo;echo "──── F8 : HUD通道 ---- 地图、准星、击杀条、血条、子弹(暂未实现)"
//echo;echo "──── F9 : 特效通道 ---- 暂未实现"
echo;echo "──── F10 : 解决远距离物体不加载的问题"
echo;echo "──── F11 : 结束通道预览 & 打印所有通道信息"
echo;echo "──── F12 : 删除所有通道 & 重置状态"
echo;echo "──── Insert : 开启当前通道的录制 & 结束通道预览"
echo;echo "──── Delete : 关闭当前通道的录制 & 重置状态"
echo;echo "──── Home : 重新加载hlae.cfg"
echo;echo "────────────── 重复加载可能会报错 实际无影响 ──────────────"
echo;echo "──── depth1 : 设置最大景深值256"
echo "──── depth2 : 设置最大景深值4096"
echo "──── depth3 : 设置最大景深值8192"
echo;echo "──────────────────── 分层预设档位 ────────────────────"
echo;echo "──── set1 : 持枪 + 世界 + 物体"
echo "──── set2 : 持枪 + 原始无持枪 (分离手臂)"
// echo;echo "──── set3 : xxx"
echo;
echo "══════════════════════════════════════════════════════"