// IW6 GSC SOURCE
// Generated by https://github.com/xensik/gsc-tool

main()
{
    level._effect["vfx_lynx_fire_exfil"] = loadfx( "vfx/moments/enemyhq/vfx_lynx_fire_exfil" );
    level._effect["vfx_light_flare_vip_ehq"] = loadfx( "vfx/moments/enemyhq/vfx_light_flare_vip_ehq" );
    level._effect["vfx_light_flare_sniper"] = loadfx( "vfx/moments/enemyhq/vfx_light_flare_sniper" );
    level._effect["footstep_water_small"] = loadfx( "vfx/gameplay/footsteps/footstep_water_small" );
    level._effect["vfx_light_flare_duo_ehq"] = loadfx( "vfx/moments/enemyhq/vfx_light_flare_duo_ehq" );
    level._effect["vfx_spiral_trash_run_ehq"] = loadfx( "vfx/moments/enemyhq/vfx_spiral_trash_run_ehq" );
    level._effect["vfx_flare_light_ray_ehq"] = loadfx( "vfx/moments/enemyhq/vfx_flare_light_ray_ehq" );
    level._effect["vfx_flare_light_tinstatic_ehq"] = loadfx( "vfx/moments/enemyhq/vfx_flare_light_tinstatic_ehq" );
    level._effect["godray_solid_slats_ehq"] = loadfx( "fx/lights/godray_solid_slats_ehq" );
    level._effect["vfx_water_pipe_splash_vista"] = loadfx( "vfx/moments/enemyhq/vfx_water_pipe_splash_vista" );
    level._effect["vfx_water_pipe_vista"] = loadfx( "vfx/moments/enemyhq/vfx_water_pipe_vista" );
    level._effect["vfx_ehq_fl_flicker"] = loadfx( "vfx/ambient/lights/vfx_ehq_fl_flicker" );
    level._effect["vfx_flare_light_tin_ehq"] = loadfx( "vfx/moments/enemyhq/vfx_flare_light_tin_ehq" );
    level._effect["vfx_ambientdust_right_ehq"] = loadfx( "vfx/ambient/atmospheric/indoor/vfx_ambientdust_right_ehq" );
    level._effect["clk_cargoship_wall_flicker"] = loadfx( "fx/lights/clk_cargoship_wall_flicker" );
    level._effect["clk_cargoship_wall"] = loadfx( "fx/lights/clk_cargoship_wall" );
    level._effect["vfx_smk_tgas_door"] = loadfx( "vfx/moments/enemyhq/vfx_smk_tgas_door" );
    level._effect["vfx_flare_light_blue_ehq"] = loadfx( "vfx/moments/enemyhq/vfx_flare_light_blue_ehq" );
    level._effect["vfx_heli_crash"] = loadfx( "vfx/moments/enemyhq/vfx_heli_crash" );
    level._effect["vfx_heli_fire"] = loadfx( "vfx/moments/enemyhq/vfx_heli_fire" );
    level._effect["vfx_ambientdust_ehq"] = loadfx( "vfx/ambient/atmospheric/indoor/vfx_ambientdust_ehq" );
    level._effect["vfx_water_pipe_splash"] = loadfx( "vfx/moments/enemyhq/vfx_water_pipe_splash" );
    level._effect["vfx_water_pipe"] = loadfx( "vfx/moments/enemyhq/vfx_water_pipe" );
    level._effect["vfx_light_fade"] = loadfx( "vfx/moments/enemyhq/vfx_light_fade" );
    level._effect["godray_solid_base_ehq"] = loadfx( "fx/lights/godray_solid_base_ehq" );
    level._effect["vfx_ambientsmoke_ehq"] = loadfx( "vfx/ambient/atmospheric/indoor/vfx_ambientsmoke_ehq" );
    level._effect["vfx_ehq_hall_haze_uv1"] = loadfx( "vfx/ambient/atmospheric/vfx_ehq_hall_haze_uv1" );
    level._effect["vfx_handflare_ehq_nolit"] = loadfx( "vfx/ambient/props/vfx_handflare_ehq_nolit" );
    level._effect["vfx_handflare_ehq_lit"] = loadfx( "vfx/ambient/props/vfx_handflare_ehq_lit" );
    level._effect["vfx_cnd_portalight"] = loadfx( "vfx/ambient/lights/vfx_cnd_portalight" );
    level._effect["vfx_fire_tent"] = loadfx( "vfx/moments/enemyhq/vfx_fire_tent" );
    level._effect["smoke_tgas_trail_ehq"] = loadfx( "fx/smoke/smoke_tgas_trail_ehq" );
    level._effect["vfx_teargas_cam"] = loadfx( "vfx/moments/enemyhq/vfx_teargas_cam" );
    level._effect["vfx_teargas_uvfill_booth_sm"] = loadfx( "vfx/moments/enemyhq/vfx_teargas_uvfill_booth_sm" );
    level._effect["vfx_tgas_swirl"] = loadfx( "vfx/moments/enemyhq/vfx_tgas_swirl" );
    level._effect["vfx_dustkickup_ehq"] = loadfx( "vfx/moments/enemyhq/vfx_dustkickup_ehq" );
    level._effect["godray_vista_ehq_front"] = loadfx( "fx/lights/godray_vista_ehq_front" );
    level._effect["vfx_blood_neckslash"] = loadfx( "vfx/moments/enemyhq/vfx_blood_neckslash" );
    level._effect["vfx_battlesmoke_large_ehq"] = loadfx( "vfx/moments/enemyhq/vfx_battlesmoke_large_ehq" );
    level._effect["vfx_ehq_fuel_ground"] = loadfx( "vfx/moments/enemyhq/vfx_ehq_fuel_ground" );
    level._effect["vfx_fire_barrel_infinite"] = loadfx( "vfx/ambient/fire/vfx_fire_barrel_infinite" );
    level._effect["vfx_bodyslam_ehq"] = loadfx( "vfx/moments/enemyhq/vfx_bodyslam_ehq" );
    level._effect["godray_vista_ehq"] = loadfx( "fx/lights/godray_vista_ehq" );
    level._effect["vfx_dust_ehq_st_runner"] = loadfx( "vfx/moments/enemyhq/vfx_dust_ehq_st_runner" );
    level._effect["vfx_fire_truck_2_post"] = loadfx( "vfx/moments/enemyhq/vfx_fire_truck_2_post" );
    level._effect["vfx_trash_blow_ehq_runner"] = loadfx( "vfx/ambient/misc/vfx_trash_blow_ehq_runner" );
    level._effect["godray_solid_ehq"] = loadfx( "fx/lights/godray_solid_ehq" );
    level._effect["vfx_ehq_dust_rumble"] = loadfx( "vfx/moments/enemyhq/vfx_ehq_dust_rumble" );
    level._effect["vfx_insects_ehq_ground"] = loadfx( "vfx/ambient/animals/vfx_insects_ehq_ground" );
    level._effect["insects_flies_ehq"] = loadfx( "fx/misc/insects_flies_ehq" );
    level._effect["dust_motes_ehq"] = loadfx( "vfx/ambient/dust/particulates/dust_motes_ehq" );
    level._effect["vfx_godray_ehq_thin"] = loadfx( "vfx/ambient/lights/vfx_godray_ehq_thin" );
    level._effect["vfx_steam_ambient"] = loadfx( "vfx/ambient/steam/vfx_steam_ambient" );
    level._effect["vfx_wall_crash"] = loadfx( "vfx/moments/enemyhq/vfx_wall_crash" );
    level._effect["ehq_truck_crash_sparks"] = loadfx( "fx/impacts/ehq_truck_crash_sparks" );
    level._effect["vfx_lights_stadium"] = loadfx( "vfx/ambient/lights/vfx_lights_stadium" );
    level._effect["vfx_atrium_dust_runner_ehq"] = loadfx( "vfx/moments/enemyhq/vfx_atrium_dust_runner_ehq" );
    level._effect["vfx_godray_large_atrium"] = loadfx( "vfx/moments/enemyhq/vfx_godray_large_atrium" );
    level._effect["vfx_falling_dust_runner_ehq"] = loadfx( "vfx/moments/enemyhq/vfx_falling_dust_runner_ehq" );
    level._effect["vfx_dust_ehq_flat_runner"] = loadfx( "vfx/moments/enemyhq/vfx_dust_ehq_flat_runner" );
    level._effect["vfx_sand_trash_spiral_wide_runner"] = loadfx( "vfx/ambient/weather/sand/vfx_sand_trash_spiral_wide_runner" );
    level._effect["vfx_perif_smk_war_vista"] = loadfx( "vfx/ambient/skybox/vfx_perif_smk_war_vista" );
    level._effect["rpg_geotrail"] = loadfx( "fx/smoke/smoke_geotrail_rpg" );
    level._effect["rpg_geotrail4"] = loadfx( "vfx/moments/enemyhq/vfx_glow_stickyg_atrium" );
    level._effect["rpg_geotrail8"] = loadfx( "vfx/gameplay/smoke_trails/vfx_jet_contrail" );
    level._effect["vfx_glow_stickyg_blink"] = loadfx( "vfx/moments/enemyhq/vfx_glow_stickyg_blink" );
    level._effect["vfx_glow_stickyg_static"] = loadfx( "vfx/moments/enemyhq/vfx_glow_stickyg_static" );
    level._effect["vfx_ehq_birds_flock_runner"] = loadfx( "vfx/ambient/animals/vfx_ehq_birds_flock_runner" );
    level._effect["vfx_birds_flyaway_runner"] = loadfx( "vfx/moments/enemyhq/vfx_birds_flyaway_runner" );
    level._effect["vfx_ehq_birds_rand"] = loadfx( "vfx/ambient/animals/vfx_ehq_birds_rand" );
    level._effect["vfx_headlight_truck_ehq"] = loadfx( "vfx/ambient/lights/vfx_headlight_truck_ehq" );
    level._effect["gas_room"] = loadfx( "vfx/moments/enemyhq/vfx_teargas_uvfill" );
    level._effect["vfx_smk_puff_door"] = loadfx( "vfx/moments/enemyhq/vfx_smk_puff_door" );
    level._effect["gas_theatre"] = loadfx( "vfx/moments/enemyhq/vfx_teargas_uvfill_theatre" );
    level._effect["gas_booth"] = loadfx( "vfx/moments/enemyhq/vfx_teargas_uvfill_booth" );
    level._effect["vfx_handflare_ehq"] = loadfx( "vfx/ambient/props/vfx_handflare_ehq" );
    level._effect["vfx_lynx_fire_post"] = loadfx( "vfx/moments/enemyhq/vfx_lynx_fire_post" );
    level._effect["vfx_fire_truck_05_post"] = loadfx( "vfx/moments/enemyhq/vfx_fire_truck_05_post" );
    level._effect["vfx_7t_dust"] = loadfx( "vfx/gameplay/tread_fx/vfx_7t_dust" );
    level._effect["vfx_lynx_dust"] = loadfx( "vfx/gameplay/tread_fx/vfx_lynx_dust" );
    level._effect["vfx_fire_truck"] = loadfx( "vfx/moments/enemyhq/vfx_fire_truck" );
    level._effect["vfx_fire_truck_05"] = loadfx( "vfx/moments/enemyhq/vfx_fire_truck_05" );
    level._effect["vfx_lynx_tendrils"] = loadfx( "vfx/moments/enemyhq/vfx_lynx_tendrils" );
    level._effect["vfx_ehq_sparks_light"] = loadfx( "vfx/moments/enemyhq/vfx_ehq_sparks_light" );
    level._effect["vfx_ehq_lynxexplode"] = loadfx( "vfx/moments/enemyhq/vfx_ehq_lynxexplode" );
    level._effect["vfx_lynx_crash"] = loadfx( "vfx/moments/enemyhq/vfx_lynx_crash" );
    level._effect["vfx_lynx_fire"] = loadfx( "vfx/moments/enemyhq/vfx_lynx_fire" );
    level._effect["vfx_chairdust_blow"] = loadfx( "vfx/moments/enemyhq/vfx_chairdust_blow" );
    level._effect["vfx_rampmound_sparks"] = loadfx( "vfx/moments/enemyhq/vfx_rampmound_sparks" );
    level._effect["vfx_ehq_seat_trail"] = loadfx( "vfx/moments/enemyhq/vfx_ehq_seat_trail" );
    level._effect["vfx_part_cluster"] = loadfx( "vfx/moments/mp_lonestar/vfx_part_cluster" );
    level._effect["vfx_godray_tgasroom"] = loadfx( "vfx/moments/enemyhq/vfx_godray_tgasroom" );
    level._effect["vfx_thick_cloud_large"] = loadfx( "vfx/ambient/weather/clouds/vfx_thick_cloud_large" );
    level._effect["vfx_dust_ehq_runner"] = loadfx( "vfx/moments/enemyhq/vfx_dust_ehq_runner" );
    level._effect["vfx_dust_ehq_1"] = loadfx( "vfx/moments/enemyhq/vfx_dust_ehq_1" );
    level._effect["vfx_dk_particulates"] = loadfx( "vfx/moments/enemyhq/vfx_dk_particulates" );
    level._effect["cage_smoke"] = loadfx( "fx/smoke/teargas_grenade" );
    level._effect["sparks_car_scrape_point"] = loadfx( "fx/misc/sparks_car_scrape_point" );
    level._effect["glowstick"] = loadfx( "fx/lights/clockwork_glowstick" );
    level._effect["flashlight"] = loadfx( "vfx/ambient/lights/flashlight_spotlight_ehq" );
    level._effect["keegan_muzzleflash"] = loadfx( "fx/muzzleflashes/ak47_flash_wv" );
    level._effect["blood_small"] = loadfx( "fx/misc/blood_head_kick" );
    level._effect["blood_medium"] = loadfx( "fx/misc/blood_back_stab" );
    level._effect["blood_heavy"] = loadfx( "fx/misc/blood_large_gush" );
    level._effect["vfx_dog_screenblood"] = loadfx( "vfx/gameplay/dog/vfx_dog_screenblood" );
    level._effect["vfx_dog_droolfoam"] = loadfx( "vfx/gameplay/dog/vfx_dog_droolfoam" );
    level._effect["vfx_dog_attack_blood"] = loadfx( "vfx/gameplay/dog/vfx_dog_attack_blood" );
    level._effect["vfx_dog_attack_throatrip"] = loadfx( "vfx/gameplay/dog/vfx_dog_attack_throatrip" );
    level._effect["vfx_dog_attack_blooddrip"] = loadfx( "vfx/gameplay/dog/vfx_dog_attack_blooddrip" );
    level._effect["dog_bite"][1] = loadfx( "fx/misc/blood_head_kick" );
    level._effect["dog_bite"][2] = loadfx( "fx/misc/blood_back_stab" );
    level._effect["dog_bite"][4] = loadfx( "fx/misc/blood_large_gush" );
    level._effect["field_smoke_stack_small"] = loadfx( "fx/smoke/thick_black_smoke_mp" );
    level._effect["field_smoke_stack_thick"] = loadfx( "fx/smoke/thick_black_smoke_l" );
    level._effect["finale_explosion"] = loadfx( "fx/explosions/vehicle_explosion_gaz" );
    level._effect["target_marker_yellow"] = loadfx( "fx/misc/ui_pickup_available" );
    level._effect["target_marker_red"] = loadfx( "fx/misc/ui_pickup_unavailable" );
    level._effect["remote_sniper_hit"] = loadfx( "vfx/gameplay/explosions/impacts/vfx_tank_concrete_explosion" );
    level._effect["remote_sniper_blood"] = loadfx( "vfx/gameplay/impacts/flesh/vfx_flesh_hit_body_ehq" );
    level._effect["remote_sniper_blood_exit"] = loadfx( "vfx/gameplay/impacts/flesh/vfx_flesh_hit_exit_ehq" );
    level._effect["water_stop"] = loadfx( "fx/water/player_water_wake" );
    level._effect["water_movement"] = loadfx( "fx/water/ehq_water_stop" );

    if ( !getdvarint( "r_reflectionProbeGenerate" ) )
    {
        maps\createfx\enemyhq_fx::main();
        maps\createfx\enemyhq_sound::main();
    }

    thread enemyhq_footstep_override();
    thread enemyhq_treadfx_override();
}

enemyhq_footstep_override()
{
    level waittill( "load_finished" );
    animscripts\utility::setfootstepeffect( "water", loadfx( "vfx/gameplay/footsteps/footstep_water_small" ) );
    animscripts\utility::setfootstepeffectsmall( "water", loadfx( "vfx/gameplay/footsteps/footstep_water_small" ) );
}

enemyhq_treadfx_override()
{
    level waittill( "load_finished" );
    maps\_vehicle::build_treadfx( "script_vehicle_man_7t_k9_physics", "default", "vfx/gameplay/tread_fx/vfx_7t_dust" );
    maps\_vehicle::build_treadfx( "script_vehicle_man_7t_k9", "default", "vfx/gameplay/tread_fx/vfx_7t_dust" );
    maps\_vehicle::build_treadfx( "script_vehicle_iveco_lynx", "default", "vfx/gameplay/tread_fx/vfx_lynx_dust" );
}
