Haze1337 / Sound-Manager

17 stars 3 forks source link

gI_SilentSoundScape doesn't work for every map #5

Closed rtldg closed 2 years ago

rtldg commented 2 years ago

some maps (like bhop_challenjour_final / bhop_challenjour_v2) replace/override the soundscape script files or whatever they are and instead import mainly hl2 soundscapes so port.LightHum2 is not available at 138 / 199. instead on those maps test_tvset (13 on css) seems to be a suitable replacement.

i imagine a cvar for setting map specific soundscapes could work or just hardcoding for specific maps. gamedata could be added to call the CSoundscapeSystem stuff like CSoundscapeSystem::GetSoundscapeIndex and CEnvSoundscape::Precache maybe but sounds a bit annoying to get working.

also here's some output from cl_soundscape_printdebuginfo on css bhop_challenjour_v2

] cl_soundscape_printdebuginfo ------- CLIENT SOUNDSCAPES ------- - 0: automatic - 1: automatic_dialog - 2: e3_techdemo_gmanspeaking - 3: e3_Techdemo_02 - 4: e3_Techdemo_03 - 5: e3_Techdemo_05 - 6: e3_Techdemo_06 - 7: e3_end - 8: Nothing - 9: GenericIndoor - 10: GenericOutdoor - 11: cabin - 12: cabin_outdoor - 13: test_tvset - 14: cityvoice_level0 - 15: cityvoice_level1 - 16: cityvoice_level2 - 17: cityvoice_level3 - 18: cityvoice_level4 - 19: cityvoice_level5 - 20: city_searching_level1 - 21: city_searching_level2 - 22: city_searching_level3 - 23: d1_canals.util_windgusts - 24: d1_canals.util_drips - 25: d1_canals.util_fardrips - 26: d1_canals.util_headcrab_canister - 27: d1_canals.util_shoreline - 28: d1_canals_tunnel01 - 29: d1_canals_citystart - 30: d1_canals_citadel - 31: d1_canals_traincanal - 32: d1_canals_traintunnel - 33: d1_canals_watercanal - 34: d1_canals_junkyard - 35: d1_canals_copcanals - 36: d1_truck_pass - 37: d1_canals_barnacle_tunnel - 38: d1_canals_pipe_chamber - 39: d1_canals_cop_alerted - 40: d1_canals.heli_slide_tunnels - 41: d1_canals.heli_attack - 42: d1_canals.drainroom - 43: d1_canals.03copsattackthroughboards - 44: d1_canals.03entrytunnel - 45: d1_canals.steamtunnel - 46: d1_canals.waterpuzzleroom - 47: d1_canals.util_birds - 48: d1_canals.util_critters - 49: d1_canals.util_tunnel_windgusts - 50: d1_canals.util_critters_under_docks - 51: d1_canals.util_toxic_slime - 52: d1_canals.util_industrial - 53: d1_canals.general_dripping_tunnel - 54: d1_canals.general_windy_tunnel - 55: d1_canals.general_watery_tunnel - 56: d1_canals.general_watery_tunnel_shore - 57: d1_canals.redbarn_ambience - 58: d1_canals.floodgate_base_ambience - 59: d1_canals.floodgate_machineroom - 60: d1_canals.shore_and_reeds - 61: d1_canals.spooky_infested_pipe - 62: d1_canals.water_tunnel_with_frogs - 63: d1_canals.windchimes_and_wind - 64: canals_slime_outside - 65: canals_slime_tunnel - 66: canals_tunnel_dry - 67: canals_tunnel_wet - 68: canals_canal_nowater - 69: canals_canal_water - 70: canals_canal_water_industrial - 71: canals_river - 72: canals_river_calm - 73: d1_canals_05_shanty_approach - 74: d1_canals_05_shanty - 75: d1_canals_07_entry_tunnel - 76: d1_canals_07a_warehouse - 77: d1_canals_08a_gun_tunnel_entrance - 78: d1_canals_08a_puzzle_arena - 79: d1_canals_08a_gun_scene - 80: d1_canals_08a_tunnel_exit - 81: canals_canal_water_creaking_wood - 82: canals_canal_water_creaking_metal - 83: d1_canals_08_entry_tunnel - 84: d1_canals_08_reservoir - 85: d1_canals_08_island - 86: d1_canals_08_base_interior - 87: K_lab.LabSounds - 88: E3_lab.LabSounds - 89: eli_01_lab_main_1 - 90: eli_01_elevator_1 - 91: eli_01_upperhall_2 - 92: eli_01_upperhall_1 - 93: eli_01_lowerlab_hall_1 - 94: eli_01_lower_corridor_1 - 95: eli_01_lower_ravenhall_1 - 96: eli_01_lower_ravenhall_2 - 97: eli_02_lowerlab_hall_1 - 98: eli_02_lower_corridor_1 - 99: eli_02_ravenshaft_1 - 100: eli_02_ravenshaft_2 - 101: eli_02_scrapyard_1 - 102: eli_02_scrapyard_2 - 103: streetwar.util_combine_atmosphere - 104: streetwar.util_rubble - 105: streetwar.util_sirens - 106: streetwar.util_light_sirens - 107: streetwar.util_zombie_infested - 108: streetwar.util_light_combat_atmosphere - 109: streetwar.util_heavy_combat_atmosphere - 110: streetwar.util_muffled_light_combat - 111: streetwar.util_light_combat - 112: streetwar.util_medium_combat - 113: streetwar.util_heavy_combat - 114: streetwar.util_drips - 115: streetwar.util_fardrips - 116: streetwar.zombie_water_room - 117: streetwar.car_tunnel - 118: streetwar.general_small_tunnel - 119: streetwar.car_tunnel_opensky - 120: streetwar.toxic_car_tunnel - 121: streetwar.infested_appartments - 122: streetwar.general_indoor_light_combat - 123: streetwar.general_indoor_medium_combat - 124: streetwar.general_indoor_heavy_combat - 125: streetwar.general_outdoor_light_combat - 126: streetwar.general_outdoor_medium_combat - 127: streetwar.general_outdoor_heavy_combat - 128: streetwar.destroyed_concrete_building - 129: streetwar.rooftop_heavy_combat - 130: streetwar.control_room - 131: streetwar.bank_control_room - 132: streetwar.bank_machine_room - 133: streetwar.bank_general - 134: e3_c17_01_battle - 135: c17_02_street_lower_1 - 136: c17_02_street_upper_1 - 137: c17_02_street_upper_2 - 138: c17_02_inside_apartments_1 - 139: streetwar.underground_manhack_tunnel - 140: streetwar.vertical_warehouse_arena - 141: d3_citadel.silence_and_dialog - 142: d3_citadel.util_hits - 143: d3_citadel.util_activity - 144: d3_citadel.util_pods - 145: d3_citadel.deep_dropoff_inside - 146: d3_citadel.pod_vista - 147: d3_citadel.generic - 148: d3_citadel.generic_moody - 149: d3_citadel.generic_moody2 - 150: d3_citadel.stasis_room - 151: d3_citadel.combine_ball_room - 152: d3_citadel.general_control_room - 153: d3_citadel.alyx_teleport_control_room - 154: d3_citadel.final_portal_chamber - 155: d3_citadel.top_of_teleport_chamber - 156: d3_citadel_01.pipe_entrance - 157: d3_citadel_01.cliffside1 - 158: d3_citadel_01.citadel_entrance - 159: d3_citadel.breen_field - 160: d3_citadel.breen_hall - 161: d3_citadel.breen_office - 162: d1_town.ScaredPeopleInside - 163: d1_town.ScaredPeopleOutside - 164: d1_town.Start - 165: d1_town.Street - 166: d1_town.CorpseRoom - 167: d1_town.WoodBuilding - 168: d1_town.ConcreteBuilding - 169: d1_town.Rooftop - 170: d1_town.MineshaftDown - 171: d1_town.WaterCave - 172: d1_town.HeadcrabCave - 173: d1_town.CaveTunnel - 174: coast.util_headcrab_canister - 175: coast.util_metalstress - 176: coast.util_shackmetal - 177: coast.util_crumblycliff - 178: coast.util_windgusts - 179: coast.util_fardrips - 180: coast.util_birds - 181: coast.util_lakeshoreline - 182: coast.util_shoreline - 183: coast.util_distant_shoreline - 184: coast.util_antlion_den - 185: coast.general_windy_tunnel - 186: coast.general_tunnel - 187: coast.zombie_tunnel - 188: coast.general_oldwoodbuilding - 189: coast.general_oldwoodbuilding_with_windchimes - 190: coast.combine_controlroom_ambience - 191: coast.general_shoreline - 192: coast.positional_shoreline - 193: coast.shoreline_with_antlion_dens - 194: coast.bridge_ambient - 195: coast.bridge_shack - 196: coast.cliffside - 197: coast.bridge_concrete_room - 198: coast.generic_ambient_01 - 199: coast.distant_shoreline - 200: prison.util_distantcombat_verylight - 201: prison.util_distantcombat_light - 202: prison.util_distantcombat_heavy - 203: prison.util_antlion_burrows - 204: prison.util_fardrips - 205: prison.util_drips - 206: prison.util_distant_trains - 207: prison.util_radio - 208: prison.util_control_room - 209: prison.citizen_camp - 210: prison.redlight_bunker - 211: prison.outdoor_courtyard - 212: prison.outdoor_courtyard_hvycombat - 213: prison.trainstation - 214: prison.teleport_area - 215: prison.control_room - 216: prison.control_room_simple - 217: prison.combine_wall - 218: prison.util_quiet_cellblock - 219: prison.util_louder_cellblock - 220: prison.larger_cellblock_vlightcombat - 221: prison.larger_cellblock_hvycombat - 222: prison.larger_cellblock_lightcombat - 223: prison.general_hallway_lightcombat - 224: prison.general_hallway_vlightcombat - 225: prison.general_dripping_tunnel - 226: prison.hall_with_burrows - 227: prison.electric_water_room - 228: prison.laundry - 229: prison.watery_hallway - 230: prison.showers - 231: prison.zombie_infested - 232: d1_trainstation.util_city - 233: d1_trainstation.city - 234: d1_trainstation.Platform - 235: d1_trainstation.Turnstyle - 236: combine.computer - 237: d1_trainstation.Interrogation - 238: d1_trainstation.TerminalSquare - 239: d1_trainstation.QuietCourtyard - 240: d1_trainstation.Occupants - 241: d1_trainstation.AppartmentCourtyard - 242: d1_trainstation.Appartments - 243: d1_trainstation.RaidCityvoice - 244: d1_trainstation.RaidOccupants - 245: d1_trainstation.RaidAppartments - 246: general.concrete_quiet - 247: nami - 248: sona - 249: quinn - 250: braum - 251: spaced - 252: havin_it - 253: warriors - 254: ezreal_museum_loop - 255: braum_havingfun - 256: jhin_plans - 257: gnar_laugh1 - 258: gnar_laugh2 - 259: gnar_laugh3 - 260: gnar_laugh4 - 261: gnar_shugi - 262: lee_victorytaunt - 263: heimerdinger_dirtyape - CURRENT SOUNDSCAPE: 0 [automatic] ----------------------------------
rtldg commented 2 years ago

bhop_shutdown is another map that has this problem