423 lines
10 KiB
Plaintext
423 lines
10 KiB
Plaintext
-- @ Version: SCREEN SPACE SHADERS - UPDATE 12.3
|
|
-- @ Description: Weapons DOF script - Settings
|
|
-- @ Author: https://www.moddb.com/members/ascii1457
|
|
-- @ Mod: https://www.moddb.com/mods/stalker-anomaly/addons/screen-space-shaders
|
|
|
|
-- If you're not using MCM you can customize your settigns here --
|
|
ssfx_default_settings = {
|
|
|
|
-- [ IDLE DOF ]
|
|
["fadestart"] = 0.15, -- Out of focus fade start
|
|
["fadelen"] = 0.25, -- Out of focus fade length
|
|
["blur"] = 1.1, -- Blur intensity ( 0 = Disable )
|
|
["edgeblur"] = 0.3, -- Peripheral Blur ( 0 = Disable )
|
|
|
|
-- [ AIMING DOF ]
|
|
["aim_fadestart"] = 0.1, -- Out of focus fade start
|
|
["aim_fadelen"] = 0.25, -- Out of focus fade length
|
|
["aim_blur"] = 1.6, -- Blur intensity ( 0 = Disable )
|
|
["aim_edgeblur"] = 1.0, -- Peripheral Blur ( 0 = Disable )
|
|
|
|
-- [ ACTIONS ]
|
|
["reloading"] = true, -- DOF when reloading
|
|
["pda"] = true, -- DOF when using PDA
|
|
["inventory"] = true, -- DOF when using Inventory
|
|
["fdda"] = true, -- DOF when using Items ( FDDA addon )
|
|
["looting_mutant"] = true, -- DOF when looting mutants
|
|
}
|
|
----------------------------------------------------
|
|
|
|
-- No aim DOF weapons. PIP scopes
|
|
wpn_nodof = {
|
|
["wpn_ak5c_bas_5c_tik"] = true,
|
|
["wpn_scar_siber_m2_custom"] = true,
|
|
["wpn_aug_a1_bas"] = true,
|
|
["wpn_aug_a1_custom_bas"] = true,
|
|
|
|
["wpn_saiga12s_m1_pka"] = true,
|
|
["wpn_sks_molot_pka"] = true,
|
|
["wpn_sks_tac_pka"] = true,
|
|
["wpn_abakan_n_pka"] = true,
|
|
["wpn_ak105_bas_pka"] = true,
|
|
["wpn_ak105_pka"] = true,
|
|
["wpn_ak74_n_pka"] = true,
|
|
["wpn_ak74_pmc_pka"] = true,
|
|
["wpn_ak74m_beard_pka"] = true,
|
|
["wpn_ak74m_n_pka"] = true,
|
|
["wpn_ak74u_n1_pka"] = true,
|
|
["wpn_ak74u_tac_pka"] = true,
|
|
["wpn_pkp_siber_pka"] = true,
|
|
["wpn_vintorez_isg_pka"] = true,
|
|
["wpn_vintorez_m1_pka"] = true,
|
|
["wpn_vintorez_m2_pka"] = true,
|
|
["wpn_vintorez_n1_pka"] = true,
|
|
}
|
|
|
|
-- FDDA animations, you can adjust times here ( Porcentual )
|
|
items_time = {
|
|
["medkit"] = 0.55,
|
|
["medkit_army"] = 0.55,
|
|
["antibio_chlor"] = 0.55,
|
|
["medkit_scientic"] = 0.55,
|
|
["medkit_elite"] = 0.55,
|
|
|
|
["tushonka"] = 0.4,
|
|
["conserva"] = 0.4,
|
|
["corn"] = 0.4,
|
|
["tomato"] = 0.4,
|
|
["beans"] = 0.4,
|
|
["chili"] = 0.4,
|
|
|
|
["antirad"] = 0.8,
|
|
["antirad_cystamine"] = 0.8,
|
|
["stimpack"] = 0.8,
|
|
["stimpack_army"] = 0.8,
|
|
["stimpack_scientic"] = 0.8,
|
|
|
|
["drug_coagulant"] = 0.5,
|
|
["drug_sleepingpills"] = 0.5,
|
|
["drug_psy_blockade"] = 0.5,
|
|
["antiemetic"] = 0.5,
|
|
["caffeine"] = 0.5,
|
|
["antirad_kalium"] = 0.5,
|
|
["drug_antidot"] = 0.5,
|
|
["antibio_sulfad"] = 0.5,
|
|
["drug_radioprotector"] = 0.5,
|
|
|
|
["mre"] = 0.9,
|
|
["ration_ukr"] = 0.9,
|
|
["ration_ru"] = 0.9,
|
|
|
|
["cigar1"] = 0.2,
|
|
["cigar2"] = 0.2,
|
|
["cigar3"] = 0.2,
|
|
["cigarettes"] = 0.2,
|
|
["cigarettes_lucky"] = 0.2,
|
|
["cigarettes_russian"] = 0.2,
|
|
|
|
["glucose"] = 0.85,
|
|
["glucose_s"] = 0.85,
|
|
}
|
|
|
|
-- Reload times, you can add or adjust times here ( millisecs )
|
|
wpn_reloadtime = {
|
|
|
|
-- Rifles
|
|
["wpn_9a91"] = 3130,
|
|
["wpn_ak5c_bas"] = 3160,
|
|
["wpn_abakan"] = 3630,
|
|
["wpn_abakan_camo"] = 3630,
|
|
["wpn_abakan_n"] = 3060,
|
|
["wpn_aek"] = 3500,
|
|
["wpn_aek_camo"] = 3500,
|
|
["wpn_aek_duty"] = 3500,
|
|
["wpn_ak"] = 3100,
|
|
["wpn_ak101"] = 2690,
|
|
["wpn_ak101_camo"] = 2700,
|
|
["wpn_ak102"] = 2670,
|
|
["wpn_ak103"] = 2700,
|
|
["wpn_ak103_camo"] = 2690,
|
|
["wpn_ak104"] = 2670,
|
|
["wpn_ak104_alfa"] = 3460,
|
|
["wpn_ak105_shakal"] = 2690,
|
|
["wpn_ak105_swamp"] = 2700,
|
|
["wpn_ak12"] = 2790,
|
|
["wpn_ak12_custom"] = 3470,
|
|
["wpn_ak12_custom_mono_kit"] = 2690,
|
|
["wpn_ak12_m1"] = 2690,
|
|
["wpn_ak5c_bas_5c_tik"] = 3170,
|
|
["wpn_ak5c_isg"] = 3170,
|
|
["wpn_ak74"] = 2700,
|
|
["wpn_ak74_alt"] = 2700,
|
|
["wpn_ak74_custom"] = 2690,
|
|
["wpn_ak74_isg"] = 2700,
|
|
["wpn_ak74_rpk"] = 2690,
|
|
["wpn_ak74m"] = 2690,
|
|
["wpn_ak74m_alt"] = 2700,
|
|
["wpn_ak74m_beard"] = 2800,
|
|
["wpn_ak74m_camo"] = 2700,
|
|
["wpn_ak74m_custom"] = 2690,
|
|
["wpn_ak74m_duty"] = 2700,
|
|
["wpn_ak74m_n"] = 2800,
|
|
["wpn_ak74m_pka"] = 2700,
|
|
["wpn_ak74u_snag"] = 2650,
|
|
["wpn_ace21"] = 4030,
|
|
["wpn_ak105"] = 2730,
|
|
["wpn_ak105_sp"] = 2700,
|
|
["wpn_ak74u"] = 2650,
|
|
["wpn_ak74u_camo"] = 2650,
|
|
["wpn_ak74u_isg"] = 2690,
|
|
["wpn_ak74u_m1_isg"] = 2700,
|
|
["wpn_ak74u_n1"] = 2730,
|
|
["wpn_ak74u_old"] = 2650,
|
|
["wpn_ak74u_tac"] = 3520,
|
|
["wpn_akm"] = 2690,
|
|
["wpn_fal_aus"] = 2790,
|
|
["wpn_mk14"] = 3730,
|
|
["wpn_pkm"] = 8030,
|
|
["wpn_pkm_zulus"] = 8030,
|
|
["wpn_pkp"] = 8030,
|
|
["wpn_rpd"] = 7140,
|
|
["wpn_rpk74_16"] = 2780,
|
|
["wpn_akm_alfa"] = 2690,
|
|
["wpn_akm_isg"] = 2690,
|
|
["wpn_akm_bas"] = 2700,
|
|
["wpn_akms"] = 2700,
|
|
["wpn_akms_alt"] = 2700,
|
|
["wpn_akms_bas"] = 2700,
|
|
["wpn_aks"] = 3100,
|
|
["wpn_aks74"] = 2690,
|
|
["wpn_aks74_new"] = 2690,
|
|
["wpn_aug"] = 3900,
|
|
["wpn_aug_a1_bas"] = 3230,
|
|
["wpn_aug_a3_bas"] = 3230,
|
|
["wpn_aug_custom"] = 3900,
|
|
["wpn_aug_merc"] = 3900,
|
|
["wpn_aug_modern"] = 3900,
|
|
["wpn_fal"] = 3200,
|
|
["wpn_fal_sa58_osw"] = 2240,
|
|
["wpn_fnc"] = 3330,
|
|
["wpn_g3"] = 3100,
|
|
["wpn_g36"] = 3570,
|
|
["wpn_g36_camo"] = 3570,
|
|
["wpn_g36_nimble"] = 3570,
|
|
["wpn_g36k"] = 3570,
|
|
["wpn_g3sg1"] = 3100,
|
|
["wpn_galil"] = 3500,
|
|
["wpn_galil_custom"] = 3500,
|
|
["wpn_galil_modern"] = 3500,
|
|
["wpn_hk416"] = 3970,
|
|
["wpn_howa20"] = 3600,
|
|
["wpn_l85"] = 3890,
|
|
["wpn_l85_alt"] = 3900,
|
|
["wpn_l85_custom"] = 3900,
|
|
["wpn_l85_m1"] = 3900,
|
|
["wpn_l85_m2"] = 3900,
|
|
["wpn_l85_m3"] = 3530,
|
|
["wpn_l85_modern"] = 3900,
|
|
["wpn_l85a2"] = 3900,
|
|
["wpn_l85a2_alt"] = 3900,
|
|
["wpn_l85a2_custom"] = 3900,
|
|
["wpn_l85a2_modern"] = 3900,
|
|
["wpn_lr300"] = 3100,
|
|
["wpn_lr300_camo"] = 3100,
|
|
["wpn_lr300_custom"] = 3100,
|
|
["wpn_m16"] = 3000,
|
|
["wpn_m16a2"] = 3000,
|
|
["wpn_m249"] = 7730,
|
|
["wpn_m4"] = 3030,
|
|
["wpn_m4_butcher"] = 3100,
|
|
["wpn_m4_ru556"] = 3000,
|
|
["wpn_m4_tac"] = 2960,
|
|
["wpn_m4a1"] = 4300,
|
|
["wpn_m4a1_camo"] = 4300,
|
|
["wpn_m4a1_custom"] = 4300,
|
|
["wpn_m4a1_freedom"] = 4300,
|
|
["wpn_m4a1_siber"] = 3160,
|
|
["wpn_ppsh41"] = 3740,
|
|
["wpn_ppsh41_rednew"] = 3740,
|
|
["wpn_ppsh41_woodnew"] = 3740,
|
|
["wpn_rpk"] = 3270,
|
|
["wpn_rpk74"] = 3260,
|
|
["wpn_scar"] = 3800,
|
|
["wpn_scar_custom"] = 3800,
|
|
["wpn_scar_new"] = 3800,
|
|
["wpn_scar_siber"] = 3590,
|
|
["wpn_scar_siber_black"] = 3600,
|
|
["wpn_scar_siber_m1"] = 3600,
|
|
["wpn_scar_siber_m1_black"] = 3600,
|
|
["wpn_scar_siber_m2"] = 3600,
|
|
["wpn_scar_siber_m2_custom"] = 3600,
|
|
["wpn_sig550"] = 4030,
|
|
["wpn_sig550_camo"] = 4030,
|
|
["wpn_sig550_custom"] = 4030,
|
|
["wpn_sig550_luckygun"] = 4030,
|
|
["wpn_val"] = 2480,
|
|
["wpn_val_modern"] = 4930,
|
|
["wpn_val_tac"] = 2900,
|
|
["wpn_vintorez"] = 2490,
|
|
["wpn_vintorez_1pn93"] = 2490,
|
|
["wpn_vintorez_alt"] = 2490,
|
|
["wpn_vintorez_isg"] = 2700,
|
|
["wpn_vintorez_m1"] = 3000,
|
|
["wpn_vintorez_m2"] = 3000,
|
|
["wpn_vintorez_n1"] = 2890,
|
|
["wpn_vintorez_nimble"] = 2940,
|
|
["wpn_vsk94"] = 3130,
|
|
["wpn_type63"] = 4230,
|
|
["wpn_ash12"] = 3660,
|
|
["wpn_aug_a1_custom_bas"] = 3230,
|
|
["wpn_aug_a3_custom_bas"] = 3230,
|
|
["wpn_famas3"] = 3500,
|
|
["wpn_fn2000"] = 3100,
|
|
["wpn_fn2000_camo"] = 3100,
|
|
["wpn_fn2000_custom"] = 3100,
|
|
["wpn_fn2000_nimble"] = 3100,
|
|
["wpn_groza"] = 2560,
|
|
["wpn_groza_nimble"] = 2560,
|
|
["wpn_sig552"] = 3330,
|
|
["wpn_vihr"] = 4530,
|
|
|
|
-- Pistols
|
|
["wpn_aps"] = 2850,
|
|
["wpn_aps_bas"] = 2850,
|
|
["wpn_aps_bas_apsabigo"] = 2850,
|
|
["wpn_beretta"] = 2870,
|
|
["wpn_beretta_alt"] = 2870,
|
|
["wpn_beretta_camo"] = 2870,
|
|
["wpn_beretta_modern"] = 2870,
|
|
["wpn_colt1911"] = 2570,
|
|
["wpn_colt1911_alt"] = 2570,
|
|
["wpn_colt1911_camo"] = 2570,
|
|
["wpn_colt1911_custom"] = 2570,
|
|
["wpn_colt1911_duty"] = 2570,
|
|
["wpn_colt1911_merc"] = 2570,
|
|
["wpn_colt1911_modern"] = 2570,
|
|
["wpn_colt1911_n"] = 2465,
|
|
["wpn_colt1911_new"] = 2570,
|
|
["wpn_colt_kimber"] = 2570,
|
|
["wpn_cz52"] = 2930,
|
|
["wpn_cz75"] = 2270,
|
|
["wpn_cz75_auto"] = 3300,
|
|
["wpn_desert_eagle"] = 2560,
|
|
["wpn_desert_eagle_custom"] = 2570,
|
|
["wpn_desert_eagle_modern"] = 2570,
|
|
["wpn_desert_eagle_nimble"] = 2570,
|
|
["wpn_fn57"] = 2970,
|
|
["wpn_fnp45"] = 2440,
|
|
["wpn_fnp45_custom"] = 2430,
|
|
["wpn_fnx45"] = 2430,
|
|
["wpn_fnx45_alt"] = 2430,
|
|
["wpn_fnx45_custom"] = 2430,
|
|
["wpn_fort"] = 2820,
|
|
["wpn_fort_snag"] = 2820,
|
|
["wpn_glock"] = 2860,
|
|
["wpn_glock17"] = 2960,
|
|
["wpn_glock17_m1"] = 2960,
|
|
["wpn_glock_custom"] = 2860,
|
|
["wpn_glock_modern"] = 2860,
|
|
["wpn_gsh18"] = 3110,
|
|
["wpn_gsh18_custom"] = 3110,
|
|
["wpn_hpsa"] = 2570,
|
|
["wpn_hpsa_alt"] = 2560,
|
|
["wpn_korth"] = 2820,
|
|
["wpn_korth_custom"] = 2820,
|
|
["wpn_mp412"] = 3430,
|
|
["wpn_oc33"] = 3230,
|
|
["wpn_pb"] = 2550,
|
|
["wpn_pb_bas"] = 4030,
|
|
["wpn_pb_bas_custom"] = 4030,
|
|
["wpn_pb_custom"] = 2550,
|
|
["wpn_pl15"] = 2820,
|
|
["wpn_pl15_pl15_scolaz"] = 2820,
|
|
["wpn_pm"] = 2550,
|
|
["wpn_pm_actor"] = 2550,
|
|
["wpn_pm_bas_actor"] = 4380,
|
|
["wpn_pm_bas_actor"] = 4030,
|
|
["wpn_pm_bas_custom"] = 4030,
|
|
["wpn_pm_custom"] = 2550,
|
|
["wpn_pmm"] = 2550,
|
|
["wpn_sig220"] = 11050,
|
|
["wpn_sig220"] = 2570,
|
|
["wpn_sig220_custom"] = 2570,
|
|
["wpn_sig220_n"] = 2460,
|
|
["wpn_sig220_n_u2p2g0r"] = 2460,
|
|
["wpn_sig220_n_upg220"] = 2460,
|
|
["wpn_sig220_nimble"] = 2560,
|
|
["wpn_sig226"] = 2470,
|
|
["wpn_sig226_226sig_kit"] = 2470,
|
|
["wpn_sr1m"] = 2960,
|
|
["wpn_sr1m_sr1upgr1"] = 9680,
|
|
["wpn_sr1m_sr1upgr1"] = 2960,
|
|
["wpn_usp_custom"] = 2430,
|
|
["wpn_usp_match"] = 2430,
|
|
["wpn_usp_nimble"] = 2430,
|
|
["wpn_usp_tac"] = 2470,
|
|
["wpn_walther"] = 3110,
|
|
["wpn_walther_custom"] = 3110,
|
|
["wpn_walther_p99"] = 2470,
|
|
["wpn_walther_p99_mod9"] = 2970,
|
|
|
|
-- Snipers with mag
|
|
["wpn_dvl10_m1"] = 3930,
|
|
["wpn_dvl10"] = 3930,
|
|
["wpn_k98_mod_silen98"] = 4300,
|
|
["wpn_l96a1"] = 4500,
|
|
["wpn_l96a1m"] = 4500,
|
|
["wpn_m24"] = 4070,
|
|
["wpn_m82"] = 4630,
|
|
["wpn_m98b"] = 4840,
|
|
["wpn_m82"] = 4630,
|
|
["wpn_remington700"] = 4300,
|
|
["wpn_remington700_archangel"] = 4300,
|
|
["wpn_remington700_lapua700"] = 4300,
|
|
["wpn_remington700_magpul_pro"] = 4300,
|
|
["wpn_remington700_mod_x_gen3"] = 4300,
|
|
["wpn_sig550_sniper"] = 4030,
|
|
["wpn_sv98"] = 4500,
|
|
["wpn_sv98_custom"] = 4500,
|
|
["wpn_svd"] = 5770,
|
|
["wpn_svd_custom"] = 5770,
|
|
["wpn_svd_m1"] = 4810,
|
|
["wpn_svd_nimble"] = 5770,
|
|
["wpn_svds"] = 4810,
|
|
["wpn_svds_pmc"] = 2800,
|
|
["wpn_vssk"] = 3670,
|
|
["wpn_wa2000"] = 3900,
|
|
["wpn_trg"] = 4470,
|
|
["wpn_gauss"] = 2990,
|
|
["wpn_gauss_quest"] = 3000,
|
|
["wpn_k98_mod"] = 4300,
|
|
["wpn_sr25"] = 3200,
|
|
["wpn_svu"] = 3600,
|
|
["wpn_svu_alt"] = 3600,
|
|
["wpn_svu_nimble"] = 5530,
|
|
["wpn_g43"] = 3500,
|
|
["wpn_mosin"] = 7330,
|
|
["wpn_sks"] = 4930,
|
|
["wpn_sks_b"] = 4930,
|
|
["wpn_sks_modern"] = 4930,
|
|
["wpn_sks_molot"] = 6360,
|
|
["wpn_sks_tac"] = 6370,
|
|
["wpn_svt40"] = 5010,
|
|
["wpn_svt40_modern"] = 5010,
|
|
|
|
-- SMGs
|
|
["wpn_aug_freedom"] = 3900,
|
|
["wpn_bizon"] = 4270,
|
|
["wpn_mp5"] = 2530,
|
|
["wpn_mp5_alt"] = 2530,
|
|
["wpn_mp5_custom"] = 2530,
|
|
["wpn_mp5_nimble"] = 2530,
|
|
["wpn_mp5sd"] = 3230,
|
|
["wpn_mp5sd_custom"] = 3230,
|
|
["wpn_mp5sd_new"] = 3230,
|
|
["wpn_p90"] = 4130,
|
|
["wpn_sr2_m1"] = 2460,
|
|
["wpn_sr2_veresk"] = 2470,
|
|
["wpn_sr2_veresk_sr2_upkit"] = 2460,
|
|
["wpn_ump45"] = 2760,
|
|
["wpn_ump45_custom"] = 2770,
|
|
["wpn_vityaz"] = 2900,
|
|
["wpn_kiparis"] = 2450,
|
|
["wpn_pp2000"] = 2930,
|
|
["wpn_mp7"] = 3730,
|
|
["wpn_vz61"] = 2450,
|
|
["wpn_vz61_alt"] = 2450,
|
|
["wpn_vz61_camo"] = 2450,
|
|
["wpn_vz61_freedom"] = 2450,
|
|
|
|
-- Shotguns with mag
|
|
["wpn_saiga12s_isg"] = 2780,
|
|
["wpn_saiga12s"] = 3260,
|
|
["wpn_saiga12s_m1"] = 3360,
|
|
["wpn_saiga12s_m2"] = 3360,
|
|
["wpn_usas12"] = 4970,
|
|
["wpn_vepr"] = 3260,
|
|
["wpn_toz106"] = 4300,
|
|
["wpn_toz106_m1"] = 4300,
|
|
|
|
-- Explosive
|
|
["wpn_rpg7"] = 3360,
|
|
|
|
} |