// Q2PRO-X preset: allow this trusted mass cvar change through autosave guard.
q2prox_cfg_preset_apply
// Q2PRO-X AVFX preset generated from current Ultra baseline.
// Preset: Rain / Ultra Quality
// Stored under baseq2/q2pro-x so users can tune the preset cfg directly.
// Sounds are forced on by design for every preset tier.

echo "Q2PRO-X AVFX preset: Rain / Ultra Quality"

// Keep dynamic projectile/lightning lighting available for storm and AVFX impact presets.
set gl_dynamic "1"
set cl_lights "1"

set cl_avfx "1"
set cl_avfx_alpha "0.950000"
set cl_avfx_ash_dlights "1"
set cl_avfx_ash_sprites "1"
set cl_avfx_audio "1"
set cl_avfx_audio_impact "1"
set cl_avfx_audio_lava_steam "1"
set cl_avfx_audio_lava_surface_steam "1"
set cl_avfx_audio_puddle_steps "1"
set cl_avfx_audio_rain "1"
set cl_avfx_audio_rain_drops "1"
set cl_avfx_audio_snow "1"
set cl_avfx_audio_snow_steps "1"
set cl_avfx_audio_surface_steps "1"
set cl_avfx_audio_thunder "1"
set cl_avfx_audio_volume "1"
set cl_avfx_audio_water "1"
set cl_avfx_audio_wind "1"
set cl_avfx_competitive_limit "0"
set cl_avfx_coverage_update_hz "30"
set cl_avfx_demo "1"
set cl_avfx_density "0.55"
set cl_avfx_flow_view_anchor "0"
set cl_avfx_height "512"
set cl_avfx_lava_steam "1"
set cl_avfx_lava_steam_density "1.2"
set cl_avfx_lava_steam_edge_radius "96"
set cl_avfx_lava_steam_height "96"
set cl_avfx_lava_steam_speed "48"
set cl_avfx_lightning "0"
set cl_avfx_lightning_duration "2.300001"
set cl_avfx_lightning_frequency "2.100000"
set cl_avfx_lightning_impact_dlight "1"
set cl_avfx_lightning_impact_scale "5"
set cl_avfx_lightning_screen_flash "1"
set cl_avfx_multiplayer "1"
set cl_avfx_overlay_path "1"
set cl_avfx_particle_multiplier "100"
set cl_avfx_preset "1"
set cl_avfx_puddle_step_splash_amount "1.0"
set cl_avfx_puddle_step_splashes "1"
set cl_avfx_quality "2"
set cl_avfx_radius "1088"
set cl_avfx_rain_drop_density "0.300000"
set cl_avfx_rain_drops "1"
set cl_avfx_rain_flow_debug "0"
set cl_avfx_rain_flow_debug_alpha "0.75"
set cl_avfx_rain_flow_debug_radius "8192"
set cl_avfx_rain_gpu_debris "-1"
set cl_avfx_rain_on_eyes "1"
set cl_avfx_rain_on_eyes_amount "1.0"
set cl_avfx_rain_puddle_alpha "0.600000"
set cl_avfx_rain_puddle_cascade_field_debug "0"
set cl_avfx_rain_puddle_cascade_field_density "1.0"
set cl_avfx_rain_puddle_count "500"
set cl_avfx_rain_puddle_density "1.00"
set cl_avfx_rain_puddle_dust "3"
set cl_avfx_rain_puddle_dust_size "1.200000"
set cl_avfx_rain_puddle_fill_rate "8.660001"
set cl_avfx_rain_puddle_max_size "100"
set cl_avfx_rain_puddle_rings "1"
set cl_avfx_rain_puddle_runoff "1"
set cl_avfx_rain_puddle_runoff_dust "2"
set cl_avfx_rain_puddle_runoff_grow_speed "0.050000"
set cl_avfx_rain_puddle_runoff_scale "0.600000"
set cl_avfx_rain_puddle_specular "1"
set cl_avfx_rain_puddle_specular_debug "0"
set cl_avfx_rain_puddle_specular_strength "0.050000"
set cl_avfx_rain_puddles "1"
set cl_avfx_rain_ripple_density "1.0"
set cl_avfx_rain_ripple_speed "0.300000"
set cl_avfx_rain_splash_density "1"
set cl_avfx_rain_splash_scale "0.680000"
set cl_avfx_rain_splashes "1"
set cl_avfx_rain_water_contact "1"
set cl_avfx_rain_water_contact_bubble_density "4.599998"
set cl_avfx_rain_water_contact_bubble_size "0.550000"
set cl_avfx_rain_water_contact_bubbles "1"
set cl_avfx_rain_water_ripples "1"
set cl_avfx_render_lod "0"
set cl_avfx_render_lod_wu "960"
set cl_avfx_size "1.100000"
set cl_avfx_sky "1"
set cl_avfx_sky_auto "1"
set cl_avfx_sky_cloud_intensity "0.550000"
set cl_avfx_sky_cloud_speed "2.599999"
set cl_avfx_sky_clouds "1"
set cl_avfx_sky_darkness "0.750000"
set cl_avfx_sky_fog_alpha "0.550000"
set cl_avfx_sky_override_mode "2"
set cl_avfx_sky_storm_tint "0.150000"
set cl_avfx_snow_accum "1"
set cl_avfx_snow_accum_alpha "1"
set cl_avfx_snow_accum_count "500"
set cl_avfx_snow_accum_density "1.00"
set cl_avfx_snow_accum_fill_rate "0.060000"
set cl_avfx_snow_accum_max_size "4"
set cl_avfx_snow_field "1"
set cl_avfx_snow_flakes_3d "1"
set cl_avfx_snow_flakes_3d_count "2.000000"
set cl_avfx_snow_flakes_3d_crossed "1"
set cl_avfx_snow_flakes_3d_near "1"
set cl_avfx_snow_flakes_3d_quality "3"
set cl_avfx_snow_flakes_3d_size "0.290000"
set cl_avfx_snow_flakes_3d_tumble "1"
set cl_avfx_snow_footprint_fade_rate "20"
set cl_avfx_snow_footprint_strength "0.500000"
set cl_avfx_snow_footprints "1"
set cl_avfx_snow_gpu "1"
set cl_avfx_snow_gpu_clumpy_edge "0"
set cl_avfx_snow_gpu_clumpy_freq "0.18"
set cl_avfx_snow_gpu_coverage "1"
set cl_avfx_snow_gpu_coverage_prefill "0"
set cl_avfx_snow_gpu_coverage_res "1024"
set cl_avfx_snow_gpu_coverage_tile_px "32"
set cl_avfx_snow_gpu_displace "0"
set cl_avfx_snow_gpu_drip_wu "10"
set cl_avfx_snow_gpu_edge_feather "1"
set cl_avfx_snow_gpu_edge_feather_min_wu "12"
set cl_avfx_snow_gpu_edge_feather_wu "24"
set cl_avfx_snow_gpu_edge_noise_wu "10"
set cl_avfx_snow_gpu_exposure "1"
set cl_avfx_snow_gpu_exposure_res "1024"
set cl_avfx_snow_gpu_exposure_taps "9"
set cl_avfx_snow_gpu_footprint_depth "0.500000"
set cl_avfx_snow_gpu_footprint_size_wu "10"
set cl_avfx_snow_gpu_footprints "1"
set cl_avfx_snow_gpu_footprints_res "512"
set cl_avfx_snow_gpu_fringe "0"
set cl_avfx_snow_gpu_fringe_alpha "0.45"
set cl_avfx_snow_gpu_fringe_width_wu "56"
set cl_avfx_snow_gpu_glitter "0.700000"
set cl_avfx_snow_gpu_material "1"
set cl_avfx_snow_gpu_material_alpha "0.950000"
set cl_avfx_snow_gpu_material_edge_fade_wu "110"
set cl_avfx_snow_gpu_material_min_fill "1.00"
set cl_avfx_snow_gpu_mesh "0"
set cl_avfx_snow_gpu_mesh_h_max "4"
set cl_avfx_snow_gpu_mesh_noise "0.35"
set cl_avfx_snow_gpu_mesh_quality "1"
set cl_avfx_snow_gpu_noise "1"
set cl_avfx_snow_gpu_pom "1"
set cl_avfx_snow_gpu_pom_alpha "1"
set cl_avfx_snow_gpu_pom_depth_wu "32"
set cl_avfx_snow_gpu_pom_edge_taper "1"
set cl_avfx_snow_gpu_pom_grow_time "60"
set cl_avfx_snow_gpu_pom_steps "32"
set cl_avfx_snow_gpu_quality "2"
set cl_avfx_snow_gpu_receivers "1"
set cl_avfx_snow_gpu_relief "0.650000"
set cl_avfx_snow_gpu_relief_intensity "1"
set cl_avfx_snow_gpu_small_face_area_wu2 "4096"
set cl_avfx_snow_gpu_small_face_inradius_wu "32"
set cl_avfx_snow_gpu_spill "1"
set cl_avfx_snow_gpu_spill_alpha "0.75"
set cl_avfx_snow_gpu_spill_chain_passes "8"
set cl_avfx_snow_gpu_spill_drop_alpha "0.9"
set cl_avfx_snow_gpu_spill_edge "1"
set cl_avfx_snow_gpu_spill_fade_wu "96"
set cl_avfx_snow_gpu_spill_full_wu "0"
set cl_avfx_snow_gpu_spill_graph "1"
set cl_avfx_snow_gpu_spill_graph_max_wu "256"
set cl_avfx_snow_gpu_spill_graph_segment_min_overlap "6"
set cl_avfx_snow_gpu_spill_graph_segment_tol_wu "6"
set cl_avfx_snow_gpu_spill_max_drop_wu "96"
set cl_avfx_snow_gpu_spill_max_edge_samples "10124"
set cl_avfx_snow_gpu_spill_sameplane_wu "256"
set cl_avfx_snow_gpu_spill_small_step_wu "12"
set cl_avfx_snow_gpu_spill_step_wu "20"
set cl_avfx_snow_gpu_submodel_cut_feather_wu "8"
set cl_avfx_snow_gpu_thickness_growth "10"
set cl_avfx_snow_mesh "0"
set cl_avfx_snow_mesh_fallback "0"
set cl_avfx_snow_mesh_near_wu "4096"
set cl_avfx_snow_mesh_noise "0.35"
set cl_avfx_snow_mesh_subdiv "2"
set cl_avfx_snow_volume "1"
set cl_avfx_snow_volume_align_surface "0"
set cl_avfx_snow_volume_growth "0.35"
set cl_avfx_snow_volume_h_max "10"
set cl_avfx_snow_volume_near_wu "4096"
set cl_avfx_snow_volume_uv_scale "184"
set cl_avfx_snow_water_effects "1"
set cl_avfx_snow_water_patch_density "1.00"
set cl_avfx_snow_water_patch_drift_speed "4"
set cl_avfx_snow_water_patch_lifetime "95"
set cl_avfx_snow_water_patch_size "3.910000"
set cl_avfx_speed "0.900000"
set cl_avfx_static_sky_cell "48"
set cl_avfx_storm "0"
set cl_avfx_storm_density "0.350000"
set cl_avfx_water "1"
set cl_avfx_water_color "8"
set cl_avfx_water_foam "1"
set cl_avfx_water_quality "2"
set cl_avfx_water_ripples "1"
set cl_avfx_water_strength "0.65"
set cl_avfx_weapon_impact_bfg "1"
set cl_avfx_weapon_impact_blaster "1"
set cl_avfx_weapon_impact_chaingun "1"
set cl_avfx_weapon_impact_grenadelauncher "1"
set cl_avfx_weapon_impact_handgrenade "1"
set cl_avfx_weapon_impact_hyperblaster "1"
set cl_avfx_weapon_impact_machinegun "1"
set cl_avfx_weapon_impact_railgun "1"
set cl_avfx_weapon_impact_rocketlauncher "1"
set cl_avfx_weapon_impact_shotgun "1"
set cl_avfx_weapon_impact_supershotgun "1"
set cl_avfx_weapon_impacts "1"
set cl_avfx_weapon_snow_impact_bfg "1"
set cl_avfx_weapon_snow_impact_blaster "1"
set cl_avfx_weapon_snow_impact_chaingun "1"
set cl_avfx_weapon_snow_impact_fade_rate "1.0"
set cl_avfx_weapon_snow_impact_grenadelauncher "1"
set cl_avfx_weapon_snow_impact_handgrenade "1"
set cl_avfx_weapon_snow_impact_hyperblaster "1"
set cl_avfx_weapon_snow_impact_machinegun "1"
set cl_avfx_weapon_snow_impact_railgun "1"
set cl_avfx_weapon_snow_impact_rocketlauncher "1"
set cl_avfx_weapon_snow_impact_shotgun "1"
set cl_avfx_weapon_snow_impact_supershotgun "1"
set cl_avfx_weapon_snow_impacts "1"
set cl_avfx_weapon_snow_steam_audio "1"
set cl_avfx_weather_level "2"
set cl_avfx_weather_renderer "2"
set cl_avfx_wind_x "32"
set cl_avfx_wind_y "8"
set cl_avfx_world "1"
set cl_avfx_world_auto "1"

// Clear old puddles, runoff, snow fields, footprints and storm runtime state after applying this preset.
avfx_reset
// Q2PRO-X preset: allow this trusted mass cvar change through autosave guard.
q2prox_cfg_preset_apply
