|
|
|
@@ -33,10 +33,10 @@ local pawmenu_path = "ui_mcm_pawsys_pawmenu_"
|
|
|
|
|
local actions_ini = ini_file_ex("scripts\\paw\\menu_actions.ltx")
|
|
|
|
|
local actions_ltx = actions_ini:get_sections(true)
|
|
|
|
|
local load_failed = false
|
|
|
|
|
local load_error_text1 = {id = "load_error1", type = "desc", text = "st_paw_texture_load_error1"}
|
|
|
|
|
local load_error_text2 = {id = "load_error2", type = "desc", text = "st_paw_texture_load_error2"}
|
|
|
|
|
local divider = {id = "divider", type= "line"}
|
|
|
|
|
local load_error_text1 = {id = "load_error1", type= "desc", text = "st_paw_texture_load_error1"}
|
|
|
|
|
local load_error_text2 = {id = "load_error2", type= "desc", text = "st_paw_texture_load_error2"}
|
|
|
|
|
local load_error_text_block = {load_error_text1,load_error_text2,divider}
|
|
|
|
|
local divider = {id = "divider", type = "line"}
|
|
|
|
|
local action_codes = {}
|
|
|
|
|
local action = {}
|
|
|
|
|
local dynamic_faves = {}
|
|
|
|
@@ -219,30 +219,38 @@ function populate_autotag_menus()
|
|
|
|
|
dl("populate_autotag_menus called")
|
|
|
|
|
|
|
|
|
|
local gr = {
|
|
|
|
|
{id = "reticle_header", type= "image", link = "ui_paw_emptytex", size= {512,170},
|
|
|
|
|
{id = "reticle_header", type= "image", link = "ui_paw_emptytex", size= {512,170},
|
|
|
|
|
ui_hook_functor = {catsy_paw_mcm.mcm_init_header_text_block},
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{id = "reticle_mustzoom", type = "check", val = 1, def = true},
|
|
|
|
|
{id = "pin_auto_visible", type = "check", val = 1, def = true},
|
|
|
|
|
{id = "reticle_mode", type = "list", val = 2, def = 2,
|
|
|
|
|
{id = "reticle_mustzoom", type= "check", val = 1, def = true},
|
|
|
|
|
{id = "pin_auto_visible", type= "check", val = 1, def = true},
|
|
|
|
|
{id = "reticle_mode", type= "list", val = 2, def = 2,
|
|
|
|
|
content = {
|
|
|
|
|
{4,"pawsys_cmenu_all"},
|
|
|
|
|
{2,"pawsys_cmenu_cart"},
|
|
|
|
|
{0,"pawsys_cmenu_off"},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
--{id = "show_reticle", type = "check", val = 1, def = true}, -- not implemented yet
|
|
|
|
|
{id = "reticle_alpha", type = "track", val = 2, min = 1, max = 255, step = 1, def = 120},
|
|
|
|
|
{id = "ret_fade_attack_time", type = "input", val = 2, min = 1, max = 5000, def = 150},
|
|
|
|
|
{id = "ret_fade_decay_time", type = "input", val = 2, min = 1, max = 5000, def = 250},
|
|
|
|
|
{id = "autotag_header", type = "image", link = "ui_paw_emptytex", size = {512,50},
|
|
|
|
|
--{id = "show_reticle", type= "check", val = 1, def = true}, -- not implemented yet
|
|
|
|
|
{id = "reticle_alpha", type= "track", val = 2, min = 1, max = 255, step = 1, def = 120},
|
|
|
|
|
{id = "ret_fade_attack_time", type= "input", val = 2, min = 1, max = 5000, def = 150},
|
|
|
|
|
{id = "ret_fade_decay_time", type= "input", val = 2, min = 1, max = 5000, def = 250},
|
|
|
|
|
{id = "autotag_header", type= "image", link = "ui_paw_emptytex", size = {512,50},
|
|
|
|
|
ui_hook_functor = {catsy_paw_mcm.mcm_init_header_text_block},
|
|
|
|
|
},
|
|
|
|
|
{id = "enable_autotag", type = "check", val = 1, def = false},
|
|
|
|
|
{id = "manual_smart_pins", type = "check", val = 1, def = true},
|
|
|
|
|
{id = "autotag_persistence", type = "check", val = 1, def = false},
|
|
|
|
|
{id = "autotag_lifetime", type = "track", val = 2, min = 0, max = 600, step = 1, def = 0},
|
|
|
|
|
{id = "enable_autotag", type= "check", val = 1, def = false},
|
|
|
|
|
{id = "manual_smart_pins", type= "check", val = 1, def = true},
|
|
|
|
|
{id = "autotag_persistence", type= "check", val = 1, def = false},
|
|
|
|
|
{id = "autotag_lifetime", type= "track", val = 2, min = 0, max = 600, step = 1, def = 0},
|
|
|
|
|
--[[
|
|
|
|
|
divider,
|
|
|
|
|
{id = "headertxt", type= "desc", clr = {255,255,255,0}, text = "ui_mcm_pawsys_pawret_autotag_pdas"},
|
|
|
|
|
{id = "device_pda_1", type= "check", val = 1, def = true},
|
|
|
|
|
{id = "device_pda_2", type= "check", val = 1, def = true},
|
|
|
|
|
{id = "device_pda_3", type= "check", val = 1, def = true},
|
|
|
|
|
{id = "device_pda_milspec", type= "check", val = 1, def = true},
|
|
|
|
|
--]]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if load_failed then
|
|
|
|
@@ -256,8 +264,8 @@ function populate_autotag_menus()
|
|
|
|
|
for tag,defs in spairs(paw.smart_pins) do
|
|
|
|
|
dl("populate_autotag_menus adding entry for %s (default %s)",tag,defs.pin)
|
|
|
|
|
enable_opt = {
|
|
|
|
|
id = tag.."_enable",
|
|
|
|
|
type = "check",
|
|
|
|
|
id = tag.."_enable",
|
|
|
|
|
type= "check",
|
|
|
|
|
val = 1,
|
|
|
|
|
def = defs.enabled,
|
|
|
|
|
--on_selection_functor = {catsy_paw_mcm.mcm_on_value_select},
|
|
|
|
@@ -266,7 +274,7 @@ function populate_autotag_menus()
|
|
|
|
|
local def = defs.pin or icon_sets["npcs"].default
|
|
|
|
|
menu_opt = {
|
|
|
|
|
id = tag,
|
|
|
|
|
type = "list",
|
|
|
|
|
type= "list",
|
|
|
|
|
val = 0,
|
|
|
|
|
def = def,
|
|
|
|
|
ui_hook_functor = {catsy_paw_mcm.init_mcm_set_ind},
|
|
|
|
@@ -306,7 +314,7 @@ function populate_set_menus()
|
|
|
|
|
{id = "indicator", type= "image", ui_hook_functor={catsy_paw_mcm.init_mcm_header_ind}},
|
|
|
|
|
{id = "pin_icon_group", type= "list", on_selection_functor = {catsy_paw_mcm.mcm_on_value_select}, val = 0, def = "pins", content = populate_set_list()},
|
|
|
|
|
{id = "divider", type= "line"},
|
|
|
|
|
--{id = "fave_recent", type = "list", val = 2, def = 5, content = recfaves},
|
|
|
|
|
--{id = "fave_recent", type= "list", val = 2, def = 5, content = recfaves},
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if load_failed then
|
|
|
|
@@ -319,7 +327,7 @@ function populate_set_menus()
|
|
|
|
|
|
|
|
|
|
local newentry = {
|
|
|
|
|
id = poi.."faves",
|
|
|
|
|
type = "list",
|
|
|
|
|
type= "list",
|
|
|
|
|
val = 0,
|
|
|
|
|
def = icon_sets["faves"].default,
|
|
|
|
|
ui_hook_functor = {catsy_paw_mcm.init_mcm_set_ind},
|
|
|
|
@@ -333,7 +341,7 @@ function populate_set_menus()
|
|
|
|
|
local ig = icon_sets[g]
|
|
|
|
|
newentry = {
|
|
|
|
|
id = poi..g,
|
|
|
|
|
type = "list",
|
|
|
|
|
type= "list",
|
|
|
|
|
val = 0,
|
|
|
|
|
def = ig.default,
|
|
|
|
|
ui_hook_functor = {catsy_paw_mcm.init_mcm_set_ind},
|
|
|
|
@@ -344,17 +352,17 @@ function populate_set_menus()
|
|
|
|
|
table.insert(gr,newentry)
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
table.insert(gr,{id = "divider", type = "line"})
|
|
|
|
|
table.insert(gr,{id = "divider", type= "line"})
|
|
|
|
|
table.insert(gr,{id = "header", type= "slide", link= "ui_paw_menuslide_badges", size= {512,50}, spacing= 20})
|
|
|
|
|
|
|
|
|
|
table.insert(gr,{id = "patch_res", type = "list", val = 0, def = "badge",
|
|
|
|
|
table.insert(gr,{id = "patch_res", type= "list", val = 0, def = "badge",
|
|
|
|
|
content = {
|
|
|
|
|
{"badge","pawsys_cfg_badge_res"},
|
|
|
|
|
{"badge_hr","pawsys_cfg_badge_hr_res"},
|
|
|
|
|
{"badge_uhr","pawsys_cfg_badge_uhr_res"},
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
table.insert(gr,{id = "milpda_body_icon", type = "list", val = 0, def = "bodyoff",
|
|
|
|
|
table.insert(gr,{id = "milpda_body_icon", type= "list", val = 0, def = "bodyoff",
|
|
|
|
|
content = {
|
|
|
|
|
{"off","pawsys_cfg_bodyoff"},
|
|
|
|
|
{"fac","pawsys_cfg_bodyfac"},
|
|
|
|
@@ -362,10 +370,10 @@ function populate_set_menus()
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
--[[
|
|
|
|
|
table.insert(gr,{id = "use_custom_backpack_icon", type = "check", val = 1, def = false})
|
|
|
|
|
table.insert(gr,{id = "use_custom_backpack_icon", type= "check", val = 1, def = false})
|
|
|
|
|
table.insert(gr,{
|
|
|
|
|
id = "custom_backpack_icon",
|
|
|
|
|
type = "list",
|
|
|
|
|
type= "list",
|
|
|
|
|
val = 0,
|
|
|
|
|
def = "stash_backpack",
|
|
|
|
|
ui_hook_functor = {catsy_paw_mcm.init_mcm_set_ind},
|
|
|
|
@@ -373,8 +381,8 @@ function populate_set_menus()
|
|
|
|
|
content = populate_icon_list("faves")
|
|
|
|
|
})
|
|
|
|
|
--]]
|
|
|
|
|
table.insert(gr,{id = "use_custom_pin_icon", type = "check", val = 1, def = false})
|
|
|
|
|
table.insert(gr,{id = "custom_pin_icon", type = "input", val = 0, def = "user_defined"})
|
|
|
|
|
table.insert(gr,{id = "use_custom_pin_icon", type= "check", val = 1, def = false})
|
|
|
|
|
table.insert(gr,{id = "custom_pin_icon", type= "input", val = 0, def = "user_defined"})
|
|
|
|
|
vl("results for populate_set_menus:")
|
|
|
|
|
if verbose then
|
|
|
|
|
for k,v in pairs(gr) do
|
|
|
|
@@ -405,12 +413,12 @@ function on_mcm_load()
|
|
|
|
|
load_failed = not (paw and paw.load_me())
|
|
|
|
|
|
|
|
|
|
aspect_ratio = get_current_aspect_ratio()
|
|
|
|
|
_ = load_icoset_state()
|
|
|
|
|
load_icoset_state()
|
|
|
|
|
|
|
|
|
|
local pawgen = {
|
|
|
|
|
{id = "header", type= "slide", link= "ui_paw_menuslide_main", size= {512,50}, spacing= 20},
|
|
|
|
|
{id = "wp_hud_icon_enabled", type = "check", val = 1, def = true},
|
|
|
|
|
{id = "show_dist_wp", type = "list", val = 2, def = 4,
|
|
|
|
|
{id = "wp_hud_icon_enabled", type= "check", val = 1, def = true},
|
|
|
|
|
{id = "show_dist_wp", type= "list", val = 2, def = 4,
|
|
|
|
|
content = {
|
|
|
|
|
{4,"pawsys_cmenu_all"},
|
|
|
|
|
{1,"pawsys_cmenu_norm"},
|
|
|
|
@@ -418,7 +426,7 @@ function on_mcm_load()
|
|
|
|
|
{0,"pawsys_cmenu_off"},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{id = "show_dist_pins", type = "list", val = 2, def = 4,
|
|
|
|
|
{id = "show_dist_pins", type= "list", val = 2, def = 4,
|
|
|
|
|
content = {
|
|
|
|
|
{4,"pawsys_cmenu_all"},
|
|
|
|
|
{1,"pawsys_cmenu_norm"},
|
|
|
|
@@ -426,7 +434,7 @@ function on_mcm_load()
|
|
|
|
|
{0,"pawsys_cmenu_off"},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{id = "show_hint_pins", type = "list", val = 2, def = 2,
|
|
|
|
|
{id = "show_hint_pins", type= "list", val = 2, def = 2,
|
|
|
|
|
content = {
|
|
|
|
|
{4,"pawsys_cmenu_all"},
|
|
|
|
|
{1,"pawsys_cmenu_norm"},
|
|
|
|
@@ -456,19 +464,19 @@ function on_mcm_load()
|
|
|
|
|
{id = "modbin", type= "desc", text = "ui_mcm_paw_modded_binaries"},
|
|
|
|
|
}
|
|
|
|
|
if load_failed then
|
|
|
|
|
table.insert(pawgen,2,{id = "load_header1", type = "desc", text = "st_paw_texture_load_error_mcmhead1", clr = {255,255,0,0}, ui_hook_functor = {catsy_paw_mcm.mcm_init_load_error_block}})
|
|
|
|
|
table.insert(pawgen,3,{id = "load_header2", type = "desc", text = "st_paw_texture_load_error_mcmhead2", clr = {255,255,0,0}})
|
|
|
|
|
table.insert(pawgen,2,{id = "load_header1", type= "desc", text = "st_paw_texture_load_error_mcmhead1", clr = {255,255,0,0}, ui_hook_functor = {catsy_paw_mcm.mcm_init_load_error_block}})
|
|
|
|
|
table.insert(pawgen,3,{id = "load_header2", type= "desc", text = "st_paw_texture_load_error_mcmhead2", clr = {255,255,0,0}})
|
|
|
|
|
table.insert(pawgen,4,load_error_text1)
|
|
|
|
|
table.insert(pawgen,5,load_error_text2)
|
|
|
|
|
table.insert(pawgen,6,{id = "fix_load_order", type= "image", link = "ui_paw_mcm_fix_mo2_load_order", size= {575,50}, ui_hook_functor = {catsy_paw_mcm.mcm_init_load_error_block}})
|
|
|
|
|
table.insert(pawgen,7,{id = "disable_load_warning", type = "check", val = 1, def = false})
|
|
|
|
|
table.insert(pawgen,7,{id = "disable_load_warning", type= "check", val = 1, def = false})
|
|
|
|
|
table.insert(pawgen,8,divider)
|
|
|
|
|
else
|
|
|
|
|
table.insert(pawgen,2,{id = "pawgen_header", type = "image", link = "ui_paw_emptytex", size = {512,160},
|
|
|
|
|
table.insert(pawgen,2,{id = "pawgen_header", type= "image", link = "ui_paw_emptytex", size = {512,160},
|
|
|
|
|
ui_hook_functor = {catsy_paw_mcm.mcm_init_header_text_block},
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
table.insert(pawgen,3,{id = "enabled", type = "check", val = 1, def = true})
|
|
|
|
|
table.insert(pawgen,3,{id = "enabled", type= "check", val = 1, def = true})
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
op = { id = "pawsys", gr={
|
|
|
|
@@ -508,7 +516,7 @@ function on_mcm_load()
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{id = "preview_aspect", type = "list", val = 0, def = aspect_ratio,
|
|
|
|
|
{id = "preview_aspect", type= "list", val = 0, def = aspect_ratio,
|
|
|
|
|
on_selection_functor = {catsy_paw_mcm.mcm_on_value_select},
|
|
|
|
|
content = {
|
|
|
|
|
{"16_9","paw_aspect_16_9"},
|
|
|
|
@@ -523,33 +531,33 @@ function on_mcm_load()
|
|
|
|
|
ui_hook_functor = {catsy_paw_mcm.init_mcm_pos_preview},
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{id = "custompos", type = "check", val = 1, def = false,
|
|
|
|
|
{id = "custompos", type= "check", val = 1, def = false,
|
|
|
|
|
--ui_hook_functor = {catsy_paw_mcm.mcm_move_custom_pos_elements},
|
|
|
|
|
on_selection_functor = {catsy_paw_mcm.mcm_on_value_select},
|
|
|
|
|
},
|
|
|
|
|
{id = "pos_x", type = "input", val = 2, min = 0, max = 1024, def = 491,
|
|
|
|
|
{id = "pos_x", type= "input", val = 2, min = 0, max = 1024, def = 491,
|
|
|
|
|
--ui_hook_functor = {catsy_paw_mcm.mcm_move_custom_pos_elements},
|
|
|
|
|
on_selection_functor = {catsy_paw_mcm.mcm_on_value_select},
|
|
|
|
|
},
|
|
|
|
|
{id = "pos_y", type = "input", val = 2, min = 0, max = 768, def = 670,
|
|
|
|
|
{id = "pos_y", type= "input", val = 2, min = 0, max = 768, def = 670,
|
|
|
|
|
--ui_hook_functor = {catsy_paw_mcm.mcm_move_custom_pos_elements},
|
|
|
|
|
on_selection_functor = {catsy_paw_mcm.mcm_on_value_select},
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
divider,
|
|
|
|
|
|
|
|
|
|
{id = "themedesc", type = "desc", text = "ui_mcm_themes_list"},
|
|
|
|
|
{id = "themedesc", type= "desc", text = "ui_mcm_themes_list"},
|
|
|
|
|
|
|
|
|
|
{id = "themelist", type = "desc", text = "ui_mcm_themes_classicauto"},
|
|
|
|
|
{id = "themelist", type = "desc", text = "ui_mcm_themes_classic"},
|
|
|
|
|
{id = "themelist", type = "desc", text = "ui_mcm_themes_vertright"},
|
|
|
|
|
{id = "themelist", type = "desc", text = "ui_mcm_themes_vertleft"},
|
|
|
|
|
{id = "themelist", type = "desc", text = "ui_mcm_themes_gamma_left"},
|
|
|
|
|
{id = "themelist", type = "desc", text = "ui_mcm_themes_gamma_right"},
|
|
|
|
|
{id = "themelist", type = "desc", text = "ui_mcm_themes_minimal_h"},
|
|
|
|
|
{id = "themelist", type = "desc", text = "ui_mcm_themes_minimal_v"},
|
|
|
|
|
{id = "themelist", type = "desc", text = "ui_mcm_themes_minicom"},
|
|
|
|
|
{id = "themelist", type = "desc", text = "ui_mcm_themes_compact_noui"},
|
|
|
|
|
{id = "themelist", type= "desc", text = "ui_mcm_themes_classicauto"},
|
|
|
|
|
{id = "themelist", type= "desc", text = "ui_mcm_themes_classic"},
|
|
|
|
|
{id = "themelist", type= "desc", text = "ui_mcm_themes_vertright"},
|
|
|
|
|
{id = "themelist", type= "desc", text = "ui_mcm_themes_vertleft"},
|
|
|
|
|
{id = "themelist", type= "desc", text = "ui_mcm_themes_gamma_left"},
|
|
|
|
|
{id = "themelist", type= "desc", text = "ui_mcm_themes_gamma_right"},
|
|
|
|
|
{id = "themelist", type= "desc", text = "ui_mcm_themes_minimal_h"},
|
|
|
|
|
{id = "themelist", type= "desc", text = "ui_mcm_themes_minimal_v"},
|
|
|
|
|
{id = "themelist", type= "desc", text = "ui_mcm_themes_minicom"},
|
|
|
|
|
{id = "themelist", type= "desc", text = "ui_mcm_themes_compact_noui"},
|
|
|
|
|
divider,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
@@ -557,28 +565,28 @@ function on_mcm_load()
|
|
|
|
|
-- KEYBIND SETTINGS
|
|
|
|
|
{ id = "pawbinds", sh=true, gr={
|
|
|
|
|
{id = "header", type= "slide", link= "ui_paw_menuslide_controls", size= {512,50}, borderless= true, spacing= 20},
|
|
|
|
|
{id = "featurehead", type = "desc", clr = {255,255,255,0}, text = "ui_mcm_paw_cartmode_head"},
|
|
|
|
|
{id = "featuredesc", type = "desc", text = "ui_mcm_paw_cartmode_desc"},
|
|
|
|
|
{id = "featurehead", type= "desc", clr = {255,255,255,0}, text = "ui_mcm_paw_cartmode_head"},
|
|
|
|
|
{id = "featuredesc", type= "desc", text = "ui_mcm_paw_cartmode_desc"},
|
|
|
|
|
|
|
|
|
|
{id = "bind_cartmode", type = "key_bind", val = 2, def = DIK_keys.DIK_SLASH },
|
|
|
|
|
{id = "modk_cartmode", type = ui_mcm.kb_mod_radio, val = 2, def = 0, hint = "mcm_kb_modifier",
|
|
|
|
|
{id = "bind_cartmode", type= "key_bind", val = 2, def = DIK_keys.DIK_SLASH },
|
|
|
|
|
{id = "modk_cartmode", type= ui_mcm.kb_mod_radio, val = 2, def = 0, hint = "mcm_kb_modifier",
|
|
|
|
|
content = {
|
|
|
|
|
{0,"mcm_kb_mod_none"},
|
|
|
|
|
{1,"mcm_kb_mod_shift"},
|
|
|
|
|
{2,"mcm_kb_mod_ctrl"},
|
|
|
|
|
{3,"mcm_kb_mod_alt"}
|
|
|
|
|
}},
|
|
|
|
|
{id = "cartmode_toggle", type = "check", val = 1, def = true},
|
|
|
|
|
{id = "cartmode_unfade", type = "check", val = 1, def = true},
|
|
|
|
|
{id = "cart_shows_smarts", type = "check", val = 1, def = false},
|
|
|
|
|
{id = "cartmode_toggle", type= "check", val = 1, def = true},
|
|
|
|
|
{id = "cartmode_unfade", type= "check", val = 1, def = true},
|
|
|
|
|
{id = "cart_shows_smarts", type= "check", val = 1, def = false},
|
|
|
|
|
|
|
|
|
|
divider,
|
|
|
|
|
|
|
|
|
|
{id = "featurehead", type = "desc", clr = {255,255,255,0}, text = "ui_mcm_paw_crosshair_target_head"},
|
|
|
|
|
{id = "featuredesc", type = "desc", text = "ui_mcm_paw_crosshair_target_desc"},
|
|
|
|
|
{id = "featurehead", type= "desc", clr = {255,255,255,0}, text = "ui_mcm_paw_crosshair_target_head"},
|
|
|
|
|
{id = "featuredesc", type= "desc", text = "ui_mcm_paw_crosshair_target_desc"},
|
|
|
|
|
|
|
|
|
|
{id = "bind_wp_target_obj", type = "key_bind", val = 2, def = DIK_keys.DIK_SEMICOLON },
|
|
|
|
|
{id = "modk_wp_target_obj", type = ui_mcm.kb_mod_radio, val = 2, def = 3, hint = "mcm_kb_modifier",
|
|
|
|
|
{id = "bind_wp_target_obj", type= "key_bind", val = 2, def = DIK_keys.DIK_SEMICOLON },
|
|
|
|
|
{id = "modk_wp_target_obj", type= ui_mcm.kb_mod_radio, val = 2, def = 3, hint = "mcm_kb_modifier",
|
|
|
|
|
content = {
|
|
|
|
|
{0,"mcm_kb_mod_none"},
|
|
|
|
|
{1,"mcm_kb_mod_shift"},
|
|
|
|
@@ -586,8 +594,8 @@ function on_mcm_load()
|
|
|
|
|
{3,"mcm_kb_mod_alt"}
|
|
|
|
|
}},
|
|
|
|
|
|
|
|
|
|
{id = "bind_pin_target_obj", type = "key_bind", val = 2, def = DIK_keys.DIK_APOSTROPHE },
|
|
|
|
|
{id = "modk_pin_target_obj", type = ui_mcm.kb_mod_radio, val = 2, def = 3, hint = "mcm_kb_modifier",
|
|
|
|
|
{id = "bind_pin_target_obj", type= "key_bind", val = 2, def = DIK_keys.DIK_APOSTROPHE },
|
|
|
|
|
{id = "modk_pin_target_obj", type= ui_mcm.kb_mod_radio, val = 2, def = 3, hint = "mcm_kb_modifier",
|
|
|
|
|
content = {
|
|
|
|
|
{0,"mcm_kb_mod_none"},
|
|
|
|
|
{1,"mcm_kb_mod_shift"},
|
|
|
|
@@ -597,18 +605,18 @@ function on_mcm_load()
|
|
|
|
|
|
|
|
|
|
divider,
|
|
|
|
|
|
|
|
|
|
{id = "featurehead", type = "desc", clr = {255,255,255,0}, text = "ui_mcm_paw_generalbinds_head"},
|
|
|
|
|
{id = "featurehead", type= "desc", clr = {255,255,255,0}, text = "ui_mcm_paw_generalbinds_head"},
|
|
|
|
|
|
|
|
|
|
{id = "bind_wptoggle", type = "key_bind", val = 2, def = DIK_keys.DIK_SEMICOLON },
|
|
|
|
|
{id = "modk_wptoggle", type = ui_mcm.kb_mod_radio, val = 2, def = 0, hint = "mcm_kb_modifier",
|
|
|
|
|
{id = "bind_wptoggle", type= "key_bind", val = 2, def = DIK_keys.DIK_SEMICOLON },
|
|
|
|
|
{id = "modk_wptoggle", type= ui_mcm.kb_mod_radio, val = 2, def = 0, hint = "mcm_kb_modifier",
|
|
|
|
|
content = {
|
|
|
|
|
{0,"mcm_kb_mod_none"},
|
|
|
|
|
{1,"mcm_kb_mod_shift"},
|
|
|
|
|
{2,"mcm_kb_mod_ctrl"},
|
|
|
|
|
{3,"mcm_kb_mod_alt"}
|
|
|
|
|
}},
|
|
|
|
|
{id = "bind_quickpin", type = "key_bind", val = 2, def = DIK_keys.DIK_APOSTROPHE },
|
|
|
|
|
{id = "modk_quickpin", type = ui_mcm.kb_mod_radio, val = 2, def = 0, hint = "mcm_kb_modifier",
|
|
|
|
|
{id = "bind_quickpin", type= "key_bind", val = 2, def = DIK_keys.DIK_APOSTROPHE },
|
|
|
|
|
{id = "modk_quickpin", type= ui_mcm.kb_mod_radio, val = 2, def = 0, hint = "mcm_kb_modifier",
|
|
|
|
|
content = {
|
|
|
|
|
{0,"mcm_kb_mod_none"},
|
|
|
|
|
{1,"mcm_kb_mod_shift"},
|
|
|
|
@@ -618,8 +626,8 @@ function on_mcm_load()
|
|
|
|
|
|
|
|
|
|
divider,
|
|
|
|
|
|
|
|
|
|
{id = "bind_set_next", type = "key_bind", val = 2, def = 52 },
|
|
|
|
|
{id = "modk_set_next", type = ui_mcm.kb_mod_radio, val = 2, def = 3, hint = "mcm_kb_modifier",
|
|
|
|
|
{id = "bind_set_next", type= "key_bind", val = 2, def = 52 },
|
|
|
|
|
{id = "modk_set_next", type= ui_mcm.kb_mod_radio, val = 2, def = 3, hint = "mcm_kb_modifier",
|
|
|
|
|
content = {
|
|
|
|
|
{0,"mcm_kb_mod_none"},
|
|
|
|
|
{1,"mcm_kb_mod_shift"},
|
|
|
|
@@ -627,24 +635,24 @@ function on_mcm_load()
|
|
|
|
|
{3,"mcm_kb_mod_alt"}
|
|
|
|
|
}},
|
|
|
|
|
|
|
|
|
|
{id = "bind_set_prev", type = "key_bind", val = 2, def = 51 },
|
|
|
|
|
{id = "modk_set_prev", type = ui_mcm.kb_mod_radio, val = 2, def = 3, hint = "mcm_kb_modifier",
|
|
|
|
|
{id = "bind_set_prev", type= "key_bind", val = 2, def = 51 },
|
|
|
|
|
{id = "modk_set_prev", type= ui_mcm.kb_mod_radio, val = 2, def = 3, hint = "mcm_kb_modifier",
|
|
|
|
|
content = {
|
|
|
|
|
{0,"mcm_kb_mod_none"},
|
|
|
|
|
{1,"mcm_kb_mod_shift"},
|
|
|
|
|
{2,"mcm_kb_mod_ctrl"},
|
|
|
|
|
{3,"mcm_kb_mod_alt"}
|
|
|
|
|
}},
|
|
|
|
|
{id = "bind_ico_next", type = "key_bind", val = 2, def = 52 },
|
|
|
|
|
{id = "modk_ico_next", type = ui_mcm.kb_mod_radio, val = 2, def = 0, hint = "mcm_kb_modifier",
|
|
|
|
|
{id = "bind_ico_next", type= "key_bind", val = 2, def = 52 },
|
|
|
|
|
{id = "modk_ico_next", type= ui_mcm.kb_mod_radio, val = 2, def = 0, hint = "mcm_kb_modifier",
|
|
|
|
|
content = {
|
|
|
|
|
{0,"mcm_kb_mod_none"},
|
|
|
|
|
{1,"mcm_kb_mod_shift"},
|
|
|
|
|
{2,"mcm_kb_mod_ctrl"},
|
|
|
|
|
{3,"mcm_kb_mod_alt"}
|
|
|
|
|
}},
|
|
|
|
|
{id = "bind_ico_prev", type = "key_bind", val = 2, def = 51 },
|
|
|
|
|
{id = "modk_ico_prev", type = ui_mcm.kb_mod_radio, val = 2, def = 0, hint = "mcm_kb_modifier",
|
|
|
|
|
{id = "bind_ico_prev", type= "key_bind", val = 2, def = 51 },
|
|
|
|
|
{id = "modk_ico_prev", type= ui_mcm.kb_mod_radio, val = 2, def = 0, hint = "mcm_kb_modifier",
|
|
|
|
|
content = {
|
|
|
|
|
{0,"mcm_kb_mod_none"},
|
|
|
|
|
{1,"mcm_kb_mod_shift"},
|
|
|
|
@@ -654,20 +662,20 @@ function on_mcm_load()
|
|
|
|
|
|
|
|
|
|
divider,
|
|
|
|
|
|
|
|
|
|
{id = "featurehead", type = "desc", clr = {255,255,255,0}, text = "ui_mcm_paw_mousewheel_head"},
|
|
|
|
|
{id = "featurehead", type= "desc", clr = {255,255,255,0}, text = "ui_mcm_paw_mousewheel_head"},
|
|
|
|
|
|
|
|
|
|
{id = "mwheel_enabled", type = "check", val = 1, def = true},
|
|
|
|
|
{id = "mwheel_notify", type = "check", val = 1, def = true},
|
|
|
|
|
{id = "bind_set_scroll", type = "key_bind", val = 2, def = DIK_keys.DIK_Z},
|
|
|
|
|
{id = "modk_set_scroll", type = ui_mcm.kb_mod_radio, val = 2, def = 2, hint = "mcm_kb_modifier",
|
|
|
|
|
{id = "mwheel_enabled", type= "check", val = 1, def = true},
|
|
|
|
|
{id = "mwheel_notify", type= "check", val = 1, def = true},
|
|
|
|
|
{id = "bind_set_scroll", type= "key_bind", val = 2, def = DIK_keys.DIK_Z},
|
|
|
|
|
{id = "modk_set_scroll", type= ui_mcm.kb_mod_radio, val = 2, def = 2, hint = "mcm_kb_modifier",
|
|
|
|
|
content = {
|
|
|
|
|
{0,"mcm_kb_mod_none"},
|
|
|
|
|
{1,"mcm_kb_mod_shift"},
|
|
|
|
|
{2,"mcm_kb_mod_ctrl"},
|
|
|
|
|
{3,"mcm_kb_mod_alt"}
|
|
|
|
|
}},
|
|
|
|
|
{id = "bind_ico_scroll", type = "key_bind", val = 2, def = DIK_keys.DIK_Z },
|
|
|
|
|
{id = "modk_ico_scroll", type = ui_mcm.kb_mod_radio, val = 2, def = 3, hint = "mcm_kb_modifier",
|
|
|
|
|
{id = "bind_ico_scroll", type= "key_bind", val = 2, def = DIK_keys.DIK_Z },
|
|
|
|
|
{id = "modk_ico_scroll", type= ui_mcm.kb_mod_radio, val = 2, def = 3, hint = "mcm_kb_modifier",
|
|
|
|
|
content = {
|
|
|
|
|
{0,"mcm_kb_mod_none"},
|
|
|
|
|
{1,"mcm_kb_mod_shift"},
|
|
|
|
@@ -682,10 +690,10 @@ function on_mcm_load()
|
|
|
|
|
{ id = "pawmenu", sh=true, gr={
|
|
|
|
|
-- Virtualize in ltx like the others at some point
|
|
|
|
|
{id = "header", type= "slide", link= "ui_paw_menuslide_menus", size= {512,50}, borderless= true, spacing= 20},
|
|
|
|
|
{id = "headertxt", type = "desc", text = "ui_mcm_pawsys_pawmenu_headertxt"},
|
|
|
|
|
{id = "headertxt", type= "desc", text = "ui_mcm_pawsys_pawmenu_headertxt"},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{id = "wp_settings", type = "list", val = 2, def = 4,
|
|
|
|
|
{id = "wp_settings", type= "list", val = 2, def = 4,
|
|
|
|
|
content = {
|
|
|
|
|
{4,"pawsys_cmenu_all"},
|
|
|
|
|
{1,"pawsys_cmenu_norm"},
|
|
|
|
@@ -694,7 +702,7 @@ function on_mcm_load()
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{id = "pn_settings", type = "list", val = 2, def = 4,
|
|
|
|
|
{id = "pn_settings", type= "list", val = 2, def = 4,
|
|
|
|
|
content = {
|
|
|
|
|
{4,"pawsys_cmenu_all"},
|
|
|
|
|
{1,"pawsys_cmenu_norm"},
|
|
|
|
@@ -703,7 +711,7 @@ function on_mcm_load()
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{id = "wp_set", type = "list", val = 2, def = 4,
|
|
|
|
|
{id = "wp_set", type= "list", val = 2, def = 4,
|
|
|
|
|
content = {
|
|
|
|
|
{4,"pawsys_cmenu_all"},
|
|
|
|
|
{1,"pawsys_cmenu_norm"},
|
|
|
|
@@ -711,7 +719,7 @@ function on_mcm_load()
|
|
|
|
|
{0,"pawsys_cmenu_off"},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{id = "wp_mov", type = "list", val = 2, def = 4,
|
|
|
|
|
{id = "wp_mov", type= "list", val = 2, def = 4,
|
|
|
|
|
content = {
|
|
|
|
|
{4,"pawsys_cmenu_all"},
|
|
|
|
|
{1,"pawsys_cmenu_norm"},
|
|
|
|
@@ -720,7 +728,7 @@ function on_mcm_load()
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{id = "wp_del", type = "list", val = 2, def = 4,
|
|
|
|
|
{id = "wp_del", type= "list", val = 2, def = 4,
|
|
|
|
|
content = {
|
|
|
|
|
{4,"pawsys_cmenu_all"},
|
|
|
|
|
{1,"pawsys_cmenu_norm"},
|
|
|
|
@@ -729,7 +737,7 @@ function on_mcm_load()
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{id = "pn_add", type = "list", val = 2, def = 4,
|
|
|
|
|
{id = "pn_add", type= "list", val = 2, def = 4,
|
|
|
|
|
content = {
|
|
|
|
|
{4,"pawsys_cmenu_all"},
|
|
|
|
|
{1,"pawsys_cmenu_norm"},
|
|
|
|
@@ -738,7 +746,7 @@ function on_mcm_load()
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{id = "pn_del", type = "list", val = 2, def = 4,
|
|
|
|
|
{id = "pn_del", type= "list", val = 2, def = 4,
|
|
|
|
|
content = {
|
|
|
|
|
{4,"pawsys_cmenu_all"},
|
|
|
|
|
{1,"pawsys_cmenu_norm"},
|
|
|
|
@@ -747,7 +755,7 @@ function on_mcm_load()
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
--[[
|
|
|
|
|
{id = "pn_ren", type = "list", val = 2, def = 4,
|
|
|
|
|
{id = "pn_ren", type= "list", val = 2, def = 4,
|
|
|
|
|
content = {
|
|
|
|
|
{4,"pawsys_cmenu_all"},
|
|
|
|
|
{1,"pawsys_cmenu_norm"},
|
|
|
|
@@ -756,7 +764,7 @@ function on_mcm_load()
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
--]]
|
|
|
|
|
{id = "show_all_pins", type = "list", val = 2, def = 2,
|
|
|
|
|
{id = "show_all_pins", type= "list", val = 2, def = 2,
|
|
|
|
|
content = {
|
|
|
|
|
{4,"pawsys_cmenu_all"},
|
|
|
|
|
{1,"pawsys_cmenu_norm"},
|
|
|
|
@@ -765,7 +773,7 @@ function on_mcm_load()
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{id = "hide_all_pins", type = "list", val = 2, def = 2,
|
|
|
|
|
{id = "hide_all_pins", type= "list", val = 2, def = 2,
|
|
|
|
|
content = {
|
|
|
|
|
{4,"pawsys_cmenu_all"},
|
|
|
|
|
{1,"pawsys_cmenu_norm"},
|
|
|
|
@@ -774,7 +782,7 @@ function on_mcm_load()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
{id = "lock_pin", type = "list", val = 2, def = 2,
|
|
|
|
|
{id = "lock_pin", type= "list", val = 2, def = 2,
|
|
|
|
|
content = {
|
|
|
|
|
{4,"pawsys_cmenu_all"},
|
|
|
|
|
{1,"pawsys_cmenu_norm"},
|
|
|
|
@@ -783,7 +791,7 @@ function on_mcm_load()
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{id = "unlock_pin", type = "list", val = 2, def = 4,
|
|
|
|
|
{id = "unlock_pin", type= "list", val = 2, def = 4,
|
|
|
|
|
content = {
|
|
|
|
|
{4,"pawsys_cmenu_all"},
|
|
|
|
|
{1,"pawsys_cmenu_norm"},
|
|
|
|
@@ -792,7 +800,7 @@ function on_mcm_load()
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{id = "hud_vis_on", type = "list", val = 2, def = 2,
|
|
|
|
|
{id = "hud_vis_on", type= "list", val = 2, def = 2,
|
|
|
|
|
content = {
|
|
|
|
|
{4,"pawsys_cmenu_all"},
|
|
|
|
|
{1,"pawsys_cmenu_norm"},
|
|
|
|
@@ -801,7 +809,7 @@ function on_mcm_load()
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{id = "hud_vis_off", type = "list", val = 2, def = 4,
|
|
|
|
|
{id = "hud_vis_off", type= "list", val = 2, def = 4,
|
|
|
|
|
content = {
|
|
|
|
|
{4,"pawsys_cmenu_all"},
|
|
|
|
|
{1,"pawsys_cmenu_norm"},
|
|
|
|
@@ -810,7 +818,7 @@ function on_mcm_load()
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{id = "show_label", type = "list", val = 2, def = 2,
|
|
|
|
|
{id = "show_label", type= "list", val = 2, def = 2,
|
|
|
|
|
content = {
|
|
|
|
|
{4,"pawsys_cmenu_all"},
|
|
|
|
|
{1,"pawsys_cmenu_norm"},
|
|
|
|
@@ -819,7 +827,7 @@ function on_mcm_load()
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{id = "hide_label", type = "list", val = 2, def = 4,
|
|
|
|
|
{id = "hide_label", type= "list", val = 2, def = 4,
|
|
|
|
|
content = {
|
|
|
|
|
{4,"pawsys_cmenu_all"},
|
|
|
|
|
{1,"pawsys_cmenu_norm"},
|
|
|
|
@@ -828,7 +836,7 @@ function on_mcm_load()
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{id = "convert_to_pin", type = "list", val = 2, def = 2,
|
|
|
|
|
{id = "convert_to_pin", type= "list", val = 2, def = 2,
|
|
|
|
|
content = {
|
|
|
|
|
{4,"pawsys_cmenu_all"},
|
|
|
|
|
{1,"pawsys_cmenu_norm"},
|
|
|
|
@@ -837,7 +845,7 @@ function on_mcm_load()
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{id = "pn_clr", type = "list", val = 2, def = 0,
|
|
|
|
|
{id = "pn_clr", type= "list", val = 2, def = 0,
|
|
|
|
|
content = {
|
|
|
|
|
{4,"pawsys_cmenu_all"},
|
|
|
|
|
{1,"pawsys_cmenu_norm"},
|
|
|
|
@@ -846,7 +854,7 @@ function on_mcm_load()
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{id = "mping", type = "list", val = 2, def = 2,
|
|
|
|
|
{id = "mping", type= "list", val = 2, def = 2,
|
|
|
|
|
content = {
|
|
|
|
|
{4,"pawsys_cmenu_all"},
|
|
|
|
|
{1,"pawsys_cmenu_norm"},
|
|
|
|
|