Skip to content

Commit 416e452

Browse files
committed
Removed operator stacks.
1 parent 980607e commit 416e452

1 file changed

Lines changed: 0 additions & 254 deletions

File tree

p1_pgun/scripts/sounds/p1_pgun.txt

Lines changed: 0 additions & 254 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,6 @@
88
"soundlevel" "SNDLVL_GUNFIRE"
99
"pitch" "95,105"
1010
"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-
}
2711
}
2812

2913
"Weapon_Portalgun.fire_blue_npc"
@@ -33,22 +17,6 @@
3317
"soundlevel" "SNDLVL_GUNFIRE"
3418
"pitch" "95,105"
3519
"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-
}
5220
}
5321

5422
"Weapon_Portalgun.fire_red"
@@ -58,22 +26,6 @@
5826
"soundlevel" "SNDLVL_GUNFIRE"
5927
"pitch" "95,105"
6028
"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-
}
7729
}
7830

7931
"Weapon_Portalgun.fire_red_npc"
@@ -83,22 +35,6 @@
8335
"soundlevel" "SNDLVL_GUNFIRE"
8436
"pitch" "95,105"
8537
"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-
}
10238
}
10339

10440
// pgun pickup
@@ -108,21 +44,6 @@
10844
"volume" "0.7"
10945
"soundlevel" "SNDLVL_90db"
11046
"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-
}
12647
}
12748

12849
"Portal.PortalgunActivate"
@@ -131,23 +52,6 @@
13152
"volume" "0.9"
13253
"soundlevel" "SNDLVL_90db"
13354
"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-
}
15155
}
15256

15357
"Weapon_Portalgun.HoldSound"
@@ -172,30 +76,6 @@
17276
"wave" "weapons/portalgun/portal_open2.wav"
17377
"wave" "weapons/portalgun/portal_open3.wav"
17478
}
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-
}
19979
}
20080

20181
"Portal.open_blue"
@@ -205,30 +85,6 @@
20585
"soundlevel" "SNDLVL_80db"
20686
"pitch" "95,105"
20787
"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-
}
23288
}
23389

23490
"Portal.close_red"
@@ -275,28 +131,6 @@
275131
"soundlevel" "SNDLVL_90db"
276132
"pitch" "95,105"
277133
"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-
}
300134
}
301135

302136
"PortalPlayer.EnterPortal"
@@ -367,14 +201,6 @@
367201
"wave" "p1_pgun/object_use_stop_01.wav"
368202

369203
"soundentry_version" "2"
370-
371-
"operator_stacks"
372-
{
373-
"update_stack"
374-
{
375-
"import_stack" "p2_update_default"
376-
}
377-
}
378204
}
379205

380206
"PortalPlayer.ObjectUse"
@@ -383,86 +209,6 @@
383209
"soundlevel" "SNDLVL_75dB"
384210
"volume" "0.8"
385211
"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-
}
466212
}
467213

468214

0 commit comments

Comments
 (0)