|
8 | 8 | "soundlevel" "SNDLVL_GUNFIRE" |
9 | 9 | "pitch" "95,105" |
10 | 10 | "wave" "p1_pgun/portalgun_shoot_blue1.wav" |
11 | | - |
12 | | - "soundentry_version" "2" |
13 | | - |
14 | | - "operator_stacks" |
15 | | - { |
16 | | - "start_stack" |
17 | | - { |
18 | | - "import_stack" "P2_portalgun_start" |
19 | | - |
20 | | - "stop_gun" |
21 | | - { |
22 | | - "match_entry" "Portalgun.fire" |
23 | | - "input_max_entries" "1.000000" |
24 | | - } |
25 | | - } |
26 | | - } |
27 | 11 | } |
28 | 12 |
|
29 | 13 | "Weapon_Portalgun.fire_blue_npc" |
|
33 | 17 | "soundlevel" "SNDLVL_GUNFIRE" |
34 | 18 | "pitch" "95,105" |
35 | 19 | "wave" "^p1_pgun/portalgun_shoot_blue1.wav" |
36 | | - |
37 | | - "soundentry_version" "2" |
38 | | - |
39 | | - "operator_stacks" |
40 | | - { |
41 | | - "start_stack" |
42 | | - { |
43 | | - "import_stack" "P2_portalgun_start" |
44 | | - |
45 | | - "stop_gun" |
46 | | - { |
47 | | - "match_entry" "Portalgun.fire" |
48 | | - "input_max_entries" "1.000000" |
49 | | - } |
50 | | - } |
51 | | - } |
52 | 20 | } |
53 | 21 |
|
54 | 22 | "Weapon_Portalgun.fire_red" |
|
58 | 26 | "soundlevel" "SNDLVL_GUNFIRE" |
59 | 27 | "pitch" "95,105" |
60 | 28 | "wave" "p1_pgun/portalgun_shoot_red1.wav" |
61 | | - |
62 | | - "soundentry_version" "2" |
63 | | - |
64 | | - "operator_stacks" |
65 | | - { |
66 | | - "start_stack" |
67 | | - { |
68 | | - "import_stack" "P2_portalgun_start" |
69 | | - |
70 | | - "stop_gun" |
71 | | - { |
72 | | - "match_entry" "Portalgun.fire" |
73 | | - "input_max_entries" "1.000000" |
74 | | - } |
75 | | - } |
76 | | - } |
77 | 29 | } |
78 | 30 |
|
79 | 31 | "Weapon_Portalgun.fire_red_npc" |
|
83 | 35 | "soundlevel" "SNDLVL_GUNFIRE" |
84 | 36 | "pitch" "95,105" |
85 | 37 | "wave" "^p1_pgun/portalgun_shoot_red1.wav" |
86 | | - |
87 | | - "soundentry_version" "2" |
88 | | - |
89 | | - "operator_stacks" |
90 | | - { |
91 | | - "start_stack" |
92 | | - { |
93 | | - "import_stack" "P2_portalgun_start" |
94 | | - |
95 | | - "stop_gun" |
96 | | - { |
97 | | - "match_entry" "Portalgun.fire" |
98 | | - "input_max_entries" "1.000000" |
99 | | - } |
100 | | - } |
101 | | - } |
102 | 38 | } |
103 | 39 |
|
104 | 40 | // pgun pickup |
|
108 | 44 | "volume" "0.7" |
109 | 45 | "soundlevel" "SNDLVL_90db" |
110 | 46 | "wave" "p1_pgun/portalgun_powerup1.wav" |
111 | | - |
112 | | - "soundentry_version" "2" |
113 | | - |
114 | | - "operator_stacks" |
115 | | - { |
116 | | - "start_stack" |
117 | | - { |
118 | | - "import_stack" "P2_null_player_start" |
119 | | - |
120 | | - "play_entry" |
121 | | - { |
122 | | - "entry_name" "Portal.PortalgunActivate" //Replace with the sound you want to play. |
123 | | - } |
124 | | - } |
125 | | - } |
126 | 47 | } |
127 | 48 |
|
128 | 49 | "Portal.PortalgunActivate" |
|
131 | 52 | "volume" "0.9" |
132 | 53 | "soundlevel" "SNDLVL_90db" |
133 | 54 | "wave" "p1_pgun/portalgun_powerup1.wav" |
134 | | - |
135 | | - "soundentry_version" "2" |
136 | | - |
137 | | - "operator_stacks" |
138 | | - { |
139 | | - "start_stack" |
140 | | - { |
141 | | - "import_stack" "P2_exclusion_time_blocker_start" |
142 | | - |
143 | | - "block_entries" |
144 | | - { |
145 | | - "input_duration" "0.5" |
146 | | - "match_entry" "Portal.PortalgunActivate" //The sound entry to use |
147 | | - "match_entity" "true" |
148 | | - } |
149 | | - } |
150 | | - } |
151 | 55 | } |
152 | 56 |
|
153 | 57 | "Weapon_Portalgun.HoldSound" |
|
172 | 76 | "wave" "weapons/portalgun/portal_open2.wav" |
173 | 77 | "wave" "weapons/portalgun/portal_open3.wav" |
174 | 78 | } |
175 | | - |
176 | | - "soundentry_version" "2" |
177 | | - |
178 | | - "operator_stacks" |
179 | | - { |
180 | | - "start_stack" |
181 | | - { |
182 | | - "import_stack" "P2_exclusion_time_and_poly_limiting_start" |
183 | | - |
184 | | - "limit_sound" |
185 | | - { |
186 | | - "match_entry" "Portal.open" |
187 | | - "input_max_entries" "1.000000" |
188 | | - "match_substring" "true" |
189 | | - } |
190 | | - |
191 | | - "block_entries" |
192 | | - { |
193 | | - |
194 | | - "match_entry" "Portal.open_red" //The sound entry to use |
195 | | - "input_duration" "0.1" //in seconds |
196 | | - } |
197 | | - } |
198 | | - } |
199 | 79 | } |
200 | 80 |
|
201 | 81 | "Portal.open_blue" |
|
205 | 85 | "soundlevel" "SNDLVL_80db" |
206 | 86 | "pitch" "95,105" |
207 | 87 | "wave" "weapons/portalgun/portal_open1.wav" |
208 | | - |
209 | | - "soundentry_version" "2" |
210 | | - |
211 | | - "operator_stacks" |
212 | | - { |
213 | | - "start_stack" |
214 | | - { |
215 | | - "import_stack" "P2_exclusion_time_and_poly_limiting_start" |
216 | | - |
217 | | - "limit_sound" |
218 | | - { |
219 | | - "match_entry" "Portal.open" |
220 | | - "input_max_entries" "1.000000" |
221 | | - "match_substring" "true" |
222 | | - } |
223 | | - |
224 | | - "block_entries" |
225 | | - { |
226 | | - |
227 | | - "match_entry" "Portal.open_red" //The sound entry to use |
228 | | - "input_duration" "0.1" //in seconds |
229 | | - } |
230 | | - } |
231 | | - } |
232 | 88 | } |
233 | 89 |
|
234 | 90 | "Portal.close_red" |
|
275 | 131 | "soundlevel" "SNDLVL_90db" |
276 | 132 | "pitch" "95,105" |
277 | 133 | "wave" "p1_pgun/portal_invalid_surface3.wav" |
278 | | - |
279 | | - "soundentry_version" "2" |
280 | | - "operator_stacks" |
281 | | - { |
282 | | - "start_stack" |
283 | | - { |
284 | | - "import_stack" "P2_exclusion_time_and_poly_limiting_start" |
285 | | - |
286 | | - "limit_sound" |
287 | | - { |
288 | | - "match_entry" "Portal.fizzle_invalid_surface" |
289 | | - "input_max_entries" "1.000000" |
290 | | - "match_substring" "true" |
291 | | - } |
292 | | - |
293 | | - "block_entries" |
294 | | - { |
295 | | - "match_entry" "Portal.fizzle_invalid_surface" //The sound entry to use |
296 | | - "input_duration" "0.1" //in seconds |
297 | | - } |
298 | | - } |
299 | | - } |
300 | 134 | } |
301 | 135 |
|
302 | 136 | "PortalPlayer.EnterPortal" |
|
367 | 201 | "wave" "p1_pgun/object_use_stop_01.wav" |
368 | 202 |
|
369 | 203 | "soundentry_version" "2" |
370 | | - |
371 | | - "operator_stacks" |
372 | | - { |
373 | | - "update_stack" |
374 | | - { |
375 | | - "import_stack" "p2_update_default" |
376 | | - } |
377 | | - } |
378 | 204 | } |
379 | 205 |
|
380 | 206 | "PortalPlayer.ObjectUse" |
|
383 | 209 | "soundlevel" "SNDLVL_75dB" |
384 | 210 | "volume" "0.8" |
385 | 211 | "wave" "p1_pgun/object_use_lp_01.wav" |
386 | | - |
387 | | - "soundentry_version" "2" |
388 | | - |
389 | | - "operator_stacks" |
390 | | - { |
391 | | - "update_stack" |
392 | | - { |
393 | | - "import_stack" "p2_update_default_pitch_ramp" |
394 | | - |
395 | | - "source_info" |
396 | | - { |
397 | | - "source" "entity" |
398 | | - } |
399 | | - |
400 | | - "volume_get_map_name" |
401 | | - { |
402 | | - "input_execute" "1.0" |
403 | | - "map_name" "sp_a1_wakeup" //your map name here |
404 | | - } |
405 | | - |
406 | | - "volume_map_name_scalar" |
407 | | - { |
408 | | - "input_map_min" "0.8" //This is the map-specific volume scalar |
409 | | - } |
410 | | - |
411 | | - "volume_fade_initial" |
412 | | - { |
413 | | - "input_execute" "1.0" |
414 | | - "input_min" "3.0" |
415 | | - "input_max" "15.0" |
416 | | - "input_map_min" "0.0" |
417 | | - "input_map_max" "0.5" |
418 | | - } |
419 | | - |
420 | | - "volume_mult" |
421 | | - { |
422 | | - "input1" "@volume_map_name_scalar.output" |
423 | | - } |
424 | | - |
425 | | - // "volume_apply_falloff" |
426 | | - // { |
427 | | - // "input2" "1.0" //no falloff |
428 | | - // } |
429 | | - |
430 | | - "volume_fade_in" |
431 | | - { |
432 | | - "input_max" "0.15" //fade in time |
433 | | - } |
434 | | - |
435 | | - "volume_fade_out" |
436 | | - { |
437 | | - "input_max" "0.7" //fade out time |
438 | | - } |
439 | | - |
440 | | - "pitch_fade_in" |
441 | | - { |
442 | | - "input_map_min" "0.7" //pitch to fade in from |
443 | | - "input_map_max" "1.0" //pitch to fade in to |
444 | | - "default_to_max" "false" |
445 | | - } |
446 | | - |
447 | | - "save_restore_output" |
448 | | - { |
449 | | - "operator" "sys_output" |
450 | | - "execute_once" "true" |
451 | | - "input_float" "1.0" |
452 | | - "output" "save_restore" |
453 | | - } |
454 | | - } |
455 | | - |
456 | | - "stop_stack" |
457 | | - { |
458 | | - "import_stack" "stop_and_play" |
459 | | - |
460 | | - "play_entry" |
461 | | - { |
462 | | - "entry_name" "PortalPlayer.ObjectUseStop" |
463 | | - } |
464 | | - } |
465 | | - } |
466 | 212 | } |
467 | 213 |
|
468 | 214 |
|
|
0 commit comments