;---------------------------------------------------------------------------------------- ; Moves a ambient_generic to the correct spot for the audio effect to properly work ;---------------------------------------------------------------------------------------- modify: { match: { "targetname" "sound_blacksmith" "origin" "7216.76 -2139.28 -512" "classname" "ambient_generic" } replace: { "origin" "7144 -2174 -592" } } ;---------------------------------------------------------------------------------------- ; Prevents a zombie infection at a specific teleportation before you enter the factory ;---------------------------------------------------------------------------------------- modify: { match: { "origin" "-10592 4784 -3792" "classname" "trigger_once" } replace: { "origin" "-10512 4568 -3792" } } modify: { match: { "origin" "-10592 4832 -3872" "targetname" "outside_factory_dest" "classname" "info_teleport_destination" } replace: { "origin" "-10512 4568 -3836" } } ;---------------------------------------------------------------------------------------------------------------------------------------------------------------- ; Moves the origin of a trigger_once and a info_teleport_destination at the ending & adjustes the way you are facing when finishing the crystal laser part ;---------------------------------------------------------------------------------------------------------------------------------------------------------------- modify: { match: { "origin" "13920 6592 -2248" "targetname" "ending_boss_tp_dest" "classname" "info_teleport_destination" } replace: { "origin" "13992 6592 -2212" } } modify: { match: { "origin" "13924 6584 -2216" "classname" "trigger_once" } replace: { "origin" "13996 6584 -2216" } } modify: { match: { "targetname" "wizard_break1" "classname" "func_breakable" } insert: { "OnBreak" "ending_boss_tp_dest,AddOutput,angles 180,130,1" } } ;------------------------------------------------------------------------------------------------------------ ; Adds 2 trigger_teleports to prevent people getting stuck on the ice part because of bad displacement ;------------------------------------------------------------------------------------------------------------ add: { "origin" "9112 -13736 -4884" "targetname" "stuck_players_at_ice_dest" "angles" "0 0 0" "classname" "info_teleport_destination" } add: { "model" "*297" "targetname" "fix_stucked_players_at_ice" "target" "stuck_players_at_ice_dest" "StartDisabled" "0" "spawnflags" "1" "origin" "9212.78 -13654.1 -5036.05" "classname" "trigger_teleport" } add: { "model" "*297" "targetname" "fix_stucked_players_at_ice" "target" "stuck_players_at_ice_dest" "StartDisabled" "0" "spawnflags" "1" "origin" "9004.78 -13670.1 -5036.05 " "classname" "trigger_teleport" } ;------------------------------------------------------------------------------------------------------------ ; Moves the 2 trigger_push a bit back to prevent people getting stuck in the water at the ruins part ;------------------------------------------------------------------------------------------------------------ modify: { match: { "origin" "8976 -9472 -5032" "classname" "trigger_push" } replace: { "origin" "8928 -9472 -5032" } } modify: { match: { "origin" "10416 -9472 -5032" "classname" "trigger_push" } replace: { "origin" "10376 -9472 -5032" } } ;------------------------------------------------------------------------------------------------------------ ; Fixes repeat killer on 2 items that can accidently disable it if same zombie dies in quick session ;------------------------------------------------------------------------------------------------------------ modify: { match: { "origin" "-6264 -11304 -732" "targetname" "purple_item_relay2" "classname" "logic_relay" } insert: { "OnTrigger" "console,Command,zr_killrepeator 0,8.5,-1" } } modify: { match: { "targetname" "beefy_relay" "classname" "logic_relay" "origin" "-14672 -1312 -2774.48" } insert: { "OnSpawn" "console,Command,zr_killrepeator 0,13,-1" } } ;---------------------------------------------------- ; Reduces bosshp for the first boss the barbarian ;---------------------------------------------------- modify: { match: { "targetname" "b1arber_boss_counter" "origin" "-2608 7475.39 896" "classname" "trigger_once" } delete: { "OnStartTouch" "booba_boss_math,Add,190,0,-1" "OnStartTouch" "Boss_Health,Add,190,0,-1" "OnStartTouch" "Boss_HealthBackup,Add,190,0,-1" } insert: { "OnStartTouch" "booba_boss_math,Add,130,0,-1" "OnStartTouch" "Boss_Health,Add,130,0,-1" "OnStartTouch" "Boss_HealthBackup,Add,130,0,-1" } } ;------------------------ ; Reduces HP for boat 1 ;------------------------ modify: { match: { "targetname" "boat_adder1" "classname" "trigger_once" "origin" "-5772 -11420 -568" } delete: { "OnStartTouch" "boat1_counter,Add,110,0,-1" "OnStartTouch" "boat2_counter,Add,110,0,-1" } insert: { "OnStartTouch" "boat1_counter,Add,55,0,-1" "OnStartTouch" "boat2_counter,Add,55,0,-1" } } ;------------------------ ; Reduces HP for boat 2 ;------------------------ modify: { match: { "targetname" "boat_adder2" "classname" "trigger_once" "origin" "-5772 -11420 -552" } delete: { "OnStartTouch" "boat4_counter,Add,100,0,-1" "OnStartTouch" "boat3_counter,Add,100,0,-1" } insert: { "OnStartTouch" "boat4_counter,Add,50,0,-1" "OnStartTouch" "boat3_counter,Add,50,0,-1" } } ;------------------------ ; Reduces HP for boat 3 ;------------------------ modify: { match: { "targetname" "boat_adder3" "classname" "trigger_once" "origin" "-5772 -11420 -544" } delete: { "OnStartTouch" "boat6_counter,Add,90,0,-1" "OnStartTouch" "boat5_counter,Add,90,0,-1" } insert: { "OnStartTouch" "boat6_counter,Add,45,0,-1" "OnStartTouch" "boat5_counter,Add,45,0,-1" } } ;---------------------------------- ; Reduces HP on cyclops boss ;---------------------------------- modify: { match: { "targetname" "bike_boss_counter" "classname" "trigger_once" } delete: { "OnStartTouch" "bycycle_boss_math,Add,110,0,-1" "OnStartTouch" "Boss_Health5,Add,110,0,-1" "OnStartTouch" "Boss_HealthBackup5,Add,110,0,-1" } insert: { "OnStartTouch" "bycycle_boss_math,Add,55,0,-1" "OnStartTouch" "Boss_Health5,Add,55,0,-1" "OnStartTouch" "Boss_HealthBackup5,Add,55,0,-1" } } ;---------------------------- ; Reduces HP on medusa boss ;---------------------------- modify: { match: { "targetname" "medusa_boss_counter" "classname" "trigger_once" } delete: { "OnStartTouch" "medusa_boss_math,Add,100,0,-1" "OnStartTouch" "Boss_Health7,Add,100,0,-1" "OnStartTouch" "Boss_HealthBackup7,Add,100,0,-1" } insert: { "OnStartTouch" "medusa_boss_math,Add,50,0,-1" "OnStartTouch" "Boss_Health7,Add,50,0,-1" "OnStartTouch" "Boss_HealthBackup7,Add,50,0,-1" } } ;---------------------------- ; Removes a bad particle ;---------------------------- filter: { "origin" "-13261.2 1800.31 -4612" "targetname" "zombie_heal_ready_particle" } ;-------------------------------------------------------------------------- ; Adds 2 trigger_teleports that prevents players from going out of map ;-------------------------------------------------------------------------- add: { "model" "*279" "targetname" "fix_teleport_outside_map" "target" "fuck_you_keep_item1" "StartDisabled" "0" "spawnflags" "1" "origin" "-3176 2560 40" "classname" "trigger_teleport" } add: { "model" "*279" "targetname" "fix_teleport_outside_map" "target" "fuck_you_keep_item1" "StartDisabled" "0" "spawnflags" "1" "origin" "-3176 3200 40" "classname" "trigger_teleport" } ;------------------------------------------------------------------------------------------ ; Strippers out all ambient_generics and adds 1 back which will control all music in map ;------------------------------------------------------------------------------------------ filter: { "classname" "ambient_generic" } add: { "origin" "-15184 10912 545" "volstart" "0" "targetname" "music_main_ambient_generic" "spinup" "0" "spindown" "0" "spawnflags" "17" "radius" "999999" "preset" "0" "pitchstart" "100" "pitch" "100" "message" "Precache.Sounds" "lfotype" "0" "lforate" "0" "lfomodvol" "0" "lfomodpitch" "0" "health" "10" "fadeoutsecs" "0" "fadeinsecs" "0" "cspinup" "0" "classname" "ambient_generic" } add: { "origin" "-15184 10912 545" "volstart" "0" "targetname" "sound_effect_ambient_generic" "spinup" "0" "spindown" "0" "spawnflags" "17" "radius" "999999" "preset" "0" "pitchstart" "100" "pitch" "100" "message" "Precache.Sounds" "lfotype" "0" "lforate" "0" "lfomodvol" "0" "lfomodpitch" "0" "health" "10" "fadeoutsecs" "0" "fadeinsecs" "0" "cspinup" "0" "classname" "ambient_generic" } add: { "origin" "-6256 -11344 -739" "volstart" "0" "targetname" "purple_item_swing" "spinup" "0" "spindown" "0" "spawnflags" "49" "radius" "1250" "preset" "0" "pitchstart" "100" "pitch" "100" "message" "castlecrashers/cc_blacksmithattack.mp3" "lfotype" "0" "lforate" "0" "lfomodvol" "0" "lfomodpitch" "0" "health" "10" "fadeoutsecs" "0" "fadeinsecs" "0" "cspinup" "0" "classname" "ambient_generic" } ;---------------------------------- ; Adds back in item sounds ;---------------------------------- add: { "origin" "4378 6136 -3071" "volstart" "0" "targetname" "catfish_death_sound" "spinup" "0" "spindown" "0" "spawnflags" "49" "radius" "1250" "preset" "0" "pitchstart" "100" "pitch" "100" "message" "#castlecrashers/cc_catdie.mp3" "lfotype" "0" "lforate" "0" "lfomodvol" "0" "lfomodpitch" "0" "health" "10" "fadeoutsecs" "0" "fadeinsecs" "0" "cspinup" "0" "classname" "ambient_generic" } add: { "origin" "4359.18 6138.56 -3064" "volstart" "0" "targetname" "catfish_attack_sound" "spinup" "0" "spindown" "0" "spawnflags" "49" "radius" "1250" "preset" "0" "pitchstart" "100" "pitch" "100" "message" "#castlecrashers/cc_catattack.mp3" "lfotype" "0" "lforate" "0" "lfomodvol" "0" "lfomodpitch" "0" "health" "10" "fadeoutsecs" "0" "fadeinsecs" "0" "cspinup" "0" "classname" "ambient_generic" } add: { "origin" "-14888 10864 545" "volstart" "0" "targetname" "cyc_death" "spinup" "0" "spindown" "0" "spawnflags" "49" "radius" "1250" "preset" "0" "pitchstart" "100" "pitch" "100" "message" "#castlecrashers/cc_cyclopsdie.mp3" "lfotype" "0" "lforate" "0" "lfomodvol" "0" "lfomodpitch" "0" "health" "10" "fadeoutsecs" "0" "fadeinsecs" "0" "cspinup" "0" "classname" "ambient_generic" } add: { "origin" "-14872 10864 545" "volstart" "0" "targetname" "cyc_scream" "spinup" "0" "spindown" "0" "spawnflags" "49" "radius" "1250" "preset" "0" "pitchstart" "100" "pitch" "100" "message" "#castlecrashers/cc_cyclopsscream.mp3" "lfotype" "0" "lforate" "0" "lfomodvol" "0" "lfomodpitch" "0" "health" "10" "fadeoutsecs" "0" "fadeinsecs" "0" "cspinup" "0" "classname" "ambient_generic" } add: { "origin" "-14952 10864 545" "volstart" "0" "targetname" "dragon_sound" "spinup" "0" "spindown" "0" "spawnflags" "49" "radius" "1250" "preset" "0" "pitchstart" "100" "pitch" "100" "message" "#castlecrashers/cc_dragonsound.mp3" "lfotype" "0" "lforate" "0" "lfomodvol" "0" "lfomodpitch" "0" "health" "10" "fadeoutsecs" "0" "fadeinsecs" "0" "cspinup" "0" "classname" "ambient_generic" } add: { "origin" "-14904 10864 545" "volstart" "0" "targetname" "nec_spell" "spinup" "0" "spindown" "0" "spawnflags" "49" "radius" "1250" "preset" "0" "pitchstart" "100" "pitch" "100" "message" "#castlecrashers/cc_necrospell.mp3" "lfotype" "0" "lforate" "0" "lfomodvol" "0" "lfomodpitch" "0" "health" "10" "fadeoutsecs" "0" "fadeinsecs" "0" "cspinup" "0" "classname" "ambient_generic" } add: { "origin" "-3778.51 -14674.2 9087" "volstart" "0" "targetname" "bat_sound_die" "spinup" "0" "spindown" "0" "spawnflags" "49" "radius" "1250" "preset" "0" "pitchstart" "100" "pitch" "100" "message" "#ze diablo/diablo_spider_noise.mp3" "lfotype" "0" "lforate" "0" "lfomodvol" "0" "lfomodpitch" "0" "health" "10" "fadeoutsecs" "0" "fadeinsecs" "0" "cspinup" "0" "classname" "ambient_generic" } add: { "origin" "-3772 -14696 9080" "volstart" "0" "targetname" "bat_sound" "spinup" "0" "spindown" "0" "spawnflags" "49" "radius" "1250" "preset" "0" "pitchstart" "100" "pitch" "100" "message" "#luff_cv/batstorm.mp3" "lfotype" "0" "lforate" "0" "lfomodvol" "0" "lfomodpitch" "0" "health" "10" "fadeoutsecs" "0" "fadeinsecs" "0" "cspinup" "0" "classname" "ambient_generic" } add: { "origin" "4413.16 -9424.96 8032.5" "volstart" "0" "targetname" "bearguy_item_sound" "spinup" "0" "spindown" "0" "spawnflags" "49" "radius" "1250" "preset" "0" "pitchstart" "100" "pitch" "100" "message" "#castlecrashers/cc_windsound.mp3" "lfotype" "0" "lforate" "0" "lfomodvol" "0" "lfomodpitch" "0" "health" "10" "fadeoutsecs" "0" "fadeinsecs" "0" "cspinup" "0" "classname" "ambient_generic" } add: { "origin" "-6264 -11328 -739" "volstart" "0" "targetname" "purple_item_sound_nuke" "spinup" "0" "spindown" "0" "spawnflags" "49" "radius" "1250" "preset" "0" "pitchstart" "100" "pitch" "100" "message" "#castlecrashers/cc_nuke.mp3" "lfotype" "0" "lforate" "0" "lfomodvol" "0" "lfomodpitch" "0" "health" "10" "fadeoutsecs" "0" "fadeinsecs" "0" "cspinup" "0" "classname" "ambient_generic" } add: { "origin" "-14992 10864 544.523" "volstart" "0" "targetname" "ninja_sound" "spinup" "0" "spindown" "0" "spawnflags" "49" "radius" "1250" "preset" "0" "pitchstart" "100" "pitch" "100" "message" "#castlecrashers/cc_ninja_sound.mp3" "lfotype" "0" "lforate" "0" "lfomodvol" "0" "lfomodpitch" "0" "health" "10" "fadeoutsecs" "0" "fadeinsecs" "0" "cspinup" "0" "classname" "ambient_generic" } ;---------------------------------- ; Adds back in main sound effects ;---------------------------------- add: { "origin" "15090 8212 -5407" "volstart" "0" "targetname" "laser_sound" "spinup" "0" "spindown" "0" "spawnflags" "49" "radius" "1250" "preset" "0" "pitchstart" "100" "pitch" "100" "message" "#hobgoblin/custom_laser.mp3" "lfotype" "0" "lforate" "0" "lfomodvol" "0" "lfomodpitch" "0" "health" "10" "fadeoutsecs" "0" "fadeinsecs" "0" "cspinup" "0" "classname" "ambient_generic" } add: { "origin" "7216.76 -2139.28 -512" "volstart" "0" "targetname" "sound_blacksmith" "spinup" "0" "spindown" "0" "spawnflags" "48" "radius" "3600" "preset" "0" "pitchstart" "100" "pitch" "100" "message" "#castlecrashers/sound_blacksmith.wav" "lfotype" "0" "lforate" "0" "lfomodvol" "0" "lfomodpitch" "0" "health" "10" "fadeoutsecs" "0" "fadeinsecs" "0" "cspinup" "0" "classname" "ambient_generic" } add: { "origin" "-15056 10880 544.523" "volstart" "0" "targetname" "wizard_sound" "spinup" "0" "spindown" "0" "spawnflags" "49" "radius" "1250" "preset" "0" "pitchstart" "100" "pitch" "100" "message" "#castlecrashers/cc_wizardscream.mp3" "lfotype" "0" "lforate" "0" "lfomodvol" "0" "lfomodpitch" "0" "health" "10" "fadeoutsecs" "0" "fadeinsecs" "0" "cspinup" "0" "classname" "ambient_generic" } add: { "origin" "-14934 10478 545" "volstart" "0" "targetname" "level_up_sound" "spinup" "0" "spindown" "0" "spawnflags" "49" "radius" "1250" "preset" "0" "pitchstart" "100" "pitch" "100" "message" "#castlecrashers/sound_levelup.wav" "lfotype" "0" "lforate" "0" "lfomodvol" "0" "lfomodpitch" "0" "health" "10" "fadeoutsecs" "0" "fadeinsecs" "0" "cspinup" "0" "classname" "ambient_generic" } ;---------------------------------- ; Changes some item sound effects ;---------------------------------- add: { "origin" "3424 2584 289" "targetname" "sound_effect_logic_case" "classname" "logic_case" "Case01" "1" "Case02" "2" "Case03" "3" "Case04" "4" "Case05" "5" "Case06" "6" "Case07" "7" "Case08" "8" "Case09" "9" "Case10" "10" "Case11" "11" "Case12" "12" "Case13" "13" "Case14" "14" "Case15" "15" "Case16" "16" "OnCase01" "sound_effect_ambient_generic,StopSound,,0,-1" "OnCase01" "sound_effect_ambient_generic,AddOutput,message #castlecrashers/sound_area_poison.wav,0.1,-1" "OnCase01" "sound_effect_ambient_generic,PlaySound,,0.2,-1" "OnCase02" "sound_effect_ambient_generic,StopSound,,0,-1" "OnCase02" "sound_effect_ambient_generic,AddOutput,message #castlecrashers/sound_area_fire.wav,0.1,-1" "OnCase02" "sound_effect_ambient_generic,PlaySound,,0.2,-1" "OnCase03" "sound_effect_ambient_generic,StopSound,,0,-1" "OnCase03" "sound_effect_ambient_generic,AddOutput,message #castlecrashers/sound_area_ice.wav,0.1,-1" "OnCase03" "sound_effect_ambient_generic,PlaySound,,0.2,-1" "OnCase04" "sound_effect_ambient_generic,StopSound,,0,-1" "OnCase04" "sound_effect_ambient_generic,AddOutput,message #castlecrashers/sound_area_lightning.wav,0.1,-1" "OnCase04" "sound_effect_ambient_generic,PlaySound,,0.2,-1" "OnCase05" "sound_effect_ambient_generic,StopSound,,0,-1" "OnCase05" "sound_effect_ambient_generic,AddOutput,message #castlecrashers/cc_necrozap.mp3,0.1,-1" "OnCase05" "sound_effect_ambient_generic,PlaySound,,0.2,-1" "OnCase06" "sound_effect_ambient_generic,StopSound,,0,-1" "OnCase06" "sound_effect_ambient_generic,AddOutput,message #castlecrashers/cc_arrowshoot.mp3,0.1,-1" "OnCase06" "sound_effect_ambient_generic,PlaySound,,0.2,-1" "OnCase07" "sound_effect_ambient_generic,StopSound,,0,-1" "OnCase07" "sound_effect_ambient_generic,AddOutput,message #ze_terraria/skull_spawn_effect.wav,0.1,-1" "OnCase07" "sound_effect_ambient_generic,PlaySound,,0.2,-1" "OnCase08" "sound_effect_ambient_generic,StopSound,,0,-1" "OnCase08" "sound_effect_ambient_generic,AddOutput,message #castlecrashers/cc_guyz.mp3,0.1,-1" "OnCase08" "sound_effect_ambient_generic,PlaySound,,0.2,-1" "OnCase09" "sound_effect_ambient_generic,StopSound,,0,-1" "OnCase09" "sound_effect_ambient_generic,AddOutput,message #castlecrashers/cc_painteraudio.mp3,0.1,-1" "OnCase09" "sound_effect_ambient_generic,PlaySound,,0.2,-1" "OnCase10" "sound_effect_ambient_generic,StopSound,,0,-1" "OnCase10" "sound_effect_ambient_generic,AddOutput,message #castlecrashers/cc_beefy.mp3,0.1,-1" "OnCase10" "sound_effect_ambient_generic,PlaySound,,0.2,-1" "OnCase11" "sound_effect_ambient_generic,StopSound,,0,-1" "OnCase11" "sound_effect_ambient_generic,AddOutput,message #castlecrashers/cc_horn.mp3,0.1,-1" "OnCase11" "sound_effect_ambient_generic,PlaySound,,0.2,-1" "OnCase12" "sound_effect_ambient_generic,StopSound,,0,-1" "OnCase12" "sound_effect_ambient_generic,AddOutput,message #castlecrashers/cc_pickup.mp3,0.1,-1" "OnCase12" "sound_effect_ambient_generic,PlaySound,,0.2,-1" "OnCase13" "sound_effect_ambient_generic,StopSound,,0,-1" "OnCase13" "sound_effect_ambient_generic,AddOutput,message #castlecrashers/cc_pick.mp3,0.1,-1" "OnCase13" "sound_effect_ambient_generic,PlaySound,,0.2,-1" "OnCase14" "sound_effect_ambient_generic,StopSound,,0,-1" "OnCase14" "sound_effect_ambient_generic,AddOutput,message #castlecrashers/cc_nuke2.mp3,0.1,-1" "OnCase14" "sound_effect_ambient_generic,PlaySound,,0.2,-1" "OnCase15" "sound_effect_ambient_generic,StopSound,,0,-1" "OnCase15" "sound_effect_ambient_generic,AddOutput,message #ambient/explosions/explode_2.wav,0.1,-1" "OnCase15" "sound_effect_ambient_generic,PlaySound,,0.2,-1" "OnCase16" "sound_effect_ambient_generic,StopSound,,0,-1" "OnCase16" "sound_effect_ambient_generic,AddOutput,message #harrypotterze/weather/xthunder6.mp3,0.1,-1" "OnCase16" "sound_effect_ambient_generic,PlaySound,,0.2,-1" } modify: { match: { "origin" "-8180 -3740 -1847.21" "targetname" "slimeball_relay" "classname" "logic_relay" } delete: { "OnSpawn" "green_item_sound,PlaySound,,0,-1" } insert: { "OnSpawn" "sound_effect_logic_case,InValue,1,0,-1" } } modify: { match: { "origin" "3418.66 -1790.86 -655" "targetname" "green_item_relay" "classname" "logic_relay" } delete: { "OnTrigger" "green_item_sound,PlaySound,,0,-1" } insert: { "OnTrigger" "sound_effect_logic_case,InValue,1,0,-1" } } modify: { match: { "origin" "-2861.34 2966.33 232" "targetname" "banditguy_item_relay" "classname" "logic_relay" } delete: { "OnTrigger" "banditguy_item_sound,PlaySound,,0,-1" } insert: { "OnTrigger" "sound_effect_logic_case,InValue,1,0,-1" } } modify: { match: { "origin" "-2653.65 13313.4 79.8998" "targetname" "barbguy_item_relay" "classname" "logic_relay" } delete: { "OnTrigger" "barbguy_item_sound,PlaySound,,0,-1" } insert: { "OnTrigger" "sound_effect_logic_case,InValue,1,0,-1" } } modify: { match: { "origin" "-12253.3 6465.14 6120" "targetname" "fireman_item_relay" "classname" "logic_relay" } delete: { "OnTrigger" "fireman_item_sound,PlaySound,,0,-1" } insert: { "OnTrigger" "sound_effect_logic_case,InValue,2,0,-1" } } modify: { match: { "origin" "3594.66 -1966.86 -655" "targetname" "orange_item_relay" "classname" "logic_relay" } delete: { "OnTrigger" "orange_item_sound,PlaySound,,0,-1" } insert: { "OnTrigger" "sound_effect_logic_case,InValue,2,0,-1" } } modify: { match: { "targetname" "ice_mover_timer2" "classname" "logic_timer" "origin" "13736.7 -14690.6 -5112" } delete: { "OnTimer" "blue_item_sound,PlaySound,,0,-1" } insert: { "OnTimer" "sound_effect_logic_case,InValue,3,0,-1" } } modify: { match: { "targetname" "ice_mover_timer" "origin" "13200 -14584 -5119" "classname" "logic_timer" } delete: { "OnTimer" "blue_item_sound,PlaySound,,0,-1" } insert: { "OnTimer" "sound_effect_logic_case,InValue,3,0,-1" } } modify: { match: { "origin" "3418.66 -1974.86 -655" "targetname" "blue_item_relay" "classname" "logic_relay" } delete: { "OnTrigger" "blue_item_sound,PlaySound,,0,-1" } insert: { "OnTrigger" "sound_effect_logic_case,InValue,3,0,-1" } } modify: { match: { "origin" "3594.66 -1779.97 -655" "targetname" "red_item_relay" "classname" "logic_relay" } delete: { "OnTrigger" "red_item_sound,PlaySound,,0,-1" } insert: { "OnTrigger" "sound_effect_logic_case,InValue,4,0,-1" } } modify: { match: { "origin" "6591.66 13851.5 8040" "targetname" "skeleman_item_relay" "classname" "logic_relay" } delete: { "OnTrigger" "skeleman_item_sound,PlaySound,,0,-1" } insert: { "OnTrigger" "sound_effect_logic_case,InValue,5,0,-1" } } modify: { match: { "origin" "6336 11632 9556" "targetname" "necro_move1" "classname" "func_movelinear" } delete: { "OnFullyOpen" "nec_zap,PlaySound,,2.5,1" "OnFullyOpen" "nec_zap,PlaySound,,3,1" "OnFullyOpen" "nec_zap,PlaySound,,3.5,1" "OnFullyOpen" "nec_zap,PlaySound,,4,1" } insert: { "OnFullyOpen" "sound_effect_ambient_generic,StopSound,,2.3,1" "OnFullyOpen" "sound_effect_ambient_generic,AddOutput,message #castlecrashers/cc_necrozap.mp3,2.4,1" "OnFullyOpen" "sound_effect_ambient_generic,PlaySound,,2.5,1" "OnFullyOpen" "sound_effect_ambient_generic,StopSound,,2.9,1" "OnFullyOpen" "sound_effect_ambient_generic,AddOutput,message #castlecrashers/cc_necrozap.mp3,3,1" "OnFullyOpen" "sound_effect_ambient_generic,PlaySound,,3.1,1" "OnFullyOpen" "sound_effect_ambient_generic,StopSound,,3.3,1" "OnFullyOpen" "sound_effect_ambient_generic,AddOutput,message #castlecrashers/cc_necrozap.mp3,3.4,1" "OnFullyOpen" "sound_effect_ambient_generic,PlaySound,,3.5,1" "OnFullyOpen" "sound_effect_ambient_generic,StopSound,,3.8,1" "OnFullyOpen" "sound_effect_ambient_generic,AddOutput,message #castlecrashers/cc_necrozap.mp3,3.9,1" "OnFullyOpen" "sound_effect_ambient_generic,PlaySound,,4,1" } } modify: { match: { "origin" "-14566.2 1572.91 -4900" "targetname" "Item_bow_filter" "classname" "filter_activator_name" } delete: { "OnPass" "bow_sound_effect,PlaySound,,0,-1" } insert: { "OnPass" "sound_effect_logic_case,InValue,6,0,-1" } } modify: { match: { "origin" "-14520.1 1998.93 -4984" "targetname" "Item_guardian_filter" "classname" "filter_activator_name" } delete: { "OnPass" "guardian_sound_effect,PlaySound,,0,-1" } insert: { "OnPass" "sound_effect_logic_case,InValue,7,0,-1" } } modify: { match: { "classname" "logic_relay" "origin" "-13899.9 1184.45 -4972.56" "targetname" "item_guyz_relay_use" } delete: { "OnTrigger" "guyz_sound,PlaySound,,0.01,-1" } insert: { "OnTrigger" "sound_effect_logic_case,InValue,8,0,-1" } } modify: { match: { "origin" "-14672 -1312 -2774.48" "targetname" "beefy_relay" "classname" "logic_relay" } delete: { "OnSpawn" "beefy_sound,PlaySound,,0,-1" } insert: { "OnSpawn" "sound_effect_logic_case,InValue,10,0,-1" } } modify: { match: { "origin" "-14672 -1312 -2774.48" "targetname" "beefy_relay" "classname" "logic_relay" } delete: { "OnSpawn" "beefy_sound,PlaySound,,0,-1" } insert: { "OnSpawn" "sound_effect_logic_case,InValue,10,0,-1" } } modify: { match: { "origin" "-14672 -1312 -2774.48" "targetname" "beefy_relay" "classname" "logic_relay" } delete: { "OnSpawn" "beefy_sound,PlaySound,,0,-1" } insert: { "OnSpawn" "sound_effect_logic_case,InValue,10,0,-1" } } modify: { match: { "targetname" "horn_button" "classname" "func_button" "origin" "8257.93 -9461.13 -5080" } delete: { "OnPressed" "horn_sound,PlaySound,,0,1" } insert: { "OnPressed" "sound_effect_logic_case,InValue,11,0,1" } } modify: { match: { "origin" "3570.42 -1772.62 -594.101" "targetname" "red_knife" "classname" "weapon_knife" } delete: { "OnPlayerPickup" "pick_sound,PlaySound,,0,1" } insert: { "OnPlayerPickup" "sound_effect_logic_case,InValue,13,0,1" } } modify: { match: { "origin" "3570.42 -1959.51 -594.101" "targetname" "orange_knife" "classname" "weapon_knife" } delete: { "OnPlayerPickup" "pick_sound,PlaySound,,0,1" } insert: { "OnPlayerPickup" "sound_effect_logic_case,InValue,13,0,1" } } modify: { match: { "origin" "6567.42 13858.8 8100.9" "targetname" "skeleman_knife" "classname" "weapon_knife" } delete: { "OnPlayerPickup" "pick_sound,PlaySound,,0,1" } insert: { "OnPlayerPickup" "sound_effect_logic_case,InValue,13,0,1" } } modify: { match: { "origin" "3394.42 -1967.51 -594.101" "targetname" "blue_knife" "classname" "weapon_knife" } delete: { "OnPlayerPickup" "pick_sound,PlaySound,,0,1" } insert: { "OnPlayerPickup" "sound_effect_logic_case,InValue,13,0,1" } } modify: { match: { "origin" "4387.58 -9397.58 8100.4" "targetname" "bearguy_knife" "classname" "weapon_knife" } delete: { "OnPlayerPickup" "pick_sound,PlaySound,,0,1" } insert: { "OnPlayerPickup" "sound_effect_logic_case,InValue,13,0,1" } } modify: { match: { "origin" "-12277.6 6472.49 6180.9" "targetname" "fireman_knife" "classname" "weapon_knife" } delete: { "OnPlayerPickup" "pick_sound,PlaySound,,0,1" } insert: { "OnPlayerPickup" "sound_effect_logic_case,InValue,13,0,1" } } modify: { match: { "origin" "3394.42 -1783.51 -594.101" "targetname" "green_knife" "classname" "weapon_knife" } delete: { "OnPlayerPickup" "pick_sound,PlaySound,,0,1" } insert: { "OnPlayerPickup" "sound_effect_logic_case,InValue,13,0,1" } } modify: { match: { "origin" "-2885.58 2973.68 292.899" "targetname" "banditguy_knife" "classname" "weapon_knife" } delete: { "OnPlayerPickup" "pick_sound,PlaySound,,0,1" } insert: { "OnPlayerPickup" "sound_effect_logic_case,InValue,13,0,1" } } modify: { match: { "origin" "-2677.89 13320.7 140.799" "targetname" "barbguy_knife" "classname" "weapon_knife" } delete: { "OnPlayerPickup" "pick_sound,PlaySound,,0,1" } insert: { "OnPlayerPickup" "sound_effect_logic_case,InValue,13,0,1" } } modify: { match: { "targetname" "wizard_break1" "origin" "14216 6600 -2244" "classname" "func_breakable" } delete: { "OnBreak" "nuke_gg_sound,PlaySound,,219,1" "OnBreak" "sound_explosion,PlaySound,,4,1" "OnBreak" "sound_explosion,PlaySound,,23,1" "OnBreak" "sound_explosion,PlaySound,,27,1" "OnBreak" "sound_explosion,PlaySound,,33,1" "OnBreak" "sound_explosion,PlaySound,,46,1" } insert: { "OnBreak" "sound_effect_ambient_generic,StopSound,,3.8,1" "OnBreak" "sound_effect_ambient_generic,AddOutput,message #ambient/explosions/explode_2.wav,3.9,1" "OnBreak" "sound_effect_ambient_generic,PlaySound,,4,1" "OnBreak" "sound_effect_ambient_generic,StopSound,,22.8,1" "OnBreak" "sound_effect_ambient_generic,AddOutput,message #ambient/explosions/explode_2.wav,22.9,1" "OnBreak" "sound_effect_ambient_generic,PlaySound,,23,1" "OnBreak" "sound_effect_ambient_generic,StopSound,,26.8,1" "OnBreak" "sound_effect_ambient_generic,AddOutput,message #ambient/explosions/explode_2.wav,26.9,1" "OnBreak" "sound_effect_ambient_generic,PlaySound,,27,1" "OnBreak" "sound_effect_ambient_generic,StopSound,,32.8,1" "OnBreak" "sound_effect_ambient_generic,AddOutput,message #ambient/explosions/explode_2.wav,32.9,1" "OnBreak" "sound_effect_ambient_generic,PlaySound,,33,1" "OnBreak" "sound_effect_ambient_generic,StopSound,,45.8,1" "OnBreak" "sound_effect_ambient_generic,AddOutput,message #ambient/explosions/explode_2.wav,45.9,1" "OnBreak" "sound_effect_ambient_generic,PlaySound,,46,1" "OnBreak" "sound_effect_ambient_generic,StopSound,,218.8,1" "OnBreak" "sound_effect_ambient_generic,AddOutput,message #castlecrashers/cc_nuke2.mp3,218.9,1" "OnBreak" "sound_effect_ambient_generic,PlaySound,,219,1" } } modify: { match: { "origin" "-14000 -13664 -6816" "targetname" "alien_mover_track3" "classname" "path_track" } delete: { "OnPass" "sound_explosion,PlaySound,,0,1" "OnPass" "sound_explosion,PlaySound,,42,1" } insert: { "OnPass" "sound_effect_ambient_generic,StopSound,,0,1" "OnPass" "sound_effect_ambient_generic,AddOutput,message #ambient/explosions/explode_2.wav,0.1,1" "OnPass" "sound_effect_ambient_generic,PlaySound,,0.2,1" "OnPass" "sound_effect_ambient_generic,StopSound,,41.9,1" "OnPass" "sound_effect_ambient_generic,AddOutput,message #ambient/explosions/explode_2.wav,42,1" "OnPass" "sound_effect_ambient_generic,PlaySound,,42.1,1" } } modify: { match: { "origin" "15296 -8320 -2415" "targetname" "purpcrysmath1" "classname" "math_counter" } delete: { "OnHitMin" "sound_explosion,PlaySound,,0,1" } insert: { "OnHitMin" "sound_effect_ambient_generic,StopSound,,0,1" "OnHitMin" "sound_effect_ambient_generic,AddOutput,message #ambient/explosions/explode_2.wav,0.1,1" "OnHitMin" "sound_effect_ambient_generic,PlaySound,,0.2,1" } } modify: { match: { "origin" "15268.4 -7125.17 -2408" "targetname" "purpcrysmath2" "classname" "math_counter" } delete: { "OnHitMin" "sound_explosion,PlaySound,,0,1" } insert: { "OnHitMin" "sound_effect_ambient_generic,StopSound,,0,1" "OnHitMin" "sound_effect_ambient_generic,AddOutput,message #ambient/explosions/explode_2.wav,0.1,1" "OnHitMin" "sound_effect_ambient_generic,PlaySound,,0.2,1" } } modify: { match: { "origin" "15290 -5962.36 -2408" "targetname" "purpcrysmath3" "classname" "math_counter" } delete: { "OnHitMin" "sound_explosion,PlaySound,,0,1" } insert: { "OnHitMin" "sound_effect_ambient_generic,StopSound,,0,1" "OnHitMin" "sound_effect_ambient_generic,AddOutput,message #ambient/explosions/explode_2.wav,0.1,1" "OnHitMin" "sound_effect_ambient_generic,PlaySound,,0.2,1" } } modify: { match: { "targetname" "barn_door" "classname" "func_movelinear" "origin" "3224 2624 512" } delete: { "OnFullyOpen" "sound_explosion,PlaySound,,9,1" } insert: { "OnFullyOpen" "sound_effect_ambient_generic,StopSound,,8.8,1" "OnFullyOpen" "sound_effect_ambient_generic,AddOutput,message #ambient/explosions/explode_2.wav,8.9,1" "OnFullyOpen" "sound_effect_ambient_generic,PlaySound,,9,1" } } modify: { match: { "origin" "-8012 -3548 -1919" "targetname" "finger_counter" "classname" "math_counter" } delete: { "OnHitMax" "sound_explosion,PlaySound,,0,1" } insert: { "OnHitMax" "sound_effect_ambient_generic,StopSound,,0,1" "OnHitMax" "sound_effect_ambient_generic,AddOutput,message #ambient/explosions/explode_2.wav,0.1,1" "OnHitMax" "sound_effect_ambient_generic,PlaySound,,0.2,1" } } modify: { match: { "targetname" "factory_boss_door" "classname" "func_movelinear" "origin" "-8160 -2384 -1472" } delete: { "OnFullyOpen" "sound_explosion,PlaySound,,2,1" } insert: { "OnFullyOpen" "sound_effect_ambient_generic,StopSound,,1.8,1" "OnFullyOpen" "sound_effect_ambient_generic,AddOutput,message #ambient/explosions/explode_2.wav,1.9,1" "OnFullyOpen" "sound_effect_ambient_generic,PlaySound,,2,1" } } modify: { match: { "origin" "3588 -8744 8960" "classname" "trigger_once" } delete: { "OnStartTouch" "thunder_sound,PlaySound,,0,1" } insert: { "OnStartTouch" "sound_effect_logic_case,InValue,16,0,1" } } modify: { match: { "origin" "15168 -8848 -2368" "classname" "trigger_once" } delete: { "OnStartTouch" "paint_sound,PlaySound,,0,1" } insert: { "OnStartTouch" "sound_effect_logic_case,InValue,9,0,1" } } modify: { match: { "origin" "15296 -8320 -2415" "targetname" "purpcrysmath1" "classname" "math_counter" } delete: { "OnStartTouch" "paint_sound,PlaySound,,0,1" } insert: { "OnStartTouch" "sound_effect_logic_case,InValue,9,0,1" } } ;---------------------------------------------------------- ; Changes main music for all different parts in the map ;---------------------------------------------------------- modify: { match: { "targetname" "warmup_relay" "classname" "logic_relay" } delete: { "OnTrigger" "warmup_song,PlaySound,,1,-1" } insert: { "OnTrigger" "music_main_ambient_generic,StopSound,,0,1" "OnTrigger" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_warmup.mp3,0.1,1" "OnTrigger" "music_main_ambient_generic,PlaySound,,2,-1" } } modify: { match: { "targetname" "start_trigger" "classname" "trigger_once" } delete: { "OnStartTouch" "music_spawn,PlaySound,,0,1" "OnStartTouch" "sound_blacksmith,PlaySound,,0,1" "OnStartTouch" "pickup_sound,PlaySound,,10,1" } insert: { "OnStartTouch" "music_main_ambient_generic,StopSound,,0,1" "OnStartTouch" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_spawn.mp3,0.1,1" "OnStartTouch" "music_main_ambient_generic,PlaySound,,0.2,1" "OnStartTouch" "blacksmith_sound_timer,Disable,,45,1" "OnStartTouch" "sound_effect_ambient_generic,StopSound,,9.8,1" "OnStartTouch" "sound_effect_ambient_generic,AddOutput,message #castlecrashers/cc_pickup.mp3,9.9,1" "OnStartTouch" "sound_effect_ambient_generic,PlaySound,,10,1" } } modify: { match: { "targetname" "test_trigger" "classname" "trigger_once" } delete: { "OnStartTouch" "barracks_song,PlaySound,,0,1" } insert: { "OnStartTouch" "music_main_ambient_generic,StopSound,,0,1" "OnStartTouch" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_barracks.mp3,0.1,1" "OnStartTouch" "music_main_ambient_generic,PlaySound,,0.2,1" } } modify: { match: { "classname" "trigger_once" "origin" "-11458 12908 617" } delete: { "OnStartTouch" "mudholes_song,PlaySound,,0,1" "OnStartTouch" "barracks_song,Volume,0,0,1" } insert: { "OnStartTouch" "music_main_ambient_generic,StopSound,,0,1" "OnStartTouch" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_mudholes.mp3,0.1,1" "OnStartTouch" "music_main_ambient_generic,PlaySound,,0.2,1" } } modify: { match: { "classname" "trigger_once" "origin" "-3016 12656 428" } delete: { "OnStartTouch" "mudholes_song,Volume,0,0,1" "OnStartTouch" "warmachine_song,PlaySound,,0,1" } insert: { "OnStartTouch" "music_main_ambient_generic,StopSound,,0,1" "OnStartTouch" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_warmachine.mp3,0.1,1" "OnStartTouch" "music_main_ambient_generic,PlaySound,,0.2,1" } } modify: { match: { "targetname" "door_boss1" "classname" "func_door" "origin" "-2560 8336 392" } delete: { "OnFullyOpen" "warmachine_song,Volume,0,0,1" "OnFullyOpen" "barbarianboss_song,PlaySound,,0,1" } insert: { "OnFullyOpen" "music_main_ambient_generic,StopSound,,0,1" "OnFullyOpen" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_barbarianboss.mp3,0.1,1" "OnFullyOpen" "music_main_ambient_generic,PlaySound,,0.2,1" } } modify: { match: { "targetname" "Barb_Boss_Break" "classname" "func_physbox_multiplayer" "origin" "-2616 7394 421.14" } delete: { "OnBreak" "victory_song,PlaySound,,1,1" "OnBreak" "jumper_song,PlaySound,,12,1" "OnBreak" "barbarianboss_song,Volume,0,0,1" } insert: { "OnBreak" "music_main_ambient_generic,StopSound,,0,1" "OnBreak" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_victory.mp3,0.1,1" "OnBreak" "music_main_ambient_generic,PlaySound,,0.2,1" "OnBreak" "music_main_ambient_generic,StopSound,,12,1" "OnBreak" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_jumper.mp3,12.1,1" "OnBreak" "music_main_ambient_generic,PlaySound,,12.2,1" } } modify: { match: { "targetname" "barn_door" "classname" "func_movelinear" "origin" "3224 2624 512" } delete: { "OnFullyOpen" "jumper_song,Volume,0,4,1" "OnFullyOpen" "music_barn,PlaySound,,4,1" } insert: { "OnFullyOpen" "music_main_ambient_generic,StopSound,,4,1" "OnFullyOpen" "music_main_ambient_generic,AddOutput,message #castlecrashers/barn1.mp3,4.1,1" "OnFullyOpen" "music_main_ambient_generic,PlaySound,,4.2,1" } } modify: { match: { "classname" "trigger_teleport" "origin" "15636 2624 136" } delete: { "OnStartTouch" "music_barn,Volume,0,0,1" } } modify: { match: { "classname" "trigger_once" "origin" "3288 6176 -2804" } delete: { "OnStartTouch" "music_barn,Volume,0,0,1" "OnStartTouch" "bosscat_song,PlaySound,,0,1" } insert: { "OnStartTouch" "music_main_ambient_generic,StopSound,,0,1" "OnStartTouch" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_ship.mp3,0.1,1" "OnStartTouch" "music_main_ambient_generic,PlaySound,,0.2,1" } } modify: { match: { "targetname" "Catfish_Boss_Break" "classname" "func_physbox_multiplayer" "origin" "4770.57 6160 -2638" } delete: { "OnBreak" "victory_song,PlaySound,,1,1" } insert: { "OnBreak" "music_main_ambient_generic,StopSound,,0.8,1" "OnBreak" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_victory.mp3,0.9,1" "OnBreak" "music_main_ambient_generic,PlaySound,,1,1" } } modify: { match: { "origin" "3588 -8744 8960" "classname" "trigger_once" } insert: { "OnStartTouch" "music_main_ambient_generic,StopSound,,0,1" "OnStartTouch" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_bear.mp3,0.1,1" "OnStartTouch" "music_main_ambient_generic,PlaySound,,0.2,1" } } modify: { match: { "origin" "1056 -14082.8 8960" "classname" "trigger_once" } delete: { "OnStartTouch" "bear_song,Volume,0,0,1" "OnStartTouch" "cave_song,PlaySound,,0,1" } insert: { "OnStartTouch" "music_main_ambient_generic,StopSound,,0,1" "OnStartTouch" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_cave.mp3,0.1,1" "OnStartTouch" "music_main_ambient_generic,PlaySound,,0.2,1" } } modify: { match: { "targetname" "finish_bat_tp" "origin" "-4464 -14144 9504" "classname" "trigger_teleport" } delete: { "OnStartTouch" "cave_song,Volume,0,0,1" "OnStartTouch" "afterbat_song,PlaySound,,0,1" } insert: { "OnStartTouch" "music_main_ambient_generic,StopSound,,0,1" "OnStartTouch" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_afterbat.mp3,0.1,1" "OnStartTouch" "music_main_ambient_generic,PlaySound,,0.2,1" } } modify: { match: { "targetname" "cone_track3" "classname" "path_track" "origin" "-13488 -10880 7992" } delete: { "OnPass" "afterbat_song,Volume,0,30,1" "OnPass" "1cone_song,PlaySound,,30,1" } insert: { "OnPass" "music_main_ambient_generic,StopSound,,30,1" "OnPass" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_cone2.mp3,30.1,1" "OnPass" "music_main_ambient_generic,PlaySound,,30.2,1" } } modify: { match: { "targetname" "Cone_Boss_Break" "classname" "func_physbox_multiplayer" } delete: { "OnBreak" "1cone_song,Volume,0,2,1" "OnBreak" "piano_song,PlaySound,,2,1" "OnBreak" "piano_song,Volume,0,34,1" "OnBreak" "bear_song,PlaySound,,34,1" } insert: { "OnBreak" "music_main_ambient_generic,StopSound,,1,1" "OnBreak" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_piano2.mp3,1.2,1" "OnBreak" "music_main_ambient_generic,PlaySound,,1.3,1" "OnBreak" "music_main_ambient_generic,StopSound,,34,1" "OnBreak" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_bear.mp3,34.1,1" "OnBreak" "music_main_ambient_generic,PlaySound,,34.2,1" } } modify: { match: { "targetname" "car_schizo_breakable" "classname" "func_breakable" "origin" "-12592 -3632 6428.5" } delete: { "OnBreak" "bear_song,Volume,0,3,1" "OnBreak" "volcano_song,PlaySound,,3,1" } insert: { "OnBreak" "music_main_ambient_generic,StopSound,,3,1" "OnBreak" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_volcano.mp3,3.1,1" "OnBreak" "music_main_ambient_generic,PlaySound,,3.2,1" } } modify: { match: { "targetname" "Cyclops_Boss_Break" "origin" "-24 8534.37 7058.5" "classname" "func_physbox_multiplayer" } delete: { "OnBreak" "volcano_song,PlaySound,,11,1" "OnBreak" "victory_song,PlaySound,,1,1" } insert: { "OnBreak" "music_main_ambient_generic,StopSound,,0.5,1" "OnBreak" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_victory.mp3,1,1" "OnBreak" "music_main_ambient_generic,PlaySound,,1.1,1" "OnBreak" "music_main_ambient_generic,StopSound,,11,1" "OnBreak" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_volcano.mp3,11.1,1" "OnBreak" "music_main_ambient_generic,PlaySound,,11.2,1" } } modify: { match: { "targetname" "volcanoboss_break" "classname" "func_breakable" "origin" "8320 9264 8480" } delete: { "OnBreak" "volcano_song,Volume,0,30,1" "OnBreak" "music_boss,PlaySound,,32,1" } insert: { "OnBreak" "music_main_ambient_generic,StopSound,,30,1" "OnBreak" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_boss_music_fix.mp3,30.1,1" "OnBreak" "music_main_ambient_generic,PlaySound,,30.2,1" } } modify: { match: { "targetname" "wheel_button" "classname" "func_button" "origin" "9968 9908 8664" } delete: { "OnPressed" "music_boss,Volume,0,0,1" "OnPressed" "victory_song,PlaySound,,1,1" "OnPressed" "pickup_sound,PlaySound,,0,1" } insert: { "OnPressed" "music_main_ambient_generic,StopSound,,0,1" "OnPressed" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_victory.mp3,1.1,1" "OnPressed" "music_main_ambient_generic,PlaySound,,1.2,1" "OnPressed" "sound_effect_logic_case,InValue,12,0,1" } } modify: { match: { "classname" "trigger_once" "origin" "-10592 4784 -3792" } delete: { "OnStartTouch" "winter_song,PlaySound,,0,1" "OnStartTouch" "music_boss,Volume,0,0,1" } insert: { "OnStartTouch" "music_main_ambient_generic,StopSound,,0,1" "OnStartTouch" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_winter.mp3,0.1,1" "OnStartTouch" "music_main_ambient_generic,PlaySound,,0.2,1" } } modify: { match: { "origin" "-10496 3812.69 -3808" "classname" "trigger_teleport" } delete: { "OnStartTouch" "afterbat_song,PlaySound,,0,1" "OnStartTouch" "winter_song,Volume,0,0,1" } insert: { "OnStartTouch" "music_main_ambient_generic,StopSound,,0,1" "OnStartTouch" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_afterbat.mp3,0.1,1" "OnStartTouch" "music_main_ambient_generic,PlaySound,,0.2,1" } } modify: { match: { "targetname" "factory_boss_door" "classname" "func_movelinear" "origin" "-8160 -2384 -1472" } delete: { "OnFullyOpen" "afterbat_song,Volume,0,0,1" "OnFullyOpen" "music_boss,PlaySound,,2,1" } insert: { "OnFullyOpen" "music_main_ambient_generic,StopSound,,0,1" "OnFullyOpen" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_boss_music_fix.mp3,2,1" "OnFullyOpen" "music_main_ambient_generic,PlaySound,,2.1,1" } } modify: { match: { "targetname" "telescope_button" "origin" "-6812 -4063.99 -1880" "classname" "func_button" } delete: { "OnPressed" "victory_song,PlaySound,,1,1" "OnPressed" "music_boss,Volume,0,0,1" "OnPressed" "pickup_sound,PlaySound,,0,1" } insert: { "OnPressed" "music_main_ambient_generic,StopSound,,0,1" "OnPressed" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_victory.mp3,1.1,1" "OnPressed" "music_main_ambient_generic,PlaySound,,1.2,1" "OnPressed" "sound_effect_logic_case,InValue,12,0,1" } } modify: { match: { "origin" "-7656 -7208 -1644" "classname" "trigger_once" } delete: { "OnStartTouch" "music_boss,Volume,0,0,1" "OnStartTouch" "music_spawn,PlaySound,,0,1" } insert: { "OnStartTouch" "music_main_ambient_generic,StopSound,,0,1" "OnStartTouch" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_spawn.mp3,1,1" "OnStartTouch" "music_main_ambient_generic,PlaySound,,1.1,1" } } modify: { match: { "origin" "-5968 -11320 -552" "classname" "trigger_once" } delete: { "OnStartTouch" "pirate_song,PlaySound,,0,1" } insert: { "OnStartTouch" "music_main_ambient_generic,StopSound,,0,1" "OnStartTouch" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_ship_music.mp3,0.1,1" "OnStartTouch" "music_main_ambient_generic,PlaySound,,0.2,1" } } modify: { match: { "origin" "-5968 -11320 -552" "classname" "trigger_once" } delete: { "OnStartTouch" "pirate_song,PlaySound,,0,1" } insert: { "OnStartTouch" "music_main_ambient_generic,StopSound,,0,1" "OnStartTouch" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_ship_music.mp3,0.1,1" "OnStartTouch" "music_main_ambient_generic,PlaySound,,0.2,1" } } modify: { match: { "origin" "-5680 -11648 -807.367" "targetname" "board_counter3" "classname" "math_counter" } delete: { "OnHitMax" "sand_song,PlaySound,,2,1" "OnHitMax" "pirate_song,Volume,0,2,1" } insert: { "OnHitMax" "music_main_ambient_generic,StopSound,,0.2,1" "OnHitMax" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_sand.mp3,2.1,1" "OnHitMax" "music_main_ambient_generic,PlaySound,,2.2,1" } } modify: { match: { "origin" "-14856 -14304 -6880" "classname" "trigger_once" } delete: { "OnStartTouch" "sand_song,Volume,0,0,1" "OnStartTouch" "alien_song,PlaySound,,0,1" } insert: { "OnStartTouch" "music_main_ambient_generic,StopSound,,0,1" "OnStartTouch" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_alienmusic.mp3,0.1,1" "OnStartTouch" "music_main_ambient_generic,PlaySound,,0.2,1" } } modify: { match: { "origin" "-14000 -13664 -6816" "targetname" "alien_mover_track3" "classname" "path_track" } delete: { "OnPass" "alien_song,Volume,0,43,1" "OnPass" "sand_song,PlaySound,,43,1" } insert: { "OnPass" "music_main_ambient_generic,StopSound,,43,1" "OnPass" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_sand.mp3,43.1,1" "OnPass" "music_main_ambient_generic,PlaySound,,43.2,1" } } modify: { match: { "targetname" "map_button" "origin" "-2925.4 -4937.67 -4968" "classname" "func_button" } delete: { "OnPressed" "victory_song,PlaySound,,1,1" "OnPressed" "sand_song,Volume,0,0,1" "OnPressed" "ruins_song,PlaySound,,13,1" "OnPressed" "pickup_sound,PlaySound,,0,1" } insert: { "OnPressed" "music_main_ambient_generic,StopSound,,0,1" "OnPressed" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_victory.mp3,1.1,1" "OnPressed" "music_main_ambient_generic,PlaySound,,1.2,1" "OnPressed" "music_main_ambient_generic,StopSound,,13.1,1" "OnPressed" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_ruins.mp3,13.1,1" "OnPressed" "music_main_ambient_generic,PlaySound,,13.2,1" "OnPressed" "sound_effect_logic_case,InValue,12,0,1" } } modify: { match: { "origin" "11808 -9304 -4792" "classname" "trigger_once" } delete: { "OnStartTouch" "ruins_song,Volume,0,44,1" "OnStartTouch" "medusa_song,PlaySound,,44,1" } insert: { "OnStartTouch" "music_main_ambient_generic,StopSound,,44,1" "OnStartTouch" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_medusa.mp3,44.1,1" "OnStartTouch" "music_main_ambient_generic,PlaySound,,44.2,1" } } modify: { match: { "targetname" "medusa_Boss_Break" "origin" "12960 -9048 -4768" "classname" "func_physbox_multiplayer" } delete: { "OnBreak" "victory_song,PlaySound,,1,1" "OnBreak" "winter_song,PlaySound,,13,1" "OnBreak" "medusa_song,Volume,0,0,1" } insert: { "OnBreak" "music_main_ambient_generic,StopSound,,0,1" "OnBreak" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_victory.mp3,1.1,1" "OnBreak" "music_main_ambient_generic,PlaySound,,1.2,1" "OnBreak" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_winter.mp3,13.1,1" "OnBreak" "music_main_ambient_generic,PlaySound,,13.2,1" } } modify: { match: { "origin" "13224 -14536 -5056" "classname" "trigger_once" } delete: { "OnStartTouch" "winter_song,Volume,0,0,1" "OnStartTouch" "music_boss,PlaySound,,0,1" } insert: { "OnStartTouch" "music_main_ambient_generic,StopSound,,0,1" "OnStartTouch" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_boss_music_fix.mp3,0.1,1" "OnStartTouch" "music_main_ambient_generic,PlaySound,,0.2,1" } } modify: { match: { "origin" "13240 -14536 -5055.5" "classname" "func_movelinear" "targetname" "ice_door" } delete: { "OnFullyClosed" "victory_song,PlaySound,,25,1" "OnFullyClosed" "music_boss,Volume,0,25,1" "OnFullyClosed" "creepy_song,PlaySound,,38,1" } insert: { "OnFullyClosed" "music_main_ambient_generic,StopSound,,25,1" "OnFullyClosed" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_victory.mp3,25.1,1" "OnFullyClosed" "music_main_ambient_generic,PlaySound,,25.2,1" "OnFullyClosed" "music_main_ambient_generic,StopSound,,38,1" "OnFullyClosed" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_creepysong.mp3,38.1,1" "OnFullyClosed" "music_main_ambient_generic,PlaySound,,38.2,1" } } modify: { match: { "origin" "15168 -8848 -2368" "classname" "trigger_once" } delete: { "OnStartTouch" "creepy_song,Volume,,0,1" "OnStartTouch" "creepy_song,Volume,0,0,1" } insert: { "OnStartTouch" "music_main_ambient_generic,StopSound,,0,1" } } modify: { match: { "targetname" "painter_song_case" "classname" "logic_case" } delete: { "OnCase01" "painter_song,PlaySound,,0,1" "OnCase02" "painter_song,PlaySound,,0,1" "OnCase03" "painter_song,PlaySound,,0,1" "OnCase04" "painter_song,PlaySound,,0,1" "OnCase05" "painter_song,PlaySound,,0,1" "OnCase06" "painter_song,PlaySound,,0,1" "OnCase07" "painter_song_ee,PlaySound,,0,1" } insert: { "OnCase01" "music_main_ambient_generic,StopSound,,0,1" "OnCase01" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_paintertheme.mp3,0.1,1" "OnCase01" "music_main_ambient_generic,PlaySound,,0.2,1" "OnCase02" "music_main_ambient_generic,StopSound,,0,1" "OnCase02" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_paintertheme.mp3,0.1,1" "OnCase02" "music_main_ambient_generic,PlaySound,,0.2,1" "OnCase03" "music_main_ambient_generic,StopSound,,0,1" "OnCase03" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_paintertheme.mp3,0.1,1" "OnCase03" "music_main_ambient_generic,PlaySound,,0.2,1" "OnCase04" "music_main_ambient_generic,StopSound,,0,1" "OnCase04" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_paintertheme.mp3,0.1,1" "OnCase04" "music_main_ambient_generic,PlaySound,,0.2,1" "OnCase05" "music_main_ambient_generic,StopSound,,0,1" "OnCase05" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_paintertheme.mp3,0.1,1" "OnCase05" "music_main_ambient_generic,PlaySound,,0.2,1" "OnCase06" "music_main_ambient_generic,StopSound,,0,1" "OnCase06" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_paintertheme.mp3,0.1,1" "OnCase06" "music_main_ambient_generic,PlaySound,,0.2,1" "OnCase07" "music_main_ambient_generic,StopSound,,0,1" "OnCase07" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_painteree.mp3,0.1,1" "OnCase07" "music_main_ambient_generic,PlaySound,,0.2,1" } } modify: { match: { "origin" "15296 -8320 -2415" "targetname" "purpcrysmath1" "classname" "math_counter" } delete: { "OnHitMin" "undead_song,PlaySound,,0,1" "OnHitMin" "painter_song_ee,Volume,0,0,1" "OnHitMin" "painter_song,Volume,0,0,1" } insert: { "OnHitMin" "music_main_ambient_generic,StopSound,,0,1" "OnHitMin" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_undeadtheme.mp3,0.1,1" "OnHitMin" "music_main_ambient_generic,PlaySound,,0.2,1" } } modify: { match: { "origin" "15268.4 -7125.17 -2408" "targetname" "purpcrysmath2" "classname" "math_counter" } delete: { "OnHitMin" "necro_song,PlaySound,,0,1" "OnHitMin" "undead_song,Volume,0,0,1" } insert: { "OnHitMin" "music_main_ambient_generic,StopSound,,0,1" "OnHitMin" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_necrotheme.mp3,0.1,1" "OnHitMin" "music_main_ambient_generic,PlaySound,,0.2,1" } } modify: { match: { "origin" "15290 -5962.36 -2408" "targetname" "purpcrysmath3" "classname" "math_counter" } delete: { "OnHitMin" "creepy_song,PlaySound,,0,1" "OnHitMin" "necro_song,Volume,0,0,1" } insert: { "OnHitMin" "music_main_ambient_generic,StopSound,,0,1" "OnHitMin" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_creepysong.mp3,0.1,1" "OnHitMin" "music_main_ambient_generic,PlaySound,,0.2,1" } } modify: { match: { "origin" "13924 6584 -2216" "classname" "trigger_once" } delete: { "OnStartTouch" "creepy_song,Volume,0,0,1" } insert: { "OnStartTouch" "music_main_ambient_generic,StopSound,,0,1" } } modify: { match: { "targetname" "wizard_break1" "classname" "func_breakable" "origin" "14216 6600 -2244" } delete: { "OnBreak" "ending_song,PlaySound,,0,1" "OnBreak" "creepy_song,Volume,0,0,1" } insert: { "OnBreak" "music_main_ambient_generic,StopSound,,0,1" "OnBreak" "music_main_ambient_generic,AddOutput,message #castlecrashers/cc_endingmusic.mp3,0.1,1" "OnBreak" "music_main_ambient_generic,PlaySound,,0.2,1" } } ;---------------------------------------------------------------------------------------------- ; Fixes the blacksmith in spawn sound system so everytime he hits the metal a sound is played ;---------------------------------------------------------------------------------------------- add: { "origin" "15108 8204 -5407" "UseRandomTime" "0" "targetname" "blacksmith_sound_timer" "StartDisabled" "0" "spawnflags" "0" "RefireTime" "1" "classname" "logic_timer" "OnTimer" "sound_blacksmith,PlaySound,,0,-1" } ;---------------------------------------------- ; Wildcards all sounds into 1 for each group ;---------------------------------------------- modify: { match: { "classname" "func_breakable" } replace: { "material" "2" } } modify: { match: { "classname" "func_physbox" } replace: { "material" "2" } } modify: { match: { "classname" "func_physbox_multiplayer" } replace: { "material" "2" } } modify: { match: { "classname" "func_button" } replace: { "sounds" "3" "unlocked_sentence" "0" "unlocked_sound" "0" } }