В этом мануале мы уберём окружающие звуки на вашем сервере RAGE:MP (звуки сигнала машин, звуки полиции, выстрелов в гетто, звуки птиц и так далее).
И так: как же это выключить? Все очень просто, в любое место клиента (желательно в конец index.js) добавляем следующий код:
И для каждого игрока который зайдет к нам на сервер, будет включена определенная сцена (CHARACTER_CHANGE_IN_SKY_SCENE), которая соответствует полной тишине.
Также, если вы хотите поэкспериментировать с другими аудио-сценами из GTA V, предоставляем вам полный список всех возможных сцен:
Автор: Tony Montana
И так: как же это выключить? Все очень просто, в любое место клиента (желательно в конец index.js) добавляем следующий код:
JavaScript:
mp.game.audio.startAudioScene("CHARACTER_CHANGE_IN_SKY_SCENE");
И для каждого игрока который зайдет к нам на сервер, будет включена определенная сцена (CHARACTER_CHANGE_IN_SKY_SCENE), которая соответствует полной тишине.
Также, если вы хотите поэкспериментировать с другими аудио-сценами из GTA V, предоставляем вам полный список всех возможных сцен:
Код:
"AGENCY_H_1_DRIVE_TO_FACTORY",
"AGENCY_H_1_FOCUS_ON_JANITOR",
"AGENCY_H_1_FOCUS_ON_PLATES",
"AGENCY_H_1_FOLLOW_JANITOR",
"AGENCY_H_1_FOLLOW_ON_FOOT",
"AGENCY_H_1_GET_TO_FIB",
"AGENCY_H_1_JANITORS_CAR",
"AGENCY_H_1_NON_TARGET_CARS",
"AGENCY_H_1_WAIT_FOR_CARS",
"AGENCY_H_2_COVER_BLOWN",
"AGENCY_H_2_FOLLOW_ARCHITECT_1",
"AGENCY_H_2_FOLLOW_ARCHITECT_2",
"AGENCY_H_2_TAKE_OUT_ARCHITECT",
"AGENCY_H_2_USE_ELEVATOR",
"AH_3A_BACKDRAFT",
"AH_3A_BLOW_OPEN_OFFICE_DOOR",
"AH_3A_BUILDING_EXPLOSION",
"AH_3A_DETONATE_THE_BOMBS",
"AH_3A_DRIVE_AS_FRANKLIN",
"AH_3A_DRIVE_TO_FIB",
"AH_3A_ELEVATOR_POST_EXPLOSION_SCENE",
"AH_3A_ELEVATOR_SCENE",
"AH_3A_ENTER_CORRIDOR_PRE_KO_EXPLOSION",
"AH_3A_ESCAPE_TO_ELEVATOR_SHAFT",
"AH_3A_ESCAPE_TOP_FLOOR",
"AH_3A_EXPLODING_OFFICE_BROKEN_WINDOWS",
"AH_3A_FRANK_GET_TO_FIB",
"AH_3A_GET_TO_FIRETRUCK",
"AH_3A_GET_TO_LESTERS",
"AH_3A_GET_TO_TOP_FLOOR",
"AH_3A_HELP_BUDDY_SCENE",
"AH_3A_INFILTRATE_FIB_SCENE",
"AH_3A_KO_EXPLOSION",
"AH_3A_KO_FADE_TO_BLACK",
"AH_3A_MOPPING_STAGE",
"ah_3a_quieter_first_person_clothing",
"AH_3A_RAPPEL_CUTSCENE",
"AH_3A_RAPPEL_ELEVATOR_SHAFT",
"AH_3A_STAIRWELL_SCENE",
"AH_3A_WAIT_TO_RAM_DOORS",
"AH_3A_WALK_THROUGH_BURNING_OFFICES",
"AH_3B_BREAK_SERVER_ROOM_DOOR",
"AH_3B_COMPUTER_FOCUS_CAM",
"AH_3B_ENEMIES_ARRIVE",
"AH_3B_ESCAPE_CONTINUED_DOWN_RUBBLE",
"AH_3B_ESCAPE_CONTINUED_STAIRWELL_02",
"AH_3B_ESCAPE_POST_STAIRWELL",
"AH_3B_ESCAPE_STAIRWELL_01",
"AH_3B_ESCAPE_START",
"AH_3B_ESCAPE_TO_RAPPEL_POINT",
"AH_3B_FIGHT_CHOPPER",
"AH_3B_FLY_TO_JUMP_ZONE",
"AH_3B_FOCUS_ON_JUMP_ZONE",
"AH_3B_FOCUS_ON_LANDING_ZONE",
"AH_3B_GET_TO_FACILITY",
"AH_3B_GET_TO_FRANKLINS",
"AH_3B_GET_TO_RAPPEL_POINT_02",
"AH_3B_GET_TO_VEHICLE",
"AH_3B_HACKING_MG",
"AH_3B_HELICOPTER_MISSILE_CUTSCENE",
"AH_3B_RAPPEL_01",
"AH_3B_RAPPEL_02",
"AH_3B_SHOOTOUT_CONTINUED",
"AH_3B_SHOOTOUT_SMOKE_BOMBS",
"AH_3B_SHOOTTHROUGHDOOR_SCENE",
"AH_3B_SKYDIVE_FREEFALL",
"AH_3B_SKYDIVE_PARACHUTE",
"AH_3B_SKYDIVE_PREPARE",
"AMBIENT_HUNTING_MIX",
"ARM_1_CHOOSE_CAR",
"ARM_1_COPS_ARRIVE",
"ARM_1_DRIVE_FOLLOW_LAMAR",
"ARM_1_DRIVE_OVER_BRIDGES",
"ARM_1_DRIVE_PHONE_LAMAR",
"ARM_1_DRIVE_START",
"ARM_1_DRIVE_THROUGH_GARAGE",
"ARM_1_DRIVE_THROUGH_STUDIO",
"ARM_1_DRIVE_TO_CANALS",
"ARM_1_DRIVE_TO_DEALERSHIP",
"ARM_1_GET_IN_CAR_SCENE",
"ARM_1_GO_HOME",
"ARM_1_LAMAR_FOCUS_CAM",
"ARM_1_LOSE_COPS",
"ARM_1_MONTAGE_MUTES",
"ARM_2_CHASE_THE_BIKE",
"ARM_2_DRIVE_TO_ALLEY",
"ARM_2_FOCUS_ON_BIKE",
"ARM_2_GANG_DRIVE_PAST",
"ARM_2_GAS_TRAIL",
"ARM_2_GET_TO_THE_CAR",
"ARM_2_RAYFIRE",
"ARM_2_RIDE_BIKE_BACK",
"ARM_2_SEARCH_FOR_BIKE",
"ARM_2_SHOOTOUT",
"ARM_3_BEAT_DOWN",
"ARM_3_CLIMB_INTO_GARDEN",
"ARM_3_DRIVE_PHONE_SIMEON",
"ARM_3_DRIVE_TO_DEALERSHIP",
"ARM_3_DRIVE_TO_MICHAELS_HOUSE",
"ARM_3_ENTER_GARAGE",
"ARM_3_ENTER_HOUSE",
"ARM_3_EXIT_THROUGH_GATE",
"ARM_3_INSIDE_HOUSE",
"ARM_3_RAM_DEALERSHIP",
"ARM_3_STEAL_CAR",
"ARM_3_TAKE_OUT_GARDENER",
"ARM_3_TARGET_GARDENER",
"ARM_3_WINDOW_FOCUS_CAM",
"ASSASSINATION_BUS_SCREAMS_EXT_SCENE",
"ASSASSINATION_BUS_SCREAMS_INT_SCENE",
"ASSASSINATION_CONSTRUCT_CAR_ARRIVES",
"ASSASSINATION_CONSTRUCT_CUTSCENE",
"ASSASSINATION_CONSTRUCT_HELICOPTER_SCENE",
"ASSASSINATION_CONSTRUCT_LEAVE_THE_AREA",
"ASSASSINATION_CONSTRUCT_SHOOTOUT_ROOFTOP",
"ASSASSINATION_CONSTRUCT_SHOOTOUT_START",
"ATM_PLAYER_SCENE",
"BAY_DOOR_SCENE",
"BIG_SCORE_2A_Boost_Franklins_Bike",
"BIG_SCORE_PREP_C_GARAGE_DOOR",
"BIG_SCORE_TRAFFIC_CONTROL_SCENE",
"BIOTECH_HEIST_GASMASK_SCENE",
"BIOTECH_HEIST_UNDERWATER_SCENE",
"BS_1_BANK_CHECK_OUT",
"BS_1_BANK_HINT_CAM",
"BS_1_CAR_RETURN_TO_FRANKLINS",
"BS_1_DRIVE_AROUND_BACK",
"BS_1_drive_START",
"BS_1_FLY_TO_TRUCKS",
"BS_1_HELI_RETURN_TO_AIRSTRIP",
"BS_1_SEARCH_FOR_ENTRANCE",
"BS_1_SWITCH_TO_TREVOR",
"BS_1_TRUCKS_ENTER_TUNNEL",
"BS_1_TRUCKS_HINT_CAM",
"BS_1_TRUCKS_SPOTTED",
"BS_1_VIEW_RECORDING",
"BS_2A_CAR_ARRIVE_01",
"BS_2A_CAR_ARRIVE_02",
"BS_2A_CAR_ARRIVE_03",
"BS_2A_CAR_ARRIVE_04",
"BS_2A_CHASE_MAIN",
"BS_2A_CHASE_TUNNEL_CHOPPER",
"BS_2A_DRIVE_INTO_TRUCK",
"BS_2A_DRIVE_TO_BANK",
"BS_2A_DROP_STINGER",
"BS_2A_FOLLOW_MANAGER",
"BS_2A_GET_TO_TUNNEL",
"BS_2A_GET_TO_VAULT",
"BS_2A_INTERSECTION_CAM",
"BS_2A_LEAVE_BANK",
"BS_2A_PARK_UP_CUTSCENE",
"BS_2A_SHOOTOUT",
"BS_2A_STUNT_JUMP",
"BS_2A_TRAFFIC_CONTROL_STAGE",
"BS_2A_TRUCKS_ARRIVE",
"BS_2B_ASCEND_TO_NEXT_AREA",
"BS_2B_CHOPPER_ARRIVES",
"BS_2B_DRILL_THROUGH_VAULT",
"BS_2B_DRIVE_AWAY",
"BS_2B_DROP_GOLD_CUTSCENE",
"BS_2B_ESCAPE_START",
"BS_2B_FOCUS_ON_HELI",
"BS_2B_FOCUS_ON_TRAIN",
"BS_2B_GET_TO_AIRSTRIP",
"BS_2B_GET_TO_BANK",
"BS_2B_GET_TO_TRAIN",
"BS_2B_HELI_CHASE",
"BS_2B_HELI_TAKE_GOLD",
"BS_2B_LESTER_RPG_scene",
"BS_2B_NOOSE_ABSEIL_SCENE",
"BS_2B_PLANT_C4",
"BS_2B_SHOOTOUT_ACROSS_STREET",
"BS_2B_SHOOTOUT_CONT",
"BS_2B_UNDERGROUND_GARAGE",
"BS_2B_VANS_ARRIVE",
"BS_2B_VAULT_RAYFIRE",
"BS_2B_VAULT_SHOOTOUT_01",
"BS_2B_VAULT_SHOOTOUT_02",
"BS_2B_WAIT_FOR_DETONATION",
"BS_P_D_FLY_CHOPPER",
"BS_P_D_STEALTH",
"BS_P_D_SWITCH_TRACKS",
"BS_P_D_TRAIN_ARRIVES",
"CABLE_CAR_RIDE_DOWN_SCENE",
"CABLE_CAR_RIDE_UP_SCENE",
"CAR_1_BIKE_CHASE_MAIN",
"CAR_1_BIKE_ENTER_TUNNEL",
"CAR_1_BIKE_PASS_THE_LOST",
"CAR_1_DEVIN_DRIVES_AWAY",
"CAR_1_FRANKLIN_CALLS_MICHAEL",
"CAR_1_GARAGE_ARRIVAL",
"CAR_1_GET_TO_GARAGE",
"CAR_1_GET_TO_RACE",
"CAR_1_PARK_UP_CUTSCENE",
"CAR_1_RACE_CARS_FOCUS_CAM",
"CAR_1_RACE_MAIN",
"CAR_1_RACE_SKIDDING_CARS",
"CAR_2_CAR_CHASE_CONTINUED",
"CAR_2_CAR_CHASE_START",
"CAR_2_CAR_ENTERS_GARAGE",
"CAR_2_DRIVE_BACK_TO_GARAGE",
"CAR_2_FOLLOW_CHAD_ON_FOOT",
"CAR_2_FRANKLIN_ARRIVES",
"CAR_2_HELI_CAM_TUTORIAL",
"CAR_2_HELI_FILTERING",
"CAR_2_SCAN_FRANKLIN",
"CAR_2_SCAN_THE_SUSPECTS",
"CAR_2_SCANNING_TARGET",
"CAR_2_STEAL_THE_CAR",
"CAR_2_SWITCH_TO_FRANLIN_IN_GARAGE",
"CAR_2_USE_INFRARED",
"CAR_2_USE_MICROPHONE",
"CAR_2_Z_TYPE_ENGINE_BOOST",
"CAR_3_ACTIVATE_EJECTOR_SEAT",
"CAR_3_ESCAPE_SECURITY",
"CAR_3_GO_TO_GARAGE",
"CAR_3_INSIDE_STUDIO",
"CAR_3_TAKE_OUT_ACTOR",
"CAR_4_COPS_ARRIVE",
"CAR_4_DEFEND_THE_TRUCK",
"CAR_4_FIRST_PERSON_MUTES_SCENE",
"CAR_4_FOCUS_ON_FRANKLIN",
"CAR_4_FOCUS_ON_TRUCK",
"CAR_4_FOLLOW_TRUCK",
"CAR_4_GET_TO_PALETO",
"CAR_4_REVERSE_OFF_TRUCK",
"CAR_4_SPIKES_CAM_SCENE",
"CAR_4_TAKE_CAR_TO_TRANSPORTER",
"CAR_MOD_BOOST_SCENE",
"Car_Mod_Lowrider_Boost_Engine_Blip_Scene",
"Car_Mod_Lowrider_Engine_Boost_Scene",
"Car_Mod_Lowrider_Entry_Transition_Scene",
"Car_Mod_Lowrider_Radio_Scene",
"Car_Mod_Lowrider_Reduce_Radio_Enter_Scene",
"Car_Mod_Lowrider_Reduce_Radio_Exit_Scene",
"Car_Mod_Lowrider_Trunk_Open_Scene",
"Car_Mod_Lowrider_Trunk_Radio_Scene",
"CAR_MOD_RADIO_MUTE_SCENE",
"CAR_THEFT_EXPORT_CARS_CRANE_SECTION_SCENE",
"CAR_WASH_SCENE",
"CHARACTER_CHANGE_IN_SKY_SCENE",
"CHI_1_CATCH_GRENADE_LAUNCHER",
"CHI_1_DRIVE_TO_LAB",
"CHI_1_ENEMIES_ESCAPE",
"CHI_1_GET_TO_SHOOTOUT_03",
"CHI_1_GET_TO_SHOOTOUT_04",
"CHI_1_GO_TO_ICEBOX",
"CHI_1_SHOOTOUT_01",
"CHI_1_SHOOTOUT_02",
"CHI_1_SHOOTOUT_03",
"CHI_1_SHOOTOUT_04",
"CHI_1_SHOOTOUT_GRENADE_LAUNCHER",
"CHI_1_TRUCK_ARRIVES",
"CHI_2_DRIVE_ROCK_RADIO",
"CHI_2_DRIVE_TO_FARMHOUSE",
"CHI_2_FARMHOUSE_OVERVIEW",
"CHI_2_GAS_TRAIL_FIRE",
"CHI_2_POUR_GAS",
"CHI_2_RAYFIRE",
"CHI_2_SHOOT_GAS",
"CHI_2_SHOOTOUT_ENEMIES_ALERTED",
"CHI_2_SHOOTOUT_IN_HOUSE",
"CHI_2_SHOOTOUT_STEALTH",
"CREATOR_SCENES_AMBIENCE",
"DEATH_SCENE",
"DH2A_CHOPPER_ARRIVES",
"DH2A_CHOPPER_SHOOTING",
"DH2A_CONTROL_SUB",
"DH2A_GET_TO_VANTAGE_POINT",
"DH2A_MICHAEL_DASH_AND_DIVE",
"DH2A_PLANT_BOMBS_SCENE",
"DH2A_PREPARE_DETONATION",
"DH2A_RAYFIRE",
"dh2a_shootout_scene",
"DH2A_SHOOTOUT_SCENE",
"DH2A_SHOOTOUT_SNIPING_SCENE",
"dh2a_shootout_sniping_scene",
"DH2A_SNIPE_GUARDS_scene",
"DH2A_SNIPING_scene",
"DH2A_SNIPING_SCENE",
"DH2A_SWIM_TO_CONTAINER",
"DH_1_CLIMB_UP_CRANE",
"DH_1_DRIVE_APPROACH_DOCKS",
"DH_1_DRIVE_START",
"DH_1_DRIVE_TO_DOCKS",
"DH_1_FOLLOW_FLOYD_SEE_FREIGHTER",
"DH_1_FOLLOW_FLOYD_START",
"DH_1_GET_TO_TRUCK",
"DH_1_HANDLER_START",
"DH_1_PHONE_RON",
"DH_1_TAKE_PHOTOS",
"DH_1_USE_CRANE",
"DH_2A_DETONATE_BOMBS",
"DH_2B_ATTACH_SUB",
"DH_2B_DRIVE_TO_AIRSTRIP",
"DH_2B_ENEMY_HELI_01_ARRIVES",
"DH_2B_ENEMY_HELI_02_ARRIVES",
"DH_2B_ENEMY_HELI_03_ARRIVES",
"DH_2B_ESCAPE_AS_FRANKLIN",
"DH_2B_ESCAPE_AS_MICHAEL",
"DH_2B_ESCAPE_ENEMIES",
"DH_2B_FIND_CONTAINER",
"DH_2B_GET_TO_DROP_ZONE",
"DH_2B_GET_TO_SURFACE",
"DH_2B_PICK_UP_SUB_CARGO",
"DH_2B_RELEASE_SUB",
"DH_2B_RETURN_TO_AIRSTRIP",
Автор: Tony Montana