Divergent/mods/Screen Space Shaders/gamedata/scripts/ssfx_interactive_grass_mcm....

43 lines
1.9 KiB
Plaintext
Raw Normal View History

2024-03-17 20:18:03 -04:00
-- @ Version: SCREEN SPACE SHADERS - UPDATE 16
-- @ Description: Shadow Cascades script - MCM Menu
-- @ Author: https://www.moddb.com/members/ascii1457
-- @ Mod: https://www.moddb.com/mods/stalker-anomaly/addons/screen-space-shaders
function on_mcm_load()
op = { id= "inter_grass", sh=true, text="ui_mcm_ssfx_module_inter_grass", gr ={
{id = "title",type= "slide",link= "ui_options_slider_player",text="ui_mcm_ssfx_module_inter_grass_title",size= {512,50},spacing= 20 },
{id = "enable_mcm", type = "check", val = 1, def=true, restart=true},
{id = "max_entities_mcm", type = "track", val = 2, min=1.0,max=15,step=1.0, def = 8, restart=true},
{id = "max_distance_mcm", type = "track", val = 2, min=10.0,max=5000,step=10.0, def = 2000},
{id = "enable_player_mcm", type = "check", val = 1, def=true},
{id = "enable_mutants_mcm", type = "check", val = 1, def=true},
{id = "line", type = "line"},
{id = "enable_anomalies_mcm", type = "check", val = 1, def=true},
{id = "anomalies_distance_mcm", type = "track", val = 2, min=10.0,max=60,step=1.0, def = 25},
{id = "line", type = "line"},
{id = "radius_mcm", type = "track", val = 2, min=0.5,max=2.5,step=0.1, def = 1.0},
{id = "horizontal_str_mcm", type = "track", val = 2, min=0.5,max=2.5,step=0.1, def = 1.0},
{id = "vertical_str_mcm", type = "track", val = 2, min=0.5,max=2.5,step=0.1, def = 1.0},
{id = "line", type = "line"},
{id = "explosions_str_mcm", type = "track", val = 2, min=0.0,max=2.0,step=0.05, def = 1.0},
{id = "explosions_speed_mcm", type = "track", val = 2, min=1.0,max=20.0,step=1, def = 5.0},
{id = "line", type = "line"},
{id = "shooting_str_mcm", type = "track", val = 2, min=0.0,max=1.0,step=0.05, def = 0.3},
{id = "shooting_range_mcm", type = "track", val = 2, min=0.5,max=5.0,step=0.1, def = 2.0},
}
}
return op, "ssfx_module"
end