From e27c4d14b91f23a15fdc8be263d0d2ce546857c4 Mon Sep 17 00:00:00 2001 From: diamante0018 Date: Thu, 9 Jan 2025 11:49:06 +0100 Subject: [PATCH] add ZB Menus --- iw4x_code_post_gfx_mp | 2 +- materials/$levelbriefing.json | 119 + materials/ac130_overlay_grain.json | 119 + materials/animbg_blur_front.json | 119 + materials/ballistic_overlay.json | 119 + materials/black.json | 119 + materials/cardicon_headshot.json | 119 + materials/cardicon_locked.json | 119 + materials/cardtitle_248x48.json | 119 + materials/compass_map_default.json | 119 + materials/compassping_player.json | 119 + materials/drop_shadow_b.json | 119 + materials/drop_shadow_bl.json | 119 + materials/drop_shadow_br.json | 119 + materials/drop_shadow_l.json | 119 + materials/drop_shadow_r.json | 119 + materials/drop_shadow_t.json | 119 + materials/drop_shadow_tl.json | 119 + materials/drop_shadow_tr.json | 119 + materials/gradient.json | 119 + materials/gradient_bottom.json | 119 + materials/gradient_center.json | 119 + materials/gradient_fadein.json | 119 + materials/gradient_fadein_fadebottom.json | 119 + materials/gradient_slow_fadein.json | 119 + materials/hud_dpad_arrow_left.json | 119 + materials/hud_dpad_arrow_right.json | 119 + materials/hud_dpad_xbox360.json | 119 + materials/line_horizontal.json | 119 + materials/logo_cod2.json | 119 + materials/menu_button_selection_bar.json | 119 + materials/menu_rules_selection_bar.json | 119 + materials/menu_setting_selection_bar.json | 119 + materials/minimap_scanlines.json | 119 + materials/mockup_bg_glow.json | 119 + materials/mockup_popup_bg_stencilfill.json | 119 + materials/mw2_main_background.json | 119 + materials/mw2_main_cloud_overlay.json | 119 + materials/mw2_main_sp_image.json | 119 + materials/mw2_popup_bg_fogscroll.json | 119 + materials/mw2_popup_bg_fogstencil.json | 119 + materials/objective_line.json | 119 + materials/playercard_bg.json | 119 + materials/playercard_short_bg.json | 119 + materials/popup_button_selection_bar.json | 119 + .../popup_button_selection_bar_flipped.json | 119 + .../popup_button_selection_bar_short.json | 119 + materials/scanlines_stencil.json | 119 + materials/server_hardware_header.json | 119 + materials/shadow_inset.json | 119 + materials/small_box_lightfx.json | 119 + materials/specialty_locked.json | 119 + materials/specialty_new.json | 119 + materials/splatter_alt.json | 131 + materials/stencil_base.json | 119 + materials/stencil_fill.json | 119 + materials/talkingicon.json | 119 + materials/white.json | 119 + materials/xpbar_stencilbase.json | 119 + mp/playerdata.def | 7570 +---------------- shader_bin/ps_grain_overlay.hlsl.cso | Bin 0 -> 208 bytes shader_bin/ps_splatter_alt.hlsl.cso | Bin 0 -> 336 bytes shader_bin/ps_trivial_vertcol_simple.hlsl.cso | Bin 0 -> 208 bytes shader_bin/vs_grain_overlay.hlsl.cso | Bin 0 -> 512 bytes shader_bin/vs_splatter_alt.hlsl.cso | Bin 0 -> 356 bytes shader_bin/vs_trivial_vertcol_simple.hlsl.cso | Bin 0 -> 448 bytes techniques/grain_overlay.tech | 17 + techniques/splatter_alt.tech | 18 + techniques/trivial_vertcol_simple2d.tech | 18 + techsets/2d.techset | 2 + techsets/grain_overlay.techset | 2 + techsets/splatter_alt.techset | 2 + ui_mp/auconfirm.menu | 54 +- ui_mp/cac_popup.menu | 736 +- ui_mp/changelog.menu | 8 +- ui_mp/connect.menu | 26 +- ui_mp/controls_multi.menu | 12 +- ui_mp/createfavorite_popmenu.menu | 54 +- ui_mp/createserver.menu | 48 +- ui_mp/dpad_hd.menu | 19 +- ui_mp/filter_popmenu.menu | 54 +- ui_mp/hostchangewarning.menu | 39 +- ui_mp/hud_fullscreen.menu | 32 +- ui_mp/iw4x_credits.menu | 6 +- ui_mp/leavelobbywarning.menu | 56 +- ui_mp/main_text.menu | 71 +- ui_mp/menu_first_launch.menu | 8 +- ui_mp/menu_online_barracks.menu | 146 +- ui_mp/menu_xboxlive_lobby.menu | 453 +- ui_mp/menu_xboxlive_privatelobby.menu | 1 + ui_mp/minimap_fullscreen.menu | 4 +- ui_mp/mod_download_popmenu.menu | 48 +- ui_mp/mods_menu.menu | 8 +- ui_mp/onlineupdate.menu | 32 +- ui_mp/pc_join_unranked.menu | 78 +- ui_mp/pc_options_actions.menu | 12 +- ui_mp/pc_options_advanced_video.menu | 44 +- ui_mp/pc_options_audio.menu | 78 +- ui_mp/pc_options_controls.menu | 102 +- ui_mp/pc_options_game.menu | 68 +- ui_mp/pc_options_gamepad.menu | 78 +- ui_mp/pc_options_look.menu | 18 +- ui_mp/pc_options_movement.menu | 12 +- ui_mp/pc_options_multi.menu | 68 +- ui_mp/pc_options_video.menu | 96 +- ui_mp/pc_theater_menu.menu | 8 +- ui_mp/player_popup_party.menu | 43 +- ui_mp/player_popup_privatematch.menu | 43 +- ui_mp/player_popup_publiclobby.menu | 52 +- ui_mp/playerdataread.menu | 20 +- ui_mp/popup_cac_assault_primary.menu | 869 +- ui_mp/popup_cac_handgun_secondary.menu | 489 +- ui_mp/popup_cac_primary_camo.menu | 1162 +-- ui_mp/popup_cac_smg_primary.menu | 641 +- ui_mp/popup_cac_sniper_primary.menu | 565 +- ui_mp/popup_cac_weapon_primary.menu | 227 +- ui_mp/popup_customclan.menu | 35 +- ui_mp/popup_customtitle.menu | 35 +- ui_mp/popup_friends.menu | 35 +- ui_mp/popup_gamesetup.menu | 32 +- ui_mp/popup_joinpassword.menu | 35 +- ui_mp/popup_playername.menu | 35 +- ui_mp/popup_ready.menu | 185 +- ui_mp/popup_serverpassword.menu | 35 +- ui_mp/quickmessage.menu | 23 +- ui_mp/resetclass.menu | 120 +- ui_mp/scriptmenus/callvote.menu | 48 +- ui_mp/scriptmenus/changeclass.menu | 1038 +-- ui_mp/scriptmenus/changegametype.menu | 48 +- ui_mp/scriptmenus/changemap.menu | 48 +- ui_mp/scriptmenus/class.menu | 136 +- ui_mp/scriptmenus/kickplayer.menu | 32 +- ui_mp/scriptmenus/onemanarmy.menu | 1030 +-- ui_mp/scriptmenus/quickcommands.menu | 83 +- ui_mp/scriptmenus/quickresponses.menu | 59 +- ui_mp/scriptmenus/quickstatements.menu | 71 +- ui_mp/scriptmenus/team_marinesopfor.menu | 106 +- ui_mp/security_increase_popmenu.menu | 54 +- ui_mp/serverinfo_popmenu.menu | 45 +- ui_mp/settings_bonus_map.menu | 124 +- ui_mp/settings_gametype.menu | 130 +- ui_mp/settings_map.menu | 863 +- ui_mp/startup_messages.menu | 45 +- ui_mp/stats_reset.menu | 52 +- ui_mp/stats_unlock.menu | 52 +- ui_mp/youarehost.menu | 39 +- zone_source/iw4x_code_post_gfx_mp.zone | 181 +- 147 files changed, 12960 insertions(+), 13127 deletions(-) create mode 100644 materials/$levelbriefing.json create mode 100644 materials/ac130_overlay_grain.json create mode 100644 materials/animbg_blur_front.json create mode 100644 materials/ballistic_overlay.json create mode 100644 materials/black.json create mode 100644 materials/cardicon_headshot.json create mode 100644 materials/cardicon_locked.json create mode 100644 materials/cardtitle_248x48.json create mode 100644 materials/compass_map_default.json create mode 100644 materials/compassping_player.json create mode 100644 materials/drop_shadow_b.json create mode 100644 materials/drop_shadow_bl.json create mode 100644 materials/drop_shadow_br.json create mode 100644 materials/drop_shadow_l.json create mode 100644 materials/drop_shadow_r.json create mode 100644 materials/drop_shadow_t.json create mode 100644 materials/drop_shadow_tl.json create mode 100644 materials/drop_shadow_tr.json create mode 100644 materials/gradient.json create mode 100644 materials/gradient_bottom.json create mode 100644 materials/gradient_center.json create mode 100644 materials/gradient_fadein.json create mode 100644 materials/gradient_fadein_fadebottom.json create mode 100644 materials/gradient_slow_fadein.json create mode 100644 materials/hud_dpad_arrow_left.json create mode 100644 materials/hud_dpad_arrow_right.json create mode 100644 materials/hud_dpad_xbox360.json create mode 100644 materials/line_horizontal.json create mode 100644 materials/logo_cod2.json create mode 100644 materials/menu_button_selection_bar.json create mode 100644 materials/menu_rules_selection_bar.json create mode 100644 materials/menu_setting_selection_bar.json create mode 100644 materials/minimap_scanlines.json create mode 100644 materials/mockup_bg_glow.json create mode 100644 materials/mockup_popup_bg_stencilfill.json create mode 100644 materials/mw2_main_background.json create mode 100644 materials/mw2_main_cloud_overlay.json create mode 100644 materials/mw2_main_sp_image.json create mode 100644 materials/mw2_popup_bg_fogscroll.json create mode 100644 materials/mw2_popup_bg_fogstencil.json create mode 100644 materials/objective_line.json create mode 100644 materials/playercard_bg.json create mode 100644 materials/playercard_short_bg.json create mode 100644 materials/popup_button_selection_bar.json create mode 100644 materials/popup_button_selection_bar_flipped.json create mode 100644 materials/popup_button_selection_bar_short.json create mode 100644 materials/scanlines_stencil.json create mode 100644 materials/server_hardware_header.json create mode 100644 materials/shadow_inset.json create mode 100644 materials/small_box_lightfx.json create mode 100644 materials/specialty_locked.json create mode 100644 materials/specialty_new.json create mode 100644 materials/splatter_alt.json create mode 100644 materials/stencil_base.json create mode 100644 materials/stencil_fill.json create mode 100644 materials/talkingicon.json create mode 100644 materials/white.json create mode 100644 materials/xpbar_stencilbase.json create mode 100644 shader_bin/ps_grain_overlay.hlsl.cso create mode 100644 shader_bin/ps_splatter_alt.hlsl.cso create mode 100644 shader_bin/ps_trivial_vertcol_simple.hlsl.cso create mode 100644 shader_bin/vs_grain_overlay.hlsl.cso create mode 100644 shader_bin/vs_splatter_alt.hlsl.cso create mode 100644 shader_bin/vs_trivial_vertcol_simple.hlsl.cso create mode 100644 techniques/grain_overlay.tech create mode 100644 techniques/splatter_alt.tech create mode 100644 techniques/trivial_vertcol_simple2d.tech create mode 100644 techsets/2d.techset create mode 100644 techsets/grain_overlay.techset create mode 100644 techsets/splatter_alt.techset diff --git a/iw4x_code_post_gfx_mp b/iw4x_code_post_gfx_mp index 2d5958d..85295a4 100644 --- a/iw4x_code_post_gfx_mp +++ b/iw4x_code_post_gfx_mp @@ -1 +1 @@ -Legalize Nuclear Bombs \ No newline at end of file +Built using the IW4x ZoneBuilder! 09-01-2025 10:42:02 \ No newline at end of file diff --git a/materials/$levelbriefing.json b/materials/$levelbriefing.json new file mode 100644 index 0000000..d222bcd --- /dev/null +++ b/materials/$levelbriefing.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 34, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "disable", + "blendOpAlpha": "disabled", + "blendOpRgb": "disabled", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "none", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "zero", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "one", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 2, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "default", + "name": "colorMap", + "samplerState": { + "clampU": false, + "clampV": false, + "clampW": false, + "filter": "nearest", + "mipmap": "disabled" + }, + "semantic": "colorMap" + } + ] +} \ No newline at end of file diff --git a/materials/ac130_overlay_grain.json b/materials/ac130_overlay_grain.json new file mode 100644 index 0000000..79c03d2 --- /dev/null +++ b/materials/ac130_overlay_grain.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "none", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 2, + "techniqueSet": "grain_overlay", + "textureTable": [ + { + "image": "ac130_overlay_grain", + "name": "colorMap", + "samplerState": { + "clampU": false, + "clampV": false, + "clampW": false, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/animbg_blur_front.json b/materials/animbg_blur_front.json new file mode 100644 index 0000000..5a917c9 --- /dev/null +++ b/materials/animbg_blur_front.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "back", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 3, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "bg_blur_front", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/ballistic_overlay.json b/materials/ballistic_overlay.json new file mode 100644 index 0000000..45117fb --- /dev/null +++ b/materials/ballistic_overlay.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "none", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 2, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "gasmask_overlay", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/black.json b/materials/black.json new file mode 100644 index 0000000..04c8f15 --- /dev/null +++ b/materials/black.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "back", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 3, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "$black", + "name": "colorMap", + "samplerState": { + "clampU": false, + "clampV": false, + "clampW": false, + "filter": "nearest", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/cardicon_headshot.json b/materials/cardicon_headshot.json new file mode 100644 index 0000000..da6300e --- /dev/null +++ b/materials/cardicon_headshot.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "back", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 3, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "cardicon_headshot", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/cardicon_locked.json b/materials/cardicon_locked.json new file mode 100644 index 0000000..53703d1 --- /dev/null +++ b/materials/cardicon_locked.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "back", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 3, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "cardicon_locked", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/cardtitle_248x48.json b/materials/cardtitle_248x48.json new file mode 100644 index 0000000..33ce7df --- /dev/null +++ b/materials/cardtitle_248x48.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "none", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 2, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "cardtitle_248x48", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/compass_map_default.json b/materials/compass_map_default.json new file mode 100644 index 0000000..0ee4891 --- /dev/null +++ b/materials/compass_map_default.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "none", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 2, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "compass_map_default", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/compassping_player.json b/materials/compassping_player.json new file mode 100644 index 0000000..d25d0a7 --- /dev/null +++ b/materials/compassping_player.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "none", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 2, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "compassping_player", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/drop_shadow_b.json b/materials/drop_shadow_b.json new file mode 100644 index 0000000..843e75e --- /dev/null +++ b/materials/drop_shadow_b.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "back", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 3, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "dropshadow_b", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/drop_shadow_bl.json b/materials/drop_shadow_bl.json new file mode 100644 index 0000000..0aa0ab0 --- /dev/null +++ b/materials/drop_shadow_bl.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "back", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 3, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "dropshadow_bl", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/drop_shadow_br.json b/materials/drop_shadow_br.json new file mode 100644 index 0000000..0db4b5d --- /dev/null +++ b/materials/drop_shadow_br.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "back", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 3, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "dropshadow_br", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/drop_shadow_l.json b/materials/drop_shadow_l.json new file mode 100644 index 0000000..be1123f --- /dev/null +++ b/materials/drop_shadow_l.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "back", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 3, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "dropshadow_l", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/drop_shadow_r.json b/materials/drop_shadow_r.json new file mode 100644 index 0000000..9ce07e3 --- /dev/null +++ b/materials/drop_shadow_r.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "back", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 3, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "dropshadow_r", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/drop_shadow_t.json b/materials/drop_shadow_t.json new file mode 100644 index 0000000..ae3c379 --- /dev/null +++ b/materials/drop_shadow_t.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "back", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 3, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "dropshadow_t", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/drop_shadow_tl.json b/materials/drop_shadow_tl.json new file mode 100644 index 0000000..75340e5 --- /dev/null +++ b/materials/drop_shadow_tl.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "back", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 3, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "dropshadow_tl", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/drop_shadow_tr.json b/materials/drop_shadow_tr.json new file mode 100644 index 0000000..8718047 --- /dev/null +++ b/materials/drop_shadow_tr.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "back", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 3, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "dropshadow_tr", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/gradient.json b/materials/gradient.json new file mode 100644 index 0000000..8c530b3 --- /dev/null +++ b/materials/gradient.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "back", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 3, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "gradient", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "aniso2x", + "mipmap": "nearest" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/gradient_bottom.json b/materials/gradient_bottom.json new file mode 100644 index 0000000..f7eea1c --- /dev/null +++ b/materials/gradient_bottom.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "back", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 3, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "gradient_bottom", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "aniso2x", + "mipmap": "nearest" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/gradient_center.json b/materials/gradient_center.json new file mode 100644 index 0000000..5b46601 --- /dev/null +++ b/materials/gradient_center.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "back", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 3, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "gradient_center", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "aniso2x", + "mipmap": "nearest" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/gradient_fadein.json b/materials/gradient_fadein.json new file mode 100644 index 0000000..f5d2101 --- /dev/null +++ b/materials/gradient_fadein.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "back", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 3, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "gradient_fadein", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "aniso2x", + "mipmap": "nearest" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/gradient_fadein_fadebottom.json b/materials/gradient_fadein_fadebottom.json new file mode 100644 index 0000000..443b75f --- /dev/null +++ b/materials/gradient_fadein_fadebottom.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "back", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 3, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "gradient_fadein_fadebottom", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "aniso2x", + "mipmap": "nearest" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/gradient_slow_fadein.json b/materials/gradient_slow_fadein.json new file mode 100644 index 0000000..aa5dbd5 --- /dev/null +++ b/materials/gradient_slow_fadein.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "back", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 3, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "gradient_slow_fadein", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "aniso2x", + "mipmap": "nearest" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/hud_dpad_arrow_left.json b/materials/hud_dpad_arrow_left.json new file mode 100644 index 0000000..95ac0ee --- /dev/null +++ b/materials/hud_dpad_arrow_left.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "back", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 3, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "hud_dpad_arrow_left", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/hud_dpad_arrow_right.json b/materials/hud_dpad_arrow_right.json new file mode 100644 index 0000000..f7efbc9 --- /dev/null +++ b/materials/hud_dpad_arrow_right.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "back", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 3, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "hud_dpad_arrow_right", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/hud_dpad_xbox360.json b/materials/hud_dpad_xbox360.json new file mode 100644 index 0000000..769ad35 --- /dev/null +++ b/materials/hud_dpad_xbox360.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "none", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 2, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "hud_dpad_xbox360", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/line_horizontal.json b/materials/line_horizontal.json new file mode 100644 index 0000000..e9033b7 --- /dev/null +++ b/materials/line_horizontal.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "back", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 3, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "line_horizontal", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "aniso2x", + "mipmap": "nearest" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/logo_cod2.json b/materials/logo_cod2.json new file mode 100644 index 0000000..0612f1b --- /dev/null +++ b/materials/logo_cod2.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "back", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 3, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "logo_cod2", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "aniso2x", + "mipmap": "nearest" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/menu_button_selection_bar.json b/materials/menu_button_selection_bar.json new file mode 100644 index 0000000..e157d8a --- /dev/null +++ b/materials/menu_button_selection_bar.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "none", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 2, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "mw2_selection_bar", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/menu_rules_selection_bar.json b/materials/menu_rules_selection_bar.json new file mode 100644 index 0000000..c4967ae --- /dev/null +++ b/materials/menu_rules_selection_bar.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "none", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 2, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "mw2_selection_bar_144", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/menu_setting_selection_bar.json b/materials/menu_setting_selection_bar.json new file mode 100644 index 0000000..852ff7a --- /dev/null +++ b/materials/menu_setting_selection_bar.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "none", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 2, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "mw2pc_setting_selection_bar", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/minimap_scanlines.json b/materials/minimap_scanlines.json new file mode 100644 index 0000000..b543253 --- /dev/null +++ b/materials/minimap_scanlines.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "disable", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "none", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "one", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "invDestColor", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 2, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "minimap_scanlines", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/mockup_bg_glow.json b/materials/mockup_bg_glow.json new file mode 100644 index 0000000..6e06feb --- /dev/null +++ b/materials/mockup_bg_glow.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "none", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 2, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "mockup_bgglow", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/mockup_popup_bg_stencilfill.json b/materials/mockup_popup_bg_stencilfill.json new file mode 100644 index 0000000..a435dd1 --- /dev/null +++ b/materials/mockup_popup_bg_stencilfill.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 34, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "disable", + "blendOpAlpha": "disabled", + "blendOpRgb": "disabled", + "colorWriteAlpha": true, + "colorWriteRgb": false, + "cullFace": "none", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "zero", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "one", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 2, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "$white", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/mw2_main_background.json b/materials/mw2_main_background.json new file mode 100644 index 0000000..4e26ff4 --- /dev/null +++ b/materials/mw2_main_background.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "back", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 3, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "menu_background", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/mw2_main_cloud_overlay.json b/materials/mw2_main_cloud_overlay.json new file mode 100644 index 0000000..6421999 --- /dev/null +++ b/materials/mw2_main_cloud_overlay.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "back", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 3, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "menu_cloud_overlay", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/mw2_main_sp_image.json b/materials/mw2_main_sp_image.json new file mode 100644 index 0000000..275428c --- /dev/null +++ b/materials/mw2_main_sp_image.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "back", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 3, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "menu_sp_image", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/mw2_popup_bg_fogscroll.json b/materials/mw2_popup_bg_fogscroll.json new file mode 100644 index 0000000..65bb347 --- /dev/null +++ b/materials/mw2_popup_bg_fogscroll.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 34, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "disable", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": false, + "colorWriteRgb": true, + "cullFace": "none", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "one", + "dstBlendRgb": "invDestAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "destAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 2, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "menu_cloud_overlay", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/mw2_popup_bg_fogstencil.json b/materials/mw2_popup_bg_fogstencil.json new file mode 100644 index 0000000..353f2c3 --- /dev/null +++ b/materials/mw2_popup_bg_fogstencil.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 34, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "disable", + "blendOpAlpha": "disabled", + "blendOpRgb": "min", + "colorWriteAlpha": true, + "colorWriteRgb": false, + "cullFace": "none", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "one", + "dstBlendRgb": "one", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "one", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 2, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "menu_cloud_overlay", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/objective_line.json b/materials/objective_line.json new file mode 100644 index 0000000..419465d --- /dev/null +++ b/materials/objective_line.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 34, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "add", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "none", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "one", + "dstBlendRgb": "one", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "srcAlpha", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 2, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "objective_line", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/playercard_bg.json b/materials/playercard_bg.json new file mode 100644 index 0000000..f9af5bb --- /dev/null +++ b/materials/playercard_bg.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "back", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 3, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "playercard_bg", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/playercard_short_bg.json b/materials/playercard_short_bg.json new file mode 100644 index 0000000..47c0130 --- /dev/null +++ b/materials/playercard_short_bg.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "back", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 3, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "playercard_short_bg", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/popup_button_selection_bar.json b/materials/popup_button_selection_bar.json new file mode 100644 index 0000000..2a821ea --- /dev/null +++ b/materials/popup_button_selection_bar.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "none", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 2, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "mw2_popup_selection_bar", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/popup_button_selection_bar_flipped.json b/materials/popup_button_selection_bar_flipped.json new file mode 100644 index 0000000..8908fde --- /dev/null +++ b/materials/popup_button_selection_bar_flipped.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "none", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 2, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "mw2_popup_selection_bar_mirrored", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/popup_button_selection_bar_short.json b/materials/popup_button_selection_bar_short.json new file mode 100644 index 0000000..48d6b4b --- /dev/null +++ b/materials/popup_button_selection_bar_short.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "none", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 2, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "mw2_popup_selection_bar_short", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/scanlines_stencil.json b/materials/scanlines_stencil.json new file mode 100644 index 0000000..2877e5e --- /dev/null +++ b/materials/scanlines_stencil.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 34, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "disable", + "blendOpAlpha": "disabled", + "blendOpRgb": "disabled", + "colorWriteAlpha": true, + "colorWriteRgb": false, + "cullFace": "none", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "zero", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "one", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 2, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "scanlines", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/server_hardware_header.json b/materials/server_hardware_header.json new file mode 100644 index 0000000..a5a7df6 --- /dev/null +++ b/materials/server_hardware_header.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "none", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 2, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "server_hardware_header", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/shadow_inset.json b/materials/shadow_inset.json new file mode 100644 index 0000000..1146f7e --- /dev/null +++ b/materials/shadow_inset.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "back", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 3, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "shadow_inset", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "aniso2x", + "mipmap": "nearest" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/small_box_lightfx.json b/materials/small_box_lightfx.json new file mode 100644 index 0000000..736df22 --- /dev/null +++ b/materials/small_box_lightfx.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "none", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 2, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "small_box_lightfx", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/specialty_locked.json b/materials/specialty_locked.json new file mode 100644 index 0000000..c6c9da0 --- /dev/null +++ b/materials/specialty_locked.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "none", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 2, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "specialty_locked", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/specialty_new.json b/materials/specialty_new.json new file mode 100644 index 0000000..da23faa --- /dev/null +++ b/materials/specialty_new.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "none", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 2, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "specialty_new", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/splatter_alt.json b/materials/splatter_alt.json new file mode 100644 index 0000000..9375e0b --- /dev/null +++ b/materials/splatter_alt.json @@ -0,0 +1,131 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 34, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "disable", + "blendOpAlpha": "add", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "back", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "one", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "one", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 3, + "techniqueSet": "splatter_alt", + "textureTable": [ + { + "image": "blood_defocus_color", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "colorMap" + }, + { + "image": "blood_defocus_mask", + "name": "colorMap2", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "colorMap" + } + ] +} \ No newline at end of file diff --git a/materials/stencil_base.json b/materials/stencil_base.json new file mode 100644 index 0000000..9140b98 --- /dev/null +++ b/materials/stencil_base.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 34, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "disable", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": false, + "cullFace": "none", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "one", + "dstBlendRgb": "zero", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "zero", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 2, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "$black", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/stencil_fill.json b/materials/stencil_fill.json new file mode 100644 index 0000000..56e9ad0 --- /dev/null +++ b/materials/stencil_fill.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 34, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "disable", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": false, + "colorWriteRgb": true, + "cullFace": "none", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "destAlpha", + "dstBlendRgb": "invDestAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "zero", + "srcBlendRgb": "destAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 2, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "$white", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/talkingicon.json b/materials/talkingicon.json new file mode 100644 index 0000000..a2c7653 --- /dev/null +++ b/materials/talkingicon.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "none", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 2, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "voice_on_#0", + "name": "colorMap", + "samplerState": { + "clampU": false, + "clampV": false, + "clampW": false, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/white.json b/materials/white.json new file mode 100644 index 0000000..ff35545 --- /dev/null +++ b/materials/white.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 47, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "gt0", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": true, + "cullFace": "back", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "zero", + "dstBlendRgb": "invSrcAlpha", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "srcAlpha", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 3, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "$white", + "name": "colorMap", + "samplerState": { + "clampU": false, + "clampV": false, + "clampW": false, + "filter": "nearest", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/materials/xpbar_stencilbase.json b/materials/xpbar_stencilbase.json new file mode 100644 index 0000000..9140b98 --- /dev/null +++ b/materials/xpbar_stencilbase.json @@ -0,0 +1,119 @@ +{ + "cameraRegion": "none", + "constantTable": [], + "info": { + "drawSurf": { + "customIndex": 0, + "hasGfxEntIndex": 0, + "materialSortedIndex": 0, + "objectId": 0, + "prepass": 0, + "primarySortKey": 0, + "reflectionProbeIndex": 0, + "sceneLightIndex": 0, + "surfType": 0, + "useHeroLighting": 0 + }, + "gameFlags": 0, + "hashIndex": 0, + "sortKey": 34, + "surfaceTypeBits": "", + "textureAtlasColumnCount": 1, + "textureAtlasRowCount": 1 + }, + "stateBitsEntry": [ + 255, + 255, + 255, + 255, + 0, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "stateBitsTable": [ + { + "alphaTest": "disable", + "blendOpAlpha": "disabled", + "blendOpRgb": "add", + "colorWriteAlpha": true, + "colorWriteRgb": false, + "cullFace": "none", + "depthTest": "disable", + "depthWrite": false, + "dstBlendAlpha": "one", + "dstBlendRgb": "zero", + "gammaWrite": false, + "polygonOffset": "0", + "polymodeLine": false, + "srcBlendAlpha": "one", + "srcBlendRgb": "zero", + "stencilBackEnabled": false, + "stencilBackFail": "keep", + "stencilBackFunc": "always", + "stencilBackPass": "keep", + "stencilBackZFail": "keep", + "stencilFrontEnabled": false, + "stencilFrontFail": "keep", + "stencilFrontFunc": "always", + "stencilFrontPass": "keep", + "stencilFrontZFail": "keep" + } + ], + "stateFlags": 2, + "techniqueSet": "2d", + "textureTable": [ + { + "image": "$black", + "name": "colorMap", + "samplerState": { + "clampU": true, + "clampV": true, + "clampW": true, + "filter": "linear", + "mipmap": "disabled" + }, + "semantic": "2d" + } + ] +} \ No newline at end of file diff --git a/mp/playerdata.def b/mp/playerdata.def index d60fb40..a66ef42 100644 --- a/mp/playerdata.def +++ b/mp/playerdata.def @@ -1,7571 +1,3 @@ -// ==================== -// Version 159 -// Calculated checksum did not match checksum in file -// Overriding checksum to match original value -// ==================== -version 159 -{ - checksumoverride 2074144879; - - enum(32) ENUM_0 - { - "cac", - "demolitions", - "sniper", - "challenges", - "hardcore", - "oldschool", - "clantag", - "prestige", - "cas", - "playercard", - "playercard_title", - "playercard_icon", - "token_1", - "token_2", - "token_3", - "token_4", - "token_5", - "token_6", - "token_7", - "token_8", - "token_9", - "token_10", - "token_11", - "token_12", - "ghillie_urban", - "ghillie_arctic", - "ghillie_desert", - "ghillie_forest" - }; - - enum(128) ENUM_1 - { - "none", - "beretta393", - "beretta", - "usp", - "deserteagle", - "deserteaglegold", - "coltanaconda", - "glock", - "ak47", - "mp44", - "g3", - "g36c", - "m16", - "m4", - "fn2000", - "famas", - "fal", - "scar", - "tavor", - "masada", - "mp5k", - "uzi", - "p90", - "kriss", - "ump45", - "pp2000", - "tmp", - "m1014", - "ranger", - "striker", - "aa12", - "model1887", - "spas12", - "rpd", - "sa80", - "aug", - "mg4", - "m240", - "barrett", - "cheytac", - "m21", - "wa2000", - "gl", - "rpg", - "c4", - "c4Death", - "claymore", - "javelin", - "stinger", - "at4", - "m79", - "frag_grenade", - "frag_scavenger_grenade", - "flash_grenade", - "smoke_grenade", - "concussion_grenade", - "emp_grenade", - "riotshield", - "throwingknife", - "m40a3", - "ak47classic", - "ak74u", - "peacekeeper", - "dragunov", - "onemanarmy" - }; - - enum(20) ENUM_2 - { - "none", - "gl", - "reflex", - "silencer", - "acog", - "grip", - "akimbo", - "thermal", - "shotgun", - "heartbeat", - "fmj", - "xmags", - "rof", - "boom", - "eotech", - "tactical" - }; - - enum(512) ENUM_3 - { - "ch_prestige", - "pr_marksman_m16", - "pr_expert_m16", - "pr_marksman_famas", - "pr_expert_famas", - "pr_marksman_tavor", - "pr_expert_tavor", - "pr_marksman_fal", - "pr_expert_fal", - "pr_marksman_ak47", - "pr_expert_ak47", - "pr_marksman_m240", - "pr_expert_m240", - "pr_marksman_m4", - "pr_expert_m4", - "pr_marksman_masada", - "pr_expert_masada", - "pr_marksman_scar", - "pr_expert_scar", - "pr_marksman_fn2000", - "pr_expert_fn2000", - "pr_marksman_cheytac", - "pr_expert_cheytac", - "pr_marksman_barrett", - "pr_expert_barrett", - "pr_marksman_m21", - "pr_expert_m21", - "pr_marksman_kriss", - "pr_expert_kriss", - "pr_marksman_ump45", - "pr_expert_ump45", - "pr_marksman_uzi", - "pr_expert_uzi", - "pr_marksman_p90", - "pr_expert_p90", - "pr_marksman_mp5k", - "pr_expert_mp5k", - "pr_marksman_rpd", - "pr_expert_rpd", - "pr_marksman_sa80", - "pr_expert_sa80", - "pr_marksman_aug", - "pr_expert_aug", - "pr_marksman_tmp", - "pr_expert_tmp", - "pr_marksman_pp2000", - "pr_expert_pp2000", - "pr_marksman_glock", - "pr_expert_glock", - "pr_marksman_beretta393", - "pr_expert_beretta393", - "pr_marksman_striker", - "pr_expert_striker", - "pr_marksman_m1014", - "pr_expert_m1014", - "pr_marksman_spas12", - "pr_expert_spas12", - "pr_marksman_aa12", - "pr_expert_aa12", - "pr_marksman_model1887", - "pr_expert_model1887", - "pr_marksman_ranger", - "pr_expert_ranger", - "pr_marksman_beretta", - "pr_expert_beretta", - "pr_marksman_usp", - "pr_expert_usp", - "pr_marksman_deserteagle", - "pr_expert_deserteagle", - "pr_marksman_coltanaconda", - "pr_expert_coltanaconda", - "pr_marksman_wa2000", - "pr_expert_wa2000", - "pr_marksman_mg4", - "pr_expert_mg4", - "pr_marksman_at4", - "pr_expert_at4", - "pr_marksman_rpg", - "pr_expert_rpg", - "pr_marksman_javelin", - "pr_expert_javelin", - "pr_marksman_m79", - "pr_expert_m79", - "pr_marksman_stinger", - "pr_expert_stinger", - "ch_marksman_m16", - "ch_expert_m16", - "ch_m16_gl", - "ch_m16_reflex", - "ch_m16_silencer", - "ch_m16_acog", - "ch_m16_fmj", - "ch_m16_mastery", - "ch_marksman_famas", - "ch_expert_famas", - "ch_famas_gl", - "ch_famas_reflex", - "ch_famas_silencer", - "ch_famas_acog", - "ch_famas_fmj", - "ch_famas_mastery", - "ch_marksman_tavor", - "ch_expert_tavor", - "ch_tavor_gl", - "ch_tavor_reflex", - "ch_tavor_silencer", - "ch_tavor_acog", - "ch_tavor_fmj", - "ch_tavor_mastery", - "ch_marksman_fal", - "ch_expert_fal", - "ch_fal_gl", - "ch_fal_reflex", - "ch_fal_silencer", - "ch_fal_acog", - "ch_fal_fmj", - "ch_fal_mastery", - "ch_marksman_ak47", - "ch_expert_ak47", - "ch_ak47_gl", - "ch_ak47_reflex", - "ch_ak47_silencer", - "ch_ak47_acog", - "ch_ak47_fmj", - "ch_ak47_mastery", - "ch_marksman_m240", - "ch_expert_m240", - "ch_m240_reflex", - "ch_m240_silencer", - "ch_m240_acog", - "ch_m240_fmj", - "ch_m240_mastery", - "ch_marksman_m4", - "ch_expert_m4", - "ch_m4_gl", - "ch_m4_reflex", - "ch_m4_silencer", - "ch_m4_acog", - "ch_m4_fmj", - "ch_m4_mastery", - "ch_marksman_masada", - "ch_expert_masada", - "ch_masada_gl", - "ch_masada_reflex", - "ch_masada_silencer", - "ch_masada_acog", - "ch_masada_fmj", - "ch_masada_mastery", - "ch_marksman_scar", - "ch_expert_scar", - "ch_scar_gl", - "ch_scar_reflex", - "ch_scar_silencer", - "ch_scar_acog", - "ch_scar_fmj", - "ch_scar_mastery", - "ch_marksman_fn2000", - "ch_expert_fn2000", - "ch_fn2000_gl", - "ch_fn2000_reflex", - "ch_fn2000_silencer", - "ch_fn2000_acog", - "ch_fn2000_fmj", - "ch_fn2000_mastery", - "ch_marksman_cheytac", - "ch_expert_cheytac", - "ch_cheytac_silencer", - "ch_cheytac_acog", - "ch_cheytac_fmj", - "ch_cheytac_mastery", - "ch_marksman_barrett", - "ch_expert_barrett", - "ch_barrett_silencer", - "ch_barrett_acog", - "ch_barrett_fmj", - "ch_barrett_mastery", - "ch_marksman_m21", - "ch_expert_m21", - "ch_m21_silencer", - "ch_m21_acog", - "ch_m21_fmj", - "ch_m21_mastery", - "ch_marksman_kriss", - "ch_expert_kriss", - "ch_kriss_rof", - "ch_kriss_reflex", - "ch_kriss_acog", - "ch_kriss_fmj", - "ch_kriss_mastery", - "ch_marksman_ump45", - "ch_expert_ump45", - "ch_ump45_rof", - "ch_ump45_reflex", - "ch_ump45_acog", - "ch_ump45_fmj", - "ch_ump45_mastery", - "ch_marksman_uzi", - "ch_expert_uzi", - "ch_uzi_rof", - "ch_uzi_reflex", - "ch_uzi_acog", - "ch_uzi_fmj", - "ch_uzi_mastery", - "ch_marksman_p90", - "ch_expert_p90", - "ch_p90_rof", - "ch_p90_reflex", - "ch_p90_acog", - "ch_p90_fmj", - "ch_p90_mastery", - "ch_marksman_mp5k", - "ch_expert_mp5k", - "ch_mp5k_rof", - "ch_mp5k_reflex", - "ch_mp5k_acog", - "ch_mp5k_fmj", - "ch_mp5k_mastery", - "ch_marksman_rpd", - "ch_expert_rpd", - "ch_rpd_silencer", - "ch_rpd_reflex", - "ch_rpd_acog", - "ch_rpd_fmj", - "ch_rpd_mastery", - "ch_marksman_sa80", - "ch_expert_sa80", - "ch_sa80_silencer", - "ch_sa80_reflex", - "ch_sa80_acog", - "ch_sa80_fmj", - "ch_sa80_mastery", - "ch_marksman_aug", - "ch_expert_aug", - "ch_aug_silencer", - "ch_aug_reflex", - "ch_aug_acog", - "ch_aug_fmj", - "ch_aug_mastery", - "ch_marksman_wa2000", - "ch_expert_wa2000", - "ch_wa2000_silencer", - "ch_wa2000_acog", - "ch_wa2000_fmj", - "ch_wa2000_mastery", - "ch_expert_mg4", - "ch_marksman_mg4", - "ch_mg4_silencer", - "ch_mg4_reflex", - "ch_mg4_acog", - "ch_mg4_fmj", - "ch_mg4_mastery", - "ch_marksman_tmp", - "ch_expert_tmp", - "ch_marksman_pp2000", - "ch_expert_pp2000", - "ch_marksman_glock", - "ch_expert_glock", - "ch_marksman_beretta393", - "ch_expert_beretta393", - "ch_marksman_striker", - "ch_expert_striker", - "ch_marksman_m1014", - "ch_expert_m1014", - "ch_marksman_spas12", - "ch_expert_spas12", - "ch_marksman_aa12", - "ch_expert_aa12", - "ch_marksman_model1887", - "ch_expert_model1887", - "ch_marksman_ranger", - "ch_expert_ranger", - "ch_marksman_beretta", - "ch_expert_beretta", - "ch_marksman_usp", - "ch_expert_usp", - "ch_marksman_deserteagle", - "ch_expert_deserteagle", - "ch_marksman_coltanaconda", - "ch_expert_coltanaconda", - "ch_marksman_at4", - "ch_marksman_rpg", - "ch_marksman_javelin", - "ch_marksman_m79", - "ch_marksman_stinger", - "ch_marathon_pro", - "ch_bulletaccuracy_pro", - "ch_deadsilence_pro", - "ch_scrambler_pro", - "ch_sleightofhand_pro", - "ch_bling_pro", - "ch_stoppingpower_pro", - "ch_hardline_pro", - "ch_onemanarmy_pro", - "ch_coldblooded_pro", - "ch_laststand_pro", - "ch_scavenger_pro", - "ch_extendedmelee_pro", - "ch_detectexplosives_pro", - "ch_lightweight_pro", - "ch_dangerclose_pro", - "ch_uav", - "ch_airdrop", - "ch_counter_uav", - "ch_sentry", - "ch_predator_missile", - "ch_precision_airstrike", - "ch_harrier_strike", - "ch_helicopter", - "ch_airdrop_mega", - "ch_helicopter_flares", - "ch_stealth_airstrike", - "ch_helicopter_minigun", - "ch_ac130", - "ch_emp", - "ch_nuke", - "ch_uavs", - "ch_airstrikes", - "ch_helicopters", - "ch_airdrops", - "ch_grenadekill", - "ch_claymoreshot", - "ch_jackinthebox", - "ch_carnie", - "ch_masterblaster", - "ch_bullseye", - "ch_c4shot", - "ch_didyouseethat", - "ch_darkbringer", - "ch_tacticaldeletion", - "ch_its_personal", - "ch_heads_up", - "ch_looknohands", - "ch_predator", - "ch_carpetbomber", - "ch_yourefired", - "ch_choppervet", - "ch_jollygreengiant", - "ch_thespirit", - "ch_cobracommander", - "ch_spectre", - "ch_droppincrates", - "ch_absentee", - "ch_dronekiller", - "ch_finishingtouch", - "ch_truelies", - "ch_og", - "ch_transformer", - "ch_technokiller", - "ch_hidef", - "ch_deathfromabove", - "ch_theedge", - "ch_unbelievable", - "ch_owned", - "ch_stickman", - "ch_lastresort", - "ch_ghillie", - "ch_hotpotato", - "ch_carbomb", - "ch_backstabber", - "ch_slowbutsure", - "ch_miserylovescompany", - "ch_ouch", - "ch_rival", - "ch_cruelty", - "ch_thinkfast", - "ch_thinkfastconcussion", - "ch_thinkfastflash", - "ch_returntosender", - "ch_blindfire", - "ch_hardlanding", - "ch_extremecruelty", - "ch_tangodown", - "ch_countermvp", - "ch_goodbye", - "ch_basejump", - "ch_flyswatter", - "ch_vandalism", - "ch_crouchshot", - "ch_proneshot", - "ch_assists", - "ch_xrayvision", - "ch_backdraft", - "ch_shieldvet", - "ch_smasher", - "ch_backsmasher", - "ch_shield_damage", - "ch_shield_bullet", - "ch_shield_explosive", - "ch_surgical_assault", - "ch_surgical_smg", - "ch_surgical_lmg", - "ch_surgical_sniper", - "ch_expert_assault", - "ch_expert_smg", - "ch_expert_lmg", - "ch_multirpg", - "ch_multiclaymore", - "ch_multifrag", - "ch_multic4", - "ch_collateraldamage", - "ch_flawless", - "ch_fearless", - "ch_grouphug", - "ch_nbk", - "ch_allpro", - "ch_airborne", - "ch_moneyshot", - "ch_robinhood", - "ch_bangforbuck", - "ch_overdraft", - "ch_identitytheft", - "ch_atm", - "ch_timeismoney", - "ch_iamrich", - "ch_breakbank", - "ch_colorofmoney", - "ch_neverforget", - "ch_thebrink", - "ch_fastswap", - "ch_starplayer", - "ch_howthe", - "ch_dominos", - "ch_masterchef", - "ch_invincible", - "ch_survivalist", - "ch_counterclaymore", - "ch_counterc4", - "ch_enemyofthestate", - "ch_resourceful", - "ch_survivor", - "ch_bothbarrels", - "ch_omnicide", - "ch_wargasm", - "ch_thebiggertheyare", - "ch_thehardertheyfall", - "ch_crabmeat", - "ch_wopr", - "ch_thedenier", - "ch_carpetbomb", - "ch_redcarpet", - "ch_reaper", - "ch_nosecrets", - "ch_sunblock", - "ch_afterburner", - "ch_airsuperiority", - "ch_mgmaster", - "ch_slasher", - "ch_radiationsickness", - "ch_infected", - "ch_plague", - "ch_renaissance", - "ch_theloner", - "ch_6fears7", - "ch_thenumb", - "ch_martyr", - "ch_livingdead", - "ch_sidekick", - "ch_clickclickboom", - "ch_hijacker", - "ch_no", - "ch_victor_dm", - "ch_teamplayer", - "ch_victor_sd", - "ch_mvp_tdm", - "ch_teamplayer_hc", - "ch_victor_sab", - "ch_mvp_thc", - "ch_bombdown", - "ch_bombdefender", - "ch_bombplanter", - "ch_hero", - "ch_lastmanstanding", - "ch_saboteur", - "ch_knifevet", - "ch_laststandvet", - "ch_stealth", - "ch_concussionvet", - "ch_flashbangvet", - "ch_avenger", - "ch_prestige_10", - "" - }; - - enum(16) ENUM_4 - { - "none", - "desert", - "woodland", - "digital", - "red_tiger", - "blue_tiger", - "gold", - "prestige", - "arctic", - "red_urban", - "orange_fall" - }; - - enum(128) ENUM_5 - { - "specialty_null", - "specialty_null_gl", - "specialty_null_grip", - "specialty_null_shotgun", - "specialty_null_attachment", - "specialty_parabolic", - "specialty_gpsjammer", - "specialty_holdbreath", - "specialty_quieter", - "specialty_longersprint", - "specialty_detectexplosive", - "specialty_explosivedamage", - "specialty_pistoldeath", - "specialty_grenadepulldeath", - "specialty_bulletdamage", - "specialty_bulletpenetration", - "specialty_bulletaccuracy", - "specialty_bulletaccuracy2", - "specialty_rof", - "specialty_fastreload", - "specialty_extraammo", - "specialty_twoprimaries", - "specialty_armorvest", - "specialty_fraggrenade", - "specialty_specialgrenade", - "specialty_burstfire", - "specialty_blastshield", - "specialty_akimbo", - "specialty_siege", - "specialty_shield", - "specialty_falldamage", - "specialty_fmj", - "specialty_delaymine", - "specialty_feigndeath", - "specialty_jumpdive", - "specialty_localjammer", - "specialty_shellshock", - "specialty_fastmantle", - "specialty_explosivebullets", - "specialty_thermal", - "specialty_lightweight", - "specialty_finalstand", - "specialty_blackbox", - "specialty_steelnerves", - "specialty_quickdraw", - "specialty_flashgrenade", - "specialty_concussiongrenade", - "specialty_smokegrenade", - "specialty_empgrenade", - "specialty_scavenger", - "specialty_sitrep", - "specialty_amplify", - "specialty_extendedmags", - "specialty_saboteur", - "specialty_coldblooded", - "specialty_marathon", - "specialty_challenger", - "specialty_rearview", - "specialty_tacticalinsertion", - "specialty_endgame", - "specialty_carepackage", - "specialty_onemanarmy", - "specialty_littlebird_support", - "specialty_extendedmelee", - "specialty_bling", - "specialty_heartbreaker", - "specialty_selectivehearing", - "specialty_fastsnipe", - "specialty_improvedholdbreath", - "specialty_primarydeath", - "specialty_secondarybling", - "specialty_spygame", - "specialty_spygame2", - "specialty_automantle", - "specialty_fastsprintrecovery", - "specialty_c4death", - "specialty_hardline", - "specialty_combathigh", - "specialty_laststandoffhand", - "specialty_dangerclose", - "javelin_mp", - "stinger_mp", - "c4_mp", - "claymore_mp", - "rpg_mp", - "at4_mp", - "m79_mp", - "throwingknife_mp", - "semtex_mp", - "frag_grenade_mp", - "specialty_armorpiercing", - "specialty_omaquickchange", - "specialty_fastmeleerecovery", - "specialty_rollover", - "specialty_extraspecialduration", - "specialty_freerunner", - "specialty_copycat" - }; - - enum(48) ENUM_6 - { - "none", - "uav", - "airstrike", - "helicopter", - "ac130", - "predator_missile", - "helicopter_minigun", - "helicopter_mk19", - "nuke", - "double_uav", - "precision_airstrike", - "counter_uav", - "sentry", - "sentry_gl", - "airdrop", - "tank", - "airdrop_sentry_minigun", - "airdrop_predator_missile", - "littlebird_support", - "stealth_airstrike", - "harrier_airstrike", - "super_airstrike", - "helicopter_blackbox", - "helicopter_flares", - "emp", - "airdrop_mega" - }; - - enum(256) ENUM_7 - { - "none", - "killstreak", - "headshots", - "damagedone", - "damagetaken", - "knifekills", - "assists", - "pistolkills", - "grenadekills", - "multikill", - "finalkill", - "deaths", - "kills", - "uavs", - "airstrikes", - "helicopters", - "mvp", - "overkill", - "suicides", - "flankkills", - "flankdeaths", - "fragkills", - "c4kills", - "semtexkills", - "claymorekills", - "throwingknifekills", - "smgkills", - "arkills", - "rocketkills", - "shotgunkills", - "lmgkills", - "sniperkills", - "pistolheadshots", - "smgheadshots", - "arheadshots", - "shotgunheadshots", - "lmgheadshots", - "sniperheadshots", - "punisher", - "equipmentkills", - "bulletpenkills", - "revengekills", - "avengekills", - "rescues", - "longshots", - "higherrankkills", - "adskills", - "hipfirekills", - "laststandkills", - "laststanderkills", - "lowerrankkills", - "otherweaponkills", - "shotgundeaths", - "shortestlife", - "highlander", - "kdratio10", - "noawards", - "noflankdeaths", - "deathstreak", - "mostmultikills", - "killedotherteam", - "killedotherteamonelife", - "distancetraveled", - "sprinttime", - "crouchtime", - "pronetime", - "comebacks", - "longestlife", - "killcamtimewatched", - "killcamskipped", - "mostreloads", - "mostswaps", - "mostshotsfired", - "timeinspot", - "mostcamperkills", - "greatestavgalt", - "leastavgalt", - "killsteals", - "mostff", - "killedsameplayer", - "mostweaponsused", - "closertoenemies", - "mostclasseschanged", - "mosttacprevented", - "explosionssurvived", - "shieldblocks", - "fbhits", - "stunhits", - "scopedkills", - "thermalkills", - "thumperkills", - "kdratio", - "afk", - "participant", - "shieldkills", - "shielddeaths", - "throwbacks", - "bombsplanted", - "bombsdefused", - "targetsdestroyed", - "bombcarrierkills", - "killsasbombcarrier", - "bombscarried", - "pointscaptured", - "hqscaptured", - "hqsdestroyed", - "flagscaptured", - "flagsreturned", - "flagscarried", - "flagcarrierkills", - "killsasflagcarrier" - }; - - enum(1024) ENUM_8 - { - "cardicon_default", - "cardicon_aug_marksman", - "cardicon_aug_expert", - "cardicon_m240_marksman", - "cardicon_m240_expert", - "cardicon_sa80_marksman", - "cardicon_sa80_expert", - "cardicon_rpd_marksman", - "cardicon_rpd_expert", - "cardicon_mg4_marksman", - "cardicon_mg4_expert", - "cardicon_ak47_marksman", - "cardicon_ak47_expert", - "cardicon_masada_marksman", - "cardicon_masada_expert", - "cardicon_m16_marksman", - "cardicon_m16_expert", - "cardicon_tavor_marksman", - "cardicon_tavor_expert", - "cardicon_fn2000_marksman", - "cardicon_fn2000_expert", - "cardicon_m4_marksman", - "cardicon_m4_expert", - "cardicon_scar_marksman", - "cardicon_scar_expert", - "cardicon_fal_marksman", - "cardicon_fal_expert", - "cardicon_famas_marksman", - "cardicon_famas_expert", - "cardicon_mp5k_marksman", - "cardicon_mp5k_expert", - "cardicon_uzi_marksman", - "cardicon_uzi_expert", - "cardicon_kriss_marksman", - "cardicon_kriss_expert", - "cardicon_ump45_marksman", - "cardicon_ump45_expert", - "cardicon_p90_marksman", - "cardicon_p90_expert", - "cardicon_cheytac_marksman", - "cardicon_cheytac_expert", - "cardicon_m21_marksman", - "cardicon_m21_expert", - "cardicon_barrett_marksman", - "cardicon_barrett_expert", - "cardicon_wa2000_marksman", - "cardicon_wa2000_expert", - "cardicon_glock_marksman", - "cardicon_glock_expert", - "cardicon_tmp_marksman", - "cardicon_tmp_expert", - "cardicon_beretta393_marksman", - "cardicon_beretta393_expert", - "cardicon_pp2000_marksman", - "cardicon_pp2000_expert", - "cardicon_striker_marksman", - "cardicon_striker_expert", - "cardicon_aa12_marksman", - "cardicon_aa12_expert", - "cardicon_m1014_marksman", - "cardicon_m1014_expert", - "cardicon_spas12_marksman", - "cardicon_spas12_expert", - "cardicon_model1887_marksman", - "cardicon_model1887_expert", - "cardicon_ranger_marksman", - "cardicon_ranger_expert", - "cardicon_beretta_marksman", - "cardicon_beretta_expert", - "cardicon_usp_marksman", - "cardicon_usp_expert", - "cardicon_deserteagle_marksman", - "cardicon_deserteagle_expert", - "cardicon_coltanaconda_marksman", - "cardicon_coltanaconda_expert", - "cardicon_iwlogo", - "cardicon_heartbeatsensor", - "cardicon_minigun", - "cardicon_harrier", - "cardicon_pavelow", - "cardicon_noseart1", - "cardicon_seasnipers", - "cardicon_nightvision_1", - "cardicon_nightvision_2", - "cardicon_sniperscope", - "cardicon_compass", - "cardicon_moon", - "cardicon_biohazard", - "cardicon_radiation", - "cardicon_redhand", - "cardicon_spetsnaz", - "cardicon_tf141", - "cardicon_umbracatervae", - "cardicon_headshot", - "cardicon_car", - "cardicon_gumby", - "cardicon_doubletap", - "cardicon_fmj", - "cardicon_soap", - "cardicon_humantrophy", - "cardicon_skull", - "cardicon_xray", - "cardicon_skull_black", - "cardicon_pirate", - "cardicon_pirateflag", - "cardicon_treasurechest", - "cardicon_treasuremap", - "cardicon_league_grenade", - "cardicon_ball_soccer_1", - "cardicon_ball_baseball_1", - "cardicon_ball_basketball_1", - "cardicon_ball_football_1", - "cardicon_rhino", - "cardicon_lion", - "cardicon_bear", - "cardicon_tiger", - "cardicon_hyena", - "cardicon_kinggorilla", - "cardicon_thecow", - "cardicon_birdbrain", - "cardicon_claw", - "cardicon_stop", - "cardicon_burgertown", - "cardicon_bulb", - "cardicon_patch", - "cardicon_tire", - "cardicon_boot", - "cardicon_brassknuckle", - "cardicon_8ball", - "cardicon_mushroom", - "cardicon_assad", - "cardicon_makarov", - "cardicon_sheppard", - "cardicon_comic_shepherd", - "cardicon_grigsby", - "cardicon_taskforcearmy01", - "cardicon_ghillie", - "cardicon_price_ww2", - "cardicon_pricewoodland", - "cardicon_pricearctic", - "cardicon_comic_price", - "cardicon_toon_price_1", - "cardicon_brad", - "cardicon_tsuenami", - "cardicon_brock", - "cardicon_macgregor", - "cardicon_porterjustice", - "cardicon_grunt", - "cardicon_grunt_2", - "cardicon_readhead", - "cardicon_pacifier_blue", - "cardicon_pacifier_pink", - "cardicon_pushingupdaisies", - "cardicon_girlskull", - "cardicon_blue", - "cardicon_badgirl", - "cardicon_goodgirl", - "cardicon_sniper", - "cardicon_abduction", - "cardicon_illuminati", - "cardicon_cod4", - "cardicon_iw", - "cardicon_prestige1", - "cardicon_prestige2", - "cardicon_prestige3", - "cardicon_prestige4", - "cardicon_prestige5", - "cardicon_prestige6", - "cardicon_prestige7", - "cardicon_prestige8", - "cardicon_prestige9", - "cardicon_prestige10", - "cardicon_mw2_prestige1", - "cardicon_mw2_prestige2", - "cardicon_mw2_prestige3", - "cardicon_mw2_prestige4", - "cardicon_mw2_prestige5", - "cardicon_mw2_prestige6", - "cardicon_mw2_prestige7", - "cardicon_mw2_prestige8", - "cardicon_mw2_prestige9", - "cardicon_mw2_prestige10", - "cardicon_prestige10_02", - "cardicon_honeybadger01", - "cardicon_kitten", - "cardicon_nates", - "cardicon_tsunami", - "cardicon_warpig", - "cardicon_8bit_price", - "cardicon_ball_volleyball_1", - "cardicon_helmet_baseball_1", - "cardicon_helmet_football_1", - "cardicon_hockey_1", - "cardicon_hockey_2", - "cardicon_tennisracket", - "cardicon_ghost_bust", - "cardicon_koiker_hound", - "cardicon_sugarglider", - "cardicon_gears", - "cardicon_brassknuckles", - "cardicon_devilfinger", - "cardicon_gold", - "cardicon_icecream", - "cardicon_korean", - "cardicon_loadedfinger", - "cardicon_ac130", - "cardicon_uav", - "cardicon_carepackage", - "cardicon_counteruav", - "cardicon_sentrygun", - "cardicon_predatormissile", - "cardicon_harrierstrike", - "cardicon_attackchopper", - "cardicon_emergencyair", - "cardicon_pavelowkillstreak", - "cardicon_stealthkillstreak", - "cardicon_choppergunner", - "cardicon_empkillstreak", - "cardicon_tacticalnuke", - "cardicon_precair", - "cardicon_marathon", - "cardicon_sleightofhand", - "cardicon_scavenger", - "cardicon_dangerclose", - "cardicon_bling", - "cardicon_stoppingpower", - "cardicon_lightweight", - "cardicon_hardline", - "cardicon_coldblooded", - "cardicon_oma", - "cardicon_commando", - "cardicon_steadyaim", - "cardicon_scrambler", - "cardicon_sitrep", - "cardicon_laststand", - "cardicon_ninja", - "cardicon_frag", - "cardicon_semtex", - "cardicon_throwingknife", - "cardicon_tacticalinsertion", - "cardicon_blastshield", - "cardicon_c4", - "cardicon_claymore", - "cardicon_pvt1", - "cardicon_pfc1", - "cardicon_spc1", - "cardicon_cpl1", - "cardicon_sgt1", - "cardicon_ssgt1", - "cardicon_sfc1", - "cardicon_msgt1", - "cardicon_1stsgt1", - "cardicon_sgtmaj1", - "cardicon_cmdsgtmaj1", - "cardicon_2ndlt1", - "cardicon_1stlt1", - "cardicon_capt1", - "cardicon_maj1", - "cardicon_ltcol1", - "cardicon_col1", - "cardicon_bgen1", - "cardicon_majgen1", - "cardicon_ltgen1", - "cardicon_gen1", - "cardicon_comm1", - "cardicon_martyrdom", - "cardicon_painkiller", - "cardicon_finalstand", - "cardicon_copycat", - "cardicon_impale", - "cardicon_stab", - "cardicon_riotdeath", - "cardicon_b2", - "cardicon_bulletcase", - "cardicon_league_1911", - "cardicon_league_magnum", - "cardicon_opfor", - "cardicon_rangers", - "cardicon_seals", - "cardicon_usmc", - "cardicon_sas", - "cardicon_skullaward", - "cardicon_skullnbones", - "cardicon_chicken", - "cardicon_gametype", - "cardicon_tictac", - "cardicon_jets", - "cardicon_joystick", - "cardicon_devil", - "cardicon_knife", - "cardicon_thebomb", - "cardicon_juggernaut_2", - "cardicon_juggernaut_1", - "cardicon_ac130_angelflare", - "cardicon_bullets_50cal", - "cardicon_weed", - "cardicon_riot_shield", - "cardicon_dive", - "cardicon_ghost_skull", - "cardicon_gasmask", - "cardicon_iss", - "cardicon_knife_logo", - "cardicon_shotgun_shells", - "cardicon_rtrolling" - }; - - enum(1024) ENUM_9 - { - "cardtitle_default", - "cardtitle_theextreme", - "cardtitle_earlydetection", - "cardtitle_trackstar", - "cardtitle_freerunner", - "cardtitle_decathlete", - "cardtitle_2fast", - "cardtitle_hairtrigger", - "cardtitle_oneinchpunch", - "cardtitle_reloaded", - "cardtitle_bandolier", - "cardtitle_vulture", - "cardtitle_fullforce", - "cardtitle_sonicboom", - "cardtitle_dangerclose", - "cardtitle_doubledown", - "cardtitle_blingbling", - "cardtitle_armedanddangerous", - "cardtitle_highcaliber", - "cardtitle_kfactor", - "cardtitle_bitethebullet", - "cardtitle_speeddemon", - "cardtitle_readyfire", - "cardtitle_pathfinder", - "cardtitle_deadline", - "cardtitle_closesupport", - "cardtitle_invisible", - "cardtitle_uavjammer", - "cardtitle_doubleagent", - "cardtitle_fullarsenal", - "cardtitle_quickchange", - "cardtitle_armyof1", - "cardtitle_impaler", - "cardtitle_ninja", - "cardtitle_excalibur", - "cardtitle_sureshot", - "cardtitle_ironlungs", - "cardtitle_steelnerves", - "cardtitle_hardtokill", - "cardtitle_deadmansswitch", - "cardtitle_dyingbreath", - "cardtitle_disruptor", - "cardtitle_heartbreaker", - "cardtitle_counterintel", - "cardtitle_xrayvision", - "cardtitle_amplifier", - "cardtitle_eod", - "cardtitle_silentstrike", - "cardtitle_spygame", - "cardtitle_artofstealth", - "cardtitle_aug_sharpshooter", - "cardtitle_aug_marksman", - "cardtitle_aug_veteran", - "cardtitle_aug_expert", - "cardtitle_aug_master", - "cardtitle_m240_sharpshooter", - "cardtitle_m240_marksman", - "cardtitle_m240_veteran", - "cardtitle_m240_expert", - "cardtitle_m240_master", - "cardtitle_sa80_sharpshooter", - "cardtitle_sa80_marksman", - "cardtitle_sa80_veteran", - "cardtitle_sa80_expert", - "cardtitle_sa80_master", - "cardtitle_rpd_sharpshooter", - "cardtitle_rpd_marksman", - "cardtitle_rpd_veteran", - "cardtitle_rpd_expert", - "cardtitle_rpd_master", - "cardtitle_mg4_sharpshooter", - "cardtitle_mg4_marksman", - "cardtitle_mg4_veteran", - "cardtitle_mg4_expert", - "cardtitle_mg4_master", - "cardtitle_ak47_sharpshooter", - "cardtitle_ak47_marksman", - "cardtitle_ak47_veteran", - "cardtitle_ak47_expert", - "cardtitle_ak47_master", - "cardtitle_masada_sharpshooter", - "cardtitle_masada_marksman", - "cardtitle_masada_veteran", - "cardtitle_masada_expert", - "cardtitle_masada_master", - "cardtitle_m16_sharpshooter", - "cardtitle_m16_marksman", - "cardtitle_m16_veteran", - "cardtitle_m16_expert", - "cardtitle_m16_master", - "cardtitle_tavor_sharpshooter", - "cardtitle_tavor_marksman", - "cardtitle_tavor_veteran", - "cardtitle_tavor_expert", - "cardtitle_tavor_master", - "cardtitle_fn2000_sharpshooter", - "cardtitle_fn2000_marksman", - "cardtitle_fn2000_veteran", - "cardtitle_fn2000_expert", - "cardtitle_fn2000_master", - "cardtitle_m4_sharpshooter", - "cardtitle_m4_marksman", - "cardtitle_m4_veteran", - "cardtitle_m4_expert", - "cardtitle_m4_master", - "cardtitle_scar_sharpshooter", - "cardtitle_scar_marksman", - "cardtitle_scar_veteran", - "cardtitle_scar_expert", - "cardtitle_scar_master", - "cardtitle_fal_sharpshooter", - "cardtitle_fal_marksman", - "cardtitle_fal_veteran", - "cardtitle_fal_expert", - "cardtitle_fal_master", - "cardtitle_famas_sharpshooter", - "cardtitle_famas_marksman", - "cardtitle_famas_veteran", - "cardtitle_famas_expert", - "cardtitle_famas_master", - "cardtitle_mp5k_sharpshooter", - "cardtitle_mp5k_marksman", - "cardtitle_mp5k_veteran", - "cardtitle_mp5k_expert", - "cardtitle_mp5k_master", - "cardtitle_uzi_sharpshooter", - "cardtitle_uzi_marksman", - "cardtitle_uzi_veteran", - "cardtitle_uzi_expert", - "cardtitle_uzi_master", - "cardtitle_kriss_sharpshooter", - "cardtitle_kriss_marksman", - "cardtitle_kriss_veteran", - "cardtitle_kriss_expert", - "cardtitle_kriss_master", - "cardtitle_ump45_sharpshooter", - "cardtitle_ump45_marksman", - "cardtitle_ump45_veteran", - "cardtitle_ump45_expert", - "cardtitle_ump45_master", - "cardtitle_p90_sharpshooter", - "cardtitle_p90_marksman", - "cardtitle_p90_veteran", - "cardtitle_p90_expert", - "cardtitle_p90_master", - "cardtitle_cheytac_sharpshooter", - "cardtitle_cheytac_marksman", - "cardtitle_cheytac_veteran", - "cardtitle_cheytac_expert", - "cardtitle_cheytac_master", - "cardtitle_m21_sharpshooter", - "cardtitle_m21_marksman", - "cardtitle_m21_veteran", - "cardtitle_m21_expert", - "cardtitle_m21_master", - "cardtitle_barrett_sharpshooter", - "cardtitle_barrett_marksman", - "cardtitle_barrett_veteran", - "cardtitle_barrett_expert", - "cardtitle_barrett_master", - "cardtitle_wa2000_sharpshooter", - "cardtitle_wa2000_marksman", - "cardtitle_wa2000_veteran", - "cardtitle_wa2000_expert", - "cardtitle_wa2000_master", - "cardtitle_glock_marksman", - "cardtitle_glock_veteran", - "cardtitle_glock_expert", - "cardtitle_glock_master", - "cardtitle_tmp_marksman", - "cardtitle_tmp_veteran", - "cardtitle_tmp_expert", - "cardtitle_tmp_master", - "cardtitle_beretta393_marksman", - "cardtitle_beretta393_veteran", - "cardtitle_beretta393_expert", - "cardtitle_beretta393_master", - "cardtitle_pp2000_marksman", - "cardtitle_pp2000_veteran", - "cardtitle_pp2000_expert", - "cardtitle_pp2000_master", - "cardtitle_striker_marksman", - "cardtitle_striker_veteran", - "cardtitle_striker_expert", - "cardtitle_striker_master", - "cardtitle_aa12_marksman", - "cardtitle_aa12_veteran", - "cardtitle_aa12_expert", - "cardtitle_aa12_master", - "cardtitle_m1014_marksman", - "cardtitle_m1014_veteran", - "cardtitle_m1014_expert", - "cardtitle_m1014_master", - "cardtitle_spas12_marksman", - "cardtitle_spas12_veteran", - "cardtitle_spas12_expert", - "cardtitle_spas12_master", - "cardtitle_model1887_marksman", - "cardtitle_model1887_veteran", - "cardtitle_model1887_expert", - "cardtitle_model1887_master", - "cardtitle_ranger_marksman", - "cardtitle_ranger_veteran", - "cardtitle_ranger_expert", - "cardtitle_ranger_master", - "cardtitle_beretta_marksman", - "cardtitle_beretta_veteran", - "cardtitle_beretta_expert", - "cardtitle_beretta_master", - "cardtitle_usp_marksman", - "cardtitle_usp_veteran", - "cardtitle_usp_expert", - "cardtitle_usp_master", - "cardtitle_deserteagle_marksman", - "cardtitle_deserteagle_veteran", - "cardtitle_deserteagle_expert", - "cardtitle_deserteagle_master", - "cardtitle_coltanaconda_marksman", - "cardtitle_coltanaconda_veteran", - "cardtitle_coltanaconda_expert", - "cardtitle_coltanaconda_master", - "cardtitle_shotdown", - "cardtitle_dishtherock", - "cardtitle_flyswatter", - "cardtitle_lonewolf", - "cardtitle_getreal", - "cardtitle_overwatch", - "cardtitle_tangodown", - "cardtitle_teamplayer", - "cardtitle_destroyer", - "cardtitle_its_sabotage", - "cardtitle_dzclear", - "cardtitle_fireforget", - "cardtitle_flag_united_states", - "cardtitle_patriot", - "cardtitle_flag_uk", - "cardtitle_fng", - "cardtitle_flag_canada", - "cardtitle_greatwhite", - "cardtitle_flag_australia", - "cardtitle_continental", - "cardtitle_flag_swiss", - "cardtitle_neutral", - "cardtitle_flag_mexico", - "cardtitle_flag_spain", - "cardtitle_conquerer", - "cardtitle_flag_austria", - "cardtitle_terminator", - "cardtitle_flag_japan", - "cardtitle_risingsun", - "cardtitle_flag_brazil", - "cardtitle_redeemer", - "cardtitle_flag_russia", - "cardtitle_flag_france", - "cardtitle_flag_germany", - "cardtitle_flag_italy", - "cardtitle_flag_norway", - "cardtitle_flag_greece", - "cardtitle_flag_sweden", - "cardtitle_flag_ireland", - "cardtitle_flag_belgium", - "cardtitle_flag_finland", - "cardtitle_flag_luxemburg", - "cardtitle_flag_czech", - "cardtitle_flag_netherlands", - "cardtitle_flag_newzealand", - "cardtitle_flag_philippines", - "cardtitle_flag_poland", - "cardtitle_flag_portugal", - "cardtitle_flag_denmark", - "cardtitle_flag_saudiarabia", - "cardtitle_flag_singapore", - "cardtitle_flag_southafrica", - "cardtitle_flag_southkorea", - "cardtitle_flag_hongkong", - "cardtitle_flag_india", - "cardtitle_flag_taiwan", - "cardtitle_flag_united_arab_emirates", - "cardtitle_flag_elsalvador", - "cardtitle_flag_china", - "cardtitle_flag_iran", - "cardtitle_pyro", - "cardtitle_fired", - "cardtitle_hotshot", - "cardtitle_deathfromabove", - "cardtitle_steelreign", - "cardtitle_feared", - "cardtitle_preemptive", - "cardtitle_timeontarget", - "cardtitle_publicenemy", - "cardtitle_bombshell", - "cardtitle_thabomb", - "cardtitle_brokenarrow", - "cardtitle_explosiveordinance", - "cardtitle_madbomber", - "cardtitle_givinstatic", - "cardtitle_jumpjet", - "cardtitle_droppincrates", - "cardtitle_submittoauthority", - "cardtitle_harcoreonly", - "cardtitle_lowprofile", - "cardtitle_sigint", - "cardtitle_intergalactic", - "cardtitle_nohands", - "cardtitle_bowdown", - "cardtitle_drifter", - "cardtitle_bob", - "cardtitle_ghostrider", - "cardtitle_survivor", - "cardtitle_accidentprone", - "cardtitle_squawkbox", - "cardtitle_cr1zby", - "cardtitle_companioncrate", - "cardtitle_straightup", - "cardtitle_pushindaisy", - "cardtitle_voyeur", - "cardtitle_sprayandpray", - "cardtitle_jointops", - "cardtitle_avenger", - "cardtitle_sharepackage", - "cardtitle_blackout", - "cardtitle_jollygreen", - "cardtitle_spirit", - "cardtitle_grimreaper", - "cardtitle_cobracommander", - "cardtitle_spectre", - "cardtitle_rainoffire", - "cardtitle_chickmagnet", - "cardtitle_starfishprime", - "cardtitle_endofline", - "cardtitle_wopr", - "cardtitle_watchman", - "cardtitle_omnipotent", - "cardtitle_planewhisperer", - "cardtitle_rollingthunder", - "cardtitle_fullthrottle", - "cardtitle_airwolf", - "cardtitle_gambler", - "cardtitle_santaclaus", - "cardtitle_pineappleexpress", - "cardtitle_catchshrapnel", - "cardtitle_mastermind", - "cardtitle_jackinthebox", - "cardtitle_copperfield", - "cardtitle_takeastab", - "cardtitle_masterblaster", - "cardtitle_juggernaut", - "cardtitle_bullseye", - "cardtitle_stuckonyou", - "cardtitle_plasticman", - "cardtitle_c4andafter", - "cardtitle_silentknight", - "cardtitle_darkbringer", - "cardtitle_tacticaldeletion", - "cardtitle_itspersonal", - "cardtitle_fragout", - "cardtitle_cloakanddagger", - "cardtitle_mylilpwny", - "cardtitle_gettothechoppa", - "cardtitle_booyah", - "cardtitle_streaker", - "cardtitle_1bullet2kills", - "cardtitle_dictator", - "cardtitle_surgical", - "cardtitle_crackinskulls", - "cardtitle_popoff", - "cardtitle_boomheadshot", - "cardtitle_faceoff", - "cardtitle_headrush", - "cardtitle_mach5", - "cardtitle_notintheface", - "cardtitle_perfectionist", - "cardtitle_badaboom", - "cardtitle_genocidal", - "cardtitle_partinggift", - "cardtitle_ambush", - "cardtitle_pinpuller", - "cardtitle_boomboompow", - "cardtitle_anarchist", - "cardtitle_highlander", - "cardtitle_enemybenefits", - "cardtitle_nbk", - "cardtitle_allpro", - "cardtitle_hardtarget", - "cardtitle_dronekiller", - "cardtitle_truelies", - "cardtitle_transformer", - "cardtitle_angelofdeath", - "cardtitle_hidef", - "cardtitle_unbelievable", - "cardtitle_stickman", - "cardtitle_lastresort", - "cardtitle_philanthropist", - "cardtitle_absenteekiller", - "cardtitle_finishingtouch", - "cardtitle_og", - "cardtitle_technokiller", - "cardtitle_owned", - "cardtitle_tagyoureit", - "cardtitle_boilermaker", - "cardtitle_backstabber", - "cardtitle_stungun", - "cardtitle_heart", - "cardtitle_noobtuber", - "cardtitle_rival", - "cardtitle_omfg", - "cardtitle_thinkfast", - "cardtitle_concussive", - "cardtitle_lightsout", - "cardtitle_backfire", - "cardtitle_blindfire", - "cardtitle_duckhunter", - "cardtitle_omnicide", - "cardtitle_devastator", - "cardtitle_mvpassassin", - "cardtitle_timeismoney", - "cardtitle_imrich", - "cardtitle_moneyshot", - "cardtitle_makeitrain", - "cardtitle_clayback", - "cardtitle_robinhood", - "cardtitle_madman", - "cardtitle_idthief", - "cardtitle_newjack", - "cardtitle_bloodmoney", - "cardtitle_flatliner", - "cardtitle_evildead", - "cardtitle_quickdraw", - "cardtitle_hiredgun", - "cardtitle_mastatdon", - "cardtitle_howthe", - "cardtitle_dominofx", - "cardtitle_halfbaked", - "cardtitle_bam", - "cardtitle_invincible", - "cardtitle_livelong", - "cardtitle_claypigeon", - "cardtitle_reversaloffortune", - "cardtitle_iceman", - "cardtitle_enemyofthestate", - "cardtitle_friendswith", - "cardtitle_legend", - "cardtitle_wargasm", - "cardtitle_biggertheyare", - "cardtitle_harderthey", - "cardtitle_epic", - "cardtitle_denier", - "cardtitle_carpetbomber", - "cardtitle_bombsaway", - "cardtitle_bigbrother", - "cardtitle_uavrays", - "cardtitle_afterburner", - "cardtitle_topgun", - "cardtitle_gat", - "cardtitle_theripper", - "cardtitle_allyourbase", - "cardtitle_globalthermo", - "cardtitle_sbd", - "cardtitle_toxicavenger", - "cardtitle_infected", - "cardtitle_plague", - "cardtitle_klepto", - "cardtitle_behindenemy", - "cardtitle_6fears7", - "cardtitle_comfortablynumb", - "cardtitle_martyr", - "cardtitle_livingdead", - "cardtitle_sidekick", - "cardtitle_clickclickboom", - "cardtitle_hijacker", - "cardtitle_bountyhunter", - "cardtitle_no", - "cardtitle_sentrymaster", - "cardtitle_predatormaster", - "cardtitle_airstrikemaster", - "cardtitle_harriermaster", - "cardtitle_helimaster", - "cardtitle_pavelowmaster", - "cardtitle_stealthmaster", - "cardtitle_choppermaster", - "cardtitle_ac130master", - "cardtitle_blademaster", - "cardtitle_laststandmaster", - "cardtitle_silencermaster", - "cardtitle_flashmaster", - "cardtitle_stunmaster", - "cardtitle_sentryveteran", - "cardtitle_predatorveteran", - "cardtitle_airstrikeveteran", - "cardtitle_harrierveteran", - "cardtitle_heliveteran", - "cardtitle_pavelowveteran", - "cardtitle_stealthveteran", - "cardtitle_chopperveteran", - "cardtitle_ac130veteran", - "cardtitle_bladeveteran", - "cardtitle_laststandveteran", - "cardtitle_silencerveteran", - "cardtitle_flashveteran", - "cardtitle_stunveteran", - "cardtitle_headsup", - "cardtitle_predator", - "cardtitle_automator", - "cardtitle_shotover", - "cardtitle_stringfellow", - "cardtitle_doctor", - "cardtitle_coldsteel", - "cardtitle_inciser", - "cardtitle_phoenixrising", - "cardtitle_suppressor", - "cardtitle_shockandawe", - "cardtitle_flasher", - "cardtitle_handsfree", - "cardtitle_clusterbomb", - "cardtitle_rejected", - "cardtitle_skycaptain", - "cardtitle_cobrakai", - "cardtitle_godhand", - "cardtitle_unseen", - "cardtitle_at4_marksman", - "cardtitle_javelin_marksman", - "cardtitle_m79_marksman", - "cardtitle_rpg_marksman", - "cardtitle_stinger_marksman", - "cardtitle_at4_expert", - "cardtitle_javelin_expert", - "cardtitle_m79_expert", - "cardtitle_rpg_expert", - "cardtitle_stinger_expert", - "cardtitle_at4_veteran", - "cardtitle_javelin_veteran", - "cardtitle_m79_veteran", - "cardtitle_rpg_veteran", - "cardtitle_stinger_veteran", - "cardtitle_at4_master", - "cardtitle_javelin_master", - "cardtitle_m79_master", - "cardtitle_rpg_master", - "cardtitle_stinger_master", - "cardtitle_ssdd", - "cardtitle_prestige1", - "cardtitle_prestige2", - "cardtitle_prestige3", - "cardtitle_prestige4", - "cardtitle_prestige5", - "cardtitle_prestige6", - "cardtitle_prestige7", - "cardtitle_prestige8", - "cardtitle_prestige9", - "cardtitle_prestige10", - "cardtitle_20", - "cardtitle_30", - "cardtitle_40", - "cardtitle_50", - "cardtitle_60", - "cardtitle_70", - "cardtitle_20a", - "cardtitle_30a", - "cardtitle_40a", - "cardtitle_50a", - "cardtitle_60a", - "cardtitle_70a", - "cardtitle_grassyknoll", - "cardtitle_ghilliemist", - "cardtitle_rezero", - "cardtitle_blunttrauma", - "cardtitle_smashhit", - "cardtitle_backsmasher", - "cardtitle_protectserve", - "cardtitle_bulletproof", - "cardtitle_unbreakable", - "cardtitle_evilchicken", - "cardtitle_nolaststand" - }; - - enum(8) ENUM_10 - { - "cardnameplate_default", - "cardnameplate_test" - }; - - enum ENUM_11 - { - "none", - "neutral", - "allies", - "axis" - }; - - enum(16) ENUM_12 - { - "dm", - "tdm", - "dsd", - "sab", - "dom", - "koth", - "oneflag", - "arena", - "ctf" - }; - - struct root - { - int awards[ENUM_7]; - int bests[ENUM_7]; - int experience; - int restXPGoal; - int prestige; - int level; - int score; - int kills; - int killStreak; - int deaths; - int deathStreak; - int assists; - int headshots; - int teamkills; - int suicides; - int timePlayedAllies; - int timePlayedOpfor; - int timePlayedOther; - int timePlayedTotal; - int kdRatio; - int wins; - int losses; - int ties; - int winStreak; - int currentWinStreak; - int winLossRatio; - int hits; - int misses; - int totalShots; - int accuracy; - int money; - int timeSinceLastLoot; - int lastPlayedTime; - STRUCT_4 round; - bool weaponNew[ENUM_1]; - bool camoNew[ENUM_1][ENUM_4]; - bool attachmentNew[ENUM_1][ENUM_2]; - bool perkNew[ENUM_5]; - bool featureNew[ENUM_0]; - bool challengeTierNew[100]; - bool killstreakNew[ENUM_6]; - STRUCT_2 customClasses[15]; - byte challengeState[ENUM_3]; - int challengeProgress[ENUM_3]; - ENUM_8 cardIcon; - ENUM_9 cardTitle; - ENUM_10 cardNameplate; - ENUM_6 killstreaks[3]; - short skills[ENUM_12]; - bool iconNew[ENUM_8]; - bool titleNew[ENUM_9]; - bool iconUnlocked[ENUM_8]; - bool titleUnlocked[ENUM_9]; - bool killstreakUnlocked[ENUM_6]; - }; - - struct STRUCT_1 - { - ENUM_1 weapon; - ENUM_2 attachment[2]; - ENUM_4 camo; - pad(4); - }; - - struct STRUCT_2 - { - bool inUse; - STRUCT_1 weaponSetups[2]; - ENUM_5 perks[5]; - ENUM_1 specialGrenade; - string(21) name; - ENUM_5 _deathstreak; - pad(4); - }; - - struct STRUCT_3 - { - ENUM_7 award; - int value; - }; - - struct STRUCT_4 - { - int kills; - int killStreak; - int deaths; - int score; - int timePlayed; - bool win; - bool loss; - ENUM_11 scoreboardType; - int totalXp; - int scoreXp; - int challengeXp; - int matchXp; - int miscXp; - byte awardCount; - STRUCT_3 awards[5]; - pad(54); - }; -} - - -// ==================== -// Version 158 -// Calculated checksum did not match checksum in file -// Overriding checksum to match original value -// ==================== -version 158 -{ - checksumoverride 2074144879; - - enum(32) ENUM_0 - { - "cac", - "demolitions", - "sniper", - "challenges", - "hardcore", - "oldschool", - "clantag", - "prestige", - "cas", - "playercard", - "playercard_title", - "playercard_icon", - "token_1", - "token_2", - "token_3", - "token_4", - "token_5", - "token_6", - "token_7", - "token_8", - "token_9", - "token_10", - "token_11", - "token_12", - "ghillie_urban", - "ghillie_arctic", - "ghillie_desert", - "ghillie_forest" - }; - - enum(128) ENUM_1 - { - "none", - "beretta393", - "beretta", - "usp", - "deserteagle", - "deserteaglegold", - "coltanaconda", - "glock", - "ak47", - "mp44", - "g3", - "g36c", - "m16", - "m4", - "fn2000", - "famas", - "fal", - "scar", - "tavor", - "masada", - "mp5k", - "uzi", - "p90", - "kriss", - "ump45", - "pp2000", - "tmp", - "m1014", - "ranger", - "striker", - "aa12", - "model1887", - "spas12", - "rpd", - "sa80", - "aug", - "mg4", - "m240", - "barrett", - "cheytac", - "m21", - "wa2000", - "gl", - "rpg", - "c4", - "c4Death", - "claymore", - "javelin", - "stinger", - "at4", - "m79", - "frag_grenade", - "frag_scavenger_grenade", - "flash_grenade", - "smoke_grenade", - "concussion_grenade", - "emp_grenade", - "riotshield", - "throwingknife", - "m40a3", - "ak47classic", - "ak74u", - "peacekeeper", - "dragunov", - "onemanarmy" - }; - - enum(20) ENUM_2 - { - "none", - "gl", - "reflex", - "silencer", - "acog", - "grip", - "akimbo", - "thermal", - "shotgun", - "heartbeat", - "fmj", - "xmags", - "rof", - "boom", - "eotech", - "tactical" - }; - - enum(512) ENUM_3 - { - "ch_prestige", - "pr_marksman_m16", - "pr_expert_m16", - "pr_marksman_famas", - "pr_expert_famas", - "pr_marksman_tavor", - "pr_expert_tavor", - "pr_marksman_fal", - "pr_expert_fal", - "pr_marksman_ak47", - "pr_expert_ak47", - "pr_marksman_m240", - "pr_expert_m240", - "pr_marksman_m4", - "pr_expert_m4", - "pr_marksman_masada", - "pr_expert_masada", - "pr_marksman_scar", - "pr_expert_scar", - "pr_marksman_fn2000", - "pr_expert_fn2000", - "pr_marksman_cheytac", - "pr_expert_cheytac", - "pr_marksman_barrett", - "pr_expert_barrett", - "pr_marksman_m21", - "pr_expert_m21", - "pr_marksman_kriss", - "pr_expert_kriss", - "pr_marksman_ump45", - "pr_expert_ump45", - "pr_marksman_uzi", - "pr_expert_uzi", - "pr_marksman_p90", - "pr_expert_p90", - "pr_marksman_mp5k", - "pr_expert_mp5k", - "pr_marksman_rpd", - "pr_expert_rpd", - "pr_marksman_sa80", - "pr_expert_sa80", - "pr_marksman_aug", - "pr_expert_aug", - "pr_marksman_tmp", - "pr_expert_tmp", - "pr_marksman_pp2000", - "pr_expert_pp2000", - "pr_marksman_glock", - "pr_expert_glock", - "pr_marksman_beretta393", - "pr_expert_beretta393", - "pr_marksman_striker", - "pr_expert_striker", - "pr_marksman_m1014", - "pr_expert_m1014", - "pr_marksman_spas12", - "pr_expert_spas12", - "pr_marksman_aa12", - "pr_expert_aa12", - "pr_marksman_model1887", - "pr_expert_model1887", - "pr_marksman_ranger", - "pr_expert_ranger", - "pr_marksman_beretta", - "pr_expert_beretta", - "pr_marksman_usp", - "pr_expert_usp", - "pr_marksman_deserteagle", - "pr_expert_deserteagle", - "pr_marksman_coltanaconda", - "pr_expert_coltanaconda", - "pr_marksman_wa2000", - "pr_expert_wa2000", - "pr_marksman_mg4", - "pr_expert_mg4", - "pr_marksman_at4", - "pr_expert_at4", - "pr_marksman_rpg", - "pr_expert_rpg", - "pr_marksman_javelin", - "pr_expert_javelin", - "pr_marksman_m79", - "pr_expert_m79", - "pr_marksman_stinger", - "pr_expert_stinger", - "ch_marksman_m16", - "ch_expert_m16", - "ch_m16_gl", - "ch_m16_reflex", - "ch_m16_silencer", - "ch_m16_acog", - "ch_m16_fmj", - "ch_m16_mastery", - "ch_marksman_famas", - "ch_expert_famas", - "ch_famas_gl", - "ch_famas_reflex", - "ch_famas_silencer", - "ch_famas_acog", - "ch_famas_fmj", - "ch_famas_mastery", - "ch_marksman_tavor", - "ch_expert_tavor", - "ch_tavor_gl", - "ch_tavor_reflex", - "ch_tavor_silencer", - "ch_tavor_acog", - "ch_tavor_fmj", - "ch_tavor_mastery", - "ch_marksman_fal", - "ch_expert_fal", - "ch_fal_gl", - "ch_fal_reflex", - "ch_fal_silencer", - "ch_fal_acog", - "ch_fal_fmj", - "ch_fal_mastery", - "ch_marksman_ak47", - "ch_expert_ak47", - "ch_ak47_gl", - "ch_ak47_reflex", - "ch_ak47_silencer", - "ch_ak47_acog", - "ch_ak47_fmj", - "ch_ak47_mastery", - "ch_marksman_m240", - "ch_expert_m240", - "ch_m240_reflex", - "ch_m240_silencer", - "ch_m240_acog", - "ch_m240_fmj", - "ch_m240_mastery", - "ch_marksman_m4", - "ch_expert_m4", - "ch_m4_gl", - "ch_m4_reflex", - "ch_m4_silencer", - "ch_m4_acog", - "ch_m4_fmj", - "ch_m4_mastery", - "ch_marksman_masada", - "ch_expert_masada", - "ch_masada_gl", - "ch_masada_reflex", - "ch_masada_silencer", - "ch_masada_acog", - "ch_masada_fmj", - "ch_masada_mastery", - "ch_marksman_scar", - "ch_expert_scar", - "ch_scar_gl", - "ch_scar_reflex", - "ch_scar_silencer", - "ch_scar_acog", - "ch_scar_fmj", - "ch_scar_mastery", - "ch_marksman_fn2000", - "ch_expert_fn2000", - "ch_fn2000_gl", - "ch_fn2000_reflex", - "ch_fn2000_silencer", - "ch_fn2000_acog", - "ch_fn2000_fmj", - "ch_fn2000_mastery", - "ch_marksman_cheytac", - "ch_expert_cheytac", - "ch_cheytac_silencer", - "ch_cheytac_acog", - "ch_cheytac_fmj", - "ch_cheytac_mastery", - "ch_marksman_barrett", - "ch_expert_barrett", - "ch_barrett_silencer", - "ch_barrett_acog", - "ch_barrett_fmj", - "ch_barrett_mastery", - "ch_marksman_m21", - "ch_expert_m21", - "ch_m21_silencer", - "ch_m21_acog", - "ch_m21_fmj", - "ch_m21_mastery", - "ch_marksman_kriss", - "ch_expert_kriss", - "ch_kriss_rof", - "ch_kriss_reflex", - "ch_kriss_acog", - "ch_kriss_fmj", - "ch_kriss_mastery", - "ch_marksman_ump45", - "ch_expert_ump45", - "ch_ump45_rof", - "ch_ump45_reflex", - "ch_ump45_acog", - "ch_ump45_fmj", - "ch_ump45_mastery", - "ch_marksman_uzi", - "ch_expert_uzi", - "ch_uzi_rof", - "ch_uzi_reflex", - "ch_uzi_acog", - "ch_uzi_fmj", - "ch_uzi_mastery", - "ch_marksman_p90", - "ch_expert_p90", - "ch_p90_rof", - "ch_p90_reflex", - "ch_p90_acog", - "ch_p90_fmj", - "ch_p90_mastery", - "ch_marksman_mp5k", - "ch_expert_mp5k", - "ch_mp5k_rof", - "ch_mp5k_reflex", - "ch_mp5k_acog", - "ch_mp5k_fmj", - "ch_mp5k_mastery", - "ch_marksman_rpd", - "ch_expert_rpd", - "ch_rpd_silencer", - "ch_rpd_reflex", - "ch_rpd_acog", - "ch_rpd_fmj", - "ch_rpd_mastery", - "ch_marksman_sa80", - "ch_expert_sa80", - "ch_sa80_silencer", - "ch_sa80_reflex", - "ch_sa80_acog", - "ch_sa80_fmj", - "ch_sa80_mastery", - "ch_marksman_aug", - "ch_expert_aug", - "ch_aug_silencer", - "ch_aug_reflex", - "ch_aug_acog", - "ch_aug_fmj", - "ch_aug_mastery", - "ch_marksman_wa2000", - "ch_expert_wa2000", - "ch_wa2000_silencer", - "ch_wa2000_acog", - "ch_wa2000_fmj", - "ch_wa2000_mastery", - "ch_expert_mg4", - "ch_marksman_mg4", - "ch_mg4_silencer", - "ch_mg4_reflex", - "ch_mg4_acog", - "ch_mg4_fmj", - "ch_mg4_mastery", - "ch_marksman_tmp", - "ch_expert_tmp", - "ch_marksman_pp2000", - "ch_expert_pp2000", - "ch_marksman_glock", - "ch_expert_glock", - "ch_marksman_beretta393", - "ch_expert_beretta393", - "ch_marksman_striker", - "ch_expert_striker", - "ch_marksman_m1014", - "ch_expert_m1014", - "ch_marksman_spas12", - "ch_expert_spas12", - "ch_marksman_aa12", - "ch_expert_aa12", - "ch_marksman_model1887", - "ch_expert_model1887", - "ch_marksman_ranger", - "ch_expert_ranger", - "ch_marksman_beretta", - "ch_expert_beretta", - "ch_marksman_usp", - "ch_expert_usp", - "ch_marksman_deserteagle", - "ch_expert_deserteagle", - "ch_marksman_coltanaconda", - "ch_expert_coltanaconda", - "ch_marksman_at4", - "ch_marksman_rpg", - "ch_marksman_javelin", - "ch_marksman_m79", - "ch_marksman_stinger", - "ch_marathon_pro", - "ch_bulletaccuracy_pro", - "ch_deadsilence_pro", - "ch_scrambler_pro", - "ch_sleightofhand_pro", - "ch_bling_pro", - "ch_stoppingpower_pro", - "ch_hardline_pro", - "ch_onemanarmy_pro", - "ch_coldblooded_pro", - "ch_laststand_pro", - "ch_scavenger_pro", - "ch_extendedmelee_pro", - "ch_detectexplosives_pro", - "ch_lightweight_pro", - "ch_dangerclose_pro", - "ch_uav", - "ch_airdrop", - "ch_counter_uav", - "ch_sentry", - "ch_predator_missile", - "ch_precision_airstrike", - "ch_harrier_strike", - "ch_helicopter", - "ch_airdrop_mega", - "ch_helicopter_flares", - "ch_stealth_airstrike", - "ch_helicopter_minigun", - "ch_ac130", - "ch_emp", - "ch_nuke", - "ch_uavs", - "ch_airstrikes", - "ch_helicopters", - "ch_airdrops", - "ch_grenadekill", - "ch_claymoreshot", - "ch_jackinthebox", - "ch_carnie", - "ch_masterblaster", - "ch_bullseye", - "ch_c4shot", - "ch_didyouseethat", - "ch_darkbringer", - "ch_tacticaldeletion", - "ch_its_personal", - "ch_heads_up", - "ch_looknohands", - "ch_predator", - "ch_carpetbomber", - "ch_yourefired", - "ch_choppervet", - "ch_jollygreengiant", - "ch_thespirit", - "ch_cobracommander", - "ch_spectre", - "ch_droppincrates", - "ch_absentee", - "ch_dronekiller", - "ch_finishingtouch", - "ch_truelies", - "ch_og", - "ch_transformer", - "ch_technokiller", - "ch_hidef", - "ch_deathfromabove", - "ch_theedge", - "ch_unbelievable", - "ch_owned", - "ch_stickman", - "ch_lastresort", - "ch_ghillie", - "ch_hotpotato", - "ch_carbomb", - "ch_backstabber", - "ch_slowbutsure", - "ch_miserylovescompany", - "ch_ouch", - "ch_rival", - "ch_cruelty", - "ch_thinkfast", - "ch_thinkfastconcussion", - "ch_thinkfastflash", - "ch_returntosender", - "ch_blindfire", - "ch_hardlanding", - "ch_extremecruelty", - "ch_tangodown", - "ch_countermvp", - "ch_goodbye", - "ch_basejump", - "ch_flyswatter", - "ch_vandalism", - "ch_crouchshot", - "ch_proneshot", - "ch_assists", - "ch_xrayvision", - "ch_backdraft", - "ch_shieldvet", - "ch_smasher", - "ch_backsmasher", - "ch_shield_damage", - "ch_shield_bullet", - "ch_shield_explosive", - "ch_surgical_assault", - "ch_surgical_smg", - "ch_surgical_lmg", - "ch_surgical_sniper", - "ch_expert_assault", - "ch_expert_smg", - "ch_expert_lmg", - "ch_multirpg", - "ch_multiclaymore", - "ch_multifrag", - "ch_multic4", - "ch_collateraldamage", - "ch_flawless", - "ch_fearless", - "ch_grouphug", - "ch_nbk", - "ch_allpro", - "ch_airborne", - "ch_moneyshot", - "ch_robinhood", - "ch_bangforbuck", - "ch_overdraft", - "ch_identitytheft", - "ch_atm", - "ch_timeismoney", - "ch_iamrich", - "ch_breakbank", - "ch_colorofmoney", - "ch_neverforget", - "ch_thebrink", - "ch_fastswap", - "ch_starplayer", - "ch_howthe", - "ch_dominos", - "ch_masterchef", - "ch_invincible", - "ch_survivalist", - "ch_counterclaymore", - "ch_counterc4", - "ch_enemyofthestate", - "ch_resourceful", - "ch_survivor", - "ch_bothbarrels", - "ch_omnicide", - "ch_wargasm", - "ch_thebiggertheyare", - "ch_thehardertheyfall", - "ch_crabmeat", - "ch_wopr", - "ch_thedenier", - "ch_carpetbomb", - "ch_redcarpet", - "ch_reaper", - "ch_nosecrets", - "ch_sunblock", - "ch_afterburner", - "ch_airsuperiority", - "ch_mgmaster", - "ch_slasher", - "ch_radiationsickness", - "ch_infected", - "ch_plague", - "ch_renaissance", - "ch_theloner", - "ch_6fears7", - "ch_thenumb", - "ch_martyr", - "ch_livingdead", - "ch_sidekick", - "ch_clickclickboom", - "ch_hijacker", - "ch_no", - "ch_victor_dm", - "ch_teamplayer", - "ch_victor_sd", - "ch_mvp_tdm", - "ch_teamplayer_hc", - "ch_victor_sab", - "ch_mvp_thc", - "ch_bombdown", - "ch_bombdefender", - "ch_bombplanter", - "ch_hero", - "ch_lastmanstanding", - "ch_saboteur", - "ch_knifevet", - "ch_laststandvet", - "ch_stealth", - "ch_concussionvet", - "ch_flashbangvet", - "ch_avenger", - "ch_prestige_10", - "" - }; - - enum(16) ENUM_4 - { - "none", - "desert", - "woodland", - "digital", - "red_tiger", - "blue_tiger", - "gold", - "prestige", - "arctic", - "red_urban", - "orange_fall" - }; - - enum(128) ENUM_5 - { - "specialty_null", - "specialty_null_gl", - "specialty_null_grip", - "specialty_null_shotgun", - "specialty_null_attachment", - "specialty_parabolic", - "specialty_gpsjammer", - "specialty_holdbreath", - "specialty_quieter", - "specialty_longersprint", - "specialty_detectexplosive", - "specialty_explosivedamage", - "specialty_pistoldeath", - "specialty_grenadepulldeath", - "specialty_bulletdamage", - "specialty_bulletpenetration", - "specialty_bulletaccuracy", - "specialty_bulletaccuracy2", - "specialty_rof", - "specialty_fastreload", - "specialty_extraammo", - "specialty_twoprimaries", - "specialty_armorvest", - "specialty_fraggrenade", - "specialty_specialgrenade", - "specialty_burstfire", - "specialty_blastshield", - "specialty_akimbo", - "specialty_siege", - "specialty_shield", - "specialty_falldamage", - "specialty_fmj", - "specialty_delaymine", - "specialty_feigndeath", - "specialty_jumpdive", - "specialty_localjammer", - "specialty_shellshock", - "specialty_fastmantle", - "specialty_explosivebullets", - "specialty_thermal", - "specialty_lightweight", - "specialty_finalstand", - "specialty_blackbox", - "specialty_steelnerves", - "specialty_quickdraw", - "specialty_flashgrenade", - "specialty_concussiongrenade", - "specialty_smokegrenade", - "specialty_empgrenade", - "specialty_scavenger", - "specialty_sitrep", - "specialty_amplify", - "specialty_extendedmags", - "specialty_saboteur", - "specialty_coldblooded", - "specialty_marathon", - "specialty_challenger", - "specialty_rearview", - "specialty_tacticalinsertion", - "specialty_endgame", - "specialty_carepackage", - "specialty_onemanarmy", - "specialty_littlebird_support", - "specialty_extendedmelee", - "specialty_bling", - "specialty_heartbreaker", - "specialty_selectivehearing", - "specialty_fastsnipe", - "specialty_improvedholdbreath", - "specialty_primarydeath", - "specialty_secondarybling", - "specialty_spygame", - "specialty_spygame2", - "specialty_automantle", - "specialty_fastsprintrecovery", - "specialty_c4death", - "specialty_hardline", - "specialty_combathigh", - "specialty_laststandoffhand", - "specialty_dangerclose", - "javelin_mp", - "stinger_mp", - "c4_mp", - "claymore_mp", - "rpg_mp", - "at4_mp", - "m79_mp", - "throwingknife_mp", - "semtex_mp", - "frag_grenade_mp", - "specialty_armorpiercing", - "specialty_omaquickchange", - "specialty_fastmeleerecovery", - "specialty_rollover", - "specialty_extraspecialduration", - "specialty_freerunner", - "specialty_copycat" - }; - - enum(48) ENUM_6 - { - "none", - "uav", - "airstrike", - "helicopter", - "ac130", - "predator_missile", - "helicopter_minigun", - "helicopter_mk19", - "nuke", - "double_uav", - "precision_airstrike", - "counter_uav", - "sentry", - "sentry_gl", - "airdrop", - "tank", - "airdrop_sentry_minigun", - "airdrop_predator_missile", - "littlebird_support", - "stealth_airstrike", - "harrier_airstrike", - "super_airstrike", - "helicopter_blackbox", - "helicopter_flares", - "emp", - "airdrop_mega" - }; - - enum(256) ENUM_7 - { - "none", - "killstreak", - "headshots", - "damagedone", - "damagetaken", - "knifekills", - "assists", - "pistolkills", - "grenadekills", - "multikill", - "finalkill", - "deaths", - "kills", - "uavs", - "airstrikes", - "helicopters", - "mvp", - "overkill", - "suicides", - "flankkills", - "flankdeaths", - "fragkills", - "c4kills", - "semtexkills", - "claymorekills", - "throwingknifekills", - "smgkills", - "arkills", - "rocketkills", - "shotgunkills", - "lmgkills", - "sniperkills", - "pistolheadshots", - "smgheadshots", - "arheadshots", - "shotgunheadshots", - "lmgheadshots", - "sniperheadshots", - "punisher", - "equipmentkills", - "bulletpenkills", - "revengekills", - "avengekills", - "rescues", - "longshots", - "higherrankkills", - "adskills", - "hipfirekills", - "laststandkills", - "laststanderkills", - "lowerrankkills", - "otherweaponkills", - "shotgundeaths", - "shortestlife", - "highlander", - "kdratio10", - "noawards", - "noflankdeaths", - "deathstreak", - "mostmultikills", - "killedotherteam", - "killedotherteamonelife", - "distancetraveled", - "sprinttime", - "crouchtime", - "pronetime", - "comebacks", - "longestlife", - "killcamtimewatched", - "killcamskipped", - "mostreloads", - "mostswaps", - "mostshotsfired", - "timeinspot", - "mostcamperkills", - "greatestavgalt", - "leastavgalt", - "killsteals", - "mostff", - "killedsameplayer", - "mostweaponsused", - "closertoenemies", - "mostclasseschanged", - "mosttacprevented", - "explosionssurvived", - "shieldblocks", - "fbhits", - "stunhits", - "scopedkills", - "thermalkills", - "thumperkills", - "kdratio", - "afk", - "participant", - "shieldkills", - "shielddeaths", - "throwbacks", - "bombsplanted", - "bombsdefused", - "targetsdestroyed", - "bombcarrierkills", - "killsasbombcarrier", - "bombscarried", - "pointscaptured", - "hqscaptured", - "hqsdestroyed", - "flagscaptured", - "flagsreturned", - "flagscarried", - "flagcarrierkills", - "killsasflagcarrier" - }; - - enum(1024) ENUM_8 - { - "cardicon_default", - "cardicon_aug_marksman", - "cardicon_aug_expert", - "cardicon_m240_marksman", - "cardicon_m240_expert", - "cardicon_sa80_marksman", - "cardicon_sa80_expert", - "cardicon_rpd_marksman", - "cardicon_rpd_expert", - "cardicon_mg4_marksman", - "cardicon_mg4_expert", - "cardicon_ak47_marksman", - "cardicon_ak47_expert", - "cardicon_masada_marksman", - "cardicon_masada_expert", - "cardicon_m16_marksman", - "cardicon_m16_expert", - "cardicon_tavor_marksman", - "cardicon_tavor_expert", - "cardicon_fn2000_marksman", - "cardicon_fn2000_expert", - "cardicon_m4_marksman", - "cardicon_m4_expert", - "cardicon_scar_marksman", - "cardicon_scar_expert", - "cardicon_fal_marksman", - "cardicon_fal_expert", - "cardicon_famas_marksman", - "cardicon_famas_expert", - "cardicon_mp5k_marksman", - "cardicon_mp5k_expert", - "cardicon_uzi_marksman", - "cardicon_uzi_expert", - "cardicon_kriss_marksman", - "cardicon_kriss_expert", - "cardicon_ump45_marksman", - "cardicon_ump45_expert", - "cardicon_p90_marksman", - "cardicon_p90_expert", - "cardicon_cheytac_marksman", - "cardicon_cheytac_expert", - "cardicon_m21_marksman", - "cardicon_m21_expert", - "cardicon_barrett_marksman", - "cardicon_barrett_expert", - "cardicon_wa2000_marksman", - "cardicon_wa2000_expert", - "cardicon_glock_marksman", - "cardicon_glock_expert", - "cardicon_tmp_marksman", - "cardicon_tmp_expert", - "cardicon_beretta393_marksman", - "cardicon_beretta393_expert", - "cardicon_pp2000_marksman", - "cardicon_pp2000_expert", - "cardicon_striker_marksman", - "cardicon_striker_expert", - "cardicon_aa12_marksman", - "cardicon_aa12_expert", - "cardicon_m1014_marksman", - "cardicon_m1014_expert", - "cardicon_spas12_marksman", - "cardicon_spas12_expert", - "cardicon_model1887_marksman", - "cardicon_model1887_expert", - "cardicon_ranger_marksman", - "cardicon_ranger_expert", - "cardicon_beretta_marksman", - "cardicon_beretta_expert", - "cardicon_usp_marksman", - "cardicon_usp_expert", - "cardicon_deserteagle_marksman", - "cardicon_deserteagle_expert", - "cardicon_coltanaconda_marksman", - "cardicon_coltanaconda_expert", - "cardicon_iwlogo", - "cardicon_heartbeatsensor", - "cardicon_minigun", - "cardicon_harrier", - "cardicon_pavelow", - "cardicon_noseart1", - "cardicon_seasnipers", - "cardicon_nightvision_1", - "cardicon_nightvision_2", - "cardicon_sniperscope", - "cardicon_compass", - "cardicon_moon", - "cardicon_biohazard", - "cardicon_radiation", - "cardicon_redhand", - "cardicon_spetsnaz", - "cardicon_tf141", - "cardicon_umbracatervae", - "cardicon_headshot", - "cardicon_car", - "cardicon_gumby", - "cardicon_doubletap", - "cardicon_fmj", - "cardicon_soap", - "cardicon_humantrophy", - "cardicon_skull", - "cardicon_xray", - "cardicon_skull_black", - "cardicon_pirate", - "cardicon_pirateflag", - "cardicon_treasurechest", - "cardicon_treasuremap", - "cardicon_league_grenade", - "cardicon_ball_soccer_1", - "cardicon_ball_baseball_1", - "cardicon_ball_basketball_1", - "cardicon_ball_football_1", - "cardicon_rhino", - "cardicon_lion", - "cardicon_bear", - "cardicon_tiger", - "cardicon_hyena", - "cardicon_kinggorilla", - "cardicon_thecow", - "cardicon_birdbrain", - "cardicon_claw", - "cardicon_stop", - "cardicon_burgertown", - "cardicon_bulb", - "cardicon_patch", - "cardicon_tire", - "cardicon_boot", - "cardicon_brassknuckle", - "cardicon_8ball", - "cardicon_mushroom", - "cardicon_assad", - "cardicon_makarov", - "cardicon_sheppard", - "cardicon_comic_shepherd", - "cardicon_grigsby", - "cardicon_taskforcearmy01", - "cardicon_ghillie", - "cardicon_price_ww2", - "cardicon_pricewoodland", - "cardicon_pricearctic", - "cardicon_comic_price", - "cardicon_toon_price_1", - "cardicon_brad", - "cardicon_tsuenami", - "cardicon_brock", - "cardicon_macgregor", - "cardicon_porterjustice", - "cardicon_grunt", - "cardicon_grunt_2", - "cardicon_readhead", - "cardicon_pacifier_blue", - "cardicon_pacifier_pink", - "cardicon_pushingupdaisies", - "cardicon_girlskull", - "cardicon_blue", - "cardicon_badgirl", - "cardicon_goodgirl", - "cardicon_sniper", - "cardicon_abduction", - "cardicon_illuminati", - "cardicon_cod4", - "cardicon_iw", - "cardicon_prestige1", - "cardicon_prestige2", - "cardicon_prestige3", - "cardicon_prestige4", - "cardicon_prestige5", - "cardicon_prestige6", - "cardicon_prestige7", - "cardicon_prestige8", - "cardicon_prestige9", - "cardicon_prestige10", - "cardicon_mw2_prestige1", - "cardicon_mw2_prestige2", - "cardicon_mw2_prestige3", - "cardicon_mw2_prestige4", - "cardicon_mw2_prestige5", - "cardicon_mw2_prestige6", - "cardicon_mw2_prestige7", - "cardicon_mw2_prestige8", - "cardicon_mw2_prestige9", - "cardicon_mw2_prestige10", - "cardicon_prestige10_02", - "cardicon_honeybadger01", - "cardicon_kitten", - "cardicon_nates", - "cardicon_tsunami", - "cardicon_warpig", - "cardicon_8bit_price", - "cardicon_ball_volleyball_1", - "cardicon_helmet_baseball_1", - "cardicon_helmet_football_1", - "cardicon_hockey_1", - "cardicon_hockey_2", - "cardicon_tennisracket", - "cardicon_ghost_bust", - "cardicon_koiker_hound", - "cardicon_sugarglider", - "cardicon_gears", - "cardicon_brassknuckles", - "cardicon_devilfinger", - "cardicon_gold", - "cardicon_icecream", - "cardicon_korean", - "cardicon_loadedfinger", - "cardicon_ac130", - "cardicon_uav", - "cardicon_carepackage", - "cardicon_counteruav", - "cardicon_sentrygun", - "cardicon_predatormissile", - "cardicon_harrierstrike", - "cardicon_attackchopper", - "cardicon_emergencyair", - "cardicon_pavelowkillstreak", - "cardicon_stealthkillstreak", - "cardicon_choppergunner", - "cardicon_empkillstreak", - "cardicon_tacticalnuke", - "cardicon_precair", - "cardicon_marathon", - "cardicon_sleightofhand", - "cardicon_scavenger", - "cardicon_dangerclose", - "cardicon_bling", - "cardicon_stoppingpower", - "cardicon_lightweight", - "cardicon_hardline", - "cardicon_coldblooded", - "cardicon_oma", - "cardicon_commando", - "cardicon_steadyaim", - "cardicon_scrambler", - "cardicon_sitrep", - "cardicon_laststand", - "cardicon_ninja", - "cardicon_frag", - "cardicon_semtex", - "cardicon_throwingknife", - "cardicon_tacticalinsertion", - "cardicon_blastshield", - "cardicon_c4", - "cardicon_claymore", - "cardicon_pvt1", - "cardicon_pfc1", - "cardicon_spc1", - "cardicon_cpl1", - "cardicon_sgt1", - "cardicon_ssgt1", - "cardicon_sfc1", - "cardicon_msgt1", - "cardicon_1stsgt1", - "cardicon_sgtmaj1", - "cardicon_cmdsgtmaj1", - "cardicon_2ndlt1", - "cardicon_1stlt1", - "cardicon_capt1", - "cardicon_maj1", - "cardicon_ltcol1", - "cardicon_col1", - "cardicon_bgen1", - "cardicon_majgen1", - "cardicon_ltgen1", - "cardicon_gen1", - "cardicon_comm1", - "cardicon_martyrdom", - "cardicon_painkiller", - "cardicon_finalstand", - "cardicon_copycat", - "cardicon_impale", - "cardicon_stab", - "cardicon_riotdeath", - "cardicon_b2", - "cardicon_bulletcase", - "cardicon_league_1911", - "cardicon_league_magnum", - "cardicon_opfor", - "cardicon_rangers", - "cardicon_seals", - "cardicon_usmc", - "cardicon_sas", - "cardicon_skullaward", - "cardicon_skullnbones", - "cardicon_chicken", - "cardicon_gametype", - "cardicon_tictac", - "cardicon_jets", - "cardicon_joystick", - "cardicon_devil", - "cardicon_knife", - "cardicon_thebomb", - "cardicon_juggernaut_2", - "cardicon_juggernaut_1", - "cardicon_ac130_angelflare", - "cardicon_bullets_50cal", - "cardicon_weed", - "cardicon_riot_shield", - "cardicon_dive", - "cardicon_ghost_skull", - "cardicon_gasmask", - "cardicon_iss", - "cardicon_knife_logo", - "cardicon_shotgun_shells", - "cardicon_rtrolling" - }; - - enum(1024) ENUM_9 - { - "cardtitle_default", - "cardtitle_theextreme", - "cardtitle_earlydetection", - "cardtitle_trackstar", - "cardtitle_freerunner", - "cardtitle_decathlete", - "cardtitle_2fast", - "cardtitle_hairtrigger", - "cardtitle_oneinchpunch", - "cardtitle_reloaded", - "cardtitle_bandolier", - "cardtitle_vulture", - "cardtitle_fullforce", - "cardtitle_sonicboom", - "cardtitle_dangerclose", - "cardtitle_doubledown", - "cardtitle_blingbling", - "cardtitle_armedanddangerous", - "cardtitle_highcaliber", - "cardtitle_kfactor", - "cardtitle_bitethebullet", - "cardtitle_speeddemon", - "cardtitle_readyfire", - "cardtitle_pathfinder", - "cardtitle_deadline", - "cardtitle_closesupport", - "cardtitle_invisible", - "cardtitle_uavjammer", - "cardtitle_doubleagent", - "cardtitle_fullarsenal", - "cardtitle_quickchange", - "cardtitle_armyof1", - "cardtitle_impaler", - "cardtitle_ninja", - "cardtitle_excalibur", - "cardtitle_sureshot", - "cardtitle_ironlungs", - "cardtitle_steelnerves", - "cardtitle_hardtokill", - "cardtitle_deadmansswitch", - "cardtitle_dyingbreath", - "cardtitle_disruptor", - "cardtitle_heartbreaker", - "cardtitle_counterintel", - "cardtitle_xrayvision", - "cardtitle_amplifier", - "cardtitle_eod", - "cardtitle_silentstrike", - "cardtitle_spygame", - "cardtitle_artofstealth", - "cardtitle_aug_sharpshooter", - "cardtitle_aug_marksman", - "cardtitle_aug_veteran", - "cardtitle_aug_expert", - "cardtitle_aug_master", - "cardtitle_m240_sharpshooter", - "cardtitle_m240_marksman", - "cardtitle_m240_veteran", - "cardtitle_m240_expert", - "cardtitle_m240_master", - "cardtitle_sa80_sharpshooter", - "cardtitle_sa80_marksman", - "cardtitle_sa80_veteran", - "cardtitle_sa80_expert", - "cardtitle_sa80_master", - "cardtitle_rpd_sharpshooter", - "cardtitle_rpd_marksman", - "cardtitle_rpd_veteran", - "cardtitle_rpd_expert", - "cardtitle_rpd_master", - "cardtitle_mg4_sharpshooter", - "cardtitle_mg4_marksman", - "cardtitle_mg4_veteran", - "cardtitle_mg4_expert", - "cardtitle_mg4_master", - "cardtitle_ak47_sharpshooter", - "cardtitle_ak47_marksman", - "cardtitle_ak47_veteran", - "cardtitle_ak47_expert", - "cardtitle_ak47_master", - "cardtitle_masada_sharpshooter", - "cardtitle_masada_marksman", - "cardtitle_masada_veteran", - "cardtitle_masada_expert", - "cardtitle_masada_master", - "cardtitle_m16_sharpshooter", - "cardtitle_m16_marksman", - "cardtitle_m16_veteran", - "cardtitle_m16_expert", - "cardtitle_m16_master", - "cardtitle_tavor_sharpshooter", - "cardtitle_tavor_marksman", - "cardtitle_tavor_veteran", - "cardtitle_tavor_expert", - "cardtitle_tavor_master", - "cardtitle_fn2000_sharpshooter", - "cardtitle_fn2000_marksman", - "cardtitle_fn2000_veteran", - "cardtitle_fn2000_expert", - "cardtitle_fn2000_master", - "cardtitle_m4_sharpshooter", - "cardtitle_m4_marksman", - "cardtitle_m4_veteran", - "cardtitle_m4_expert", - "cardtitle_m4_master", - "cardtitle_scar_sharpshooter", - "cardtitle_scar_marksman", - "cardtitle_scar_veteran", - "cardtitle_scar_expert", - "cardtitle_scar_master", - "cardtitle_fal_sharpshooter", - "cardtitle_fal_marksman", - "cardtitle_fal_veteran", - "cardtitle_fal_expert", - "cardtitle_fal_master", - "cardtitle_famas_sharpshooter", - "cardtitle_famas_marksman", - "cardtitle_famas_veteran", - "cardtitle_famas_expert", - "cardtitle_famas_master", - "cardtitle_mp5k_sharpshooter", - "cardtitle_mp5k_marksman", - "cardtitle_mp5k_veteran", - "cardtitle_mp5k_expert", - "cardtitle_mp5k_master", - "cardtitle_uzi_sharpshooter", - "cardtitle_uzi_marksman", - "cardtitle_uzi_veteran", - "cardtitle_uzi_expert", - "cardtitle_uzi_master", - "cardtitle_kriss_sharpshooter", - "cardtitle_kriss_marksman", - "cardtitle_kriss_veteran", - "cardtitle_kriss_expert", - "cardtitle_kriss_master", - "cardtitle_ump45_sharpshooter", - "cardtitle_ump45_marksman", - "cardtitle_ump45_veteran", - "cardtitle_ump45_expert", - "cardtitle_ump45_master", - "cardtitle_p90_sharpshooter", - "cardtitle_p90_marksman", - "cardtitle_p90_veteran", - "cardtitle_p90_expert", - "cardtitle_p90_master", - "cardtitle_cheytac_sharpshooter", - "cardtitle_cheytac_marksman", - "cardtitle_cheytac_veteran", - "cardtitle_cheytac_expert", - "cardtitle_cheytac_master", - "cardtitle_m21_sharpshooter", - "cardtitle_m21_marksman", - "cardtitle_m21_veteran", - "cardtitle_m21_expert", - "cardtitle_m21_master", - "cardtitle_barrett_sharpshooter", - "cardtitle_barrett_marksman", - "cardtitle_barrett_veteran", - "cardtitle_barrett_expert", - "cardtitle_barrett_master", - "cardtitle_wa2000_sharpshooter", - "cardtitle_wa2000_marksman", - "cardtitle_wa2000_veteran", - "cardtitle_wa2000_expert", - "cardtitle_wa2000_master", - "cardtitle_glock_marksman", - "cardtitle_glock_veteran", - "cardtitle_glock_expert", - "cardtitle_glock_master", - "cardtitle_tmp_marksman", - "cardtitle_tmp_veteran", - "cardtitle_tmp_expert", - "cardtitle_tmp_master", - "cardtitle_beretta393_marksman", - "cardtitle_beretta393_veteran", - "cardtitle_beretta393_expert", - "cardtitle_beretta393_master", - "cardtitle_pp2000_marksman", - "cardtitle_pp2000_veteran", - "cardtitle_pp2000_expert", - "cardtitle_pp2000_master", - "cardtitle_striker_marksman", - "cardtitle_striker_veteran", - "cardtitle_striker_expert", - "cardtitle_striker_master", - "cardtitle_aa12_marksman", - "cardtitle_aa12_veteran", - "cardtitle_aa12_expert", - "cardtitle_aa12_master", - "cardtitle_m1014_marksman", - "cardtitle_m1014_veteran", - "cardtitle_m1014_expert", - "cardtitle_m1014_master", - "cardtitle_spas12_marksman", - "cardtitle_spas12_veteran", - "cardtitle_spas12_expert", - "cardtitle_spas12_master", - "cardtitle_model1887_marksman", - "cardtitle_model1887_veteran", - "cardtitle_model1887_expert", - "cardtitle_model1887_master", - "cardtitle_ranger_marksman", - "cardtitle_ranger_veteran", - "cardtitle_ranger_expert", - "cardtitle_ranger_master", - "cardtitle_beretta_marksman", - "cardtitle_beretta_veteran", - "cardtitle_beretta_expert", - "cardtitle_beretta_master", - "cardtitle_usp_marksman", - "cardtitle_usp_veteran", - "cardtitle_usp_expert", - "cardtitle_usp_master", - "cardtitle_deserteagle_marksman", - "cardtitle_deserteagle_veteran", - "cardtitle_deserteagle_expert", - "cardtitle_deserteagle_master", - "cardtitle_coltanaconda_marksman", - "cardtitle_coltanaconda_veteran", - "cardtitle_coltanaconda_expert", - "cardtitle_coltanaconda_master", - "cardtitle_shotdown", - "cardtitle_dishtherock", - "cardtitle_flyswatter", - "cardtitle_lonewolf", - "cardtitle_getreal", - "cardtitle_overwatch", - "cardtitle_tangodown", - "cardtitle_teamplayer", - "cardtitle_destroyer", - "cardtitle_its_sabotage", - "cardtitle_dzclear", - "cardtitle_fireforget", - "cardtitle_flag_united_states", - "cardtitle_patriot", - "cardtitle_flag_uk", - "cardtitle_fng", - "cardtitle_flag_canada", - "cardtitle_greatwhite", - "cardtitle_flag_australia", - "cardtitle_continental", - "cardtitle_flag_swiss", - "cardtitle_neutral", - "cardtitle_flag_mexico", - "cardtitle_flag_spain", - "cardtitle_conquerer", - "cardtitle_flag_austria", - "cardtitle_terminator", - "cardtitle_flag_japan", - "cardtitle_risingsun", - "cardtitle_flag_brazil", - "cardtitle_redeemer", - "cardtitle_flag_russia", - "cardtitle_flag_france", - "cardtitle_flag_germany", - "cardtitle_flag_italy", - "cardtitle_flag_norway", - "cardtitle_flag_greece", - "cardtitle_flag_sweden", - "cardtitle_flag_ireland", - "cardtitle_flag_belgium", - "cardtitle_flag_finland", - "cardtitle_flag_luxemburg", - "cardtitle_flag_czech", - "cardtitle_flag_netherlands", - "cardtitle_flag_newzealand", - "cardtitle_flag_philippines", - "cardtitle_flag_poland", - "cardtitle_flag_portugal", - "cardtitle_flag_denmark", - "cardtitle_flag_saudiarabia", - "cardtitle_flag_singapore", - "cardtitle_flag_southafrica", - "cardtitle_flag_southkorea", - "cardtitle_flag_hongkong", - "cardtitle_flag_india", - "cardtitle_flag_taiwan", - "cardtitle_flag_united_arab_emirates", - "cardtitle_flag_elsalvador", - "cardtitle_flag_china", - "cardtitle_flag_iran", - "cardtitle_pyro", - "cardtitle_fired", - "cardtitle_hotshot", - "cardtitle_deathfromabove", - "cardtitle_steelreign", - "cardtitle_feared", - "cardtitle_preemptive", - "cardtitle_timeontarget", - "cardtitle_publicenemy", - "cardtitle_bombshell", - "cardtitle_thabomb", - "cardtitle_brokenarrow", - "cardtitle_explosiveordinance", - "cardtitle_madbomber", - "cardtitle_givinstatic", - "cardtitle_jumpjet", - "cardtitle_droppincrates", - "cardtitle_submittoauthority", - "cardtitle_harcoreonly", - "cardtitle_lowprofile", - "cardtitle_sigint", - "cardtitle_intergalactic", - "cardtitle_nohands", - "cardtitle_bowdown", - "cardtitle_drifter", - "cardtitle_bob", - "cardtitle_ghostrider", - "cardtitle_survivor", - "cardtitle_accidentprone", - "cardtitle_squawkbox", - "cardtitle_cr1zby", - "cardtitle_companioncrate", - "cardtitle_straightup", - "cardtitle_pushindaisy", - "cardtitle_voyeur", - "cardtitle_sprayandpray", - "cardtitle_jointops", - "cardtitle_avenger", - "cardtitle_sharepackage", - "cardtitle_blackout", - "cardtitle_jollygreen", - "cardtitle_spirit", - "cardtitle_grimreaper", - "cardtitle_cobracommander", - "cardtitle_spectre", - "cardtitle_rainoffire", - "cardtitle_chickmagnet", - "cardtitle_starfishprime", - "cardtitle_endofline", - "cardtitle_wopr", - "cardtitle_watchman", - "cardtitle_omnipotent", - "cardtitle_planewhisperer", - "cardtitle_rollingthunder", - "cardtitle_fullthrottle", - "cardtitle_airwolf", - "cardtitle_gambler", - "cardtitle_santaclaus", - "cardtitle_pineappleexpress", - "cardtitle_catchshrapnel", - "cardtitle_mastermind", - "cardtitle_jackinthebox", - "cardtitle_copperfield", - "cardtitle_takeastab", - "cardtitle_masterblaster", - "cardtitle_juggernaut", - "cardtitle_bullseye", - "cardtitle_stuckonyou", - "cardtitle_plasticman", - "cardtitle_c4andafter", - "cardtitle_silentknight", - "cardtitle_darkbringer", - "cardtitle_tacticaldeletion", - "cardtitle_itspersonal", - "cardtitle_fragout", - "cardtitle_cloakanddagger", - "cardtitle_mylilpwny", - "cardtitle_gettothechoppa", - "cardtitle_booyah", - "cardtitle_streaker", - "cardtitle_1bullet2kills", - "cardtitle_dictator", - "cardtitle_surgical", - "cardtitle_crackinskulls", - "cardtitle_popoff", - "cardtitle_boomheadshot", - "cardtitle_faceoff", - "cardtitle_headrush", - "cardtitle_mach5", - "cardtitle_notintheface", - "cardtitle_perfectionist", - "cardtitle_badaboom", - "cardtitle_genocidal", - "cardtitle_partinggift", - "cardtitle_ambush", - "cardtitle_pinpuller", - "cardtitle_boomboompow", - "cardtitle_anarchist", - "cardtitle_highlander", - "cardtitle_enemybenefits", - "cardtitle_nbk", - "cardtitle_allpro", - "cardtitle_hardtarget", - "cardtitle_dronekiller", - "cardtitle_truelies", - "cardtitle_transformer", - "cardtitle_angelofdeath", - "cardtitle_hidef", - "cardtitle_unbelievable", - "cardtitle_stickman", - "cardtitle_lastresort", - "cardtitle_philanthropist", - "cardtitle_absenteekiller", - "cardtitle_finishingtouch", - "cardtitle_og", - "cardtitle_technokiller", - "cardtitle_owned", - "cardtitle_tagyoureit", - "cardtitle_boilermaker", - "cardtitle_backstabber", - "cardtitle_stungun", - "cardtitle_heart", - "cardtitle_noobtuber", - "cardtitle_rival", - "cardtitle_omfg", - "cardtitle_thinkfast", - "cardtitle_concussive", - "cardtitle_lightsout", - "cardtitle_backfire", - "cardtitle_blindfire", - "cardtitle_duckhunter", - "cardtitle_omnicide", - "cardtitle_devastator", - "cardtitle_mvpassassin", - "cardtitle_timeismoney", - "cardtitle_imrich", - "cardtitle_moneyshot", - "cardtitle_makeitrain", - "cardtitle_clayback", - "cardtitle_robinhood", - "cardtitle_madman", - "cardtitle_idthief", - "cardtitle_newjack", - "cardtitle_bloodmoney", - "cardtitle_flatliner", - "cardtitle_evildead", - "cardtitle_quickdraw", - "cardtitle_hiredgun", - "cardtitle_mastatdon", - "cardtitle_howthe", - "cardtitle_dominofx", - "cardtitle_halfbaked", - "cardtitle_bam", - "cardtitle_invincible", - "cardtitle_livelong", - "cardtitle_claypigeon", - "cardtitle_reversaloffortune", - "cardtitle_iceman", - "cardtitle_enemyofthestate", - "cardtitle_friendswith", - "cardtitle_legend", - "cardtitle_wargasm", - "cardtitle_biggertheyare", - "cardtitle_harderthey", - "cardtitle_epic", - "cardtitle_denier", - "cardtitle_carpetbomber", - "cardtitle_bombsaway", - "cardtitle_bigbrother", - "cardtitle_uavrays", - "cardtitle_afterburner", - "cardtitle_topgun", - "cardtitle_gat", - "cardtitle_theripper", - "cardtitle_allyourbase", - "cardtitle_globalthermo", - "cardtitle_sbd", - "cardtitle_toxicavenger", - "cardtitle_infected", - "cardtitle_plague", - "cardtitle_klepto", - "cardtitle_behindenemy", - "cardtitle_6fears7", - "cardtitle_comfortablynumb", - "cardtitle_martyr", - "cardtitle_livingdead", - "cardtitle_sidekick", - "cardtitle_clickclickboom", - "cardtitle_hijacker", - "cardtitle_bountyhunter", - "cardtitle_no", - "cardtitle_sentrymaster", - "cardtitle_predatormaster", - "cardtitle_airstrikemaster", - "cardtitle_harriermaster", - "cardtitle_helimaster", - "cardtitle_pavelowmaster", - "cardtitle_stealthmaster", - "cardtitle_choppermaster", - "cardtitle_ac130master", - "cardtitle_blademaster", - "cardtitle_laststandmaster", - "cardtitle_silencermaster", - "cardtitle_flashmaster", - "cardtitle_stunmaster", - "cardtitle_sentryveteran", - "cardtitle_predatorveteran", - "cardtitle_airstrikeveteran", - "cardtitle_harrierveteran", - "cardtitle_heliveteran", - "cardtitle_pavelowveteran", - "cardtitle_stealthveteran", - "cardtitle_chopperveteran", - "cardtitle_ac130veteran", - "cardtitle_bladeveteran", - "cardtitle_laststandveteran", - "cardtitle_silencerveteran", - "cardtitle_flashveteran", - "cardtitle_stunveteran", - "cardtitle_headsup", - "cardtitle_predator", - "cardtitle_automator", - "cardtitle_shotover", - "cardtitle_stringfellow", - "cardtitle_doctor", - "cardtitle_coldsteel", - "cardtitle_inciser", - "cardtitle_phoenixrising", - "cardtitle_suppressor", - "cardtitle_shockandawe", - "cardtitle_flasher", - "cardtitle_handsfree", - "cardtitle_clusterbomb", - "cardtitle_rejected", - "cardtitle_skycaptain", - "cardtitle_cobrakai", - "cardtitle_godhand", - "cardtitle_unseen", - "cardtitle_at4_marksman", - "cardtitle_javelin_marksman", - "cardtitle_m79_marksman", - "cardtitle_rpg_marksman", - "cardtitle_stinger_marksman", - "cardtitle_at4_expert", - "cardtitle_javelin_expert", - "cardtitle_m79_expert", - "cardtitle_rpg_expert", - "cardtitle_stinger_expert", - "cardtitle_at4_veteran", - "cardtitle_javelin_veteran", - "cardtitle_m79_veteran", - "cardtitle_rpg_veteran", - "cardtitle_stinger_veteran", - "cardtitle_at4_master", - "cardtitle_javelin_master", - "cardtitle_m79_master", - "cardtitle_rpg_master", - "cardtitle_stinger_master", - "cardtitle_ssdd", - "cardtitle_prestige1", - "cardtitle_prestige2", - "cardtitle_prestige3", - "cardtitle_prestige4", - "cardtitle_prestige5", - "cardtitle_prestige6", - "cardtitle_prestige7", - "cardtitle_prestige8", - "cardtitle_prestige9", - "cardtitle_prestige10", - "cardtitle_20", - "cardtitle_30", - "cardtitle_40", - "cardtitle_50", - "cardtitle_60", - "cardtitle_70", - "cardtitle_20a", - "cardtitle_30a", - "cardtitle_40a", - "cardtitle_50a", - "cardtitle_60a", - "cardtitle_70a", - "cardtitle_grassyknoll", - "cardtitle_ghilliemist", - "cardtitle_rezero", - "cardtitle_blunttrauma", - "cardtitle_smashhit", - "cardtitle_backsmasher", - "cardtitle_protectserve", - "cardtitle_bulletproof", - "cardtitle_unbreakable", - "cardtitle_evilchicken", - "cardtitle_nolaststand" - }; - - enum(8) ENUM_10 - { - "cardnameplate_default", - "cardnameplate_test" - }; - - enum ENUM_11 - { - "none", - "neutral", - "allies", - "axis" - }; - - enum(16) ENUM_12 - { - "dm", - "tdm", - "dsd", - "sab", - "dom", - "koth", - "oneflag", - "arena", - "ctf" - }; - - struct root - { - int awards[ENUM_7]; - int bests[ENUM_7]; - int experience; - int restXPGoal; - int prestige; - int level; - int score; - int kills; - int killStreak; - int deaths; - int deathStreak; - int assists; - int headshots; - int teamkills; - int suicides; - int timePlayedAllies; - int timePlayedOpfor; - int timePlayedOther; - int timePlayedTotal; - int kdRatio; - int wins; - int losses; - int ties; - int winStreak; - int currentWinStreak; - int winLossRatio; - int hits; - int misses; - int totalShots; - int accuracy; - int money; - int timeSinceLastLoot; - int lastPlayedTime; - STRUCT_4 round; - bool weaponNew[ENUM_1]; - bool camoNew[ENUM_1][ENUM_4]; - bool attachmentNew[ENUM_1][ENUM_2]; - bool perkNew[ENUM_5]; - bool featureNew[ENUM_0]; - bool challengeTierNew[100]; - bool killstreakNew[ENUM_6]; - STRUCT_2 customClasses[15]; - byte challengeState[ENUM_3]; - int challengeProgress[ENUM_3]; - ENUM_8 cardIcon; - ENUM_9 cardTitle; - ENUM_10 cardNameplate; - ENUM_6 killstreaks[3]; - short skills[ENUM_12]; - bool iconNew[ENUM_8]; - bool titleNew[ENUM_9]; - bool iconUnlocked[ENUM_8]; - bool titleUnlocked[ENUM_9]; - bool killstreakUnlocked[ENUM_6]; - }; - - struct STRUCT_1 - { - ENUM_1 weapon; - ENUM_2 attachment[2]; - ENUM_4 camo; - pad(4); - }; - - struct STRUCT_2 - { - bool inUse; - STRUCT_1 weaponSetups[2]; - ENUM_5 perks[5]; - ENUM_1 specialGrenade; - string(21) name; - ENUM_5 _deathstreak; - pad(4); - }; - - struct STRUCT_3 - { - ENUM_7 award; - int value; - }; - - struct STRUCT_4 - { - int kills; - int killStreak; - int deaths; - int score; - int timePlayed; - bool win; - bool loss; - ENUM_11 scoreboardType; - int totalXp; - int scoreXp; - int challengeXp; - int matchXp; - int miscXp; - byte awardCount; - STRUCT_3 awards[5]; - pad(54); - }; -} - - -// ==================== -// Version 157 -// Calculated checksum did not match checksum in file -// Overriding checksum to match original value -// ==================== -version 157 -{ - checksumoverride 2074144879; - - enum(32) ENUM_0 - { - "cac", - "demolitions", - "sniper", - "challenges", - "hardcore", - "oldschool", - "clantag", - "prestige", - "cas", - "playercard", - "playercard_title", - "playercard_icon", - "token_1", - "token_2", - "token_3", - "token_4", - "token_5", - "token_6", - "token_7", - "token_8", - "token_9", - "token_10", - "token_11", - "token_12", - "ghillie_urban", - "ghillie_arctic", - "ghillie_desert", - "ghillie_forest" - }; - - enum(128) ENUM_1 - { - "none", - "beretta393", - "beretta", - "usp", - "deserteagle", - "deserteaglegold", - "coltanaconda", - "glock", - "ak47", - "mp44", - "g3", - "g36c", - "m16", - "m4", - "fn2000", - "famas", - "fal", - "scar", - "tavor", - "masada", - "mp5k", - "uzi", - "p90", - "kriss", - "ump45", - "pp2000", - "tmp", - "m1014", - "ranger", - "striker", - "aa12", - "model1887", - "spas12", - "rpd", - "sa80", - "aug", - "mg4", - "m240", - "barrett", - "cheytac", - "m21", - "wa2000", - "gl", - "rpg", - "c4", - "c4Death", - "claymore", - "javelin", - "stinger", - "at4", - "m79", - "frag_grenade", - "frag_scavenger_grenade", - "flash_grenade", - "smoke_grenade", - "concussion_grenade", - "emp_grenade", - "riotshield", - "throwingknife", - "onemanarmy", - "m40a3", - "ak47classic", - "ak74u", - "peacekeeper" - }; - - enum(20) ENUM_2 - { - "none", - "gl", - "reflex", - "silencer", - "acog", - "grip", - "akimbo", - "thermal", - "shotgun", - "heartbeat", - "fmj", - "xmags", - "rof", - "boom", - "eotech", - "tactical" - }; - - enum(512) ENUM_3 - { - "ch_prestige", - "pr_marksman_m16", - "pr_expert_m16", - "pr_marksman_famas", - "pr_expert_famas", - "pr_marksman_tavor", - "pr_expert_tavor", - "pr_marksman_fal", - "pr_expert_fal", - "pr_marksman_ak47", - "pr_expert_ak47", - "pr_marksman_m240", - "pr_expert_m240", - "pr_marksman_m4", - "pr_expert_m4", - "pr_marksman_masada", - "pr_expert_masada", - "pr_marksman_scar", - "pr_expert_scar", - "pr_marksman_fn2000", - "pr_expert_fn2000", - "pr_marksman_cheytac", - "pr_expert_cheytac", - "pr_marksman_barrett", - "pr_expert_barrett", - "pr_marksman_m21", - "pr_expert_m21", - "pr_marksman_kriss", - "pr_expert_kriss", - "pr_marksman_ump45", - "pr_expert_ump45", - "pr_marksman_uzi", - "pr_expert_uzi", - "pr_marksman_p90", - "pr_expert_p90", - "pr_marksman_mp5k", - "pr_expert_mp5k", - "pr_marksman_rpd", - "pr_expert_rpd", - "pr_marksman_sa80", - "pr_expert_sa80", - "pr_marksman_aug", - "pr_expert_aug", - "pr_marksman_tmp", - "pr_expert_tmp", - "pr_marksman_pp2000", - "pr_expert_pp2000", - "pr_marksman_glock", - "pr_expert_glock", - "pr_marksman_beretta393", - "pr_expert_beretta393", - "pr_marksman_striker", - "pr_expert_striker", - "pr_marksman_m1014", - "pr_expert_m1014", - "pr_marksman_spas12", - "pr_expert_spas12", - "pr_marksman_aa12", - "pr_expert_aa12", - "pr_marksman_model1887", - "pr_expert_model1887", - "pr_marksman_ranger", - "pr_expert_ranger", - "pr_marksman_beretta", - "pr_expert_beretta", - "pr_marksman_usp", - "pr_expert_usp", - "pr_marksman_deserteagle", - "pr_expert_deserteagle", - "pr_marksman_coltanaconda", - "pr_expert_coltanaconda", - "pr_marksman_wa2000", - "pr_expert_wa2000", - "pr_marksman_mg4", - "pr_expert_mg4", - "pr_marksman_at4", - "pr_expert_at4", - "pr_marksman_rpg", - "pr_expert_rpg", - "pr_marksman_javelin", - "pr_expert_javelin", - "pr_marksman_m79", - "pr_expert_m79", - "pr_marksman_stinger", - "pr_expert_stinger", - "ch_marksman_m16", - "ch_expert_m16", - "ch_m16_gl", - "ch_m16_reflex", - "ch_m16_silencer", - "ch_m16_acog", - "ch_m16_fmj", - "ch_m16_mastery", - "ch_marksman_famas", - "ch_expert_famas", - "ch_famas_gl", - "ch_famas_reflex", - "ch_famas_silencer", - "ch_famas_acog", - "ch_famas_fmj", - "ch_famas_mastery", - "ch_marksman_tavor", - "ch_expert_tavor", - "ch_tavor_gl", - "ch_tavor_reflex", - "ch_tavor_silencer", - "ch_tavor_acog", - "ch_tavor_fmj", - "ch_tavor_mastery", - "ch_marksman_fal", - "ch_expert_fal", - "ch_fal_gl", - "ch_fal_reflex", - "ch_fal_silencer", - "ch_fal_acog", - "ch_fal_fmj", - "ch_fal_mastery", - "ch_marksman_ak47", - "ch_expert_ak47", - "ch_ak47_gl", - "ch_ak47_reflex", - "ch_ak47_silencer", - "ch_ak47_acog", - "ch_ak47_fmj", - "ch_ak47_mastery", - "ch_marksman_m240", - "ch_expert_m240", - "ch_m240_reflex", - "ch_m240_silencer", - "ch_m240_acog", - "ch_m240_fmj", - "ch_m240_mastery", - "ch_marksman_m4", - "ch_expert_m4", - "ch_m4_gl", - "ch_m4_reflex", - "ch_m4_silencer", - "ch_m4_acog", - "ch_m4_fmj", - "ch_m4_mastery", - "ch_marksman_masada", - "ch_expert_masada", - "ch_masada_gl", - "ch_masada_reflex", - "ch_masada_silencer", - "ch_masada_acog", - "ch_masada_fmj", - "ch_masada_mastery", - "ch_marksman_scar", - "ch_expert_scar", - "ch_scar_gl", - "ch_scar_reflex", - "ch_scar_silencer", - "ch_scar_acog", - "ch_scar_fmj", - "ch_scar_mastery", - "ch_marksman_fn2000", - "ch_expert_fn2000", - "ch_fn2000_gl", - "ch_fn2000_reflex", - "ch_fn2000_silencer", - "ch_fn2000_acog", - "ch_fn2000_fmj", - "ch_fn2000_mastery", - "ch_marksman_cheytac", - "ch_expert_cheytac", - "ch_cheytac_silencer", - "ch_cheytac_acog", - "ch_cheytac_fmj", - "ch_cheytac_mastery", - "ch_marksman_barrett", - "ch_expert_barrett", - "ch_barrett_silencer", - "ch_barrett_acog", - "ch_barrett_fmj", - "ch_barrett_mastery", - "ch_marksman_m21", - "ch_expert_m21", - "ch_m21_silencer", - "ch_m21_acog", - "ch_m21_fmj", - "ch_m21_mastery", - "ch_marksman_kriss", - "ch_expert_kriss", - "ch_kriss_rof", - "ch_kriss_reflex", - "ch_kriss_acog", - "ch_kriss_fmj", - "ch_kriss_mastery", - "ch_marksman_ump45", - "ch_expert_ump45", - "ch_ump45_rof", - "ch_ump45_reflex", - "ch_ump45_acog", - "ch_ump45_fmj", - "ch_ump45_mastery", - "ch_marksman_uzi", - "ch_expert_uzi", - "ch_uzi_rof", - "ch_uzi_reflex", - "ch_uzi_acog", - "ch_uzi_fmj", - "ch_uzi_mastery", - "ch_marksman_p90", - "ch_expert_p90", - "ch_p90_rof", - "ch_p90_reflex", - "ch_p90_acog", - "ch_p90_fmj", - "ch_p90_mastery", - "ch_marksman_mp5k", - "ch_expert_mp5k", - "ch_mp5k_rof", - "ch_mp5k_reflex", - "ch_mp5k_acog", - "ch_mp5k_fmj", - "ch_mp5k_mastery", - "ch_marksman_rpd", - "ch_expert_rpd", - "ch_rpd_silencer", - "ch_rpd_reflex", - "ch_rpd_acog", - "ch_rpd_fmj", - "ch_rpd_mastery", - "ch_marksman_sa80", - "ch_expert_sa80", - "ch_sa80_silencer", - "ch_sa80_reflex", - "ch_sa80_acog", - "ch_sa80_fmj", - "ch_sa80_mastery", - "ch_marksman_aug", - "ch_expert_aug", - "ch_aug_silencer", - "ch_aug_reflex", - "ch_aug_acog", - "ch_aug_fmj", - "ch_aug_mastery", - "ch_marksman_wa2000", - "ch_expert_wa2000", - "ch_wa2000_silencer", - "ch_wa2000_acog", - "ch_wa2000_fmj", - "ch_wa2000_mastery", - "ch_expert_mg4", - "ch_marksman_mg4", - "ch_mg4_silencer", - "ch_mg4_reflex", - "ch_mg4_acog", - "ch_mg4_fmj", - "ch_mg4_mastery", - "ch_marksman_tmp", - "ch_expert_tmp", - "ch_marksman_pp2000", - "ch_expert_pp2000", - "ch_marksman_glock", - "ch_expert_glock", - "ch_marksman_beretta393", - "ch_expert_beretta393", - "ch_marksman_striker", - "ch_expert_striker", - "ch_marksman_m1014", - "ch_expert_m1014", - "ch_marksman_spas12", - "ch_expert_spas12", - "ch_marksman_aa12", - "ch_expert_aa12", - "ch_marksman_model1887", - "ch_expert_model1887", - "ch_marksman_ranger", - "ch_expert_ranger", - "ch_marksman_beretta", - "ch_expert_beretta", - "ch_marksman_usp", - "ch_expert_usp", - "ch_marksman_deserteagle", - "ch_expert_deserteagle", - "ch_marksman_coltanaconda", - "ch_expert_coltanaconda", - "ch_marksman_at4", - "ch_marksman_rpg", - "ch_marksman_javelin", - "ch_marksman_m79", - "ch_marksman_stinger", - "ch_marathon_pro", - "ch_bulletaccuracy_pro", - "ch_deadsilence_pro", - "ch_scrambler_pro", - "ch_sleightofhand_pro", - "ch_bling_pro", - "ch_stoppingpower_pro", - "ch_hardline_pro", - "ch_onemanarmy_pro", - "ch_coldblooded_pro", - "ch_laststand_pro", - "ch_scavenger_pro", - "ch_extendedmelee_pro", - "ch_detectexplosives_pro", - "ch_lightweight_pro", - "ch_dangerclose_pro", - "ch_uav", - "ch_airdrop", - "ch_counter_uav", - "ch_sentry", - "ch_predator_missile", - "ch_precision_airstrike", - "ch_harrier_strike", - "ch_helicopter", - "ch_airdrop_mega", - "ch_helicopter_flares", - "ch_stealth_airstrike", - "ch_helicopter_minigun", - "ch_ac130", - "ch_emp", - "ch_nuke", - "ch_uavs", - "ch_airstrikes", - "ch_helicopters", - "ch_airdrops", - "ch_grenadekill", - "ch_claymoreshot", - "ch_jackinthebox", - "ch_carnie", - "ch_masterblaster", - "ch_bullseye", - "ch_c4shot", - "ch_didyouseethat", - "ch_darkbringer", - "ch_tacticaldeletion", - "ch_its_personal", - "ch_heads_up", - "ch_looknohands", - "ch_predator", - "ch_carpetbomber", - "ch_yourefired", - "ch_choppervet", - "ch_jollygreengiant", - "ch_thespirit", - "ch_cobracommander", - "ch_spectre", - "ch_droppincrates", - "ch_absentee", - "ch_dronekiller", - "ch_finishingtouch", - "ch_truelies", - "ch_og", - "ch_transformer", - "ch_technokiller", - "ch_hidef", - "ch_deathfromabove", - "ch_theedge", - "ch_unbelievable", - "ch_owned", - "ch_stickman", - "ch_lastresort", - "ch_ghillie", - "ch_hotpotato", - "ch_carbomb", - "ch_backstabber", - "ch_slowbutsure", - "ch_miserylovescompany", - "ch_ouch", - "ch_rival", - "ch_cruelty", - "ch_thinkfast", - "ch_thinkfastconcussion", - "ch_thinkfastflash", - "ch_returntosender", - "ch_blindfire", - "ch_hardlanding", - "ch_extremecruelty", - "ch_tangodown", - "ch_countermvp", - "ch_goodbye", - "ch_basejump", - "ch_flyswatter", - "ch_vandalism", - "ch_crouchshot", - "ch_proneshot", - "ch_assists", - "ch_xrayvision", - "ch_backdraft", - "ch_shieldvet", - "ch_smasher", - "ch_backsmasher", - "ch_shield_damage", - "ch_shield_bullet", - "ch_shield_explosive", - "ch_surgical_assault", - "ch_surgical_smg", - "ch_surgical_lmg", - "ch_surgical_sniper", - "ch_expert_assault", - "ch_expert_smg", - "ch_expert_lmg", - "ch_multirpg", - "ch_multiclaymore", - "ch_multifrag", - "ch_multic4", - "ch_collateraldamage", - "ch_flawless", - "ch_fearless", - "ch_grouphug", - "ch_nbk", - "ch_allpro", - "ch_airborne", - "ch_moneyshot", - "ch_robinhood", - "ch_bangforbuck", - "ch_overdraft", - "ch_identitytheft", - "ch_atm", - "ch_timeismoney", - "ch_iamrich", - "ch_breakbank", - "ch_colorofmoney", - "ch_neverforget", - "ch_thebrink", - "ch_fastswap", - "ch_starplayer", - "ch_howthe", - "ch_dominos", - "ch_masterchef", - "ch_invincible", - "ch_survivalist", - "ch_counterclaymore", - "ch_counterc4", - "ch_enemyofthestate", - "ch_resourceful", - "ch_survivor", - "ch_bothbarrels", - "ch_omnicide", - "ch_wargasm", - "ch_thebiggertheyare", - "ch_thehardertheyfall", - "ch_crabmeat", - "ch_wopr", - "ch_thedenier", - "ch_carpetbomb", - "ch_redcarpet", - "ch_reaper", - "ch_nosecrets", - "ch_sunblock", - "ch_afterburner", - "ch_airsuperiority", - "ch_mgmaster", - "ch_slasher", - "ch_radiationsickness", - "ch_infected", - "ch_plague", - "ch_renaissance", - "ch_theloner", - "ch_6fears7", - "ch_thenumb", - "ch_martyr", - "ch_livingdead", - "ch_sidekick", - "ch_clickclickboom", - "ch_hijacker", - "ch_no", - "ch_victor_dm", - "ch_teamplayer", - "ch_victor_sd", - "ch_mvp_tdm", - "ch_teamplayer_hc", - "ch_victor_sab", - "ch_mvp_thc", - "ch_bombdown", - "ch_bombdefender", - "ch_bombplanter", - "ch_hero", - "ch_lastmanstanding", - "ch_saboteur", - "ch_knifevet", - "ch_laststandvet", - "ch_stealth", - "ch_concussionvet", - "ch_flashbangvet", - "ch_avenger", - "ch_prestige_10", - "" - }; - - enum(16) ENUM_4 - { - "none", - "desert", - "woodland", - "digital", - "red_tiger", - "blue_tiger", - "gold", - "prestige", - "arctic", - "red_urban", - "orange_fall" - }; - - enum(128) ENUM_5 - { - "specialty_null", - "specialty_null_gl", - "specialty_null_grip", - "specialty_null_shotgun", - "specialty_null_attachment", - "specialty_parabolic", - "specialty_gpsjammer", - "specialty_holdbreath", - "specialty_quieter", - "specialty_longersprint", - "specialty_detectexplosive", - "specialty_explosivedamage", - "specialty_pistoldeath", - "specialty_grenadepulldeath", - "specialty_bulletdamage", - "specialty_bulletpenetration", - "specialty_bulletaccuracy", - "specialty_bulletaccuracy2", - "specialty_rof", - "specialty_fastreload", - "specialty_extraammo", - "specialty_twoprimaries", - "specialty_armorvest", - "specialty_fraggrenade", - "specialty_specialgrenade", - "specialty_burstfire", - "specialty_blastshield", - "specialty_akimbo", - "specialty_siege", - "specialty_shield", - "specialty_falldamage", - "specialty_fmj", - "specialty_delaymine", - "specialty_feigndeath", - "specialty_jumpdive", - "specialty_localjammer", - "specialty_shellshock", - "specialty_fastmantle", - "specialty_explosivebullets", - "specialty_thermal", - "specialty_lightweight", - "specialty_finalstand", - "specialty_blackbox", - "specialty_steelnerves", - "specialty_quickdraw", - "specialty_flashgrenade", - "specialty_concussiongrenade", - "specialty_smokegrenade", - "specialty_empgrenade", - "specialty_scavenger", - "specialty_sitrep", - "specialty_amplify", - "specialty_extendedmags", - "specialty_saboteur", - "specialty_coldblooded", - "specialty_marathon", - "specialty_challenger", - "specialty_rearview", - "specialty_tacticalinsertion", - "specialty_endgame", - "specialty_carepackage", - "specialty_onemanarmy", - "specialty_littlebird_support", - "specialty_extendedmelee", - "specialty_bling", - "specialty_heartbreaker", - "specialty_selectivehearing", - "specialty_fastsnipe", - "specialty_improvedholdbreath", - "specialty_primarydeath", - "specialty_secondarybling", - "specialty_spygame", - "specialty_spygame2", - "specialty_automantle", - "specialty_fastsprintrecovery", - "specialty_c4death", - "specialty_hardline", - "specialty_combathigh", - "specialty_laststandoffhand", - "specialty_dangerclose", - "javelin_mp", - "stinger_mp", - "c4_mp", - "claymore_mp", - "rpg_mp", - "at4_mp", - "m79_mp", - "throwingknife_mp", - "semtex_mp", - "frag_grenade_mp", - "specialty_armorpiercing", - "specialty_omaquickchange", - "specialty_fastmeleerecovery", - "specialty_rollover", - "specialty_extraspecialduration", - "specialty_freerunner", - "specialty_copycat" - }; - - enum(48) ENUM_6 - { - "none", - "uav", - "airstrike", - "helicopter", - "ac130", - "predator_missile", - "helicopter_minigun", - "helicopter_mk19", - "nuke", - "double_uav", - "precision_airstrike", - "counter_uav", - "sentry", - "sentry_gl", - "airdrop", - "tank", - "airdrop_sentry_minigun", - "airdrop_predator_missile", - "littlebird_support", - "stealth_airstrike", - "harrier_airstrike", - "super_airstrike", - "helicopter_blackbox", - "helicopter_flares", - "emp", - "airdrop_mega" - }; - - enum(256) ENUM_7 - { - "none", - "killstreak", - "headshots", - "damagedone", - "damagetaken", - "knifekills", - "assists", - "pistolkills", - "grenadekills", - "multikill", - "finalkill", - "deaths", - "kills", - "uavs", - "airstrikes", - "helicopters", - "mvp", - "overkill", - "suicides", - "flankkills", - "flankdeaths", - "fragkills", - "c4kills", - "semtexkills", - "claymorekills", - "throwingknifekills", - "smgkills", - "arkills", - "rocketkills", - "shotgunkills", - "lmgkills", - "sniperkills", - "pistolheadshots", - "smgheadshots", - "arheadshots", - "shotgunheadshots", - "lmgheadshots", - "sniperheadshots", - "punisher", - "equipmentkills", - "bulletpenkills", - "revengekills", - "avengekills", - "rescues", - "longshots", - "higherrankkills", - "adskills", - "hipfirekills", - "laststandkills", - "laststanderkills", - "lowerrankkills", - "otherweaponkills", - "shotgundeaths", - "shortestlife", - "highlander", - "kdratio10", - "noawards", - "noflankdeaths", - "deathstreak", - "mostmultikills", - "killedotherteam", - "killedotherteamonelife", - "distancetraveled", - "sprinttime", - "crouchtime", - "pronetime", - "comebacks", - "longestlife", - "killcamtimewatched", - "killcamskipped", - "mostreloads", - "mostswaps", - "mostshotsfired", - "timeinspot", - "mostcamperkills", - "greatestavgalt", - "leastavgalt", - "killsteals", - "mostff", - "killedsameplayer", - "mostweaponsused", - "closertoenemies", - "mostclasseschanged", - "mosttacprevented", - "explosionssurvived", - "shieldblocks", - "fbhits", - "stunhits", - "scopedkills", - "thermalkills", - "thumperkills", - "kdratio", - "afk", - "participant", - "shieldkills", - "shielddeaths", - "throwbacks", - "bombsplanted", - "bombsdefused", - "targetsdestroyed", - "bombcarrierkills", - "killsasbombcarrier", - "bombscarried", - "pointscaptured", - "hqscaptured", - "hqsdestroyed", - "flagscaptured", - "flagsreturned", - "flagscarried", - "flagcarrierkills", - "killsasflagcarrier" - }; - - enum(1024) ENUM_8 - { - "cardicon_default", - "cardicon_aug_marksman", - "cardicon_aug_expert", - "cardicon_m240_marksman", - "cardicon_m240_expert", - "cardicon_sa80_marksman", - "cardicon_sa80_expert", - "cardicon_rpd_marksman", - "cardicon_rpd_expert", - "cardicon_mg4_marksman", - "cardicon_mg4_expert", - "cardicon_ak47_marksman", - "cardicon_ak47_expert", - "cardicon_masada_marksman", - "cardicon_masada_expert", - "cardicon_m16_marksman", - "cardicon_m16_expert", - "cardicon_tavor_marksman", - "cardicon_tavor_expert", - "cardicon_fn2000_marksman", - "cardicon_fn2000_expert", - "cardicon_m4_marksman", - "cardicon_m4_expert", - "cardicon_scar_marksman", - "cardicon_scar_expert", - "cardicon_fal_marksman", - "cardicon_fal_expert", - "cardicon_famas_marksman", - "cardicon_famas_expert", - "cardicon_mp5k_marksman", - "cardicon_mp5k_expert", - "cardicon_uzi_marksman", - "cardicon_uzi_expert", - "cardicon_kriss_marksman", - "cardicon_kriss_expert", - "cardicon_ump45_marksman", - "cardicon_ump45_expert", - "cardicon_p90_marksman", - "cardicon_p90_expert", - "cardicon_cheytac_marksman", - "cardicon_cheytac_expert", - "cardicon_m21_marksman", - "cardicon_m21_expert", - "cardicon_barrett_marksman", - "cardicon_barrett_expert", - "cardicon_wa2000_marksman", - "cardicon_wa2000_expert", - "cardicon_glock_marksman", - "cardicon_glock_expert", - "cardicon_tmp_marksman", - "cardicon_tmp_expert", - "cardicon_beretta393_marksman", - "cardicon_beretta393_expert", - "cardicon_pp2000_marksman", - "cardicon_pp2000_expert", - "cardicon_striker_marksman", - "cardicon_striker_expert", - "cardicon_aa12_marksman", - "cardicon_aa12_expert", - "cardicon_m1014_marksman", - "cardicon_m1014_expert", - "cardicon_spas12_marksman", - "cardicon_spas12_expert", - "cardicon_model1887_marksman", - "cardicon_model1887_expert", - "cardicon_ranger_marksman", - "cardicon_ranger_expert", - "cardicon_beretta_marksman", - "cardicon_beretta_expert", - "cardicon_usp_marksman", - "cardicon_usp_expert", - "cardicon_deserteagle_marksman", - "cardicon_deserteagle_expert", - "cardicon_coltanaconda_marksman", - "cardicon_coltanaconda_expert", - "cardicon_iwlogo", - "cardicon_heartbeatsensor", - "cardicon_minigun", - "cardicon_harrier", - "cardicon_pavelow", - "cardicon_noseart1", - "cardicon_seasnipers", - "cardicon_nightvision_1", - "cardicon_nightvision_2", - "cardicon_sniperscope", - "cardicon_compass", - "cardicon_moon", - "cardicon_biohazard", - "cardicon_radiation", - "cardicon_redhand", - "cardicon_spetsnaz", - "cardicon_tf141", - "cardicon_umbracatervae", - "cardicon_headshot", - "cardicon_car", - "cardicon_gumby", - "cardicon_doubletap", - "cardicon_fmj", - "cardicon_soap", - "cardicon_humantrophy", - "cardicon_skull", - "cardicon_xray", - "cardicon_skull_black", - "cardicon_pirate", - "cardicon_pirateflag", - "cardicon_treasurechest", - "cardicon_treasuremap", - "cardicon_league_grenade", - "cardicon_ball_soccer_1", - "cardicon_ball_baseball_1", - "cardicon_ball_basketball_1", - "cardicon_ball_football_1", - "cardicon_rhino", - "cardicon_lion", - "cardicon_bear", - "cardicon_tiger", - "cardicon_hyena", - "cardicon_kinggorilla", - "cardicon_thecow", - "cardicon_birdbrain", - "cardicon_claw", - "cardicon_stop", - "cardicon_burgertown", - "cardicon_bulb", - "cardicon_patch", - "cardicon_tire", - "cardicon_boot", - "cardicon_brassknuckle", - "cardicon_8ball", - "cardicon_mushroom", - "cardicon_assad", - "cardicon_makarov", - "cardicon_sheppard", - "cardicon_comic_shepherd", - "cardicon_grigsby", - "cardicon_taskforcearmy01", - "cardicon_ghillie", - "cardicon_price_ww2", - "cardicon_pricewoodland", - "cardicon_pricearctic", - "cardicon_comic_price", - "cardicon_toon_price_1", - "cardicon_brad", - "cardicon_tsuenami", - "cardicon_brock", - "cardicon_macgregor", - "cardicon_porterjustice", - "cardicon_grunt", - "cardicon_grunt_2", - "cardicon_readhead", - "cardicon_pacifier_blue", - "cardicon_pacifier_pink", - "cardicon_pushingupdaisies", - "cardicon_girlskull", - "cardicon_blue", - "cardicon_badgirl", - "cardicon_goodgirl", - "cardicon_sniper", - "cardicon_abduction", - "cardicon_illuminati", - "cardicon_cod4", - "cardicon_iw", - "cardicon_prestige1", - "cardicon_prestige2", - "cardicon_prestige3", - "cardicon_prestige4", - "cardicon_prestige5", - "cardicon_prestige6", - "cardicon_prestige7", - "cardicon_prestige8", - "cardicon_prestige9", - "cardicon_prestige10", - "cardicon_mw2_prestige1", - "cardicon_mw2_prestige2", - "cardicon_mw2_prestige3", - "cardicon_mw2_prestige4", - "cardicon_mw2_prestige5", - "cardicon_mw2_prestige6", - "cardicon_mw2_prestige7", - "cardicon_mw2_prestige8", - "cardicon_mw2_prestige9", - "cardicon_mw2_prestige10", - "cardicon_prestige10_02", - "cardicon_honeybadger01", - "cardicon_kitten", - "cardicon_nates", - "cardicon_tsunami", - "cardicon_warpig", - "cardicon_8bit_price", - "cardicon_ball_volleyball_1", - "cardicon_helmet_baseball_1", - "cardicon_helmet_football_1", - "cardicon_hockey_1", - "cardicon_hockey_2", - "cardicon_tennisracket", - "cardicon_ghost_bust", - "cardicon_koiker_hound", - "cardicon_sugarglider", - "cardicon_gears", - "cardicon_brassknuckles", - "cardicon_devilfinger", - "cardicon_gold", - "cardicon_icecream", - "cardicon_korean", - "cardicon_loadedfinger", - "cardicon_ac130", - "cardicon_uav", - "cardicon_carepackage", - "cardicon_counteruav", - "cardicon_sentrygun", - "cardicon_predatormissile", - "cardicon_harrierstrike", - "cardicon_attackchopper", - "cardicon_emergencyair", - "cardicon_pavelowkillstreak", - "cardicon_stealthkillstreak", - "cardicon_choppergunner", - "cardicon_empkillstreak", - "cardicon_tacticalnuke", - "cardicon_precair", - "cardicon_marathon", - "cardicon_sleightofhand", - "cardicon_scavenger", - "cardicon_dangerclose", - "cardicon_bling", - "cardicon_stoppingpower", - "cardicon_lightweight", - "cardicon_hardline", - "cardicon_coldblooded", - "cardicon_oma", - "cardicon_commando", - "cardicon_steadyaim", - "cardicon_scrambler", - "cardicon_sitrep", - "cardicon_laststand", - "cardicon_ninja", - "cardicon_frag", - "cardicon_semtex", - "cardicon_throwingknife", - "cardicon_tacticalinsertion", - "cardicon_blastshield", - "cardicon_c4", - "cardicon_claymore", - "cardicon_pvt1", - "cardicon_pfc1", - "cardicon_spc1", - "cardicon_cpl1", - "cardicon_sgt1", - "cardicon_ssgt1", - "cardicon_sfc1", - "cardicon_msgt1", - "cardicon_1stsgt1", - "cardicon_sgtmaj1", - "cardicon_cmdsgtmaj1", - "cardicon_2ndlt1", - "cardicon_1stlt1", - "cardicon_capt1", - "cardicon_maj1", - "cardicon_ltcol1", - "cardicon_col1", - "cardicon_bgen1", - "cardicon_majgen1", - "cardicon_ltgen1", - "cardicon_gen1", - "cardicon_comm1", - "cardicon_martyrdom", - "cardicon_painkiller", - "cardicon_finalstand", - "cardicon_copycat", - "cardicon_impale", - "cardicon_stab", - "cardicon_riotdeath", - "cardicon_b2", - "cardicon_bulletcase", - "cardicon_league_1911", - "cardicon_league_magnum", - "cardicon_opfor", - "cardicon_rangers", - "cardicon_seals", - "cardicon_usmc", - "cardicon_sas", - "cardicon_skullaward", - "cardicon_skullnbones", - "cardicon_chicken", - "cardicon_gametype", - "cardicon_tictac", - "cardicon_jets", - "cardicon_joystick", - "cardicon_devil", - "cardicon_knife", - "cardicon_thebomb", - "cardicon_juggernaut_2", - "cardicon_juggernaut_1", - "cardicon_ac130_angelflare", - "cardicon_bullets_50cal", - "cardicon_weed", - "cardicon_riot_shield", - "cardicon_dive", - "cardicon_ghost_skull", - "cardicon_gasmask", - "cardicon_iss", - "cardicon_knife_logo", - "cardicon_shotgun_shells", - "cardicon_rtrolling" - }; - - enum(1024) ENUM_9 - { - "cardtitle_default", - "cardtitle_theextreme", - "cardtitle_earlydetection", - "cardtitle_trackstar", - "cardtitle_freerunner", - "cardtitle_decathlete", - "cardtitle_2fast", - "cardtitle_hairtrigger", - "cardtitle_oneinchpunch", - "cardtitle_reloaded", - "cardtitle_bandolier", - "cardtitle_vulture", - "cardtitle_fullforce", - "cardtitle_sonicboom", - "cardtitle_dangerclose", - "cardtitle_doubledown", - "cardtitle_blingbling", - "cardtitle_armedanddangerous", - "cardtitle_highcaliber", - "cardtitle_kfactor", - "cardtitle_bitethebullet", - "cardtitle_speeddemon", - "cardtitle_readyfire", - "cardtitle_pathfinder", - "cardtitle_deadline", - "cardtitle_closesupport", - "cardtitle_invisible", - "cardtitle_uavjammer", - "cardtitle_doubleagent", - "cardtitle_fullarsenal", - "cardtitle_quickchange", - "cardtitle_armyof1", - "cardtitle_impaler", - "cardtitle_ninja", - "cardtitle_excalibur", - "cardtitle_sureshot", - "cardtitle_ironlungs", - "cardtitle_steelnerves", - "cardtitle_hardtokill", - "cardtitle_deadmansswitch", - "cardtitle_dyingbreath", - "cardtitle_disruptor", - "cardtitle_heartbreaker", - "cardtitle_counterintel", - "cardtitle_xrayvision", - "cardtitle_amplifier", - "cardtitle_eod", - "cardtitle_silentstrike", - "cardtitle_spygame", - "cardtitle_artofstealth", - "cardtitle_aug_sharpshooter", - "cardtitle_aug_marksman", - "cardtitle_aug_veteran", - "cardtitle_aug_expert", - "cardtitle_aug_master", - "cardtitle_m240_sharpshooter", - "cardtitle_m240_marksman", - "cardtitle_m240_veteran", - "cardtitle_m240_expert", - "cardtitle_m240_master", - "cardtitle_sa80_sharpshooter", - "cardtitle_sa80_marksman", - "cardtitle_sa80_veteran", - "cardtitle_sa80_expert", - "cardtitle_sa80_master", - "cardtitle_rpd_sharpshooter", - "cardtitle_rpd_marksman", - "cardtitle_rpd_veteran", - "cardtitle_rpd_expert", - "cardtitle_rpd_master", - "cardtitle_mg4_sharpshooter", - "cardtitle_mg4_marksman", - "cardtitle_mg4_veteran", - "cardtitle_mg4_expert", - "cardtitle_mg4_master", - "cardtitle_ak47_sharpshooter", - "cardtitle_ak47_marksman", - "cardtitle_ak47_veteran", - "cardtitle_ak47_expert", - "cardtitle_ak47_master", - "cardtitle_masada_sharpshooter", - "cardtitle_masada_marksman", - "cardtitle_masada_veteran", - "cardtitle_masada_expert", - "cardtitle_masada_master", - "cardtitle_m16_sharpshooter", - "cardtitle_m16_marksman", - "cardtitle_m16_veteran", - "cardtitle_m16_expert", - "cardtitle_m16_master", - "cardtitle_tavor_sharpshooter", - "cardtitle_tavor_marksman", - "cardtitle_tavor_veteran", - "cardtitle_tavor_expert", - "cardtitle_tavor_master", - "cardtitle_fn2000_sharpshooter", - "cardtitle_fn2000_marksman", - "cardtitle_fn2000_veteran", - "cardtitle_fn2000_expert", - "cardtitle_fn2000_master", - "cardtitle_m4_sharpshooter", - "cardtitle_m4_marksman", - "cardtitle_m4_veteran", - "cardtitle_m4_expert", - "cardtitle_m4_master", - "cardtitle_scar_sharpshooter", - "cardtitle_scar_marksman", - "cardtitle_scar_veteran", - "cardtitle_scar_expert", - "cardtitle_scar_master", - "cardtitle_fal_sharpshooter", - "cardtitle_fal_marksman", - "cardtitle_fal_veteran", - "cardtitle_fal_expert", - "cardtitle_fal_master", - "cardtitle_famas_sharpshooter", - "cardtitle_famas_marksman", - "cardtitle_famas_veteran", - "cardtitle_famas_expert", - "cardtitle_famas_master", - "cardtitle_mp5k_sharpshooter", - "cardtitle_mp5k_marksman", - "cardtitle_mp5k_veteran", - "cardtitle_mp5k_expert", - "cardtitle_mp5k_master", - "cardtitle_uzi_sharpshooter", - "cardtitle_uzi_marksman", - "cardtitle_uzi_veteran", - "cardtitle_uzi_expert", - "cardtitle_uzi_master", - "cardtitle_kriss_sharpshooter", - "cardtitle_kriss_marksman", - "cardtitle_kriss_veteran", - "cardtitle_kriss_expert", - "cardtitle_kriss_master", - "cardtitle_ump45_sharpshooter", - "cardtitle_ump45_marksman", - "cardtitle_ump45_veteran", - "cardtitle_ump45_expert", - "cardtitle_ump45_master", - "cardtitle_p90_sharpshooter", - "cardtitle_p90_marksman", - "cardtitle_p90_veteran", - "cardtitle_p90_expert", - "cardtitle_p90_master", - "cardtitle_cheytac_sharpshooter", - "cardtitle_cheytac_marksman", - "cardtitle_cheytac_veteran", - "cardtitle_cheytac_expert", - "cardtitle_cheytac_master", - "cardtitle_m21_sharpshooter", - "cardtitle_m21_marksman", - "cardtitle_m21_veteran", - "cardtitle_m21_expert", - "cardtitle_m21_master", - "cardtitle_barrett_sharpshooter", - "cardtitle_barrett_marksman", - "cardtitle_barrett_veteran", - "cardtitle_barrett_expert", - "cardtitle_barrett_master", - "cardtitle_wa2000_sharpshooter", - "cardtitle_wa2000_marksman", - "cardtitle_wa2000_veteran", - "cardtitle_wa2000_expert", - "cardtitle_wa2000_master", - "cardtitle_glock_marksman", - "cardtitle_glock_veteran", - "cardtitle_glock_expert", - "cardtitle_glock_master", - "cardtitle_tmp_marksman", - "cardtitle_tmp_veteran", - "cardtitle_tmp_expert", - "cardtitle_tmp_master", - "cardtitle_beretta393_marksman", - "cardtitle_beretta393_veteran", - "cardtitle_beretta393_expert", - "cardtitle_beretta393_master", - "cardtitle_pp2000_marksman", - "cardtitle_pp2000_veteran", - "cardtitle_pp2000_expert", - "cardtitle_pp2000_master", - "cardtitle_striker_marksman", - "cardtitle_striker_veteran", - "cardtitle_striker_expert", - "cardtitle_striker_master", - "cardtitle_aa12_marksman", - "cardtitle_aa12_veteran", - "cardtitle_aa12_expert", - "cardtitle_aa12_master", - "cardtitle_m1014_marksman", - "cardtitle_m1014_veteran", - "cardtitle_m1014_expert", - "cardtitle_m1014_master", - "cardtitle_spas12_marksman", - "cardtitle_spas12_veteran", - "cardtitle_spas12_expert", - "cardtitle_spas12_master", - "cardtitle_model1887_marksman", - "cardtitle_model1887_veteran", - "cardtitle_model1887_expert", - "cardtitle_model1887_master", - "cardtitle_ranger_marksman", - "cardtitle_ranger_veteran", - "cardtitle_ranger_expert", - "cardtitle_ranger_master", - "cardtitle_beretta_marksman", - "cardtitle_beretta_veteran", - "cardtitle_beretta_expert", - "cardtitle_beretta_master", - "cardtitle_usp_marksman", - "cardtitle_usp_veteran", - "cardtitle_usp_expert", - "cardtitle_usp_master", - "cardtitle_deserteagle_marksman", - "cardtitle_deserteagle_veteran", - "cardtitle_deserteagle_expert", - "cardtitle_deserteagle_master", - "cardtitle_coltanaconda_marksman", - "cardtitle_coltanaconda_veteran", - "cardtitle_coltanaconda_expert", - "cardtitle_coltanaconda_master", - "cardtitle_shotdown", - "cardtitle_dishtherock", - "cardtitle_flyswatter", - "cardtitle_lonewolf", - "cardtitle_getreal", - "cardtitle_overwatch", - "cardtitle_tangodown", - "cardtitle_teamplayer", - "cardtitle_destroyer", - "cardtitle_its_sabotage", - "cardtitle_dzclear", - "cardtitle_fireforget", - "cardtitle_flag_united_states", - "cardtitle_patriot", - "cardtitle_flag_uk", - "cardtitle_fng", - "cardtitle_flag_canada", - "cardtitle_greatwhite", - "cardtitle_flag_australia", - "cardtitle_continental", - "cardtitle_flag_swiss", - "cardtitle_neutral", - "cardtitle_flag_mexico", - "cardtitle_flag_spain", - "cardtitle_conquerer", - "cardtitle_flag_austria", - "cardtitle_terminator", - "cardtitle_flag_japan", - "cardtitle_risingsun", - "cardtitle_flag_brazil", - "cardtitle_redeemer", - "cardtitle_flag_russia", - "cardtitle_flag_france", - "cardtitle_flag_germany", - "cardtitle_flag_italy", - "cardtitle_flag_norway", - "cardtitle_flag_greece", - "cardtitle_flag_sweden", - "cardtitle_flag_ireland", - "cardtitle_flag_belgium", - "cardtitle_flag_finland", - "cardtitle_flag_luxemburg", - "cardtitle_flag_czech", - "cardtitle_flag_netherlands", - "cardtitle_flag_newzealand", - "cardtitle_flag_philippines", - "cardtitle_flag_poland", - "cardtitle_flag_portugal", - "cardtitle_flag_denmark", - "cardtitle_flag_saudiarabia", - "cardtitle_flag_singapore", - "cardtitle_flag_southafrica", - "cardtitle_flag_southkorea", - "cardtitle_flag_hongkong", - "cardtitle_flag_india", - "cardtitle_flag_taiwan", - "cardtitle_flag_united_arab_emirates", - "cardtitle_flag_elsalvador", - "cardtitle_flag_china", - "cardtitle_flag_iran", - "cardtitle_pyro", - "cardtitle_fired", - "cardtitle_hotshot", - "cardtitle_deathfromabove", - "cardtitle_steelreign", - "cardtitle_feared", - "cardtitle_preemptive", - "cardtitle_timeontarget", - "cardtitle_publicenemy", - "cardtitle_bombshell", - "cardtitle_thabomb", - "cardtitle_brokenarrow", - "cardtitle_explosiveordinance", - "cardtitle_madbomber", - "cardtitle_givinstatic", - "cardtitle_jumpjet", - "cardtitle_droppincrates", - "cardtitle_submittoauthority", - "cardtitle_harcoreonly", - "cardtitle_lowprofile", - "cardtitle_sigint", - "cardtitle_intergalactic", - "cardtitle_nohands", - "cardtitle_bowdown", - "cardtitle_drifter", - "cardtitle_bob", - "cardtitle_ghostrider", - "cardtitle_survivor", - "cardtitle_accidentprone", - "cardtitle_squawkbox", - "cardtitle_cr1zby", - "cardtitle_companioncrate", - "cardtitle_straightup", - "cardtitle_pushindaisy", - "cardtitle_voyeur", - "cardtitle_sprayandpray", - "cardtitle_jointops", - "cardtitle_avenger", - "cardtitle_sharepackage", - "cardtitle_blackout", - "cardtitle_jollygreen", - "cardtitle_spirit", - "cardtitle_grimreaper", - "cardtitle_cobracommander", - "cardtitle_spectre", - "cardtitle_rainoffire", - "cardtitle_chickmagnet", - "cardtitle_starfishprime", - "cardtitle_endofline", - "cardtitle_wopr", - "cardtitle_watchman", - "cardtitle_omnipotent", - "cardtitle_planewhisperer", - "cardtitle_rollingthunder", - "cardtitle_fullthrottle", - "cardtitle_airwolf", - "cardtitle_gambler", - "cardtitle_santaclaus", - "cardtitle_pineappleexpress", - "cardtitle_catchshrapnel", - "cardtitle_mastermind", - "cardtitle_jackinthebox", - "cardtitle_copperfield", - "cardtitle_takeastab", - "cardtitle_masterblaster", - "cardtitle_juggernaut", - "cardtitle_bullseye", - "cardtitle_stuckonyou", - "cardtitle_plasticman", - "cardtitle_c4andafter", - "cardtitle_silentknight", - "cardtitle_darkbringer", - "cardtitle_tacticaldeletion", - "cardtitle_itspersonal", - "cardtitle_fragout", - "cardtitle_cloakanddagger", - "cardtitle_mylilpwny", - "cardtitle_gettothechoppa", - "cardtitle_booyah", - "cardtitle_streaker", - "cardtitle_1bullet2kills", - "cardtitle_dictator", - "cardtitle_surgical", - "cardtitle_crackinskulls", - "cardtitle_popoff", - "cardtitle_boomheadshot", - "cardtitle_faceoff", - "cardtitle_headrush", - "cardtitle_mach5", - "cardtitle_notintheface", - "cardtitle_perfectionist", - "cardtitle_badaboom", - "cardtitle_genocidal", - "cardtitle_partinggift", - "cardtitle_ambush", - "cardtitle_pinpuller", - "cardtitle_boomboompow", - "cardtitle_anarchist", - "cardtitle_highlander", - "cardtitle_enemybenefits", - "cardtitle_nbk", - "cardtitle_allpro", - "cardtitle_hardtarget", - "cardtitle_dronekiller", - "cardtitle_truelies", - "cardtitle_transformer", - "cardtitle_angelofdeath", - "cardtitle_hidef", - "cardtitle_unbelievable", - "cardtitle_stickman", - "cardtitle_lastresort", - "cardtitle_philanthropist", - "cardtitle_absenteekiller", - "cardtitle_finishingtouch", - "cardtitle_og", - "cardtitle_technokiller", - "cardtitle_owned", - "cardtitle_tagyoureit", - "cardtitle_boilermaker", - "cardtitle_backstabber", - "cardtitle_stungun", - "cardtitle_heart", - "cardtitle_noobtuber", - "cardtitle_rival", - "cardtitle_omfg", - "cardtitle_thinkfast", - "cardtitle_concussive", - "cardtitle_lightsout", - "cardtitle_backfire", - "cardtitle_blindfire", - "cardtitle_duckhunter", - "cardtitle_omnicide", - "cardtitle_devastator", - "cardtitle_mvpassassin", - "cardtitle_timeismoney", - "cardtitle_imrich", - "cardtitle_moneyshot", - "cardtitle_makeitrain", - "cardtitle_clayback", - "cardtitle_robinhood", - "cardtitle_madman", - "cardtitle_idthief", - "cardtitle_newjack", - "cardtitle_bloodmoney", - "cardtitle_flatliner", - "cardtitle_evildead", - "cardtitle_quickdraw", - "cardtitle_hiredgun", - "cardtitle_mastatdon", - "cardtitle_howthe", - "cardtitle_dominofx", - "cardtitle_halfbaked", - "cardtitle_bam", - "cardtitle_invincible", - "cardtitle_livelong", - "cardtitle_claypigeon", - "cardtitle_reversaloffortune", - "cardtitle_iceman", - "cardtitle_enemyofthestate", - "cardtitle_friendswith", - "cardtitle_legend", - "cardtitle_wargasm", - "cardtitle_biggertheyare", - "cardtitle_harderthey", - "cardtitle_epic", - "cardtitle_denier", - "cardtitle_carpetbomber", - "cardtitle_bombsaway", - "cardtitle_bigbrother", - "cardtitle_uavrays", - "cardtitle_afterburner", - "cardtitle_topgun", - "cardtitle_gat", - "cardtitle_theripper", - "cardtitle_allyourbase", - "cardtitle_globalthermo", - "cardtitle_sbd", - "cardtitle_toxicavenger", - "cardtitle_infected", - "cardtitle_plague", - "cardtitle_klepto", - "cardtitle_behindenemy", - "cardtitle_6fears7", - "cardtitle_comfortablynumb", - "cardtitle_martyr", - "cardtitle_livingdead", - "cardtitle_sidekick", - "cardtitle_clickclickboom", - "cardtitle_hijacker", - "cardtitle_bountyhunter", - "cardtitle_no", - "cardtitle_sentrymaster", - "cardtitle_predatormaster", - "cardtitle_airstrikemaster", - "cardtitle_harriermaster", - "cardtitle_helimaster", - "cardtitle_pavelowmaster", - "cardtitle_stealthmaster", - "cardtitle_choppermaster", - "cardtitle_ac130master", - "cardtitle_blademaster", - "cardtitle_laststandmaster", - "cardtitle_silencermaster", - "cardtitle_flashmaster", - "cardtitle_stunmaster", - "cardtitle_sentryveteran", - "cardtitle_predatorveteran", - "cardtitle_airstrikeveteran", - "cardtitle_harrierveteran", - "cardtitle_heliveteran", - "cardtitle_pavelowveteran", - "cardtitle_stealthveteran", - "cardtitle_chopperveteran", - "cardtitle_ac130veteran", - "cardtitle_bladeveteran", - "cardtitle_laststandveteran", - "cardtitle_silencerveteran", - "cardtitle_flashveteran", - "cardtitle_stunveteran", - "cardtitle_headsup", - "cardtitle_predator", - "cardtitle_automator", - "cardtitle_shotover", - "cardtitle_stringfellow", - "cardtitle_doctor", - "cardtitle_coldsteel", - "cardtitle_inciser", - "cardtitle_phoenixrising", - "cardtitle_suppressor", - "cardtitle_shockandawe", - "cardtitle_flasher", - "cardtitle_handsfree", - "cardtitle_clusterbomb", - "cardtitle_rejected", - "cardtitle_skycaptain", - "cardtitle_cobrakai", - "cardtitle_godhand", - "cardtitle_unseen", - "cardtitle_at4_marksman", - "cardtitle_javelin_marksman", - "cardtitle_m79_marksman", - "cardtitle_rpg_marksman", - "cardtitle_stinger_marksman", - "cardtitle_at4_expert", - "cardtitle_javelin_expert", - "cardtitle_m79_expert", - "cardtitle_rpg_expert", - "cardtitle_stinger_expert", - "cardtitle_at4_veteran", - "cardtitle_javelin_veteran", - "cardtitle_m79_veteran", - "cardtitle_rpg_veteran", - "cardtitle_stinger_veteran", - "cardtitle_at4_master", - "cardtitle_javelin_master", - "cardtitle_m79_master", - "cardtitle_rpg_master", - "cardtitle_stinger_master", - "cardtitle_ssdd", - "cardtitle_prestige1", - "cardtitle_prestige2", - "cardtitle_prestige3", - "cardtitle_prestige4", - "cardtitle_prestige5", - "cardtitle_prestige6", - "cardtitle_prestige7", - "cardtitle_prestige8", - "cardtitle_prestige9", - "cardtitle_prestige10", - "cardtitle_20", - "cardtitle_30", - "cardtitle_40", - "cardtitle_50", - "cardtitle_60", - "cardtitle_70", - "cardtitle_20a", - "cardtitle_30a", - "cardtitle_40a", - "cardtitle_50a", - "cardtitle_60a", - "cardtitle_70a", - "cardtitle_grassyknoll", - "cardtitle_ghilliemist", - "cardtitle_rezero", - "cardtitle_blunttrauma", - "cardtitle_smashhit", - "cardtitle_backsmasher", - "cardtitle_protectserve", - "cardtitle_bulletproof", - "cardtitle_unbreakable", - "cardtitle_evilchicken", - "cardtitle_nolaststand" - }; - - enum(8) ENUM_10 - { - "cardnameplate_default", - "cardnameplate_test" - }; - - enum ENUM_11 - { - "none", - "neutral", - "allies", - "axis" - }; - - enum(16) ENUM_12 - { - "dm", - "tdm", - "dsd", - "sab", - "dom", - "koth", - "oneflag", - "arena", - "ctf" - }; - - struct root - { - int awards[ENUM_7]; - int bests[ENUM_7]; - int experience; - int restXPGoal; - int prestige; - int level; - int score; - int kills; - int killStreak; - int deaths; - int deathStreak; - int assists; - int headshots; - int teamkills; - int suicides; - int timePlayedAllies; - int timePlayedOpfor; - int timePlayedOther; - int timePlayedTotal; - int kdRatio; - int wins; - int losses; - int ties; - int winStreak; - int currentWinStreak; - int winLossRatio; - int hits; - int misses; - int totalShots; - int accuracy; - int money; - int timeSinceLastLoot; - int lastPlayedTime; - STRUCT_4 round; - bool weaponNew[ENUM_1]; - bool camoNew[ENUM_1][ENUM_4]; - bool attachmentNew[ENUM_1][ENUM_2]; - bool perkNew[ENUM_5]; - bool featureNew[ENUM_0]; - bool challengeTierNew[100]; - bool killstreakNew[ENUM_6]; - STRUCT_2 customClasses[15]; - byte challengeState[ENUM_3]; - int challengeProgress[ENUM_3]; - ENUM_8 cardIcon; - ENUM_9 cardTitle; - ENUM_10 cardNameplate; - ENUM_6 killstreaks[3]; - short skills[ENUM_12]; - bool iconNew[ENUM_8]; - bool titleNew[ENUM_9]; - bool iconUnlocked[ENUM_8]; - bool titleUnlocked[ENUM_9]; - bool killstreakUnlocked[ENUM_6]; - }; - - struct STRUCT_1 - { - ENUM_1 weapon; - ENUM_2 attachment[2]; - ENUM_4 camo; - pad(4); - }; - - struct STRUCT_2 - { - bool inUse; - STRUCT_1 weaponSetups[2]; - ENUM_5 perks[5]; - ENUM_1 specialGrenade; - string(21) name; - ENUM_5 _deathstreak; - pad(4); - }; - - struct STRUCT_3 - { - ENUM_7 award; - int value; - }; - - struct STRUCT_4 - { - int kills; - int killStreak; - int deaths; - int score; - int timePlayed; - bool win; - bool loss; - ENUM_11 scoreboardType; - int totalXp; - int scoreXp; - int challengeXp; - int matchXp; - int miscXp; - byte awardCount; - STRUCT_3 awards[5]; - pad(54); - }; -} - - -// ==================== -// Version 156 -// Calculated checksum did not match checksum in file -// Overriding checksum to match original value -// ==================== -version 156 -{ - checksumoverride 2074144879; - - enum(32) ENUM_0 - { - "cac", - "demolitions", - "sniper", - "challenges", - "hardcore", - "oldschool", - "clantag", - "prestige", - "cas", - "playercard", - "playercard_title", - "playercard_icon", - "token_1", - "token_2", - "token_3", - "token_4", - "token_5", - "token_6", - "token_7", - "token_8", - "token_9", - "token_10", - "token_11", - "token_12", - "ghillie_urban", - "ghillie_arctic", - "ghillie_desert", - "ghillie_forest" - }; - - enum(128) ENUM_1 - { - "none", - "beretta393", - "beretta", - "usp", - "deserteagle", - "deserteaglegold", - "coltanaconda", - "glock", - "ak47", - "mp44", - "g3", - "g36c", - "m16", - "m4", - "fn2000", - "famas", - "fal", - "scar", - "tavor", - "masada", - "mp5k", - "uzi", - "p90", - "kriss", - "ump45", - "pp2000", - "tmp", - "m1014", - "ranger", - "striker", - "aa12", - "model1887", - "spas12", - "rpd", - "sa80", - "aug", - "mg4", - "m240", - "barrett", - "cheytac", - "m21", - "wa2000", - "gl", - "rpg", - "c4", - "c4Death", - "claymore", - "javelin", - "stinger", - "at4", - "m79", - "frag_grenade", - "frag_scavenger_grenade", - "flash_grenade", - "smoke_grenade", - "concussion_grenade", - "emp_grenade", - "riotshield", - "throwingknife", - "onemanarmy", - "m40a3", - "ak47classic" - }; - - enum(20) ENUM_2 - { - "none", - "gl", - "reflex", - "silencer", - "acog", - "grip", - "akimbo", - "thermal", - "shotgun", - "heartbeat", - "fmj", - "xmags", - "rof", - "boom", - "eotech", - "tactical" - }; - - enum(512) ENUM_3 - { - "ch_prestige", - "pr_marksman_m16", - "pr_expert_m16", - "pr_marksman_famas", - "pr_expert_famas", - "pr_marksman_tavor", - "pr_expert_tavor", - "pr_marksman_fal", - "pr_expert_fal", - "pr_marksman_ak47", - "pr_expert_ak47", - "pr_marksman_m240", - "pr_expert_m240", - "pr_marksman_m4", - "pr_expert_m4", - "pr_marksman_masada", - "pr_expert_masada", - "pr_marksman_scar", - "pr_expert_scar", - "pr_marksman_fn2000", - "pr_expert_fn2000", - "pr_marksman_cheytac", - "pr_expert_cheytac", - "pr_marksman_barrett", - "pr_expert_barrett", - "pr_marksman_m21", - "pr_expert_m21", - "pr_marksman_kriss", - "pr_expert_kriss", - "pr_marksman_ump45", - "pr_expert_ump45", - "pr_marksman_uzi", - "pr_expert_uzi", - "pr_marksman_p90", - "pr_expert_p90", - "pr_marksman_mp5k", - "pr_expert_mp5k", - "pr_marksman_rpd", - "pr_expert_rpd", - "pr_marksman_sa80", - "pr_expert_sa80", - "pr_marksman_aug", - "pr_expert_aug", - "pr_marksman_tmp", - "pr_expert_tmp", - "pr_marksman_pp2000", - "pr_expert_pp2000", - "pr_marksman_glock", - "pr_expert_glock", - "pr_marksman_beretta393", - "pr_expert_beretta393", - "pr_marksman_striker", - "pr_expert_striker", - "pr_marksman_m1014", - "pr_expert_m1014", - "pr_marksman_spas12", - "pr_expert_spas12", - "pr_marksman_aa12", - "pr_expert_aa12", - "pr_marksman_model1887", - "pr_expert_model1887", - "pr_marksman_ranger", - "pr_expert_ranger", - "pr_marksman_beretta", - "pr_expert_beretta", - "pr_marksman_usp", - "pr_expert_usp", - "pr_marksman_deserteagle", - "pr_expert_deserteagle", - "pr_marksman_coltanaconda", - "pr_expert_coltanaconda", - "pr_marksman_wa2000", - "pr_expert_wa2000", - "pr_marksman_mg4", - "pr_expert_mg4", - "pr_marksman_at4", - "pr_expert_at4", - "pr_marksman_rpg", - "pr_expert_rpg", - "pr_marksman_javelin", - "pr_expert_javelin", - "pr_marksman_m79", - "pr_expert_m79", - "pr_marksman_stinger", - "pr_expert_stinger", - "ch_marksman_m16", - "ch_expert_m16", - "ch_m16_gl", - "ch_m16_reflex", - "ch_m16_silencer", - "ch_m16_acog", - "ch_m16_fmj", - "ch_m16_mastery", - "ch_marksman_famas", - "ch_expert_famas", - "ch_famas_gl", - "ch_famas_reflex", - "ch_famas_silencer", - "ch_famas_acog", - "ch_famas_fmj", - "ch_famas_mastery", - "ch_marksman_tavor", - "ch_expert_tavor", - "ch_tavor_gl", - "ch_tavor_reflex", - "ch_tavor_silencer", - "ch_tavor_acog", - "ch_tavor_fmj", - "ch_tavor_mastery", - "ch_marksman_fal", - "ch_expert_fal", - "ch_fal_gl", - "ch_fal_reflex", - "ch_fal_silencer", - "ch_fal_acog", - "ch_fal_fmj", - "ch_fal_mastery", - "ch_marksman_ak47", - "ch_expert_ak47", - "ch_ak47_gl", - "ch_ak47_reflex", - "ch_ak47_silencer", - "ch_ak47_acog", - "ch_ak47_fmj", - "ch_ak47_mastery", - "ch_marksman_m240", - "ch_expert_m240", - "ch_m240_reflex", - "ch_m240_silencer", - "ch_m240_acog", - "ch_m240_fmj", - "ch_m240_mastery", - "ch_marksman_m4", - "ch_expert_m4", - "ch_m4_gl", - "ch_m4_reflex", - "ch_m4_silencer", - "ch_m4_acog", - "ch_m4_fmj", - "ch_m4_mastery", - "ch_marksman_masada", - "ch_expert_masada", - "ch_masada_gl", - "ch_masada_reflex", - "ch_masada_silencer", - "ch_masada_acog", - "ch_masada_fmj", - "ch_masada_mastery", - "ch_marksman_scar", - "ch_expert_scar", - "ch_scar_gl", - "ch_scar_reflex", - "ch_scar_silencer", - "ch_scar_acog", - "ch_scar_fmj", - "ch_scar_mastery", - "ch_marksman_fn2000", - "ch_expert_fn2000", - "ch_fn2000_gl", - "ch_fn2000_reflex", - "ch_fn2000_silencer", - "ch_fn2000_acog", - "ch_fn2000_fmj", - "ch_fn2000_mastery", - "ch_marksman_cheytac", - "ch_expert_cheytac", - "ch_cheytac_silencer", - "ch_cheytac_acog", - "ch_cheytac_fmj", - "ch_cheytac_mastery", - "ch_marksman_barrett", - "ch_expert_barrett", - "ch_barrett_silencer", - "ch_barrett_acog", - "ch_barrett_fmj", - "ch_barrett_mastery", - "ch_marksman_m21", - "ch_expert_m21", - "ch_m21_silencer", - "ch_m21_acog", - "ch_m21_fmj", - "ch_m21_mastery", - "ch_marksman_kriss", - "ch_expert_kriss", - "ch_kriss_rof", - "ch_kriss_reflex", - "ch_kriss_acog", - "ch_kriss_fmj", - "ch_kriss_mastery", - "ch_marksman_ump45", - "ch_expert_ump45", - "ch_ump45_rof", - "ch_ump45_reflex", - "ch_ump45_acog", - "ch_ump45_fmj", - "ch_ump45_mastery", - "ch_marksman_uzi", - "ch_expert_uzi", - "ch_uzi_rof", - "ch_uzi_reflex", - "ch_uzi_acog", - "ch_uzi_fmj", - "ch_uzi_mastery", - "ch_marksman_p90", - "ch_expert_p90", - "ch_p90_rof", - "ch_p90_reflex", - "ch_p90_acog", - "ch_p90_fmj", - "ch_p90_mastery", - "ch_marksman_mp5k", - "ch_expert_mp5k", - "ch_mp5k_rof", - "ch_mp5k_reflex", - "ch_mp5k_acog", - "ch_mp5k_fmj", - "ch_mp5k_mastery", - "ch_marksman_rpd", - "ch_expert_rpd", - "ch_rpd_silencer", - "ch_rpd_reflex", - "ch_rpd_acog", - "ch_rpd_fmj", - "ch_rpd_mastery", - "ch_marksman_sa80", - "ch_expert_sa80", - "ch_sa80_silencer", - "ch_sa80_reflex", - "ch_sa80_acog", - "ch_sa80_fmj", - "ch_sa80_mastery", - "ch_marksman_aug", - "ch_expert_aug", - "ch_aug_silencer", - "ch_aug_reflex", - "ch_aug_acog", - "ch_aug_fmj", - "ch_aug_mastery", - "ch_marksman_wa2000", - "ch_expert_wa2000", - "ch_wa2000_silencer", - "ch_wa2000_acog", - "ch_wa2000_fmj", - "ch_wa2000_mastery", - "ch_expert_mg4", - "ch_marksman_mg4", - "ch_mg4_silencer", - "ch_mg4_reflex", - "ch_mg4_acog", - "ch_mg4_fmj", - "ch_mg4_mastery", - "ch_marksman_tmp", - "ch_expert_tmp", - "ch_marksman_pp2000", - "ch_expert_pp2000", - "ch_marksman_glock", - "ch_expert_glock", - "ch_marksman_beretta393", - "ch_expert_beretta393", - "ch_marksman_striker", - "ch_expert_striker", - "ch_marksman_m1014", - "ch_expert_m1014", - "ch_marksman_spas12", - "ch_expert_spas12", - "ch_marksman_aa12", - "ch_expert_aa12", - "ch_marksman_model1887", - "ch_expert_model1887", - "ch_marksman_ranger", - "ch_expert_ranger", - "ch_marksman_beretta", - "ch_expert_beretta", - "ch_marksman_usp", - "ch_expert_usp", - "ch_marksman_deserteagle", - "ch_expert_deserteagle", - "ch_marksman_coltanaconda", - "ch_expert_coltanaconda", - "ch_marksman_at4", - "ch_marksman_rpg", - "ch_marksman_javelin", - "ch_marksman_m79", - "ch_marksman_stinger", - "ch_marathon_pro", - "ch_bulletaccuracy_pro", - "ch_deadsilence_pro", - "ch_scrambler_pro", - "ch_sleightofhand_pro", - "ch_bling_pro", - "ch_stoppingpower_pro", - "ch_hardline_pro", - "ch_onemanarmy_pro", - "ch_coldblooded_pro", - "ch_laststand_pro", - "ch_scavenger_pro", - "ch_extendedmelee_pro", - "ch_detectexplosives_pro", - "ch_lightweight_pro", - "ch_dangerclose_pro", - "ch_uav", - "ch_airdrop", - "ch_counter_uav", - "ch_sentry", - "ch_predator_missile", - "ch_precision_airstrike", - "ch_harrier_strike", - "ch_helicopter", - "ch_airdrop_mega", - "ch_helicopter_flares", - "ch_stealth_airstrike", - "ch_helicopter_minigun", - "ch_ac130", - "ch_emp", - "ch_nuke", - "ch_uavs", - "ch_airstrikes", - "ch_helicopters", - "ch_airdrops", - "ch_grenadekill", - "ch_claymoreshot", - "ch_jackinthebox", - "ch_carnie", - "ch_masterblaster", - "ch_bullseye", - "ch_c4shot", - "ch_didyouseethat", - "ch_darkbringer", - "ch_tacticaldeletion", - "ch_its_personal", - "ch_heads_up", - "ch_looknohands", - "ch_predator", - "ch_carpetbomber", - "ch_yourefired", - "ch_choppervet", - "ch_jollygreengiant", - "ch_thespirit", - "ch_cobracommander", - "ch_spectre", - "ch_droppincrates", - "ch_absentee", - "ch_dronekiller", - "ch_finishingtouch", - "ch_truelies", - "ch_og", - "ch_transformer", - "ch_technokiller", - "ch_hidef", - "ch_deathfromabove", - "ch_theedge", - "ch_unbelievable", - "ch_owned", - "ch_stickman", - "ch_lastresort", - "ch_ghillie", - "ch_hotpotato", - "ch_carbomb", - "ch_backstabber", - "ch_slowbutsure", - "ch_miserylovescompany", - "ch_ouch", - "ch_rival", - "ch_cruelty", - "ch_thinkfast", - "ch_thinkfastconcussion", - "ch_thinkfastflash", - "ch_returntosender", - "ch_blindfire", - "ch_hardlanding", - "ch_extremecruelty", - "ch_tangodown", - "ch_countermvp", - "ch_goodbye", - "ch_basejump", - "ch_flyswatter", - "ch_vandalism", - "ch_crouchshot", - "ch_proneshot", - "ch_assists", - "ch_xrayvision", - "ch_backdraft", - "ch_shieldvet", - "ch_smasher", - "ch_backsmasher", - "ch_shield_damage", - "ch_shield_bullet", - "ch_shield_explosive", - "ch_surgical_assault", - "ch_surgical_smg", - "ch_surgical_lmg", - "ch_surgical_sniper", - "ch_expert_assault", - "ch_expert_smg", - "ch_expert_lmg", - "ch_multirpg", - "ch_multiclaymore", - "ch_multifrag", - "ch_multic4", - "ch_collateraldamage", - "ch_flawless", - "ch_fearless", - "ch_grouphug", - "ch_nbk", - "ch_allpro", - "ch_airborne", - "ch_moneyshot", - "ch_robinhood", - "ch_bangforbuck", - "ch_overdraft", - "ch_identitytheft", - "ch_atm", - "ch_timeismoney", - "ch_iamrich", - "ch_breakbank", - "ch_colorofmoney", - "ch_neverforget", - "ch_thebrink", - "ch_fastswap", - "ch_starplayer", - "ch_howthe", - "ch_dominos", - "ch_masterchef", - "ch_invincible", - "ch_survivalist", - "ch_counterclaymore", - "ch_counterc4", - "ch_enemyofthestate", - "ch_resourceful", - "ch_survivor", - "ch_bothbarrels", - "ch_omnicide", - "ch_wargasm", - "ch_thebiggertheyare", - "ch_thehardertheyfall", - "ch_crabmeat", - "ch_wopr", - "ch_thedenier", - "ch_carpetbomb", - "ch_redcarpet", - "ch_reaper", - "ch_nosecrets", - "ch_sunblock", - "ch_afterburner", - "ch_airsuperiority", - "ch_mgmaster", - "ch_slasher", - "ch_radiationsickness", - "ch_infected", - "ch_plague", - "ch_renaissance", - "ch_theloner", - "ch_6fears7", - "ch_thenumb", - "ch_martyr", - "ch_livingdead", - "ch_sidekick", - "ch_clickclickboom", - "ch_hijacker", - "ch_no", - "ch_victor_dm", - "ch_teamplayer", - "ch_victor_sd", - "ch_mvp_tdm", - "ch_teamplayer_hc", - "ch_victor_sab", - "ch_mvp_thc", - "ch_bombdown", - "ch_bombdefender", - "ch_bombplanter", - "ch_hero", - "ch_lastmanstanding", - "ch_saboteur", - "ch_knifevet", - "ch_laststandvet", - "ch_stealth", - "ch_concussionvet", - "ch_flashbangvet", - "ch_avenger", - "ch_prestige_10", - "" - }; - - enum(16) ENUM_4 - { - "none", - "desert", - "woodland", - "digital", - "red_tiger", - "blue_tiger", - "gold", - "prestige", - "arctic", - "red_urban", - "orange_fall" - }; - - enum(128) ENUM_5 - { - "specialty_null", - "specialty_null_gl", - "specialty_null_grip", - "specialty_null_shotgun", - "specialty_null_attachment", - "specialty_parabolic", - "specialty_gpsjammer", - "specialty_holdbreath", - "specialty_quieter", - "specialty_longersprint", - "specialty_detectexplosive", - "specialty_explosivedamage", - "specialty_pistoldeath", - "specialty_grenadepulldeath", - "specialty_bulletdamage", - "specialty_bulletpenetration", - "specialty_bulletaccuracy", - "specialty_bulletaccuracy2", - "specialty_rof", - "specialty_fastreload", - "specialty_extraammo", - "specialty_twoprimaries", - "specialty_armorvest", - "specialty_fraggrenade", - "specialty_specialgrenade", - "specialty_burstfire", - "specialty_blastshield", - "specialty_akimbo", - "specialty_siege", - "specialty_shield", - "specialty_falldamage", - "specialty_fmj", - "specialty_delaymine", - "specialty_feigndeath", - "specialty_jumpdive", - "specialty_localjammer", - "specialty_shellshock", - "specialty_fastmantle", - "specialty_explosivebullets", - "specialty_thermal", - "specialty_lightweight", - "specialty_finalstand", - "specialty_blackbox", - "specialty_steelnerves", - "specialty_quickdraw", - "specialty_flashgrenade", - "specialty_concussiongrenade", - "specialty_smokegrenade", - "specialty_empgrenade", - "specialty_scavenger", - "specialty_sitrep", - "specialty_amplify", - "specialty_extendedmags", - "specialty_saboteur", - "specialty_coldblooded", - "specialty_marathon", - "specialty_challenger", - "specialty_rearview", - "specialty_tacticalinsertion", - "specialty_endgame", - "specialty_carepackage", - "specialty_onemanarmy", - "specialty_littlebird_support", - "specialty_extendedmelee", - "specialty_bling", - "specialty_heartbreaker", - "specialty_selectivehearing", - "specialty_fastsnipe", - "specialty_improvedholdbreath", - "specialty_primarydeath", - "specialty_secondarybling", - "specialty_spygame", - "specialty_spygame2", - "specialty_automantle", - "specialty_fastsprintrecovery", - "specialty_c4death", - "specialty_hardline", - "specialty_combathigh", - "specialty_laststandoffhand", - "specialty_dangerclose", - "javelin_mp", - "stinger_mp", - "c4_mp", - "claymore_mp", - "rpg_mp", - "at4_mp", - "m79_mp", - "throwingknife_mp", - "semtex_mp", - "frag_grenade_mp", - "specialty_armorpiercing", - "specialty_omaquickchange", - "specialty_fastmeleerecovery", - "specialty_rollover", - "specialty_extraspecialduration", - "specialty_freerunner", - "specialty_copycat" - }; - - enum(48) ENUM_6 - { - "none", - "uav", - "airstrike", - "helicopter", - "ac130", - "predator_missile", - "helicopter_minigun", - "helicopter_mk19", - "nuke", - "double_uav", - "precision_airstrike", - "counter_uav", - "sentry", - "sentry_gl", - "airdrop", - "tank", - "airdrop_sentry_minigun", - "airdrop_predator_missile", - "littlebird_support", - "stealth_airstrike", - "harrier_airstrike", - "super_airstrike", - "helicopter_blackbox", - "helicopter_flares", - "emp", - "airdrop_mega" - }; - - enum(256) ENUM_7 - { - "none", - "killstreak", - "headshots", - "damagedone", - "damagetaken", - "knifekills", - "assists", - "pistolkills", - "grenadekills", - "multikill", - "finalkill", - "deaths", - "kills", - "uavs", - "airstrikes", - "helicopters", - "mvp", - "overkill", - "suicides", - "flankkills", - "flankdeaths", - "fragkills", - "c4kills", - "semtexkills", - "claymorekills", - "throwingknifekills", - "smgkills", - "arkills", - "rocketkills", - "shotgunkills", - "lmgkills", - "sniperkills", - "pistolheadshots", - "smgheadshots", - "arheadshots", - "shotgunheadshots", - "lmgheadshots", - "sniperheadshots", - "punisher", - "equipmentkills", - "bulletpenkills", - "revengekills", - "avengekills", - "rescues", - "longshots", - "higherrankkills", - "adskills", - "hipfirekills", - "laststandkills", - "laststanderkills", - "lowerrankkills", - "otherweaponkills", - "shotgundeaths", - "shortestlife", - "highlander", - "kdratio10", - "noawards", - "noflankdeaths", - "deathstreak", - "mostmultikills", - "killedotherteam", - "killedotherteamonelife", - "distancetraveled", - "sprinttime", - "crouchtime", - "pronetime", - "comebacks", - "longestlife", - "killcamtimewatched", - "killcamskipped", - "mostreloads", - "mostswaps", - "mostshotsfired", - "timeinspot", - "mostcamperkills", - "greatestavgalt", - "leastavgalt", - "killsteals", - "mostff", - "killedsameplayer", - "mostweaponsused", - "closertoenemies", - "mostclasseschanged", - "mosttacprevented", - "explosionssurvived", - "shieldblocks", - "fbhits", - "stunhits", - "scopedkills", - "thermalkills", - "thumperkills", - "kdratio", - "afk", - "participant", - "shieldkills", - "shielddeaths", - "throwbacks", - "bombsplanted", - "bombsdefused", - "targetsdestroyed", - "bombcarrierkills", - "killsasbombcarrier", - "bombscarried", - "pointscaptured", - "hqscaptured", - "hqsdestroyed", - "flagscaptured", - "flagsreturned", - "flagscarried", - "flagcarrierkills", - "killsasflagcarrier" - }; - - enum(1024) ENUM_8 - { - "cardicon_default", - "cardicon_aug_marksman", - "cardicon_aug_expert", - "cardicon_m240_marksman", - "cardicon_m240_expert", - "cardicon_sa80_marksman", - "cardicon_sa80_expert", - "cardicon_rpd_marksman", - "cardicon_rpd_expert", - "cardicon_mg4_marksman", - "cardicon_mg4_expert", - "cardicon_ak47_marksman", - "cardicon_ak47_expert", - "cardicon_masada_marksman", - "cardicon_masada_expert", - "cardicon_m16_marksman", - "cardicon_m16_expert", - "cardicon_tavor_marksman", - "cardicon_tavor_expert", - "cardicon_fn2000_marksman", - "cardicon_fn2000_expert", - "cardicon_m4_marksman", - "cardicon_m4_expert", - "cardicon_scar_marksman", - "cardicon_scar_expert", - "cardicon_fal_marksman", - "cardicon_fal_expert", - "cardicon_famas_marksman", - "cardicon_famas_expert", - "cardicon_mp5k_marksman", - "cardicon_mp5k_expert", - "cardicon_uzi_marksman", - "cardicon_uzi_expert", - "cardicon_kriss_marksman", - "cardicon_kriss_expert", - "cardicon_ump45_marksman", - "cardicon_ump45_expert", - "cardicon_p90_marksman", - "cardicon_p90_expert", - "cardicon_cheytac_marksman", - "cardicon_cheytac_expert", - "cardicon_m21_marksman", - "cardicon_m21_expert", - "cardicon_barrett_marksman", - "cardicon_barrett_expert", - "cardicon_wa2000_marksman", - "cardicon_wa2000_expert", - "cardicon_glock_marksman", - "cardicon_glock_expert", - "cardicon_tmp_marksman", - "cardicon_tmp_expert", - "cardicon_beretta393_marksman", - "cardicon_beretta393_expert", - "cardicon_pp2000_marksman", - "cardicon_pp2000_expert", - "cardicon_striker_marksman", - "cardicon_striker_expert", - "cardicon_aa12_marksman", - "cardicon_aa12_expert", - "cardicon_m1014_marksman", - "cardicon_m1014_expert", - "cardicon_spas12_marksman", - "cardicon_spas12_expert", - "cardicon_model1887_marksman", - "cardicon_model1887_expert", - "cardicon_ranger_marksman", - "cardicon_ranger_expert", - "cardicon_beretta_marksman", - "cardicon_beretta_expert", - "cardicon_usp_marksman", - "cardicon_usp_expert", - "cardicon_deserteagle_marksman", - "cardicon_deserteagle_expert", - "cardicon_coltanaconda_marksman", - "cardicon_coltanaconda_expert", - "cardicon_iwlogo", - "cardicon_heartbeatsensor", - "cardicon_minigun", - "cardicon_harrier", - "cardicon_pavelow", - "cardicon_noseart1", - "cardicon_seasnipers", - "cardicon_nightvision_1", - "cardicon_nightvision_2", - "cardicon_sniperscope", - "cardicon_compass", - "cardicon_moon", - "cardicon_biohazard", - "cardicon_radiation", - "cardicon_redhand", - "cardicon_spetsnaz", - "cardicon_tf141", - "cardicon_umbracatervae", - "cardicon_headshot", - "cardicon_car", - "cardicon_gumby", - "cardicon_doubletap", - "cardicon_fmj", - "cardicon_soap", - "cardicon_humantrophy", - "cardicon_skull", - "cardicon_xray", - "cardicon_skull_black", - "cardicon_pirate", - "cardicon_pirateflag", - "cardicon_treasurechest", - "cardicon_treasuremap", - "cardicon_league_grenade", - "cardicon_ball_soccer_1", - "cardicon_ball_baseball_1", - "cardicon_ball_basketball_1", - "cardicon_ball_football_1", - "cardicon_rhino", - "cardicon_lion", - "cardicon_bear", - "cardicon_tiger", - "cardicon_hyena", - "cardicon_kinggorilla", - "cardicon_thecow", - "cardicon_birdbrain", - "cardicon_claw", - "cardicon_stop", - "cardicon_burgertown", - "cardicon_bulb", - "cardicon_patch", - "cardicon_tire", - "cardicon_boot", - "cardicon_brassknuckle", - "cardicon_8ball", - "cardicon_mushroom", - "cardicon_assad", - "cardicon_makarov", - "cardicon_sheppard", - "cardicon_comic_shepherd", - "cardicon_grigsby", - "cardicon_taskforcearmy01", - "cardicon_ghillie", - "cardicon_price_ww2", - "cardicon_pricewoodland", - "cardicon_pricearctic", - "cardicon_comic_price", - "cardicon_toon_price_1", - "cardicon_brad", - "cardicon_tsuenami", - "cardicon_brock", - "cardicon_macgregor", - "cardicon_porterjustice", - "cardicon_grunt", - "cardicon_grunt_2", - "cardicon_readhead", - "cardicon_pacifier_blue", - "cardicon_pacifier_pink", - "cardicon_pushingupdaisies", - "cardicon_girlskull", - "cardicon_blue", - "cardicon_badgirl", - "cardicon_goodgirl", - "cardicon_sniper", - "cardicon_abduction", - "cardicon_illuminati", - "cardicon_cod4", - "cardicon_iw", - "cardicon_prestige1", - "cardicon_prestige2", - "cardicon_prestige3", - "cardicon_prestige4", - "cardicon_prestige5", - "cardicon_prestige6", - "cardicon_prestige7", - "cardicon_prestige8", - "cardicon_prestige9", - "cardicon_prestige10", - "cardicon_mw2_prestige1", - "cardicon_mw2_prestige2", - "cardicon_mw2_prestige3", - "cardicon_mw2_prestige4", - "cardicon_mw2_prestige5", - "cardicon_mw2_prestige6", - "cardicon_mw2_prestige7", - "cardicon_mw2_prestige8", - "cardicon_mw2_prestige9", - "cardicon_mw2_prestige10", - "cardicon_prestige10_02", - "cardicon_honeybadger01", - "cardicon_kitten", - "cardicon_nates", - "cardicon_tsunami", - "cardicon_warpig", - "cardicon_8bit_price", - "cardicon_ball_volleyball_1", - "cardicon_helmet_baseball_1", - "cardicon_helmet_football_1", - "cardicon_hockey_1", - "cardicon_hockey_2", - "cardicon_tennisracket", - "cardicon_ghost_bust", - "cardicon_koiker_hound", - "cardicon_sugarglider", - "cardicon_gears", - "cardicon_brassknuckles", - "cardicon_devilfinger", - "cardicon_gold", - "cardicon_icecream", - "cardicon_korean", - "cardicon_loadedfinger", - "cardicon_ac130", - "cardicon_uav", - "cardicon_carepackage", - "cardicon_counteruav", - "cardicon_sentrygun", - "cardicon_predatormissile", - "cardicon_harrierstrike", - "cardicon_attackchopper", - "cardicon_emergencyair", - "cardicon_pavelowkillstreak", - "cardicon_stealthkillstreak", - "cardicon_choppergunner", - "cardicon_empkillstreak", - "cardicon_tacticalnuke", - "cardicon_precair", - "cardicon_marathon", - "cardicon_sleightofhand", - "cardicon_scavenger", - "cardicon_dangerclose", - "cardicon_bling", - "cardicon_stoppingpower", - "cardicon_lightweight", - "cardicon_hardline", - "cardicon_coldblooded", - "cardicon_oma", - "cardicon_commando", - "cardicon_steadyaim", - "cardicon_scrambler", - "cardicon_sitrep", - "cardicon_laststand", - "cardicon_ninja", - "cardicon_frag", - "cardicon_semtex", - "cardicon_throwingknife", - "cardicon_tacticalinsertion", - "cardicon_blastshield", - "cardicon_c4", - "cardicon_claymore", - "cardicon_pvt1", - "cardicon_pfc1", - "cardicon_spc1", - "cardicon_cpl1", - "cardicon_sgt1", - "cardicon_ssgt1", - "cardicon_sfc1", - "cardicon_msgt1", - "cardicon_1stsgt1", - "cardicon_sgtmaj1", - "cardicon_cmdsgtmaj1", - "cardicon_2ndlt1", - "cardicon_1stlt1", - "cardicon_capt1", - "cardicon_maj1", - "cardicon_ltcol1", - "cardicon_col1", - "cardicon_bgen1", - "cardicon_majgen1", - "cardicon_ltgen1", - "cardicon_gen1", - "cardicon_comm1", - "cardicon_martyrdom", - "cardicon_painkiller", - "cardicon_finalstand", - "cardicon_copycat", - "cardicon_impale", - "cardicon_stab", - "cardicon_riotdeath", - "cardicon_b2", - "cardicon_bulletcase", - "cardicon_league_1911", - "cardicon_league_magnum", - "cardicon_opfor", - "cardicon_rangers", - "cardicon_seals", - "cardicon_usmc", - "cardicon_sas", - "cardicon_skullaward", - "cardicon_skullnbones", - "cardicon_chicken", - "cardicon_gametype", - "cardicon_tictac", - "cardicon_jets", - "cardicon_joystick", - "cardicon_devil", - "cardicon_knife", - "cardicon_thebomb", - "cardicon_juggernaut_2", - "cardicon_juggernaut_1", - "cardicon_ac130_angelflare", - "cardicon_bullets_50cal", - "cardicon_weed", - "cardicon_riot_shield", - "cardicon_dive", - "cardicon_ghost_skull", - "cardicon_gasmask", - "cardicon_iss", - "cardicon_knife_logo", - "cardicon_shotgun_shells", - "cardicon_rtrolling" - }; - - enum(1024) ENUM_9 - { - "cardtitle_default", - "cardtitle_theextreme", - "cardtitle_earlydetection", - "cardtitle_trackstar", - "cardtitle_freerunner", - "cardtitle_decathlete", - "cardtitle_2fast", - "cardtitle_hairtrigger", - "cardtitle_oneinchpunch", - "cardtitle_reloaded", - "cardtitle_bandolier", - "cardtitle_vulture", - "cardtitle_fullforce", - "cardtitle_sonicboom", - "cardtitle_dangerclose", - "cardtitle_doubledown", - "cardtitle_blingbling", - "cardtitle_armedanddangerous", - "cardtitle_highcaliber", - "cardtitle_kfactor", - "cardtitle_bitethebullet", - "cardtitle_speeddemon", - "cardtitle_readyfire", - "cardtitle_pathfinder", - "cardtitle_deadline", - "cardtitle_closesupport", - "cardtitle_invisible", - "cardtitle_uavjammer", - "cardtitle_doubleagent", - "cardtitle_fullarsenal", - "cardtitle_quickchange", - "cardtitle_armyof1", - "cardtitle_impaler", - "cardtitle_ninja", - "cardtitle_excalibur", - "cardtitle_sureshot", - "cardtitle_ironlungs", - "cardtitle_steelnerves", - "cardtitle_hardtokill", - "cardtitle_deadmansswitch", - "cardtitle_dyingbreath", - "cardtitle_disruptor", - "cardtitle_heartbreaker", - "cardtitle_counterintel", - "cardtitle_xrayvision", - "cardtitle_amplifier", - "cardtitle_eod", - "cardtitle_silentstrike", - "cardtitle_spygame", - "cardtitle_artofstealth", - "cardtitle_aug_sharpshooter", - "cardtitle_aug_marksman", - "cardtitle_aug_veteran", - "cardtitle_aug_expert", - "cardtitle_aug_master", - "cardtitle_m240_sharpshooter", - "cardtitle_m240_marksman", - "cardtitle_m240_veteran", - "cardtitle_m240_expert", - "cardtitle_m240_master", - "cardtitle_sa80_sharpshooter", - "cardtitle_sa80_marksman", - "cardtitle_sa80_veteran", - "cardtitle_sa80_expert", - "cardtitle_sa80_master", - "cardtitle_rpd_sharpshooter", - "cardtitle_rpd_marksman", - "cardtitle_rpd_veteran", - "cardtitle_rpd_expert", - "cardtitle_rpd_master", - "cardtitle_mg4_sharpshooter", - "cardtitle_mg4_marksman", - "cardtitle_mg4_veteran", - "cardtitle_mg4_expert", - "cardtitle_mg4_master", - "cardtitle_ak47_sharpshooter", - "cardtitle_ak47_marksman", - "cardtitle_ak47_veteran", - "cardtitle_ak47_expert", - "cardtitle_ak47_master", - "cardtitle_masada_sharpshooter", - "cardtitle_masada_marksman", - "cardtitle_masada_veteran", - "cardtitle_masada_expert", - "cardtitle_masada_master", - "cardtitle_m16_sharpshooter", - "cardtitle_m16_marksman", - "cardtitle_m16_veteran", - "cardtitle_m16_expert", - "cardtitle_m16_master", - "cardtitle_tavor_sharpshooter", - "cardtitle_tavor_marksman", - "cardtitle_tavor_veteran", - "cardtitle_tavor_expert", - "cardtitle_tavor_master", - "cardtitle_fn2000_sharpshooter", - "cardtitle_fn2000_marksman", - "cardtitle_fn2000_veteran", - "cardtitle_fn2000_expert", - "cardtitle_fn2000_master", - "cardtitle_m4_sharpshooter", - "cardtitle_m4_marksman", - "cardtitle_m4_veteran", - "cardtitle_m4_expert", - "cardtitle_m4_master", - "cardtitle_scar_sharpshooter", - "cardtitle_scar_marksman", - "cardtitle_scar_veteran", - "cardtitle_scar_expert", - "cardtitle_scar_master", - "cardtitle_fal_sharpshooter", - "cardtitle_fal_marksman", - "cardtitle_fal_veteran", - "cardtitle_fal_expert", - "cardtitle_fal_master", - "cardtitle_famas_sharpshooter", - "cardtitle_famas_marksman", - "cardtitle_famas_veteran", - "cardtitle_famas_expert", - "cardtitle_famas_master", - "cardtitle_mp5k_sharpshooter", - "cardtitle_mp5k_marksman", - "cardtitle_mp5k_veteran", - "cardtitle_mp5k_expert", - "cardtitle_mp5k_master", - "cardtitle_uzi_sharpshooter", - "cardtitle_uzi_marksman", - "cardtitle_uzi_veteran", - "cardtitle_uzi_expert", - "cardtitle_uzi_master", - "cardtitle_kriss_sharpshooter", - "cardtitle_kriss_marksman", - "cardtitle_kriss_veteran", - "cardtitle_kriss_expert", - "cardtitle_kriss_master", - "cardtitle_ump45_sharpshooter", - "cardtitle_ump45_marksman", - "cardtitle_ump45_veteran", - "cardtitle_ump45_expert", - "cardtitle_ump45_master", - "cardtitle_p90_sharpshooter", - "cardtitle_p90_marksman", - "cardtitle_p90_veteran", - "cardtitle_p90_expert", - "cardtitle_p90_master", - "cardtitle_cheytac_sharpshooter", - "cardtitle_cheytac_marksman", - "cardtitle_cheytac_veteran", - "cardtitle_cheytac_expert", - "cardtitle_cheytac_master", - "cardtitle_m21_sharpshooter", - "cardtitle_m21_marksman", - "cardtitle_m21_veteran", - "cardtitle_m21_expert", - "cardtitle_m21_master", - "cardtitle_barrett_sharpshooter", - "cardtitle_barrett_marksman", - "cardtitle_barrett_veteran", - "cardtitle_barrett_expert", - "cardtitle_barrett_master", - "cardtitle_wa2000_sharpshooter", - "cardtitle_wa2000_marksman", - "cardtitle_wa2000_veteran", - "cardtitle_wa2000_expert", - "cardtitle_wa2000_master", - "cardtitle_glock_marksman", - "cardtitle_glock_veteran", - "cardtitle_glock_expert", - "cardtitle_glock_master", - "cardtitle_tmp_marksman", - "cardtitle_tmp_veteran", - "cardtitle_tmp_expert", - "cardtitle_tmp_master", - "cardtitle_beretta393_marksman", - "cardtitle_beretta393_veteran", - "cardtitle_beretta393_expert", - "cardtitle_beretta393_master", - "cardtitle_pp2000_marksman", - "cardtitle_pp2000_veteran", - "cardtitle_pp2000_expert", - "cardtitle_pp2000_master", - "cardtitle_striker_marksman", - "cardtitle_striker_veteran", - "cardtitle_striker_expert", - "cardtitle_striker_master", - "cardtitle_aa12_marksman", - "cardtitle_aa12_veteran", - "cardtitle_aa12_expert", - "cardtitle_aa12_master", - "cardtitle_m1014_marksman", - "cardtitle_m1014_veteran", - "cardtitle_m1014_expert", - "cardtitle_m1014_master", - "cardtitle_spas12_marksman", - "cardtitle_spas12_veteran", - "cardtitle_spas12_expert", - "cardtitle_spas12_master", - "cardtitle_model1887_marksman", - "cardtitle_model1887_veteran", - "cardtitle_model1887_expert", - "cardtitle_model1887_master", - "cardtitle_ranger_marksman", - "cardtitle_ranger_veteran", - "cardtitle_ranger_expert", - "cardtitle_ranger_master", - "cardtitle_beretta_marksman", - "cardtitle_beretta_veteran", - "cardtitle_beretta_expert", - "cardtitle_beretta_master", - "cardtitle_usp_marksman", - "cardtitle_usp_veteran", - "cardtitle_usp_expert", - "cardtitle_usp_master", - "cardtitle_deserteagle_marksman", - "cardtitle_deserteagle_veteran", - "cardtitle_deserteagle_expert", - "cardtitle_deserteagle_master", - "cardtitle_coltanaconda_marksman", - "cardtitle_coltanaconda_veteran", - "cardtitle_coltanaconda_expert", - "cardtitle_coltanaconda_master", - "cardtitle_shotdown", - "cardtitle_dishtherock", - "cardtitle_flyswatter", - "cardtitle_lonewolf", - "cardtitle_getreal", - "cardtitle_overwatch", - "cardtitle_tangodown", - "cardtitle_teamplayer", - "cardtitle_destroyer", - "cardtitle_its_sabotage", - "cardtitle_dzclear", - "cardtitle_fireforget", - "cardtitle_flag_united_states", - "cardtitle_patriot", - "cardtitle_flag_uk", - "cardtitle_fng", - "cardtitle_flag_canada", - "cardtitle_greatwhite", - "cardtitle_flag_australia", - "cardtitle_continental", - "cardtitle_flag_swiss", - "cardtitle_neutral", - "cardtitle_flag_mexico", - "cardtitle_flag_spain", - "cardtitle_conquerer", - "cardtitle_flag_austria", - "cardtitle_terminator", - "cardtitle_flag_japan", - "cardtitle_risingsun", - "cardtitle_flag_brazil", - "cardtitle_redeemer", - "cardtitle_flag_russia", - "cardtitle_flag_france", - "cardtitle_flag_germany", - "cardtitle_flag_italy", - "cardtitle_flag_norway", - "cardtitle_flag_greece", - "cardtitle_flag_sweden", - "cardtitle_flag_ireland", - "cardtitle_flag_belgium", - "cardtitle_flag_finland", - "cardtitle_flag_luxemburg", - "cardtitle_flag_czech", - "cardtitle_flag_netherlands", - "cardtitle_flag_newzealand", - "cardtitle_flag_philippines", - "cardtitle_flag_poland", - "cardtitle_flag_portugal", - "cardtitle_flag_denmark", - "cardtitle_flag_saudiarabia", - "cardtitle_flag_singapore", - "cardtitle_flag_southafrica", - "cardtitle_flag_southkorea", - "cardtitle_flag_hongkong", - "cardtitle_flag_india", - "cardtitle_flag_taiwan", - "cardtitle_flag_united_arab_emirates", - "cardtitle_flag_elsalvador", - "cardtitle_flag_china", - "cardtitle_flag_iran", - "cardtitle_pyro", - "cardtitle_fired", - "cardtitle_hotshot", - "cardtitle_deathfromabove", - "cardtitle_steelreign", - "cardtitle_feared", - "cardtitle_preemptive", - "cardtitle_timeontarget", - "cardtitle_publicenemy", - "cardtitle_bombshell", - "cardtitle_thabomb", - "cardtitle_brokenarrow", - "cardtitle_explosiveordinance", - "cardtitle_madbomber", - "cardtitle_givinstatic", - "cardtitle_jumpjet", - "cardtitle_droppincrates", - "cardtitle_submittoauthority", - "cardtitle_harcoreonly", - "cardtitle_lowprofile", - "cardtitle_sigint", - "cardtitle_intergalactic", - "cardtitle_nohands", - "cardtitle_bowdown", - "cardtitle_drifter", - "cardtitle_bob", - "cardtitle_ghostrider", - "cardtitle_survivor", - "cardtitle_accidentprone", - "cardtitle_squawkbox", - "cardtitle_cr1zby", - "cardtitle_companioncrate", - "cardtitle_straightup", - "cardtitle_pushindaisy", - "cardtitle_voyeur", - "cardtitle_sprayandpray", - "cardtitle_jointops", - "cardtitle_avenger", - "cardtitle_sharepackage", - "cardtitle_blackout", - "cardtitle_jollygreen", - "cardtitle_spirit", - "cardtitle_grimreaper", - "cardtitle_cobracommander", - "cardtitle_spectre", - "cardtitle_rainoffire", - "cardtitle_chickmagnet", - "cardtitle_starfishprime", - "cardtitle_endofline", - "cardtitle_wopr", - "cardtitle_watchman", - "cardtitle_omnipotent", - "cardtitle_planewhisperer", - "cardtitle_rollingthunder", - "cardtitle_fullthrottle", - "cardtitle_airwolf", - "cardtitle_gambler", - "cardtitle_santaclaus", - "cardtitle_pineappleexpress", - "cardtitle_catchshrapnel", - "cardtitle_mastermind", - "cardtitle_jackinthebox", - "cardtitle_copperfield", - "cardtitle_takeastab", - "cardtitle_masterblaster", - "cardtitle_juggernaut", - "cardtitle_bullseye", - "cardtitle_stuckonyou", - "cardtitle_plasticman", - "cardtitle_c4andafter", - "cardtitle_silentknight", - "cardtitle_darkbringer", - "cardtitle_tacticaldeletion", - "cardtitle_itspersonal", - "cardtitle_fragout", - "cardtitle_cloakanddagger", - "cardtitle_mylilpwny", - "cardtitle_gettothechoppa", - "cardtitle_booyah", - "cardtitle_streaker", - "cardtitle_1bullet2kills", - "cardtitle_dictator", - "cardtitle_surgical", - "cardtitle_crackinskulls", - "cardtitle_popoff", - "cardtitle_boomheadshot", - "cardtitle_faceoff", - "cardtitle_headrush", - "cardtitle_mach5", - "cardtitle_notintheface", - "cardtitle_perfectionist", - "cardtitle_badaboom", - "cardtitle_genocidal", - "cardtitle_partinggift", - "cardtitle_ambush", - "cardtitle_pinpuller", - "cardtitle_boomboompow", - "cardtitle_anarchist", - "cardtitle_highlander", - "cardtitle_enemybenefits", - "cardtitle_nbk", - "cardtitle_allpro", - "cardtitle_hardtarget", - "cardtitle_dronekiller", - "cardtitle_truelies", - "cardtitle_transformer", - "cardtitle_angelofdeath", - "cardtitle_hidef", - "cardtitle_unbelievable", - "cardtitle_stickman", - "cardtitle_lastresort", - "cardtitle_philanthropist", - "cardtitle_absenteekiller", - "cardtitle_finishingtouch", - "cardtitle_og", - "cardtitle_technokiller", - "cardtitle_owned", - "cardtitle_tagyoureit", - "cardtitle_boilermaker", - "cardtitle_backstabber", - "cardtitle_stungun", - "cardtitle_heart", - "cardtitle_noobtuber", - "cardtitle_rival", - "cardtitle_omfg", - "cardtitle_thinkfast", - "cardtitle_concussive", - "cardtitle_lightsout", - "cardtitle_backfire", - "cardtitle_blindfire", - "cardtitle_duckhunter", - "cardtitle_omnicide", - "cardtitle_devastator", - "cardtitle_mvpassassin", - "cardtitle_timeismoney", - "cardtitle_imrich", - "cardtitle_moneyshot", - "cardtitle_makeitrain", - "cardtitle_clayback", - "cardtitle_robinhood", - "cardtitle_madman", - "cardtitle_idthief", - "cardtitle_newjack", - "cardtitle_bloodmoney", - "cardtitle_flatliner", - "cardtitle_evildead", - "cardtitle_quickdraw", - "cardtitle_hiredgun", - "cardtitle_mastatdon", - "cardtitle_howthe", - "cardtitle_dominofx", - "cardtitle_halfbaked", - "cardtitle_bam", - "cardtitle_invincible", - "cardtitle_livelong", - "cardtitle_claypigeon", - "cardtitle_reversaloffortune", - "cardtitle_iceman", - "cardtitle_enemyofthestate", - "cardtitle_friendswith", - "cardtitle_legend", - "cardtitle_wargasm", - "cardtitle_biggertheyare", - "cardtitle_harderthey", - "cardtitle_epic", - "cardtitle_denier", - "cardtitle_carpetbomber", - "cardtitle_bombsaway", - "cardtitle_bigbrother", - "cardtitle_uavrays", - "cardtitle_afterburner", - "cardtitle_topgun", - "cardtitle_gat", - "cardtitle_theripper", - "cardtitle_allyourbase", - "cardtitle_globalthermo", - "cardtitle_sbd", - "cardtitle_toxicavenger", - "cardtitle_infected", - "cardtitle_plague", - "cardtitle_klepto", - "cardtitle_behindenemy", - "cardtitle_6fears7", - "cardtitle_comfortablynumb", - "cardtitle_martyr", - "cardtitle_livingdead", - "cardtitle_sidekick", - "cardtitle_clickclickboom", - "cardtitle_hijacker", - "cardtitle_bountyhunter", - "cardtitle_no", - "cardtitle_sentrymaster", - "cardtitle_predatormaster", - "cardtitle_airstrikemaster", - "cardtitle_harriermaster", - "cardtitle_helimaster", - "cardtitle_pavelowmaster", - "cardtitle_stealthmaster", - "cardtitle_choppermaster", - "cardtitle_ac130master", - "cardtitle_blademaster", - "cardtitle_laststandmaster", - "cardtitle_silencermaster", - "cardtitle_flashmaster", - "cardtitle_stunmaster", - "cardtitle_sentryveteran", - "cardtitle_predatorveteran", - "cardtitle_airstrikeveteran", - "cardtitle_harrierveteran", - "cardtitle_heliveteran", - "cardtitle_pavelowveteran", - "cardtitle_stealthveteran", - "cardtitle_chopperveteran", - "cardtitle_ac130veteran", - "cardtitle_bladeveteran", - "cardtitle_laststandveteran", - "cardtitle_silencerveteran", - "cardtitle_flashveteran", - "cardtitle_stunveteran", - "cardtitle_headsup", - "cardtitle_predator", - "cardtitle_automator", - "cardtitle_shotover", - "cardtitle_stringfellow", - "cardtitle_doctor", - "cardtitle_coldsteel", - "cardtitle_inciser", - "cardtitle_phoenixrising", - "cardtitle_suppressor", - "cardtitle_shockandawe", - "cardtitle_flasher", - "cardtitle_handsfree", - "cardtitle_clusterbomb", - "cardtitle_rejected", - "cardtitle_skycaptain", - "cardtitle_cobrakai", - "cardtitle_godhand", - "cardtitle_unseen", - "cardtitle_at4_marksman", - "cardtitle_javelin_marksman", - "cardtitle_m79_marksman", - "cardtitle_rpg_marksman", - "cardtitle_stinger_marksman", - "cardtitle_at4_expert", - "cardtitle_javelin_expert", - "cardtitle_m79_expert", - "cardtitle_rpg_expert", - "cardtitle_stinger_expert", - "cardtitle_at4_veteran", - "cardtitle_javelin_veteran", - "cardtitle_m79_veteran", - "cardtitle_rpg_veteran", - "cardtitle_stinger_veteran", - "cardtitle_at4_master", - "cardtitle_javelin_master", - "cardtitle_m79_master", - "cardtitle_rpg_master", - "cardtitle_stinger_master", - "cardtitle_ssdd", - "cardtitle_prestige1", - "cardtitle_prestige2", - "cardtitle_prestige3", - "cardtitle_prestige4", - "cardtitle_prestige5", - "cardtitle_prestige6", - "cardtitle_prestige7", - "cardtitle_prestige8", - "cardtitle_prestige9", - "cardtitle_prestige10", - "cardtitle_20", - "cardtitle_30", - "cardtitle_40", - "cardtitle_50", - "cardtitle_60", - "cardtitle_70", - "cardtitle_20a", - "cardtitle_30a", - "cardtitle_40a", - "cardtitle_50a", - "cardtitle_60a", - "cardtitle_70a", - "cardtitle_grassyknoll", - "cardtitle_ghilliemist", - "cardtitle_rezero", - "cardtitle_blunttrauma", - "cardtitle_smashhit", - "cardtitle_backsmasher", - "cardtitle_protectserve", - "cardtitle_bulletproof", - "cardtitle_unbreakable", - "cardtitle_evilchicken", - "cardtitle_nolaststand" - }; - - enum(8) ENUM_10 - { - "cardnameplate_default", - "cardnameplate_test" - }; - - enum ENUM_11 - { - "none", - "neutral", - "allies", - "axis" - }; - - enum(16) ENUM_12 - { - "dm", - "tdm", - "dsd", - "sab", - "dom", - "koth", - "oneflag", - "arena", - "ctf" - }; - - struct root - { - int awards[ENUM_7]; - int bests[ENUM_7]; - int experience; - int restXPGoal; - int prestige; - int level; - int score; - int kills; - int killStreak; - int deaths; - int deathStreak; - int assists; - int headshots; - int teamkills; - int suicides; - int timePlayedAllies; - int timePlayedOpfor; - int timePlayedOther; - int timePlayedTotal; - int kdRatio; - int wins; - int losses; - int ties; - int winStreak; - int currentWinStreak; - int winLossRatio; - int hits; - int misses; - int totalShots; - int accuracy; - int money; - int timeSinceLastLoot; - int lastPlayedTime; - STRUCT_4 round; - bool weaponNew[ENUM_1]; - bool camoNew[ENUM_1][ENUM_4]; - bool attachmentNew[ENUM_1][ENUM_2]; - bool perkNew[ENUM_5]; - bool featureNew[ENUM_0]; - bool challengeTierNew[100]; - bool killstreakNew[ENUM_6]; - STRUCT_2 customClasses[15]; - byte challengeState[ENUM_3]; - int challengeProgress[ENUM_3]; - ENUM_8 cardIcon; - ENUM_9 cardTitle; - ENUM_10 cardNameplate; - ENUM_6 killstreaks[3]; - short skills[ENUM_12]; - bool iconNew[ENUM_8]; - bool titleNew[ENUM_9]; - bool iconUnlocked[ENUM_8]; - bool titleUnlocked[ENUM_9]; - bool killstreakUnlocked[ENUM_6]; - }; - - struct STRUCT_1 - { - ENUM_1 weapon; - ENUM_2 attachment[2]; - ENUM_4 camo; - pad(4); - }; - - struct STRUCT_2 - { - bool inUse; - STRUCT_1 weaponSetups[2]; - ENUM_5 perks[5]; - ENUM_1 specialGrenade; - string(21) name; - ENUM_5 _deathstreak; - pad(4); - }; - - struct STRUCT_3 - { - ENUM_7 award; - int value; - }; - - struct STRUCT_4 - { - int kills; - int killStreak; - int deaths; - int score; - int timePlayed; - bool win; - bool loss; - ENUM_11 scoreboardType; - int totalXp; - int scoreXp; - int challengeXp; - int matchXp; - int miscXp; - byte awardCount; - STRUCT_3 awards[5]; - pad(54); - }; -} - - // ==================== // Version 155 // Calculated checksum did not match checksum in file @@ -9389,7 +1821,7 @@ version 155 bool featureNew[ENUM_0]; bool challengeTierNew[100]; bool killstreakNew[ENUM_6]; - STRUCT_2 customClasses[15]; + STRUCT_2 customClasses[10]; byte challengeState[ENUM_3]; int challengeProgress[ENUM_3]; ENUM_8 cardIcon; diff --git a/shader_bin/ps_grain_overlay.hlsl.cso b/shader_bin/ps_grain_overlay.hlsl.cso new file mode 100644 index 0000000000000000000000000000000000000000..24701438bb1c9830c6ba9e60008d469689a79cb0 GIT binary patch literal 208 zcmX9&K?;IU5PkX!BmyrGG|O5kxN2AGR)`F0Ct^l|@;~1W&=EX>hw~i$=GzR9_ulYk z7zks&hLBuO@dm(+0iHQb*24jvnL>t`t&1bGtxC31XQj%^PPMhh0&9-j{+H^Ds0fiY zm6pAHzG-*aQyQiB1Ld#sQEN(Mry5=*Yyo!#d;ov2ddb>>m^EJ;;Q3=bzYy?zVn2M0um&;$V!5UlxQsnItp_GA7Oi6%jaNu zYYPfycQo(4`Pm&3@4x*uv*p9|9Qc$YEmjDe2=k$k$&-%8EER)oFK-4)|0!V$@+()C`6$=mDp~({7y`)wklUQ?J&$6c00SDd>(h Z!`JZaqhw~i$=GzR9_ulYk z7zks&hLBuO@dm(+0iHQb*24jvnL>t`t&1bGtxC31XQj%^PPMhh0&9-j{+H^Ds0fiY zm6pAHzG-*aQyQiB1Ld#sQEN(Mry5=*Yyo!#d;ov2ddb>>m^EJ;;Q3=bzYy?zVn2A-)Y3+cv_{fm9URhGhk!p2SNjwG zhf9Xc{e;GIUqk7Gn|sc=C-1&@AJjab=f|kGse<5t|8Q|Icj)AK^79t>XmJ^?NO+d?T}muk^UC(&)KM`v32 z{jLFj)&0e>BcK!u-T)$_z&5d2VE!YXbj73b!lP14u8tBt2eFOw#Kvy2&gpSzDUeam z3T|p{EV-q*x#Vk_D{{_?Bi)Q_V)o%)iu=r>GJcYsqQ=+w*jm;y*0aer&%${NX3Qie Xay}C(W#5Q6VZT`R=UqjM^BnjGirr!k literal 0 HcmV?d00001 diff --git a/shader_bin/vs_splatter_alt.hlsl.cso b/shader_bin/vs_splatter_alt.hlsl.cso new file mode 100644 index 0000000000000000000000000000000000000000..3ae5889d12c8ea052d68c0bc89144f718046380b GIT binary patch literal 356 zcmX|6Jxc>Y6r9`LfU&vCPH;hs*acEq`H_?cG>TXVAzV&eiLPu8W0{|DKjHfPsVnk3 za?aZvS$I1$Z|CuLpm)u#Imht%_U;rw#sYf@K{OKBH$tDKScdmKQO?ST#r(zPtB2q} z^Q>_Gdps+G`@?3Vq3Jao-=E**bTI8>?6TmO{=Klh$)z0)Mz2@)>0>s}gB|*>AGaXE zBhWEOD`0)yjz>7#e_;)zrSM}Kl9qSKRm*7>Pc0tlC(x0LpPt%C45aj2lm<7I!AaF+ mYKEL literal 0 HcmV?d00001 diff --git a/shader_bin/vs_trivial_vertcol_simple.hlsl.cso b/shader_bin/vs_trivial_vertcol_simple.hlsl.cso new file mode 100644 index 0000000000000000000000000000000000000000..fb94395b4056aa6484f3bc947ce8dac167caa9f0 GIT binary patch literal 448 zcmYk2yH3L}7=@27fxr?8i4BPi48VlciHS?IR^m1=AXQZxL{PvejoNPH5%LJx`%)SD z91X{=6%pyrf4<}MTehLL-L|{L@a69Q1i&u~^dy^Q2*fM4gk?R={~Npga+ai{anyT@ zEL}bn<};m^nfV?~$|74~y= 0) && 0) && (getplayerdata("customClasses", 1, "inUse") == 0)); + visible when(getplayerdata("prestige") >= 0 && 0 && getplayerdata("customClasses", 1, "inUse") == 0); textscale 0.55 background "specialty_new" } @@ -321,37 +339,37 @@ setItemColor self backcolor 0 0 0 1; setLocalVarBool ui_popupAButton 1; setLocalVarInt classIndex 1; - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null; } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { @@ -372,7 +390,7 @@ rect 64 44 40 20 1 1 style 3 decoration - visible when(((getplayerdata("prestige") >= 0) && 1) && (getplayerdata("customClasses", 1, "inUse") == 0)); + visible when(getplayerdata("prestige") >= 0 && 1 && getplayerdata("customClasses", 1, "inUse") == 0); textscale 0.55 background "specialty_new" } @@ -399,37 +417,37 @@ setItemColor self backcolor 0 0 0 1; setLocalVarBool ui_popupAButton 1; setLocalVarInt classIndex 2; - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null; } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { @@ -450,7 +468,7 @@ rect 64 64 40 20 1 1 style 3 decoration - visible when(((getplayerdata("prestige") >= 0) && 1) && (getplayerdata("customClasses", 1, "inUse") == 0)); + visible when(getplayerdata("prestige") >= 0 && 1 && getplayerdata("customClasses", 1, "inUse") == 0); textscale 0.55 background "specialty_new" } @@ -477,37 +495,37 @@ setItemColor self backcolor 0 0 0 1; setLocalVarBool ui_popupAButton 1; setLocalVarInt classIndex 3; - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null; } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { @@ -528,7 +546,7 @@ rect 64 84 40 20 1 1 style 3 decoration - visible when(((getplayerdata("prestige") >= 0) && 1) && (getplayerdata("customClasses", 1, "inUse") == 0)); + visible when(getplayerdata("prestige") >= 0 && 1 && getplayerdata("customClasses", 1, "inUse") == 0); textscale 0.55 background "specialty_new" } @@ -555,37 +573,37 @@ setItemColor self backcolor 0 0 0 1; setLocalVarBool ui_popupAButton 1; setLocalVarInt classIndex 4; - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null; } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { @@ -606,7 +624,7 @@ rect 64 104 40 20 1 1 style 3 decoration - visible when(((getplayerdata("prestige") >= 0) && 1) && (getplayerdata("customClasses", 1, "inUse") == 0)); + visible when(getplayerdata("prestige") >= 0 && 1 && getplayerdata("customClasses", 1, "inUse") == 0); textscale 0.55 background "specialty_new" } @@ -633,37 +651,37 @@ setItemColor self backcolor 0 0 0 1; setLocalVarBool ui_popupAButton 1; setLocalVarInt classIndex 5; - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null; } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { @@ -684,7 +702,7 @@ rect 64 124 40 20 1 1 style 3 decoration - visible when(((getplayerdata("prestige") >= 1) && 1) && (getplayerdata("customClasses", 1, "inUse") == 0)); + visible when(getplayerdata("prestige") >= 1 && 1 && getplayerdata("customClasses", 1, "inUse") == 0); textscale 0.55 background "specialty_new" } @@ -711,37 +729,37 @@ setItemColor self backcolor 0 0 0 1; setLocalVarBool ui_popupAButton 1; setLocalVarInt classIndex 6; - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null; } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { @@ -762,7 +780,7 @@ rect 64 144 40 20 1 1 style 3 decoration - visible when(((getplayerdata("prestige") >= 3) && 1) && (getplayerdata("customClasses", 1, "inUse") == 0)); + visible when(getplayerdata("prestige") >= 3 && 1 && getplayerdata("customClasses", 1, "inUse") == 0); textscale 0.55 background "specialty_new" } @@ -789,37 +807,37 @@ setItemColor self backcolor 0 0 0 1; setLocalVarBool ui_popupAButton 1; setLocalVarInt classIndex 7; - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null; } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { @@ -840,7 +858,7 @@ rect 64 164 40 20 1 1 style 3 decoration - visible when(((getplayerdata("prestige") >= 5) && 1) && (getplayerdata("customClasses", 1, "inUse") == 0)); + visible when(getplayerdata("prestige") >= 5 && 1 && getplayerdata("customClasses", 1, "inUse") == 0); textscale 0.55 background "specialty_new" } @@ -867,37 +885,37 @@ setItemColor self backcolor 0 0 0 1; setLocalVarBool ui_popupAButton 1; setLocalVarInt classIndex 8; - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null; } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { @@ -918,7 +936,7 @@ rect 64 184 40 20 1 1 style 3 decoration - visible when(((getplayerdata("prestige") >= 7) && 1) && (getplayerdata("customClasses", 1, "inUse") == 0)); + visible when(getplayerdata("prestige") >= 7 && 1 && getplayerdata("customClasses", 1, "inUse") == 0); textscale 0.55 background "specialty_new" } @@ -945,37 +963,37 @@ setItemColor self backcolor 0 0 0 1; setLocalVarBool ui_popupAButton 1; setLocalVarInt classIndex 9; - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null; } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { @@ -996,7 +1014,7 @@ rect 64 204 40 20 1 1 style 3 decoration - visible when(((getplayerdata("prestige") >= 9) && 1) && (getplayerdata("customClasses", 1, "inUse") == 0)); + visible when(getplayerdata("prestige") >= 9 && 1 && getplayerdata("customClasses", 1, "inUse") == 0); textscale 0.55 background "specialty_new" } @@ -1023,37 +1041,37 @@ setItemColor self backcolor 0 0 0 1; setLocalVarBool ui_popupAButton 1; setLocalVarInt classIndex 10; - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null; } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { @@ -1074,7 +1092,7 @@ rect 64 224 40 20 1 1 style 3 decoration - visible when(((getplayerdata("prestige") >= 10) && 1) && (getplayerdata("customClasses", 1, "inUse") == 0)); + visible when(getplayerdata("prestige") >= 10 && 1 && getplayerdata("customClasses", 1, "inUse") == 0); textscale 0.55 background "specialty_new" } @@ -1101,37 +1119,37 @@ setItemColor self backcolor 0 0 0 1; setLocalVarBool ui_popupAButton 1; setLocalVarInt classIndex 11; - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null; } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { @@ -1152,7 +1170,7 @@ rect 64 244 40 20 1 1 style 3 decoration - visible when(((getplayerdata("prestige") >= 10) && 1) && (getplayerdata("customClasses", 1, "inUse") == 0)); + visible when(getplayerdata("prestige") >= 10 && 1 && getplayerdata("customClasses", 1, "inUse") == 0); textscale 0.55 background "specialty_new" } @@ -1179,37 +1197,37 @@ setItemColor self backcolor 0 0 0 1; setLocalVarBool ui_popupAButton 1; setLocalVarInt classIndex 12; - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null; } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { @@ -1230,7 +1248,7 @@ rect 64 264 40 20 1 1 style 3 decoration - visible when(((getplayerdata("prestige") >= 10) && 1) && (getplayerdata("customClasses", 1, "inUse") == 0)); + visible when(getplayerdata("prestige") >= 10 && 1 && getplayerdata("customClasses", 1, "inUse") == 0); textscale 0.55 background "specialty_new" } @@ -1257,37 +1275,37 @@ setItemColor self backcolor 0 0 0 1; setLocalVarBool ui_popupAButton 1; setLocalVarInt classIndex 13; - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null; } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { @@ -1308,7 +1326,7 @@ rect 64 284 40 20 1 1 style 3 decoration - visible when(((getplayerdata("prestige") >= 10) && 1) && (getplayerdata("customClasses", 1, "inUse") == 0)); + visible when(getplayerdata("prestige") >= 10 && 1 && getplayerdata("customClasses", 1, "inUse") == 0); textscale 0.55 background "specialty_new" } @@ -1335,37 +1353,37 @@ setItemColor self backcolor 0 0 0 1; setLocalVarBool ui_popupAButton 1; setLocalVarInt classIndex 14; - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null; } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { @@ -1386,7 +1404,7 @@ rect 64 304 40 20 1 1 style 3 decoration - visible when(((getplayerdata("prestige") >= 10) && 1) && (getplayerdata("customClasses", 1, "inUse") == 0)); + visible when(getplayerdata("prestige") >= 10 && 1 && getplayerdata("customClasses", 1, "inUse") == 0); textscale 0.55 background "specialty_new" } diff --git a/ui_mp/changelog.menu b/ui_mp/changelog.menu index b67039b..e630b68 100644 --- a/ui_mp/changelog.menu +++ b/ui_mp/changelog.menu @@ -28,7 +28,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -41,7 +41,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -52,7 +52,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -94,6 +94,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0.3 0.3 0.3 0.5 background "white" exp rect x 0 - (640 / 2); @@ -103,6 +104,7 @@ rect 0 0 640 400 2 1 style 1 visible 1 + textscale 0.55 backcolor 0 0 0 0.375 background "white" exp rect x 0 - (640 / 2); diff --git a/ui_mp/connect.menu b/ui_mp/connect.menu index ed0ca59..f1f73e7 100644 --- a/ui_mp/connect.menu +++ b/ui_mp/connect.menu @@ -77,7 +77,7 @@ { rect 0 56 0 26 3 1 decoration - visible when((connectioninfo() != "") && (((sin(milliseconds() * 0.005) + 1) * 0.5) <= 0.25)); + visible when(connectioninfo() != "" && ((sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.25)); textalign 4 textalignx -6 textscale 0.275 @@ -89,7 +89,7 @@ { rect 0 56 0 26 3 1 decoration - visible when((connectioninfo() != "") && ((((sin(milliseconds() * 0.005) + 1) * 0.5) > 0.25) && (((sin(milliseconds() * 0.005) + 1) * 0.5) <= 0.5))); + visible when(connectioninfo() != "" && ((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.25 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.5)); textalign 4 textalignx -6 textscale 0.275 @@ -101,7 +101,7 @@ { rect 0 56 0 26 3 1 decoration - visible when((connectioninfo() != "") && ((((sin(milliseconds() * 0.005) + 1) * 0.5) > 0.5) && (((sin(milliseconds() * 0.005) + 1) * 0.5) <= 0.75))); + visible when(connectioninfo() != "" && ((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.5 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.75)); textalign 4 textalignx -6 textscale 0.275 @@ -113,7 +113,7 @@ { rect 0 56 0 26 3 1 decoration - visible when((connectioninfo() != "") && (((sin(milliseconds() * 0.005) + 1) * 0.5) > 0.75)); + visible when(connectioninfo() != "" && ((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.75)); textalign 4 textalignx -6 textscale 0.275 @@ -138,7 +138,7 @@ rect -252 -60 504 3 2 3 style 1 decoration - visible when(!dvarbool(wideScreen)); + visible when(!dvarbool(widescreen)); textscale 0.55 backcolor 1 1 1 0.2 } @@ -148,7 +148,7 @@ rect -252 -60 504 3 2 3 style 6 decoration - visible when(!dvarbool(wideScreen)); + visible when(!dvarbool(widescreen)); textscale 0.55 forecolor 1 1 1 0.5 background "white" @@ -158,19 +158,20 @@ rect 20 -60 410 2 1 3 decoration autowrapped - visible when(!dvarbool(wideScreen)); + visible when(!dvarbool(widescreen)); textalign 4 textaligny 4 textscale 0.275 textstyle 3 textfont 9 + dvar "didyouknow" } itemDef { text "@MENU_INTEL" rect -20 -60 0 2 1 3 decoration - visible when(!dvarbool(wideScreen)); + visible when(!dvarbool(widescreen)); textalign 4 textalignx 40 textaligny -26 @@ -183,7 +184,7 @@ rect -320 -60 640 3 2 3 style 1 decoration - visible when(dvarbool(wideScreen)); + visible when(dvarbool(widescreen)); textscale 0.55 backcolor 1 1 1 0.2 } @@ -193,7 +194,7 @@ rect -320 -60 640 3 2 3 style 6 decoration - visible when(dvarbool(wideScreen)); + visible when(dvarbool(widescreen)); textscale 0.55 forecolor 1 1 1 0.5 background "white" @@ -203,20 +204,21 @@ rect -36 -56 484 2 1 3 decoration autowrapped - visible when(dvarbool(wideScreen)); + visible when(dvarbool(widescreen)); textalign 4 textalignx 80 textaligny 4 textscale 0.275 textstyle 3 textfont 9 + dvar "didyouknow" } itemDef { text "@MENU_INTEL" rect -36 -60 0 2 1 3 decoration - visible when(dvarbool(wideScreen)); + visible when(dvarbool(widescreen)); textalign 4 textalignx 80 textaligny -26 diff --git a/ui_mp/controls_multi.menu b/ui_mp/controls_multi.menu index 2fc35f3..a8b90b2 100644 --- a/ui_mp/controls_multi.menu +++ b/ui_mp/controls_multi.menu @@ -25,12 +25,12 @@ close pc_options_multi; close pc_options_video; close pc_options_voice; - setLocalVarBool ui_hideBack 1; + setLocalVarBool ui_hideBack (1); setLocalVarBool ui_hint_display 0; } onClose { - setLocalVarBool ui_hideBack 0; + setLocalVarBool ui_hideBack (0); open pc_options_controls; } onESC @@ -52,7 +52,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -61,7 +61,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -74,7 +74,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -85,7 +85,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { diff --git a/ui_mp/createfavorite_popmenu.menu b/ui_mp/createfavorite_popmenu.menu index cd31c6f..7cc7575 100644 --- a/ui_mp/createfavorite_popmenu.menu +++ b/ui_mp/createfavorite_popmenu.menu @@ -11,12 +11,12 @@ legacySplitScreenScale onOpen { - setLocalVarInt ui_centerPopup 1; + setLocalVarInt ui_centerPopup (1); setfocus passwordEntry; } onClose { - setLocalVarInt ui_centerPopup 0; + setLocalVarInt ui_centerPopup (0); } onESC { @@ -61,7 +61,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -72,7 +72,7 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -82,7 +82,7 @@ visible 1 textscale 0.55 background "mockup_popup_bg_stencilfill" - exp rect h 56 + (3 * 20); + exp rect h (56 + 3 * 20); } itemDef { @@ -93,7 +93,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -104,7 +104,7 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -115,14 +115,14 @@ textscale 0.55 forecolor 1 1 1 0 background "small_box_lightfx" - exp rect h 56 + (3 * 20); + exp rect h (56 + 3 * 20); } itemDef { rect -64 -64 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tl" @@ -132,7 +132,7 @@ rect 0 -64 300 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_t" @@ -142,7 +142,7 @@ rect 300 -64 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tr" @@ -152,55 +152,55 @@ rect 300 0 64 0 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_r" - exp rect h 56 + (3 * 20); + exp rect h (56 + 3 * 20); } itemDef { rect 300 0 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_br" - exp rect y (32 - 0) + (24 + (3 * 20)); + exp rect y (32 - 0) + ((24 + 3 * 20)); } itemDef { rect 0 0 300 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_b" - exp rect y (32 - 0) + (24 + (3 * 20)); + exp rect y (32 - 0) + ((24 + 3 * 20)); } itemDef { rect -64 0 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_bl" - exp rect y (32 - 0) + (24 + (3 * 20)); + exp rect y (32 - 0) + ((24 + 3 * 20)); } itemDef { rect -64 0 64 0 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_l" - exp rect h 56 + (3 * 20); + exp rect h (56 + 3 * 20); } itemDef { @@ -245,7 +245,7 @@ rect 6 76 292 20 2 2 style 1 type 1 - visible 1 + visible when(1); textalign 6 textalignx -24 textscale 0.375 @@ -260,12 +260,12 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; + setLocalVarBool ui_popupAButton (1); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); } action { @@ -282,7 +282,7 @@ rect 6 96 292 20 2 2 style 1 type 1 - visible 1 + visible when(1); textalign 6 textalignx -24 textscale 0.375 @@ -297,12 +297,12 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; + setLocalVarBool ui_popupAButton (1); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); } action { diff --git a/ui_mp/createserver.menu b/ui_mp/createserver.menu index eba36cb..82e16a5 100644 --- a/ui_mp/createserver.menu +++ b/ui_mp/createserver.menu @@ -23,7 +23,7 @@ onESC { exec xstopparty; - if ((inprivateparty() && (!privatepartyhost())) && privatepartyhostinlobby()) + if (inprivateparty() && !privatepartyhost() && privatepartyhostinlobby()) { exec xstopprivateparty; exec xstartprivateparty; @@ -51,7 +51,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -60,7 +60,7 @@ rect -107 0 854 480 0 0 style 3 decoration - visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "animbg_blur_front" } @@ -73,7 +73,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -84,7 +84,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -147,6 +147,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 0 0 0 0.2 } itemDef @@ -186,6 +187,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 1 1 1 0.1 } itemDef @@ -334,9 +336,9 @@ setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarString ui_info_name ""; + setLocalVarString ui_info_name ; setLocalVarString ui_info_desc "@NULL_EMPTY"; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -384,9 +386,9 @@ setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarString ui_info_name ""; + setLocalVarString ui_info_name ; setLocalVarString ui_info_desc "@NULL_EMPTY"; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -424,9 +426,9 @@ setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarString ui_info_name ""; + setLocalVarString ui_info_name ; setLocalVarString ui_info_desc "@NULL_EMPTY"; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -464,9 +466,9 @@ setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarString ui_info_name ""; + setLocalVarString ui_info_name ; setLocalVarString ui_info_desc "@NULL_EMPTY"; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -492,7 +494,7 @@ rect -64 108 336 20 1 1 style 1 type 1 - visible when((dvarstring(ui_gametype) != "arena") && (dvarstring(ui_gametype) != "oneflag")); + visible when(dvarstring(ui_gametype) != "arena" && dvarstring(ui_gametype) != "oneflag"); textalign 6 textalignx -60 textscale 0.375 @@ -504,9 +506,9 @@ setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarString ui_info_name ""; + setLocalVarString ui_info_name ; setLocalVarString ui_info_desc "@NULL_EMPTY"; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -579,7 +581,7 @@ rect -64 108 336 20 1 1 style 1 type 1 - visible when((dvarstring(ui_gametype) == "arena") || (dvarstring(ui_gametype) == "oneflag")); + visible when(dvarstring(ui_gametype) == "arena" || dvarstring(ui_gametype) == "oneflag"); textalign 6 textalignx -60 textscale 0.375 @@ -634,9 +636,9 @@ setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarString ui_info_name ""; + setLocalVarString ui_info_name ; setLocalVarString ui_info_desc "@NULL_EMPTY"; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -684,9 +686,9 @@ setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarString ui_info_name ""; + setLocalVarString ui_info_name ; setLocalVarString ui_info_desc "@NULL_EMPTY"; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -718,7 +720,7 @@ textfont 3 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" - exp text (locstring("@NETWORK_YOURNATTYPE") + " ") + getlocalizednattype(); + exp text locstring("@NETWORK_YOURNATTYPE") + " " + getlocalizednattype(); } itemDef { @@ -734,7 +736,7 @@ textfont 3 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" - exp text (locstring("@NETWORK_YOURNATTYPE") + " ^1") + getlocalizednattype(); + exp text locstring("@NETWORK_YOURNATTYPE") + " ^1" + getlocalizednattype(); } itemDef { diff --git a/ui_mp/dpad_hd.menu b/ui_mp/dpad_hd.menu index ff0c64c..0b4c2ed 100644 --- a/ui_mp/dpad_hd.menu +++ b/ui_mp/dpad_hd.menu @@ -3,12 +3,12 @@ { name "dpad_hd" rect 0 -16 640 480 4 4 - visible when((((((((!ui_active()) && (!dvarbool(g_hardcore))) && (!flashbanged())) && (!(((((((weaponname() == "killstreak_ac130_mp") || (weaponname() == "killstreak_helicopter_minigun_mp")) || (weaponname() == "killstreak_predator_missile_mp")) || (((weaponname() == "ac130_105mm_mp") || (weaponname() == "ac130_40mm_mp")) || (weaponname() == "ac130_25mm_mp"))) || adsjavelin()) || (weaponname() == "heli_remote_mp")) || missilecam()))) && (!isempjammed())) && (!dvarint(scr_gameended))) && (!selecting_location())) && (!spectatingfree())); + visible when(((!(ui_active())) && (!(dvarbool(g_hardcore))) && (!(flashbanged())) && (!((weaponname() == "killstreak_ac130_mp") || (weaponname() == "killstreak_helicopter_minigun_mp") || (weaponname() == "killstreak_predator_missile_mp") || ((weaponname() == "ac130_105mm_mp") || (weaponname() == "ac130_40mm_mp") || (weaponname() == "ac130_25mm_mp")) || (adsjavelin()) || (weaponname() == "heli_remote_mp") || missilecam())) && (!isempjammed()) && (!(dvarint(scr_gameended)))) && !(selecting_location()) && (!(spectatingfree()))); itemDef { rect -81 -39 32 32 10 10 type 8 - visible when((!dvarbool(gpad_enabled)) || (!dvarint(gpad_in_use))); + visible when(!dvarbool(gpad_enabled) || !dvarint(gpad_in_use)); ownerdraw 171 textalign 2 textalignx -21 @@ -21,7 +21,7 @@ { rect -81 -39 32 32 10 10 decoration - visible when(((!dvarbool(gpad_enabled)) || (!dvarint(gpad_in_use))) && actionslotusable(1)); + visible when((!dvarbool(gpad_enabled) || !dvarint(gpad_in_use)) && actionslotusable(1)); textalign 1 textaligny 35 textscale 0.25 @@ -34,7 +34,7 @@ { rect -61 -29 32 32 10 10 type 8 - visible when((!dvarbool(gpad_enabled)) || (!dvarint(gpad_in_use))); + visible when(!dvarbool(gpad_enabled) || !dvarint(gpad_in_use)); ownerdraw 173 textalign 2 textalignx -21 @@ -47,7 +47,7 @@ { rect -61 -29 32 32 10 10 decoration - visible when(((!dvarbool(gpad_enabled)) || (!dvarint(gpad_in_use))) && actionslotusable(3)); + visible when((!dvarbool(gpad_enabled) || !dvarint(gpad_in_use)) && actionslotusable(3)); textalign 1 textaligny 35 textscale 0.25 @@ -60,7 +60,7 @@ { rect -61 -61 32 32 10 10 type 8 - visible when((!dvarbool(gpad_enabled)) || (!dvarint(gpad_in_use))); + visible when(!dvarbool(gpad_enabled) || !dvarint(gpad_in_use)); ownerdraw 174 textalignx -40 textaligny -5 @@ -72,7 +72,7 @@ { rect -61 -61 32 32 10 10 decoration - visible when(((!dvarbool(gpad_enabled)) || (!dvarint(gpad_in_use))) && actionslotusable(4)); + visible when((!dvarbool(gpad_enabled) || !dvarint(gpad_in_use)) && actionslotusable(4)); textalign 1 textaligny 35 textscale 0.25 @@ -86,7 +86,7 @@ rect -68.6667 -42.3333 42.6667 42.6667 10 10 style 3 decoration - visible when((dvarbool(gpad_enabled) && dvarint(gpad_in_use)) && (!dvarbool(gpad_style))); + visible when(dvarbool(gpad_enabled) && dvarint(gpad_in_use) && !dvarbool(gpad_style)); textscale 0.55 forecolor 1 1 1 0.65 background "hud_dpad_xbox360" @@ -96,10 +96,9 @@ rect -68.6667 -42.3333 42.6667 42.6667 10 10 style 3 decoration - visible when((dvarbool(gpad_enabled) && dvarint(gpad_in_use)) && dvarbool(gpad_style)); + visible when(dvarbool(gpad_enabled) && dvarint(gpad_in_use) && dvarbool(gpad_style)); textscale 0.55 forecolor 1 1 1 0.65 - background "hud_dpad_ps3" } itemDef { diff --git a/ui_mp/filter_popmenu.menu b/ui_mp/filter_popmenu.menu index 3c925a1..9964283 100644 --- a/ui_mp/filter_popmenu.menu +++ b/ui_mp/filter_popmenu.menu @@ -11,11 +11,11 @@ legacySplitScreenScale onOpen { - setLocalVarInt ui_centerPopup 1; + setLocalVarInt ui_centerPopup (1); } onClose { - setLocalVarInt ui_centerPopup 0; + setLocalVarInt ui_centerPopup (0); } onESC { @@ -60,7 +60,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -71,7 +71,7 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -81,7 +81,7 @@ visible 1 textscale 0.55 background "mockup_popup_bg_stencilfill" - exp rect h 190 + (3 * 20); + exp rect h (190 + 3 * 20); } itemDef { @@ -92,7 +92,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -103,7 +103,7 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -114,14 +114,14 @@ textscale 0.55 forecolor 1 1 1 0 background "small_box_lightfx" - exp rect h 24 + (3 * 20); + exp rect h (24 + 3 * 20); } itemDef { rect -64 -64 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tl" @@ -131,7 +131,7 @@ rect 0 -64 236 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_t" @@ -141,7 +141,7 @@ rect 236 -64 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tr" @@ -151,55 +151,55 @@ rect 236 0 64 0 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_r" - exp rect h 25 + (3 * 75); + exp rect h (25 + 3 * 75); } itemDef { rect 236 0 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_br" - exp rect y (166 - 0) + (24 + (3 * 20)); + exp rect y (166 - 0) + ((24 + 3 * 20)); } itemDef { rect 0 0 236 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_b" - exp rect y (166 - 0) + (24 + (3 * 20)); + exp rect y (166 - 0) + ((24 + 3 * 20)); } itemDef { rect -64 0 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_bl" - exp rect y (166 - 0) + (24 + (3 * 20)); + exp rect y (166 - 0) + ((24 + 3 * 20)); } itemDef { rect -64 0 64 0 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_l" - exp rect h 25 + (3 * 75); + exp rect h (25 + 3 * 75); } itemDef { @@ -471,7 +471,7 @@ rect 0 210 234 20 2 2 style 1 type 1 - visible 1 + visible when(1); textalign 6 textalignx -24 textscale 0.375 @@ -486,12 +486,12 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; + setLocalVarBool ui_popupAButton (1); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); } action { @@ -508,7 +508,7 @@ rect 0 230 234 20 2 2 style 1 type 1 - visible 1 + visible when(1); textalign 6 textalignx -24 textscale 0.375 @@ -523,12 +523,12 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; + setLocalVarBool ui_popupAButton (1); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); } action { diff --git a/ui_mp/hostchangewarning.menu b/ui_mp/hostchangewarning.menu index 05351a2..326fa11 100644 --- a/ui_mp/hostchangewarning.menu +++ b/ui_mp/hostchangewarning.menu @@ -5,6 +5,7 @@ rect -150 -84 300 84 2 2 style 1 backcolor 1 1 1 1 + forecolor 0 0 0 0 focuscolor 1 1 1 1 background "white" popup @@ -57,7 +58,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -67,7 +68,7 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -76,7 +77,7 @@ decoration textscale 0.55 background "mockup_popup_bg_stencilfill" - exp rect h 24 + (3 * 20); + exp rect h 24 + 3 * 20; } itemDef { @@ -86,7 +87,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -96,7 +97,7 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -106,14 +107,14 @@ textscale 0.55 forecolor 1 1 1 0 background "small_box_lightfx" - exp rect h 24 + (3 * 20); + exp rect h 24 + 3 * 20; } itemDef { rect -214 -148 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tl" @@ -123,7 +124,7 @@ rect -150 -148 300 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_t" @@ -133,7 +134,7 @@ rect 150 -148 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tr" @@ -143,55 +144,55 @@ rect 150 -84 64 0 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_r" - exp rect h 24 + (3 * 20); + exp rect h 24 + 3 * 20; } itemDef { rect 150 -84 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_br" - exp rect y (0 - 0) + (24 + (3 * 20)); + exp rect y (0 - 0) + ((24 + 3 * 20)); } itemDef { rect -150 -84 300 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_b" - exp rect y (0 - 0) + (24 + (3 * 20)); + exp rect y (0 - 0) + ((24 + 3 * 20)); } itemDef { rect -214 -84 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_bl" - exp rect y (0 - 0) + (24 + (3 * 20)); + exp rect y (0 - 0) + ((24 + 3 * 20)); } itemDef { rect -214 -84 64 0 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_l" - exp rect h 24 + (3 * 20); + exp rect h 24 + 3 * 20; } itemDef { diff --git a/ui_mp/hud_fullscreen.menu b/ui_mp/hud_fullscreen.menu index 152e415..e01a2a1 100644 --- a/ui_mp/hud_fullscreen.menu +++ b/ui_mp/hud_fullscreen.menu @@ -8,7 +8,7 @@ { rect 0 0 640 480 4 4 type 8 - visible when(((!(weaponname() == "heli_remote_mp")) && (!(((weaponname() == "ac130_105mm_mp") || (weaponname() == "ac130_40mm_mp")) || (weaponname() == "ac130_25mm_mp")))) && ((!(spectatingclient() && dvarbool(cg_thirdPersonSpectator))) || inkillcam())); + visible when(!(weaponname() == "heli_remote_mp") && !((weaponname() == "ac130_105mm_mp") || (weaponname() == "ac130_40mm_mp") || (weaponname() == "ac130_25mm_mp")) && ((!((spectatingclient()) && dvarbool(cg_thirdPersonSpectator))) || inkillcam())); ownerdraw 112 textscale 0.55 background "splatter_alt" @@ -18,7 +18,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when(scopedthermal() && (!(spectatingclient() && dvarbool(cg_thirdPersonSpectator)))); + visible when(scopedthermal() && (!((spectatingclient()) && dvarbool(cg_thirdPersonSpectator)))); textscale 0.55 forecolor 0.9 1 1 0.3 background "ac130_overlay_grain" @@ -28,7 +28,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when(((((getperk("equipment") == "_specialty_blastshield") && ((!dvarint(scr_gameended)) || inkillcam())) && (!(weaponname() == "heli_remote_mp"))) && (!(((weaponname() == "ac130_105mm_mp") || (weaponname() == "ac130_40mm_mp")) || (weaponname() == "ac130_25mm_mp")))) && (!missilecam())); + visible when((getperk("equipment") == "_specialty_blastshield" && ((!(dvarint(scr_gameended))) || inkillcam())) && !(weaponname() == "heli_remote_mp") && !((weaponname() == "ac130_105mm_mp") || (weaponname() == "ac130_40mm_mp") || (weaponname() == "ac130_25mm_mp")) && !missilecam()); textscale 0.55 background "ballistic_overlay" } @@ -46,7 +46,7 @@ { rect 0 -75 40 40 2 10 type 8 - visible when((((((((!ui_active()) && (!dvarbool(g_hardcore))) && (!spectatingclient())) && (!inkillcam())) && (!dvarint(scr_gameended))) && (!flashbanged())) && (!(((((((((weaponname() == "killstreak_ac130_mp") || (weaponname() == "killstreak_helicopter_minigun_mp")) || (weaponname() == "killstreak_predator_missile_mp")) || (weaponname() == "ac130_105mm_mp")) || (weaponname() == "ac130_40mm_mp")) || (weaponname() == "ac130_25mm_mp")) || adsjavelin()) || (weaponname() == "heli_remote_mp")) || missilecam()))) && (!(((((((((!ui_active()) && (!dvarbool(g_hardcore))) && (!flashbanged())) && (!isempjammed())) && (!dvarint(scr_gameended))) && (((milliseconds() - localvarint("ui_show_youKilled")) < 2500) && (!((milliseconds() - localvarint("ui_show_killedBy")) < 4000)))) && (!dvarbool(ui_hide_playercards))) && (!((milliseconds() - localvarint("ui_show_killedBy")) < 4000))) || (((!ui_active()) && ((milliseconds() - localvarint("ui_show_killedBy")) < 4000)) && (!dvarbool(ui_hide_playercards)))))); + visible when((!ui_active() && !dvarbool(g_hardcore) && !spectatingclient() && !inkillcam() && !dvarint(scr_gameended) && !flashbanged() && (!(weaponname() == "killstreak_ac130_mp" || weaponname() == "killstreak_helicopter_minigun_mp" || weaponname() == "killstreak_predator_missile_mp" || weaponname() == "ac130_105mm_mp" || weaponname() == "ac130_40mm_mp" || weaponname() == "ac130_25mm_mp" || adsjavelin() || weaponname() == "heli_remote_mp" || missilecam()))) && !((((!ui_active() && !dvarbool(g_hardcore) && !flashbanged() && !isempjammed() && !dvarint(scr_gameended)) && (milliseconds() - localvarint("ui_show_youKilled") < 2500 && (!(milliseconds() - localvarint("ui_show_killedBy") < 4000)))) && !dvarbool(ui_hide_playercards) && !(milliseconds() - localvarint("ui_show_killedBy") < 4000)) || (!ui_active() && (milliseconds() - localvarint("ui_show_killedBy") < 4000) && !dvarbool(ui_hide_playercards)))); ownerdraw 80 textscale 0.375 textstyle 3 @@ -56,7 +56,7 @@ { rect 0 -125 40 40 2 10 type 8 - visible when(((((((!ui_active()) && (!dvarbool(g_hardcore))) && (!spectatingclient())) && (!inkillcam())) && (!dvarint(scr_gameended))) && (!flashbanged())) && (!(((((((weaponname() == "killstreak_ac130_mp") || (weaponname() == "killstreak_helicopter_minigun_mp")) || (weaponname() == "killstreak_predator_missile_mp")) || (((weaponname() == "ac130_105mm_mp") || (weaponname() == "ac130_40mm_mp")) || (weaponname() == "ac130_25mm_mp"))) || adsjavelin()) || (weaponname() == "heli_remote_mp")) || missilecam()))); + visible when(((!(ui_active())) && (!(dvarbool(g_hardcore))) && (!(spectatingclient())) && (!(inkillcam())) && (!(dvarint(scr_gameended))) && (!(flashbanged())) && (!((weaponname() == "killstreak_ac130_mp") || (weaponname() == "killstreak_helicopter_minigun_mp") || (weaponname() == "killstreak_predator_missile_mp") || ((weaponname() == "ac130_105mm_mp") || (weaponname() == "ac130_40mm_mp") || (weaponname() == "ac130_25mm_mp")) || (adsjavelin()) || (weaponname() == "heli_remote_mp") || missilecam())))); ownerdraw 72 textscale 0.375 textstyle 3 @@ -67,7 +67,7 @@ rect 0 -125 0 0 2 2 decoration type 8 - visible when((!ui_active()) && (!spectatingclient())); + visible when((!(ui_active())) && (!(spectatingclient()))); ownerdraw 113 textscale 0.375 textstyle 3 @@ -79,11 +79,11 @@ rect 108 48 24 24 8 8 decoration type 8 - visible when((((!ui_active()) && (!dvarbool(g_hardcore))) && (!inkillcam())) && (!dvarint(scr_gameended))); + visible when(((!(ui_active())) && (!(dvarbool(g_hardcore))) && (!(inkillcam())) && (!(dvarint(scr_gameended))))); ownerdraw 266 textscale 0.55 forecolor 1 1 1 0.85 - exp rect y (6 + (((((dvarstring(ui_danger_team) == "contested") || (((dvarstring(ui_danger_team) != "BombExploded") && ((team("name") == "TEAM_ALLIES") && (dvarstring(ui_danger_team) == "axis"))) || ((team("name") == "TEAM_AXIS") && (dvarstring(ui_danger_team) == "allies")))) || ((dvarstring(ui_danger_team) != "BombExploded") && (dvarstring(ui_danger_team) == "none"))) || (((dvarstring(ui_danger_team) != "BombExploded") && ((team("name") == "TEAM_ALLIES") && (dvarstring(ui_danger_team) == "allies"))) || ((team("name") == "TEAM_AXIS") && (dvarstring(ui_danger_team) == "axis")))) * 16)) + (dvarint(ui_bomb_timer) * 26); + exp rect y 6 + ((((dvarstring(ui_danger_team) == "contested") || (dvarstring(ui_danger_team) != "BombExploded" && (team("name") == "TEAM_ALLIES" && dvarstring(ui_danger_team) == "axis") || (team("name") == "TEAM_AXIS" && dvarstring(ui_danger_team) == "allies")) || (dvarstring(ui_danger_team) != "BombExploded" && dvarstring(ui_danger_team) == "none") || (dvarstring(ui_danger_team) != "BombExploded" && (team("name") == "TEAM_ALLIES" && dvarstring(ui_danger_team) == "allies") || (team("name") == "TEAM_AXIS" && dvarstring(ui_danger_team) == "axis")))) * 16) + ((dvarint(ui_bomb_timer)) * 26); } itemDef { @@ -91,7 +91,7 @@ rect 0 136 18 18 8 8 decoration type 8 - visible when((((!ui_active()) && (!dvarbool(g_hardcore))) && (!inkillcam())) && (!dvarint(scr_gameended))); + visible when(((!(ui_active())) && (!(dvarbool(g_hardcore))) && (!(inkillcam())) && (!(dvarint(scr_gameended))))); ownerdraw 193 textalignx 18 textaligny 17 @@ -104,7 +104,7 @@ rect 0 154 18 18 8 8 decoration type 8 - visible when((((!ui_active()) && (!dvarbool(g_hardcore))) && (!inkillcam())) && (!dvarint(scr_gameended))); + visible when(((!(ui_active())) && (!(dvarbool(g_hardcore))) && (!(inkillcam())) && (!(dvarint(scr_gameended))))); ownerdraw 194 textalignx 18 textaligny 17 @@ -117,7 +117,7 @@ rect 0 172 18 18 8 8 decoration type 8 - visible when((((!ui_active()) && (!dvarbool(g_hardcore))) && (!inkillcam())) && (!dvarint(scr_gameended))); + visible when(((!(ui_active())) && (!(dvarbool(g_hardcore))) && (!(inkillcam())) && (!(dvarint(scr_gameended))))); ownerdraw 195 textalignx 18 textaligny 17 @@ -130,7 +130,7 @@ rect 0 190 18 18 8 8 decoration type 8 - visible when((((!ui_active()) && (!dvarbool(g_hardcore))) && (!inkillcam())) && (!dvarint(scr_gameended))); + visible when(((!(ui_active())) && (!(dvarbool(g_hardcore))) && (!(inkillcam())) && (!(dvarint(scr_gameended))))); ownerdraw 196 textalignx 18 textaligny 17 @@ -141,7 +141,7 @@ { text "@CGAME_FOLLOWING" rect -100 20 200 0 2 1 - visible when((((!inkillcam()) && (spectatingclient() || spectatingfree())) && (!ui_active())) && (!dvarint(scr_gameended))); + visible when((!(inkillcam())) && (spectatingclient() || spectatingfree()) && (!(ui_active())) && (!(dvarint(scr_gameended)))); textalign 9 textscale 0.375 textstyle 3 @@ -151,7 +151,7 @@ { rect -120 -35 180 5 3 1 type 8 - visible when((((!inkillcam()) && (spectatingclient() || spectatingfree())) && (!ui_active())) && (!dvarint(scr_gameended))); + visible when((!(inkillcam())) && (spectatingclient() || spectatingfree()) && (!(ui_active())) && (!(dvarint(scr_gameended)))); ownerdraw 61 textalign 4 textscale 0.375 @@ -162,7 +162,7 @@ { rect 6 -60 10 10 8 10 type 19 - visible when((!inkillcam()) && (!ui_active())); + visible when((!(inkillcam())) && (!(ui_active()))); textscale 0.375 textstyle 3 forecolor 1 1 1 0.45 @@ -172,7 +172,7 @@ { rect 0 -60 10 10 9 9 type 19 - visible when((!inkillcam()) && (!ui_active())); + visible when((!(inkillcam())) && (!(ui_active()))); textalign 1 textscale 0.375 textstyle 3 diff --git a/ui_mp/iw4x_credits.menu b/ui_mp/iw4x_credits.menu index 6c49bdb..1f63ed8 100644 --- a/ui_mp/iw4x_credits.menu +++ b/ui_mp/iw4x_credits.menu @@ -28,7 +28,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -41,7 +41,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -52,7 +52,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { diff --git a/ui_mp/leavelobbywarning.menu b/ui_mp/leavelobbywarning.menu index e48d20c..9918219 100644 --- a/ui_mp/leavelobbywarning.menu +++ b/ui_mp/leavelobbywarning.menu @@ -11,12 +11,12 @@ legacySplitScreenScale onOpen { - setLocalVarInt ui_centerPopup 1; + setLocalVarInt ui_centerPopup (1); setfocus cancel_button; } onClose { - setLocalVarInt ui_centerPopup 0; + setLocalVarInt ui_centerPopup (0); } onESC { @@ -61,7 +61,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -72,7 +72,7 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -82,7 +82,7 @@ visible 1 textscale 0.55 background "mockup_popup_bg_stencilfill" - exp rect h 24 + (2 * 20); + exp rect h (24 + 2 * 20); } itemDef { @@ -93,7 +93,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -104,7 +104,7 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -115,14 +115,14 @@ textscale 0.55 forecolor 1 1 1 0 background "small_box_lightfx" - exp rect h 24 + (2 * 20); + exp rect h (24 + 2 * 20); } itemDef { rect -64 -64 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tl" @@ -132,7 +132,7 @@ rect 0 -64 300 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_t" @@ -142,7 +142,7 @@ rect 300 -64 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tr" @@ -152,55 +152,55 @@ rect 300 0 64 0 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_r" - exp rect h 24 + (2 * 20); + exp rect h (24 + 2 * 20); } itemDef { rect 300 0 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_br" - exp rect y (0 - 0) + (24 + (2 * 20)); + exp rect y (0 - 0) + ((24 + 2 * 20)); } itemDef { rect 0 0 300 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_b" - exp rect y (0 - 0) + (24 + (2 * 20)); + exp rect y (0 - 0) + ((24 + 2 * 20)); } itemDef { rect -64 0 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_bl" - exp rect y (0 - 0) + (24 + (2 * 20)); + exp rect y (0 - 0) + ((24 + 2 * 20)); } itemDef { rect -64 0 64 0 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_l" - exp rect h 24 + (2 * 20); + exp rect h (24 + 2 * 20); } itemDef { @@ -208,7 +208,7 @@ rect 0 0 300 24 2 2 style 1 decoration - visible when(((!inprivateparty()) || privatepartyhost()) || (!privatepartyhostinlobby())); + visible when(!inprivateparty() || privatepartyhost() || !privatepartyhostinlobby()); textalign 5 textscale 0.375 textfont 9 @@ -220,7 +220,7 @@ rect -150 -64 300 24 2 2 style 1 decoration - visible when((inprivateparty() && (!privatepartyhost())) && privatepartyhostinlobby()); + visible when(inprivateparty() && !privatepartyhost() && privatepartyhostinlobby()); textalign 5 textscale 0.375 textfont 9 @@ -249,18 +249,18 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; + setLocalVarBool ui_popupAButton (1); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); } action { play mouse_click; exec xstopparty; - if ((inprivateparty() && (!privatepartyhost())) && privatepartyhostinlobby()) + if (inprivateparty() && !privatepartyhost() && privatepartyhostinlobby()) { exec xstopprivateparty; exec xstartprivateparty; @@ -295,12 +295,12 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; + setLocalVarBool ui_popupAButton (1); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); } action { diff --git a/ui_mp/main_text.menu b/ui_mp/main_text.menu index f19161e..5881630 100644 --- a/ui_mp/main_text.menu +++ b/ui_mp/main_text.menu @@ -39,7 +39,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -48,7 +48,7 @@ rect -107 0 854 480 0 0 style 3 decoration - visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "animbg_blur_front" } @@ -61,7 +61,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -72,7 +72,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -145,6 +145,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 0 0 0 0.2 } itemDef @@ -206,9 +207,9 @@ setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; setLocalVarString ui_hint_text "@MPUI_DESC_CHECK_FOR_UPDATES"; - setLocalVarString ui_info_name ""; + setLocalVarString ui_info_name ; setLocalVarString ui_info_desc "@MPUI_DESC_CHECK_FOR_UPDATES"; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -234,6 +235,7 @@ decoration visible when(dvarbool(cl_updateavailable)); align 2 + textscale 0.55 exp material "specialty_new"; } itemDef @@ -266,9 +268,9 @@ setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; setLocalVarString ui_hint_text "@MPUI_DESC_JOIN_GAME"; - setLocalVarString ui_info_name ""; + setLocalVarString ui_info_name ; setLocalVarString ui_info_desc "@MPUI_DESC_JOIN_GAME"; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -307,9 +309,9 @@ setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; setLocalVarString ui_hint_text "@MPUI_DESC_CREATE_GAME"; - setLocalVarString ui_info_name ""; + setLocalVarString ui_info_name ; setLocalVarString ui_info_desc "@MPUI_DESC_CREATE_GAME"; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -405,9 +407,9 @@ setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; setLocalVarString ui_hint_text "@MPUI_DESC_CREATE_A_CLASS"; - setLocalVarString ui_info_name ""; + setLocalVarString ui_info_name ; setLocalVarString ui_info_desc "@MPUI_DESC_CREATE_A_CLASS"; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -430,8 +432,9 @@ rect 236 148 40 20 1 1 style 3 decoration - visible when((((isitemunlocked("cac") && ((getplayerdataanybooltrue("weaponNew") || getplayerdataanybooltrue("camoNew")) || getplayerdataanybooltrue("attachmentNew"))) || getplayerdataanybooltrue("perkNew")) || (((((((((getplayerdata("perkNew", "frag_grenade_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "frag_grenade_mp", 8))) || (getplayerdata("perkNew", "semtex_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "semtex_mp", 8)))) || (getplayerdata("perkNew", "c4_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "c4_mp", 8)))) || (getplayerdata("perkNew", "claymore_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "claymore_mp", 8)))) || (getplayerdata("perkNew", "throwingknife_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "throwingknife_mp", 8)))) || (getplayerdata("perkNew", "specialty_tacticalinsertion") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "specialty_tacticalinsertion", 8)))) || (getplayerdata("perkNew", "specialty_blastshield") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "specialty_blastshield", 8)))) || weaponclassnew("weapon_grenade")) || weaponclassnew("weapon_equipment"))) || getplayerdata("featureNew", "cac")); + visible when((isitemunlocked("cac") && (getplayerdataanybooltrue("weaponNew") || getplayerdataanybooltrue("camoNew") || getplayerdataanybooltrue("attachmentNew")) || getplayerdataanybooltrue("perkNew") || ((getplayerdata("perkNew", "frag_grenade_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "frag_grenade_mp", 8))) || (getplayerdata("perkNew", "semtex_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "semtex_mp", 8))) || (getplayerdata("perkNew", "c4_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "c4_mp", 8))) || (getplayerdata("perkNew", "claymore_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "claymore_mp", 8))) || (getplayerdata("perkNew", "throwingknife_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "throwingknife_mp", 8))) || (getplayerdata("perkNew", "specialty_tacticalinsertion") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "specialty_tacticalinsertion", 8))) || (getplayerdata("perkNew", "specialty_blastshield") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "specialty_blastshield", 8))) || weaponclassnew("weapon_grenade") || weaponclassnew("weapon_equipment")) || getplayerdata("featureNew", "cac"))); align 2 + textscale 0.55 exp material "specialty_new"; } itemDef @@ -487,9 +490,9 @@ setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; setLocalVarString ui_hint_text "@MPUI_DESC_PLAYERCARD"; - setLocalVarString ui_info_name ""; + setLocalVarString ui_info_name ; setLocalVarString ui_info_desc "@MPUI_DESC_PLAYERCARD"; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -512,8 +515,9 @@ rect 236 168 40 20 1 1 style 3 decoration - visible when(((((((((((((((getplayerdata("featureNew", "cas") || getplayerdata("featureNew", "token_1")) || getplayerdata("featureNew", "token_2")) || getplayerdata("featureNew", "token_3")) || getplayerdata("featureNew", "token_4")) || getplayerdata("featureNew", "token_5")) || getplayerdata("featureNew", "token_6")) || getplayerdata("featureNew", "token_7")) || getplayerdata("featureNew", "token_8")) || getplayerdata("featureNew", "token_9")) || getplayerdata("featureNew", "token_10")) || getplayerdata("featureNew", "token_11")) || getplayerdata("featureNew", "token_12")) || getplayerdata("featureNew", "clantag")) || (getplayerdataanybooltrue("iconNew") || getplayerdata("featureNew", "playercard_icon"))) || (getplayerdataanybooltrue("titleNew") || getplayerdata("featureNew", "playercard_title"))); + visible when((getplayerdata("featureNew", "cas") || getplayerdata("featureNew", "token_1") || getplayerdata("featureNew", "token_2") || getplayerdata("featureNew", "token_3") || getplayerdata("featureNew", "token_4") || getplayerdata("featureNew", "token_5") || getplayerdata("featureNew", "token_6") || getplayerdata("featureNew", "token_7") || getplayerdata("featureNew", "token_8") || getplayerdata("featureNew", "token_9") || getplayerdata("featureNew", "token_10") || getplayerdata("featureNew", "token_11") || getplayerdata("featureNew", "token_12")) || getplayerdata("featureNew", "clantag") || (getplayerdataanybooltrue("iconNew") || getplayerdata("featureNew", "playercard_icon")) || (getplayerdataanybooltrue("titleNew") || getplayerdata("featureNew", "playercard_title"))); align 2 + textscale 0.55 exp material "specialty_new"; } itemDef @@ -546,9 +550,9 @@ setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; setLocalVarString ui_hint_text "@PATCH_DESC_BARRACKS"; - setLocalVarString ui_info_name ""; + setLocalVarString ui_info_name ; setLocalVarString ui_info_desc "@PATCH_DESC_BARRACKS"; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -571,8 +575,9 @@ rect 236 188 40 20 1 1 style 3 decoration - visible when(((getplayerdataanybooltrue("challengeTierNew") || getplayerdata("featureNew", "challenges")) || getplayerdata("featureNew", "challenges")) || getplayerdata("featureNew", "prestige")); + visible when(((getplayerdataanybooltrue("challengeTierNew") || getplayerdata("featureNew", "challenges")) || getplayerdata("featureNew", "challenges") || getplayerdata("featureNew", "prestige"))); align 2 + textscale 0.55 exp material "specialty_new"; } itemDef @@ -595,9 +600,9 @@ setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; setLocalVarString ui_hint_text "@MPUI_DESC_THEATER"; - setLocalVarString ui_info_name ""; + setLocalVarString ui_info_name ; setLocalVarString ui_info_desc "@MPUI_DESC_THEATER"; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -645,9 +650,9 @@ setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; setLocalVarString ui_hint_text "@MPUI_DESC_MODS"; - setLocalVarString ui_info_name ""; + setLocalVarString ui_info_name ; setLocalVarString ui_info_desc "@MPUI_DESC_MODS"; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -685,9 +690,9 @@ setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; setLocalVarString ui_hint_text "@MPUI_DESC_OPTIONS"; - setLocalVarString ui_info_name ""; + setLocalVarString ui_info_name ; setLocalVarString ui_info_desc "@MPUI_DESC_OPTIONS"; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -735,9 +740,9 @@ setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarString ui_info_name ""; + setLocalVarString ui_info_name ; setLocalVarString ui_info_desc "@NULL_EMPTY"; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -775,9 +780,9 @@ setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarString ui_info_name ""; + setLocalVarString ui_info_name ; setLocalVarString ui_info_desc "@NULL_EMPTY"; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -825,9 +830,9 @@ setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; setLocalVarString ui_hint_text "@MENU_SP_DESC_SINGLEPLAYER"; - setLocalVarString ui_info_name ""; + setLocalVarString ui_info_name ; setLocalVarString ui_info_desc "@MENU_SP_DESC_SINGLEPLAYER"; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -865,9 +870,9 @@ setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; setLocalVarString ui_hint_text "@MPUI_DESC_QUIT"; - setLocalVarString ui_info_name ""; + setLocalVarString ui_info_name ; setLocalVarString ui_info_desc "@MPUI_DESC_QUIT"; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_info_icon ; } leaveFocus { diff --git a/ui_mp/menu_first_launch.menu b/ui_mp/menu_first_launch.menu index fb3413e..53f88af 100644 --- a/ui_mp/menu_first_launch.menu +++ b/ui_mp/menu_first_launch.menu @@ -28,7 +28,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -37,7 +37,7 @@ rect -107 0 854 480 0 0 style 3 decoration - visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_sp_image" } @@ -50,7 +50,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -61,7 +61,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { diff --git a/ui_mp/menu_online_barracks.menu b/ui_mp/menu_online_barracks.menu index 9a9225c..5997823 100644 --- a/ui_mp/menu_online_barracks.menu +++ b/ui_mp/menu_online_barracks.menu @@ -37,7 +37,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -46,7 +46,7 @@ rect -107 0 854 480 0 0 style 3 decoration - visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "animbg_blur_front" } @@ -59,7 +59,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -70,7 +70,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -133,6 +133,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 0 0 0 0.2 } itemDef @@ -173,6 +174,7 @@ textfont 3 forecolor 1 1 1 0.65 background "white" + dvar "party_statusString" } itemDef { @@ -209,23 +211,23 @@ setItemColor self backColor 0 0 0 1; if (isitemunlocked("challenges")) { - setLocalVarString ui_hint_text "@MPUI_DESC_CHALLENGES"; + setLocalVarString ui_hint_text ("@MPUI_DESC_CHALLENGES"); } else { if (tablelookup("mp/unlockTable.csv", 0, "challenges", 2) == 9999) { - setLocalVarString ui_hint_text "@PERKS_UNLOCKED_AT_NONE"; + setLocalVarString ui_hint_text ("@PERKS_UNLOCKED_AT_NONE"); } else { if (tablelookup("mp/unlockTable.csv", 0, "challenges", 3) != "") { - setLocalVarString ui_hint_text "@PERKS_UNLOCKED_BY_CHALLENGE"; + setLocalVarString ui_hint_text ("@PERKS_UNLOCKED_BY_CHALLENGE"); } else { - setLocalVarString ui_hint_text "@" + tablelookup("mp/rankTable.csv", 0, tablelookup("mp/unlockTable.csv", 0, "challenges", 2), 17); + setLocalVarString ui_hint_text ("@" + tablelookup("mp/rankTable.csv", 0, tablelookup("mp/unlockTable.csv", 0, "challenges", 2), 17)); } } exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;"; @@ -234,8 +236,8 @@ leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -249,8 +251,9 @@ rect 236 56 40 20 1 1 style 3 decoration - visible when(((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("experience") >= int(tablelookup("mp/rankTable.csv", 0, int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)), 7)))) && getplayerdata("featureNew", "prestige")); + visible when((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && getplayerdata("experience") >= int(tablelookup("mp/rankTable.csv", 0, int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)), 7))) && getplayerdata("featureNew", "prestige")); align 2 + textscale 0.55 exp material "specialty_new"; } itemDef @@ -273,13 +276,13 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@MPUI_DESC_HIGHLIGHTS"; + setLocalVarString ui_hint_text ("@MPUI_DESC_HIGHLIGHTS"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -317,13 +320,13 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@MPUI_DESC_CUSTOM_TITLE"; + setLocalVarString ui_hint_text ("@MPUI_DESC_CUSTOM_TITLE"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -351,13 +354,13 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@MPUI_DESC_CLANTAG"; + setLocalVarString ui_hint_text ("@MPUI_DESC_CLANTAG"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -395,13 +398,13 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@MPUI_DESC_RESET_STATS"; + setLocalVarString ui_hint_text ("@MPUI_DESC_RESET_STATS"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -429,13 +432,13 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@MPUI_DESC_UNLOCK_STATS"; + setLocalVarString ui_hint_text ("@MPUI_DESC_UNLOCK_STATS"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -462,7 +465,7 @@ style 1 type 1 visible when(!(getplayerdata("prestige") == int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))); - disabled when((!((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("experience") >= int(tablelookup("mp/rankTable.csv", 0, int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)), 7))))) && (!(getplayerdata("prestige") == int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))))); + disabled when(!(getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && getplayerdata("experience") >= int(tablelookup("mp/rankTable.csv", 0, int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)), 7))) && !(getplayerdata("prestige") == int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))); textalign 6 textalignx -60 textscale 0.375 @@ -474,20 +477,20 @@ play mouse_over; setItemColor self backColor 0 0 0 1; setPlayerData ( featureNew , prestige , false ); - if (!((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("experience") >= int(tablelookup("mp/rankTable.csv", 0, int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)), 7))))) + if (!(getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && getplayerdata("experience") >= int(tablelookup("mp/rankTable.csv", 0, int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)), 7)))) { - setLocalVarString ui_hint_text "@MPUI_DESC_PRESTIGE2"; + setLocalVarString ui_hint_text ("@MPUI_DESC_PRESTIGE2"); } else { - setLocalVarString ui_hint_text "@MPUI_DESC_PRESTIGE"; + setLocalVarString ui_hint_text ("@MPUI_DESC_PRESTIGE"); } } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -500,8 +503,9 @@ rect 236 156 40 20 1 1 style 3 decoration - visible when(((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("experience") >= int(tablelookup("mp/rankTable.csv", 0, int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)), 7)))) && getplayerdata("featureNew", "prestige")); + visible when((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && getplayerdata("experience") >= int(tablelookup("mp/rankTable.csv", 0, int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)), 7))) && getplayerdata("featureNew", "prestige")); align 2 + textscale 0.55 exp material "specialty_new"; } itemDef @@ -514,8 +518,8 @@ textscale 0.55 forecolor 0 0 0 0.25 background "white" - exp rect x -208; - exp rect y 28; + exp rect x (- 208); + exp rect y (28); } itemDef { @@ -530,8 +534,8 @@ textfont 6 backcolor 1 1 1 1 background "cardtitle_248x48" - exp rect x -208; - exp rect y 28; + exp rect x (- 208); + exp rect y (28); } itemDef { @@ -574,7 +578,7 @@ } exp text "@" + tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 1, 0), 1); exp material tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 1, 0), 2); - exp rect x -208; + exp rect x - 208; exp rect y 28 - 2; exp forecolor r tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 1, 0), 3); exp forecolor g tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 1, 0), 4); @@ -610,7 +614,7 @@ open popup_playername; } exp text getplayercardinfo(8, 1, 0); - exp rect x -208; + exp rect x - 208; exp rect y 28 + 28; } itemDef @@ -649,8 +653,8 @@ } } exp material tablelookupbyrow("mp/cardIconTable.csv", getplayercardinfo(2, 1, 0), 1); - exp rect x -208 + 160; - exp rect y 28; + exp rect x (- 208) + 160; + exp rect y (28); } itemDef { @@ -661,9 +665,9 @@ visible when((getplayercardinfo(0, 1, 0) != 0) && (getplayercardinfo(4, 1, 0) >= 0)); textscale 0.55 backcolor 1 1 1 1 - exp material tablelookup("mp/rankIconTable.csv", 0, getplayercardinfo(4, 1, 0), getplayercardinfo(5, 1, 0) + 1); - exp rect x -208 + 164; - exp rect y 28 + 48; + exp material tablelookup("mp/rankIconTable.csv", 0, getplayercardinfo(4, 1, 0), (getplayercardinfo(5, 1, 0) + 1)); + exp rect x (- 208) + 164; + exp rect y (28) + 48; } itemDef { @@ -677,8 +681,8 @@ textstyle 8 textfont 3 exp text tablelookup("mp/rankTable.csv", 0, getplayercardinfo(4, 1, 0), 14); - exp rect x -208 + 164; - exp rect y 28 + 48; + exp rect x (- 208) + 164; + exp rect y (28) + 48; } itemDef { @@ -691,9 +695,9 @@ textalignx 2 textscale 0.375 textfont 3 - exp text ("[" + getplayercardinfo(9, 1, 0)) + "]"; - exp rect x -208; - exp rect y 28 + 48; + exp text "[" + getplayercardinfo(9, 1, 0) + "]"; + exp rect x (- 208); + exp rect y (28) + 48; } itemDef { @@ -703,9 +707,9 @@ decoration visible 1 textscale 0.55 - exp material tablelookup("mp/killstreakTable.csv", 1, getplayerdata("killstreaks", 0), 16); - exp rect x -140 + 32; - exp rect y 28 + 48; + exp material tablelookup("mp/killstreakTable.csv", 1, (getplayerdata("killstreaks", 0)), 16); + exp rect x (- 140) + 32; + exp rect y (28 + 48); } itemDef { @@ -715,9 +719,9 @@ decoration visible 1 textscale 0.55 - exp material tablelookup("mp/killstreakTable.csv", 1, getplayerdata("killstreaks", 1), 16); - exp rect x -140 + 53; - exp rect y 28 + 48; + exp material tablelookup("mp/killstreakTable.csv", 1, (getplayerdata("killstreaks", 1)), 16); + exp rect x (- 140) + 53; + exp rect y (28 + 48); } itemDef { @@ -727,9 +731,9 @@ decoration visible 1 textscale 0.55 - exp material tablelookup("mp/killstreakTable.csv", 1, getplayerdata("killstreaks", 2), 16); - exp rect x -140 + 74; - exp rect y 28 + 48; + exp material tablelookup("mp/killstreakTable.csv", 1, (getplayerdata("killstreaks", 2)), 16); + exp rect x (- 140) + 74; + exp rect y (28 + 48); } itemDef { @@ -804,7 +808,7 @@ rect -208 140 -208 20 3 1 style 1 decoration - visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) && (((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)))) == 0)); + visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) == 0); textalign 4 textalignx 4 textscale 0.375 @@ -817,7 +821,7 @@ { rect -208 140 208 20 3 1 decoration - visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) && (((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)))) == 0)); + visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) == 0); textalign 6 textalignx -22 textscale 0.375 @@ -829,7 +833,7 @@ rect -18 141 18 18 3 1 style 3 decoration - visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) && (((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)))) == 0)); + visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) == 0); textscale 0.55 exp material tablelookup("mp/rankIconTable.csv", 0, levelforexperience(getplayerdata("experience")) + 1, getplayerdata("prestige") + 1); } @@ -838,7 +842,7 @@ rect -208 140 -208 20 3 1 style 1 decoration - visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) && ((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))))); + visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)))); textalign 4 textalignx 4 textscale 0.375 @@ -851,7 +855,7 @@ { rect -208 140 208 20 3 1 decoration - visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) && ((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))))); + visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)))); textalign 6 textalignx -22 textscale 0.375 @@ -863,7 +867,7 @@ rect -18 141 18 18 3 1 style 3 decoration - visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) && ((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))))); + visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)))); textscale 0.55 exp material tablelookup("mp/rankIconTable.csv", 0, 0, getplayerdata("prestige") + 2); } @@ -872,7 +876,7 @@ rect -208 140 -208 20 3 1 style 1 decoration - visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) && ((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))))); + visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)))); textalign 4 textalignx 4 textscale 0.375 @@ -885,7 +889,7 @@ { rect -208 140 208 20 3 1 decoration - visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) && ((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))))); + visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)))); textalign 6 textalignx -22 textscale 0.375 @@ -897,7 +901,7 @@ rect -18 141 18 18 3 1 style 3 decoration - visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) && ((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))))); + visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)))); textscale 0.55 exp material tablelookup("mp/rankIconTable.csv", 0, 0, getplayerdata("prestige") + 2); } @@ -906,7 +910,7 @@ rect -208 140 -208 20 3 1 style 1 decoration - visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) == 0); + visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) == 0); textalign 4 textalignx 4 textscale 0.375 @@ -919,7 +923,7 @@ { rect -208 140 208 20 3 1 decoration - visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) == 0); + visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) == 0); textalign 6 textalignx -4 textscale 0.375 @@ -945,7 +949,7 @@ textscale 0.55 forecolor 1 0.9 0.5 0.6 background "gradient_fadein" - exp rect w 0 - ((80 * (int(tablelookup("mp/rankTable.csv", 0, levelforexperience(getplayerdata("experience")), 2)) - getplayerdata("experience"))) / int(tablelookup("mp/rankTable.csv", 0, levelforexperience(getplayerdata("experience")), 3))); + exp rect w 0 - 80 * (int(tablelookup("mp/rankTable.csv", 0, levelforexperience(getplayerdata("experience")), 2)) - getplayerdata("experience")) / int(tablelookup("mp/rankTable.csv", 0, levelforexperience(getplayerdata("experience")), 3)); } itemDef { @@ -1238,7 +1242,7 @@ textalignx -4 textscale 0.375 textfont 3 - exp text secondsastime((getplayerdata("timePlayedAllies") + getplayerdata("timePlayedOpfor")) + getplayerdata("timePlayedOther")); + exp text secondsastime(getplayerdata("timePlayedAllies") + getplayerdata("timePlayedOpfor") + getplayerdata("timePlayedOther")); } itemDef { diff --git a/ui_mp/menu_xboxlive_lobby.menu b/ui_mp/menu_xboxlive_lobby.menu index 50302a3..b0311cb 100644 --- a/ui_mp/menu_xboxlive_lobby.menu +++ b/ui_mp/menu_xboxlive_lobby.menu @@ -13,7 +13,7 @@ { if (dvarbool(ui_opensummary)) { - setLocalVarInt ui_autoopened 1; + setLocalVarInt ui_autoopened (1); open popup_summary; setDvar ui_opensummary 0; } @@ -24,21 +24,18 @@ { open leavelobbywarning; } - execKeyInt 22 + execKeyInt 167 { play mouse_click; - if (getfocuseditemname() == "lobbyList") - { - focusfirst; - } + open popup_summary; } execKeyInt 23 { play mouse_click; setFocus lobbyList; - setLocalVarString ui_hint_text "@MPUI_DESC_PLAYER_OPTIONS"; + setLocalVarString ui_hint_text ("@MPUI_DESC_PLAYER_OPTIONS"); } - execKeyInt 30 + execKeyInt 22 { play mouse_click; if (getfocuseditemname() == "lobbyList") @@ -50,12 +47,15 @@ { play mouse_click; setFocus lobbyList; - setLocalVarString ui_hint_text "@MPUI_DESC_PLAYER_OPTIONS"; + setLocalVarString ui_hint_text ("@MPUI_DESC_PLAYER_OPTIONS"); } - execKeyInt 167 + execKeyInt 30 { play mouse_click; - open popup_summary; + if (getfocuseditemname() == "lobbyList") + { + focusfirst; + } } itemDef { @@ -72,7 +72,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -81,7 +81,7 @@ rect -107 0 854 480 0 0 style 3 decoration - visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "animbg_blur_front" } @@ -94,7 +94,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -105,7 +105,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -168,7 +168,7 @@ decoration autowrapped type 21 - visible when((!localvarbool("ui_centerPopup")) && (!localvarbool("ui_leftPopup"))); + visible when(!localvarbool("ui_centerPopup") && !localvarbool("ui_leftPopup")); textalign 6 textalignx -2 textscale 0.375 @@ -208,12 +208,13 @@ rect -272 -24 272 18 3 3 style 1 decoration - visible when(!(getplayercardinfo(0, 3, 17) != 0)); + visible when(!((getplayercardinfo(0, 3, 17) != 0))); textalign 6 textscale 0.5833 textfont 9 forecolor 1 1 1 0.15 background "white" + dvar "party_lobbyPlayerCount" } itemDef { @@ -232,7 +233,7 @@ rect -272 28 272 20 3 1 style 3 decoration - visible when((!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, 0) != 0)); + visible when(!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 3, 0) != 0)); textscale 0.55 forecolor 0 0 0 0.25 background "playercard_short_bg" @@ -242,7 +243,7 @@ rect -272 48 272 20 3 1 style 3 decoration - visible when((!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, 1) != 0)); + visible when(!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 3, 1) != 0)); textscale 0.55 forecolor 0 0 0 0.25 background "playercard_short_bg" @@ -252,7 +253,7 @@ rect -272 68 272 20 3 1 style 3 decoration - visible when((!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, 2) != 0)); + visible when(!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 3, 2) != 0)); textscale 0.55 forecolor 0 0 0 0.25 background "playercard_short_bg" @@ -262,7 +263,7 @@ rect -272 88 272 20 3 1 style 3 decoration - visible when((!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, 3) != 0)); + visible when(!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 3, 3) != 0)); textscale 0.55 forecolor 0 0 0 0.25 background "playercard_short_bg" @@ -272,7 +273,7 @@ rect -272 108 272 20 3 1 style 3 decoration - visible when((!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, 4) != 0)); + visible when(!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 3, 4) != 0)); textscale 0.55 forecolor 0 0 0 0.25 background "playercard_short_bg" @@ -282,7 +283,7 @@ rect -272 128 272 20 3 1 style 3 decoration - visible when((!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, 5) != 0)); + visible when(!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 3, 5) != 0)); textscale 0.55 forecolor 0 0 0 0.25 background "playercard_short_bg" @@ -292,7 +293,7 @@ rect -272 148 272 20 3 1 style 3 decoration - visible when((!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, 6) != 0)); + visible when(!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 3, 6) != 0)); textscale 0.55 forecolor 0 0 0 0.25 background "playercard_short_bg" @@ -302,7 +303,7 @@ rect -272 168 272 20 3 1 style 3 decoration - visible when((!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, 7) != 0)); + visible when(!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 3, 7) != 0)); textscale 0.55 forecolor 0 0 0 0.25 background "playercard_short_bg" @@ -312,7 +313,7 @@ rect -272 188 272 20 3 1 style 3 decoration - visible when((!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, 8) != 0)); + visible when(!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 3, 8) != 0)); textscale 0.55 forecolor 0 0 0 0.25 background "playercard_short_bg" @@ -322,7 +323,7 @@ rect -272 208 272 20 3 1 style 3 decoration - visible when((!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, 9) != 0)); + visible when(!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 3, 9) != 0)); textscale 0.55 forecolor 0 0 0 0.25 background "playercard_short_bg" @@ -332,7 +333,7 @@ rect -272 228 272 20 3 1 style 3 decoration - visible when((!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, 10) != 0)); + visible when(!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 3, 10) != 0)); textscale 0.55 forecolor 0 0 0 0.25 background "playercard_short_bg" @@ -342,7 +343,7 @@ rect -272 248 272 20 3 1 style 3 decoration - visible when((!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, 11) != 0)); + visible when(!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 3, 11) != 0)); textscale 0.55 forecolor 0 0 0 0.25 background "playercard_short_bg" @@ -352,7 +353,7 @@ rect -272 268 272 20 3 1 style 3 decoration - visible when((!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, 12) != 0)); + visible when(!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 3, 12) != 0)); textscale 0.55 forecolor 0 0 0 0.25 background "playercard_short_bg" @@ -362,7 +363,7 @@ rect -272 288 272 20 3 1 style 3 decoration - visible when((!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, 13) != 0)); + visible when(!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 3, 13) != 0)); textscale 0.55 forecolor 0 0 0 0.25 background "playercard_short_bg" @@ -372,7 +373,7 @@ rect -272 308 272 20 3 1 style 3 decoration - visible when((!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, 14) != 0)); + visible when(!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 3, 14) != 0)); textscale 0.55 forecolor 0 0 0 0.25 background "playercard_short_bg" @@ -382,7 +383,7 @@ rect -272 328 272 20 3 1 style 3 decoration - visible when((!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, 15) != 0)); + visible when(!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 3, 15) != 0)); textscale 0.55 forecolor 0 0 0 0.25 background "playercard_short_bg" @@ -392,7 +393,7 @@ rect -272 348 272 20 3 1 style 3 decoration - visible when((!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, 16) != 0)); + visible when(!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 3, 16) != 0)); textscale 0.55 forecolor 0 0 0 0.25 background "playercard_short_bg" @@ -402,7 +403,7 @@ rect -272 368 272 20 3 1 style 3 decoration - visible when((!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, 17) != 0)); + visible when(!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 3, 17) != 0)); textscale 0.55 forecolor 0 0 0 0.25 background "playercard_short_bg" @@ -412,475 +413,475 @@ rect -272 28 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 0) != 0)) && (4 == 4)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 0) != 0) && 4 == 4); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS"))); } itemDef { rect -272 28 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 0) != 0)) && (4 == 5)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 0) != 0) && 4 == 5); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES"))); } itemDef { rect -272 48 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 1) != 0)) && (4 == 4)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 1) != 0) && 4 == 4); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS"))); } itemDef { rect -272 48 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 1) != 0)) && (4 == 5)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 1) != 0) && 4 == 5); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES"))); } itemDef { rect -272 68 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 2) != 0)) && (4 == 4)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 2) != 0) && 4 == 4); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS"))); } itemDef { rect -272 68 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 2) != 0)) && (4 == 5)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 2) != 0) && 4 == 5); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES"))); } itemDef { rect -272 88 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 3) != 0)) && (4 == 4)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 3) != 0) && 4 == 4); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS"))); } itemDef { rect -272 88 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 3) != 0)) && (4 == 5)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 3) != 0) && 4 == 5); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES"))); } itemDef { rect -272 108 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 4) != 0)) && (4 == 4)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 4) != 0) && 4 == 4); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS"))); } itemDef { rect -272 108 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 4) != 0)) && (4 == 5)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 4) != 0) && 4 == 5); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES"))); } itemDef { rect -272 128 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 5) != 0)) && (4 == 4)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 5) != 0) && 4 == 4); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS"))); } itemDef { rect -272 128 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 5) != 0)) && (4 == 5)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 5) != 0) && 4 == 5); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES"))); } itemDef { rect -272 148 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 6) != 0)) && (4 == 4)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 6) != 0) && 4 == 4); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS"))); } itemDef { rect -272 148 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 6) != 0)) && (4 == 5)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 6) != 0) && 4 == 5); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES"))); } itemDef { rect -272 168 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 7) != 0)) && (4 == 4)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 7) != 0) && 4 == 4); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS"))); } itemDef { rect -272 168 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 7) != 0)) && (4 == 5)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 7) != 0) && 4 == 5); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES"))); } itemDef { rect -272 188 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 8) != 0)) && (4 == 4)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 8) != 0) && 4 == 4); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS"))); } itemDef { rect -272 188 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 8) != 0)) && (4 == 5)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 4, 8) != 0) && 4 == 5); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES"))); } itemDef { rect -272 208 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 0) != 0)) && (5 == 4)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 0) != 0) && 5 == 4); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS"))); } itemDef { rect -272 208 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 0) != 0)) && (5 == 5)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 0) != 0) && 5 == 5); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES"))); } itemDef { rect -272 228 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 1) != 0)) && (5 == 4)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 1) != 0) && 5 == 4); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS"))); } itemDef { rect -272 228 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 1) != 0)) && (5 == 5)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 1) != 0) && 5 == 5); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES"))); } itemDef { rect -272 248 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 2) != 0)) && (5 == 4)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 2) != 0) && 5 == 4); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS"))); } itemDef { rect -272 248 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 2) != 0)) && (5 == 5)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 2) != 0) && 5 == 5); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES"))); } itemDef { rect -272 268 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 3) != 0)) && (5 == 4)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 3) != 0) && 5 == 4); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS"))); } itemDef { rect -272 268 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 3) != 0)) && (5 == 5)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 3) != 0) && 5 == 5); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES"))); } itemDef { rect -272 288 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 4) != 0)) && (5 == 4)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 4) != 0) && 5 == 4); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS"))); } itemDef { rect -272 288 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 4) != 0)) && (5 == 5)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 4) != 0) && 5 == 5); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES"))); } itemDef { rect -272 308 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 5) != 0)) && (5 == 4)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 5) != 0) && 5 == 4); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS"))); } itemDef { rect -272 308 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 5) != 0)) && (5 == 5)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 5) != 0) && 5 == 5); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES"))); } itemDef { rect -272 328 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 6) != 0)) && (5 == 4)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 6) != 0) && 5 == 4); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS"))); } itemDef { rect -272 328 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 6) != 0)) && (5 == 5)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 6) != 0) && 5 == 5); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES"))); } itemDef { rect -272 348 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 7) != 0)) && (5 == 4)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 7) != 0) && 5 == 4); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS"))); } itemDef { rect -272 348 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 7) != 0)) && (5 == 5)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 7) != 0) && 5 == 5); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES"))); } itemDef { rect -272 368 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 8) != 0)) && (5 == 4)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 8) != 0) && 5 == 4); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_AXIS"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_ALLIES")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_AXIS"))); } itemDef { rect -272 368 272 20 3 1 style 3 decoration - visible when(((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 8) != 0)) && (5 == 5)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)) && (getplayercardinfo(0, 5, 8) != 0) && 5 == 5); textscale 0.55 forecolor 0 0 0 0.5 background "playercard_short_bg" - exp forecolor r (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor g (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES")); - exp forecolor b (tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES")); + exp forecolor r ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 14) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 14) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor g ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 15) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 15) * (player("teamname") == "TEAM_ALLIES"))); + exp forecolor b ((tablelookup("mp/factionTable.csv", 0, getmapcustom("allieschar"), 16) * (player("teamname") == "TEAM_AXIS")) + (tablelookup("mp/factionTable.csv", 0, getmapcustom("axischar"), 16) * (player("teamname") == "TEAM_ALLIES"))); } itemDef { rect -272 0 272 20 3 1 style 3 decoration - visible when((dvarbool(party_listFocus) && (!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0)); + visible when((dvarbool(party_listFocus) && !(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0)); textscale 0.55 forecolor 0 0 0 1 background "playercard_short_bg" @@ -921,7 +922,7 @@ rect -272 27 272 380 3 1 decoration type 6 - visible when(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased))); textaligny -2 textscale 0.375 noscrollbars @@ -936,7 +937,7 @@ rect -272 27 272 380 3 1 decoration type 6 - visible when(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased))); textaligny 178 textscale 0.375 noscrollbars @@ -968,7 +969,7 @@ rect -272 27 272 380 3 1 decoration type 6 - visible when(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased))); textalignx 20 textaligny -2 textscale 0.375 @@ -985,7 +986,7 @@ rect -272 207 272 380 3 1 decoration type 6 - visible when(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased))); textalignx 20 textaligny -2 textscale 0.375 @@ -1018,7 +1019,7 @@ rect -272 27 272 380 3 1 decoration type 6 - visible when(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased))); textaligny -2 textscale 0.375 forecolor 1 1 1 0.65 @@ -1034,7 +1035,7 @@ rect -272 27 272 380 3 1 decoration type 6 - visible when(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased))); textaligny 178 textscale 0.375 forecolor 1 1 1 0.65 @@ -1065,7 +1066,7 @@ rect -272 27 272 380 3 1 decoration type 6 - visible when(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased))); textaligny -2 textscale 0.375 noscrollbars @@ -1080,7 +1081,7 @@ rect -272 27 272 380 3 1 decoration type 6 - visible when(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased))); textaligny 178 textscale 0.375 noscrollbars @@ -1095,19 +1096,19 @@ rect 0 0 272 40 3 1 style 3 decoration - visible when((dvarbool(party_listFocus) && (!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0)); + visible when((dvarbool(party_listFocus) && !(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0)); textscale 0.55 forecolor 0.25 0.25 0.25 1 background "playercard_bg" exp rect x - 268; - exp rect y (28 + (dvarint(party_selectedIndex) * 20)) - 10; + exp rect y 28 + (dvarint(party_selectedIndex) * 20) - 10; } itemDef { rect 0 0 160 32 3 1 style 1 decoration - visible when((dvarbool(party_listFocus) && (!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0)); + visible when((dvarbool(party_listFocus) && !(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0)); textalign 9 textscale 0.375 textfont 3 @@ -1115,7 +1116,7 @@ exp text "@" + tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 3, dvarint(party_selectedIndex)), 1); exp material tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 3, dvarint(party_selectedIndex)), 2); exp rect x - 248; - exp rect y ((28 + (dvarint(party_selectedIndex) * 20)) - 10) - 4; + exp rect y 28 + (dvarint(party_selectedIndex) * 20) - 10 - 4; exp forecolor r tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 3, dvarint(party_selectedIndex)), 3); exp forecolor g tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 3, dvarint(party_selectedIndex)), 4); exp forecolor b tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 3, dvarint(party_selectedIndex)), 5); @@ -1124,61 +1125,61 @@ { rect 0 0 248 20 3 1 decoration - visible when((dvarbool(party_listFocus) && (!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0)); + visible when((dvarbool(party_listFocus) && !(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0)); textalign 4 textalignx 10 textaligny 4 textscale 0.3333 textfont 10 exp text getplayercardinfo(8, 3, dvarint(party_selectedIndex)); - exp rect x - 248; - exp rect y ((28 + (dvarint(party_selectedIndex) * 20)) - 10) + 20; + exp rect x (- 248); + exp rect y (28 + (dvarint(party_selectedIndex) * 20) - 10) + 20; } itemDef { rect 0 0 40 40 3 1 style 3 decoration - visible when((dvarbool(party_listFocus) && (!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0)); + visible when((dvarbool(party_listFocus) && !(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0)); textscale 0.55 exp material tablelookupbyrow("mp/cardIconTable.csv", getplayercardinfo(2, 3, dvarint(party_selectedIndex)), 1); exp rect x (- 248) + 160; - exp rect y (28 + (dvarint(party_selectedIndex) * 20)) - 10; + exp rect y (28 + (dvarint(party_selectedIndex) * 20) - 10); } itemDef { rect 0 0 20 20 3 1 style 3 decoration - visible when(((dvarbool(party_listFocus) && (!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0)) && (getplayercardinfo(4, 3, dvarint(party_selectedIndex)) >= 0)); + visible when((dvarbool(party_listFocus) && !(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0) && (getplayercardinfo(4, 3, dvarint(party_selectedIndex)) >= 0)); textscale 0.55 - exp material tablelookup("mp/rankIconTable.csv", 0, getplayercardinfo(4, 3, dvarint(party_selectedIndex)), getplayercardinfo(5, 3, dvarint(party_selectedIndex)) + 1); + exp material tablelookup("mp/rankIconTable.csv", 0, getplayercardinfo(4, 3, dvarint(party_selectedIndex)), (getplayercardinfo(5, 3, dvarint(party_selectedIndex)) + 1)); exp rect x (- 248) + 204; - exp rect y (28 + (dvarint(party_selectedIndex) * 20)) - 10; + exp rect y (28 + (dvarint(party_selectedIndex) * 20) - 10); } itemDef { rect 0 0 20 20 3 1 decoration - visible when(((dvarbool(party_listFocus) && (!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0)) && (getplayercardinfo(4, 3, dvarint(party_selectedIndex)) >= 0)); + visible when((dvarbool(party_listFocus) && !(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0) && (getplayercardinfo(4, 3, dvarint(party_selectedIndex)) >= 0)); textalign 9 textscale 0.375 textfont 3 exp text tablelookup("mp/rankTable.csv", 0, getplayercardinfo(4, 3, dvarint(party_selectedIndex)), 14); exp rect x (- 248) + 222; - exp rect y (28 + (dvarint(party_selectedIndex) * 20)) - 10; + exp rect y (28 + (dvarint(party_selectedIndex) * 20) - 10); } itemDef { rect 0 0 40 18 3 1 decoration - visible when(((dvarbool(party_listFocus) && (!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0)) && (getplayercardinfo(9, 3, dvarint(party_selectedIndex)) != "")); + visible when((dvarbool(party_listFocus) && !(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0) && getplayercardinfo(9, 3, dvarint(party_selectedIndex)) != ""); textalign 9 textscale 0.375 textfont 3 - exp text ("[" + getplayercardinfo(9, 3, dvarint(party_selectedIndex))) + "]"; + exp text "[" + getplayercardinfo(9, 3, dvarint(party_selectedIndex)) + "]"; exp rect x (- 248) + 204; - exp rect y ((28 + (dvarint(party_selectedIndex) * 20)) - 10) + 18; + exp rect y (28 + (dvarint(party_selectedIndex) * 20) - 10) + 18; } itemDef { @@ -1200,7 +1201,7 @@ rect -272 27 272 380 3 1 decoration type 6 - visible when(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased))); textaligny -2 textscale 0.375 noscrollbars @@ -1215,7 +1216,7 @@ rect -272 207 272 380 3 1 decoration type 6 - visible when(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)); + visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased))); textaligny -2 textscale 0.375 noscrollbars @@ -1252,7 +1253,7 @@ forecolor 1 1 1 0.9 bordercolor 0 0 0 0.5 background "gradient" - exp rect w 544 + (dvarint(wideScreen) * 182); + exp rect w 544 + (dvarint(widescreen) * 182); spacing 30 speed 50 newsfeed 1 @@ -1264,6 +1265,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 0 0 0 0.2 } itemDef @@ -1356,9 +1358,9 @@ setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; setLocalVarString ui_hint_text "@MPUI_DESC_CREATE_A_CLASS"; - setLocalVarString ui_info_name ""; + setLocalVarString ui_info_name ; setLocalVarString ui_info_desc "@MPUI_DESC_CREATE_A_CLASS"; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -1381,8 +1383,9 @@ rect 236 50 40 20 1 1 style 3 decoration - visible when((((isitemunlocked("cac") && ((getplayerdataanybooltrue("weaponNew") || getplayerdataanybooltrue("camoNew")) || getplayerdataanybooltrue("attachmentNew"))) || getplayerdataanybooltrue("perkNew")) || (((((((((getplayerdata("perkNew", "frag_grenade_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "frag_grenade_mp", 8))) || (getplayerdata("perkNew", "semtex_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "semtex_mp", 8)))) || (getplayerdata("perkNew", "c4_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "c4_mp", 8)))) || (getplayerdata("perkNew", "claymore_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "claymore_mp", 8)))) || (getplayerdata("perkNew", "throwingknife_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "throwingknife_mp", 8)))) || (getplayerdata("perkNew", "specialty_tacticalinsertion") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "specialty_tacticalinsertion", 8)))) || (getplayerdata("perkNew", "specialty_blastshield") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "specialty_blastshield", 8)))) || weaponclassnew("weapon_grenade")) || weaponclassnew("weapon_equipment"))) || getplayerdata("featureNew", "cac")); + visible when((isitemunlocked("cac") && (getplayerdataanybooltrue("weaponNew") || getplayerdataanybooltrue("camoNew") || getplayerdataanybooltrue("attachmentNew")) || getplayerdataanybooltrue("perkNew") || ((getplayerdata("perkNew", "frag_grenade_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "frag_grenade_mp", 8))) || (getplayerdata("perkNew", "semtex_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "semtex_mp", 8))) || (getplayerdata("perkNew", "c4_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "c4_mp", 8))) || (getplayerdata("perkNew", "claymore_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "claymore_mp", 8))) || (getplayerdata("perkNew", "throwingknife_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "throwingknife_mp", 8))) || (getplayerdata("perkNew", "specialty_tacticalinsertion") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "specialty_tacticalinsertion", 8))) || (getplayerdata("perkNew", "specialty_blastshield") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "specialty_blastshield", 8))) || weaponclassnew("weapon_grenade") || weaponclassnew("weapon_equipment")) || getplayerdata("featureNew", "cac"))); align 2 + textscale 0.55 exp material "specialty_new"; } itemDef @@ -1438,9 +1441,9 @@ setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; setLocalVarString ui_hint_text "@MPUI_DESC_PLAYERCARD"; - setLocalVarString ui_info_name ""; + setLocalVarString ui_info_name ; setLocalVarString ui_info_desc "@MPUI_DESC_PLAYERCARD"; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -1463,8 +1466,9 @@ rect 236 70 40 20 1 1 style 3 decoration - visible when(((((((((((((((getplayerdata("featureNew", "cas") || getplayerdata("featureNew", "token_1")) || getplayerdata("featureNew", "token_2")) || getplayerdata("featureNew", "token_3")) || getplayerdata("featureNew", "token_4")) || getplayerdata("featureNew", "token_5")) || getplayerdata("featureNew", "token_6")) || getplayerdata("featureNew", "token_7")) || getplayerdata("featureNew", "token_8")) || getplayerdata("featureNew", "token_9")) || getplayerdata("featureNew", "token_10")) || getplayerdata("featureNew", "token_11")) || getplayerdata("featureNew", "token_12")) || getplayerdata("featureNew", "clantag")) || (getplayerdataanybooltrue("iconNew") || getplayerdata("featureNew", "playercard_icon"))) || (getplayerdataanybooltrue("titleNew") || getplayerdata("featureNew", "playercard_title"))); + visible when((getplayerdata("featureNew", "cas") || getplayerdata("featureNew", "token_1") || getplayerdata("featureNew", "token_2") || getplayerdata("featureNew", "token_3") || getplayerdata("featureNew", "token_4") || getplayerdata("featureNew", "token_5") || getplayerdata("featureNew", "token_6") || getplayerdata("featureNew", "token_7") || getplayerdata("featureNew", "token_8") || getplayerdata("featureNew", "token_9") || getplayerdata("featureNew", "token_10") || getplayerdata("featureNew", "token_11") || getplayerdata("featureNew", "token_12")) || getplayerdata("featureNew", "clantag") || (getplayerdataanybooltrue("iconNew") || getplayerdata("featureNew", "playercard_icon")) || (getplayerdataanybooltrue("titleNew") || getplayerdata("featureNew", "playercard_title"))); align 2 + textscale 0.55 exp material "specialty_new"; } itemDef @@ -1487,9 +1491,9 @@ setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; setLocalVarString ui_hint_text "@PATCH_DESC_BARRACKS"; - setLocalVarString ui_info_name ""; + setLocalVarString ui_info_name ; setLocalVarString ui_info_desc "@PATCH_DESC_BARRACKS"; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -1512,8 +1516,9 @@ rect 236 90 40 20 1 1 style 3 decoration - visible when(((getplayerdataanybooltrue("challengeTierNew") || getplayerdata("featureNew", "challenges")) || getplayerdata("featureNew", "challenges")) || getplayerdata("featureNew", "prestige")); + visible when(((getplayerdataanybooltrue("challengeTierNew") || getplayerdata("featureNew", "challenges")) || getplayerdata("featureNew", "challenges") || getplayerdata("featureNew", "prestige"))); align 2 + textscale 0.55 exp material "specialty_new"; } itemDef @@ -1536,9 +1541,9 @@ setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; setLocalVarString ui_hint_text "@MPUI_DESC_FRIENDS"; - setLocalVarString ui_info_name ""; + setLocalVarString ui_info_name ; setLocalVarString ui_info_desc "@MPUI_DESC_FRIENDS"; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -1585,21 +1590,21 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); if (dvarbool(party_vetoButtonVisible)) { - setLocalVarString ui_hint_text "@MPUI_DESC_VOTE_TO_SKIP"; + setLocalVarString ui_hint_text ("@MPUI_DESC_VOTE_TO_SKIP"); } else { - setLocalVarString ui_hint_text "@MPUI_VOTE_CAST"; + setLocalVarString ui_hint_text ("@MPUI_VOTE_CAST"); } } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); setLocalVarString ui_hint_text "@NULL_EMPTY"; } mouseEnter diff --git a/ui_mp/menu_xboxlive_privatelobby.menu b/ui_mp/menu_xboxlive_privatelobby.menu index cc684e3..9dd1db3 100644 --- a/ui_mp/menu_xboxlive_privatelobby.menu +++ b/ui_mp/menu_xboxlive_privatelobby.menu @@ -4,6 +4,7 @@ name "menu_xboxlive_privatelobby" fullscreen 1 rect 0 0 640 480 0 0 + forecolor 0 0 0 0 onOpen { open createserver; diff --git a/ui_mp/minimap_fullscreen.menu b/ui_mp/minimap_fullscreen.menu index 9d1cb8d..a5e04bb 100644 --- a/ui_mp/minimap_fullscreen.menu +++ b/ui_mp/minimap_fullscreen.menu @@ -5,7 +5,7 @@ rect 3 3 0 0 8 8 hiddenDuringScope hiddenDuringFlashbang - visible 1 + visible when(((!(ui_active())) && (!(flashbanged())) && (!(((weaponname() == "killstreak_ac130_mp") || (weaponname() == "killstreak_helicopter_minigun_mp") || (weaponname() == "killstreak_predator_missile_mp") || ((weaponname() == "ac130_105mm_mp") || (weaponname() == "ac130_40mm_mp") || (weaponname() == "ac130_25mm_mp")) || (adsjavelin()) || (weaponname() == "heli_remote_mp") || missilecam()) || (getperk("equipment") == "_specialty_blastshield" && ((!(dvarint(scr_gameended))) || inkillcam())))) && (!(scoped())) && (!(selecting_location())) && (!isempjammed()) && ((!(dvarbool(g_hardcore))) || radarisenabled() || dvarint(g_compassShowEnemies)) && (!(dvarint(scr_gameended)))) && (!(milliseconds() - localvarint("ui_show_killedBy") < 4000 || (inkillcam()))) && (!(selecting_location())) && (!(spectatingfree()))); itemDef { name "minimap_border" @@ -141,7 +141,7 @@ visible 1 textscale 0.55 background "scanlines_stencil" - exp rect y -100 + (200 * (1 - ((milliseconds() % 4000) / 4000))); + exp rect y (- 100) + ((200) * (1 - ((milliseconds() % 4000) / 4000))); } itemDef { diff --git a/ui_mp/mod_download_popmenu.menu b/ui_mp/mod_download_popmenu.menu index 6ded846..b817845 100644 --- a/ui_mp/mod_download_popmenu.menu +++ b/ui_mp/mod_download_popmenu.menu @@ -11,11 +11,11 @@ legacySplitScreenScale onOpen { - setLocalVarInt ui_centerPopup 1; + setLocalVarInt ui_centerPopup (1); } onClose { - setLocalVarInt ui_centerPopup 0; + setLocalVarInt ui_centerPopup (0); uiScript mod_download_cancel; } onESC @@ -61,7 +61,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -72,7 +72,7 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -82,7 +82,7 @@ visible 1 textscale 0.55 background "mockup_popup_bg_stencilfill" - exp rect h 56 + (3 * 20); + exp rect h (56 + 3 * 20); } itemDef { @@ -93,7 +93,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -104,7 +104,7 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -115,14 +115,14 @@ textscale 0.55 forecolor 1 1 1 0 background "small_box_lightfx" - exp rect h 56 + (3 * 20); + exp rect h (56 + 3 * 20); } itemDef { rect -64 -64 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tl" @@ -132,7 +132,7 @@ rect 0 -64 300 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_t" @@ -142,7 +142,7 @@ rect 300 -64 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tr" @@ -152,55 +152,55 @@ rect 300 0 64 0 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_r" - exp rect h 56 + (3 * 20); + exp rect h (56 + 3 * 20); } itemDef { rect 300 0 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_br" - exp rect y (32 - 0) + (24 + (3 * 20)); + exp rect y (32 - 0) + ((24 + 3 * 20)); } itemDef { rect 0 0 300 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_b" - exp rect y (32 - 0) + (24 + (3 * 20)); + exp rect y (32 - 0) + ((24 + 3 * 20)); } itemDef { rect -64 0 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_bl" - exp rect y (32 - 0) + (24 + (3 * 20)); + exp rect y (32 - 0) + ((24 + 3 * 20)); } itemDef { rect -63 0 64 0 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_l" - exp rect h 56 + (3 * 20); + exp rect h (56 + 3 * 20); } itemDef { @@ -288,7 +288,7 @@ rect 6 96 292 20 2 2 style 1 type 1 - visible 1 + visible when(1); textalign 6 textalignx -24 textscale 0.375 @@ -303,12 +303,12 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; + setLocalVarBool ui_popupAButton (1); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); } action { diff --git a/ui_mp/mods_menu.menu b/ui_mp/mods_menu.menu index ca91202..575be8e 100644 --- a/ui_mp/mods_menu.menu +++ b/ui_mp/mods_menu.menu @@ -36,7 +36,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -49,7 +49,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -60,7 +60,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -116,7 +116,7 @@ textalignx -60 textscale 0.5 textfont 9 - exp rect x -80; + exp rect x - 80; } itemDef { diff --git a/ui_mp/onlineupdate.menu b/ui_mp/onlineupdate.menu index c06ecc5..39b4902 100644 --- a/ui_mp/onlineupdate.menu +++ b/ui_mp/onlineupdate.menu @@ -14,11 +14,11 @@ legacySplitScreenScale onOpen { - setLocalVarInt ui_centerPopup 1; + setLocalVarInt ui_centerPopup (1); } onClose { - setLocalVarInt ui_centerPopup 0; + setLocalVarInt ui_centerPopup (0); } onESC { @@ -63,7 +63,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -74,7 +74,7 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -84,7 +84,7 @@ visible 1 textscale 0.55 background "mockup_popup_bg_stencilfill" - exp rect h 24 + (1 * 20); + exp rect h (24 + 1 * 20); } itemDef { @@ -95,7 +95,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -106,7 +106,7 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -117,7 +117,7 @@ textscale 0.55 forecolor 1 1 1 0 background "small_box_lightfx" - exp rect h 24 + (1 * 20); + exp rect h (24 + 1 * 20); } itemDef { @@ -158,7 +158,7 @@ textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_r" - exp rect h 24 + (1 * 20); + exp rect h (24 + 1 * 20); } itemDef { @@ -169,7 +169,7 @@ textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_br" - exp rect y (0 - 0) + (24 + (1 * 20)); + exp rect y (0 - 0) + ((24 + 1 * 20)); } itemDef { @@ -180,7 +180,7 @@ textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_b" - exp rect y (0 - 0) + (24 + (1 * 20)); + exp rect y (0 - 0) + ((24 + 1 * 20)); } itemDef { @@ -191,7 +191,7 @@ textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_bl" - exp rect y (0 - 0) + (24 + (1 * 20)); + exp rect y (0 - 0) + ((24 + 1 * 20)); } itemDef { @@ -202,7 +202,7 @@ textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_l" - exp rect h 24 + (1 * 20); + exp rect h (24 + 1 * 20); } itemDef { @@ -219,7 +219,7 @@ rect 0 10 300 40 2 2 decoration type 1 - visible when((((sin(milliseconds() * 0.005) + 1) * 0.5) > 0.25) && (((sin(milliseconds() * 0.005) + 1) * 0.5) <= 0.5)); + visible when((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.25 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.5); textalign 5 textaligny 10 textscale 0.375 @@ -230,7 +230,7 @@ rect 0 10 300 40 2 2 decoration type 1 - visible when((((sin(milliseconds() * 0.005) + 1) * 0.5) > 0.5) && (((sin(milliseconds() * 0.005) + 1) * 0.5) <= 0.75)); + visible when((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.5 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.75); textalign 5 textaligny 10 textscale 0.375 @@ -241,7 +241,7 @@ rect 0 10 300 40 2 2 decoration type 1 - visible when(((sin(milliseconds() * 0.005) + 1) * 0.5) > 0.75); + visible when((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.75); textalign 5 textaligny 10 textscale 0.375 diff --git a/ui_mp/pc_join_unranked.menu b/ui_mp/pc_join_unranked.menu index 9eb53e0..c80384b 100644 --- a/ui_mp/pc_join_unranked.menu +++ b/ui_mp/pc_join_unranked.menu @@ -46,7 +46,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -59,7 +59,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -70,7 +70,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -99,6 +99,7 @@ name "sourcefield" rect 100 -33 144 18 1 1 style 1 + type 8 visible 1 ownerdraw 220 textalignx 10 @@ -127,6 +128,7 @@ text "@MENU_GAME_TYPE" rect 100 -15 144 18 1 1 style 1 + type 8 visible 1 ownerdraw 253 textalignx 10 @@ -284,7 +286,8 @@ rect 539 9 93 62 0 0 style 1 decoration - visible when(dvarbool(ui_serverSelected) && dvarbool(wideScreen)); + visible when(dvarbool(ui_serverSelected) && dvarbool(widescreen)); + textscale 0.55 backcolor 0 0 0 0.5 background "black" } @@ -294,7 +297,8 @@ rect 540 10 91 60 0 0 style 3 decoration - visible when(dvarbool(ui_serverSelected) && dvarbool(wideScreen)); + visible when(dvarbool(ui_serverSelected) && dvarbool(widescreen)); + textscale 0.55 background "black" exp material "preview_" + dvarstring(ui_serverSelectedMap); } @@ -305,6 +309,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 1 1 1 0.15 } itemDef @@ -331,90 +336,99 @@ { name "lineMatchtype" group "grpCoulmnSep" - rect -2 -2 1 338 0 1 + rect 28 42 1 338 0 1 style 1 decoration visible 1 + textscale 0.55 backcolor 1 1 1 0.2 } itemDef { name "lineAimAssist" group "grpCoulmnSep" - rect -2 -2 1 338 0 1 + rect 50 42 1 338 0 1 style 1 decoration visible 1 + textscale 0.55 backcolor 1 1 1 0.2 } itemDef { name "lineVoiceChat" group "grpCoulmnSep" - rect -2 -2 1 338 0 1 + rect 72 42 1 338 0 1 style 1 decoration visible 1 + textscale 0.55 backcolor 1 1 1 0.2 } itemDef { name "lineServer" group "grpCoulmnSep" - rect -2 -2 1 338 0 1 + rect 94 42 1 338 0 1 style 1 decoration visible 1 + textscale 0.55 backcolor 1 1 1 0.2 } itemDef { name "lineMap" group "grpCoulmnSep" - rect -2 -2 1 338 0 1 + rect 304 42 1 338 0 1 style 1 decoration visible 1 + textscale 0.55 backcolor 1 1 1 0.2 } itemDef { name "linePlayers" group "grpCoulmnSep" - rect -2 -2 1 338 0 1 + rect 376 42 1 338 0 1 style 1 decoration visible 1 + textscale 0.55 backcolor 1 1 1 0.2 } itemDef { name "lineType" group "grpCoulmnSep" - rect -2 -2 1 338 0 1 + rect 428 42 1 338 0 1 style 1 decoration visible 1 + textscale 0.55 backcolor 1 1 1 0.2 } itemDef { name "lineMod" group "grpCoulmnSep" - rect -2 -2 1 338 0 1 + rect 532 42 1 338 0 1 style 1 decoration visible 1 + textscale 0.55 backcolor 1 1 1 0.2 } itemDef { name "linePing" group "grpCoulmnSep" - rect -2 -2 1 338 0 1 + rect 634 42 1 338 0 1 style 1 decoration visible 1 + textscale 0.55 backcolor 1 1 1 0.2 } itemDef @@ -454,13 +468,14 @@ style 1 type 1 visible 1 + textscale 0.55 forecolor 1 0.8 0.4 1 action { play mouse_click; uiScript ServerSort 0; setItemColor grpTabs foreColor 1 "0.8" "0.4" 1; - setItemColor passwordicon foreColor 1 1 "0.5" 1; + setItemColor passwordicon foreColor 1 "1.0" "0.5" 1; setItemColor matchtypeicon foreColor 1 1 1 1; setItemColor aimassisticon foreColor 1 1 1 1; setItemColor voicechaticon foreColor 1 1 1 1; @@ -469,10 +484,11 @@ itemDef { name "passwordicon" - rect 2 2 16 16 0 1 + rect 7 46 16 16 0 1 style 3 decoration visible 1 + textscale 0.55 background "cardicon_locked" } itemDef @@ -483,13 +499,14 @@ style 1 type 1 visible 1 + textscale 0.55 forecolor 1 0.8 0.4 1 action { play mouse_click; uiScript ServerSort 1; setItemColor grpTabs foreColor 1 "0.8" "0.4" 1; - setItemColor matchtypeicon foreColor 1 1 "0.5" 1; + setItemColor matchtypeicon foreColor 1 "1.0" "0.5" 1; setItemColor passwordicon foreColor 1 1 1 1; setItemColor aimassisticon foreColor 1 1 1 1; setItemColor voicechaticon foreColor 1 1 1 1; @@ -498,10 +515,11 @@ itemDef { name "matchtypeicon" - rect 0 2 16 16 0 1 + rect 32 46 16 16 0 1 style 3 decoration visible 1 + textscale 0.55 background "server_hardware_header" } itemDef @@ -512,13 +530,14 @@ style 1 type 1 visible 1 + textscale 0.55 forecolor 1 0.8 0.4 1 action { play mouse_click; uiScript ServerSort 2; setItemColor grpTabs foreColor 1 "0.8" "0.4" 1; - setItemColor aimassisticon foreColor 1 1 "0.5" 1; + setItemColor aimassisticon foreColor 1 "1.0" "0.5" 1; setItemColor passwordicon foreColor 1 1 1 1; setItemColor matchtypeicon foreColor 1 1 1 1; setItemColor voicechaticon foreColor 1 1 1 1; @@ -527,10 +546,11 @@ itemDef { name "aimassisticon" - rect 0 2 16 16 0 1 + rect 54 46 16 16 0 1 style 3 decoration visible 1 + textscale 0.55 background "cardicon_headshot" } itemDef @@ -541,13 +561,14 @@ style 1 type 1 visible 1 + textscale 0.55 forecolor 1 0.8 0.4 1 action { play mouse_click; uiScript ServerSort 3; setItemColor grpTabs foreColor 1 "0.8" "0.4" 1; - setItemColor voicechaticon foreColor 1 1 "0.5" 1; + setItemColor voicechaticon foreColor 1 "1.0" "0.5" 1; setItemColor passwordicon foreColor 1 1 1 1; setItemColor matchtypeicon foreColor 1 1 1 1; setItemColor aimassisticon foreColor 1 1 1 1; @@ -556,10 +577,11 @@ itemDef { name "voicechaticon" - rect 0 2 16 16 0 1 + rect 76 46 16 16 0 1 style 3 decoration visible 1 + textscale 0.55 background "talkingicon" } itemDef @@ -585,7 +607,7 @@ setItemColor passwordicon foreColor 1 1 1 1; setItemColor aimassisticon foreColor 1 1 1 1; setItemColor voicechaticon foreColor 1 1 1 1; - setitemColor self foreColor 1 1 "0.5" 1; + setitemColor self foreColor 1 "1.0" "0.5" 1; } } itemDef @@ -611,7 +633,7 @@ setItemColor passwordicon foreColor 1 1 1 1; setItemColor aimassisticon foreColor 1 1 1 1; setItemColor voicechaticon foreColor 1 1 1 1; - setitemColor self foreColor 1 1 "0.5" 1; + setitemColor self foreColor 1 "1.0" "0.5" 1; } } itemDef @@ -637,7 +659,7 @@ setItemColor passwordicon foreColor 1 1 1 1; setItemColor aimassisticon foreColor 1 1 1 1; setItemColor voicechaticon foreColor 1 1 1 1; - setitemColor self foreColor 1 1 "0.5" 1; + setitemColor self foreColor 1 "1.0" "0.5" 1; } } itemDef @@ -663,7 +685,7 @@ setItemColor passwordicon foreColor 1 1 1 1; setItemColor aimassisticon foreColor 1 1 1 1; setItemColor voicechaticon foreColor 1 1 1 1; - setitemColor self foreColor 1 1 "0.5" 1; + setitemColor self foreColor 1 "1.0" "0.5" 1; } } itemDef @@ -689,7 +711,7 @@ setItemColor passwordicon foreColor 1 1 1 1; setItemColor aimassisticon foreColor 1 1 1 1; setItemColor voicechaticon foreColor 1 1 1 1; - setitemColor self foreColor 1 1 "0.5" 1; + setitemColor self foreColor 1 "1.0" "0.5" 1; } } itemDef @@ -715,7 +737,7 @@ setItemColor passwordicon foreColor 1 1 1 1; setItemColor aimassisticon foreColor 1 1 1 1; setItemColor voicechaticon foreColor 1 1 1 1; - setitemColor self foreColor 1 1 "0.5" 1; + setitemColor self foreColor 1 "1.0" "0.5" 1; } } itemDef diff --git a/ui_mp/pc_options_actions.menu b/ui_mp/pc_options_actions.menu index b3376e5..6968fe4 100644 --- a/ui_mp/pc_options_actions.menu +++ b/ui_mp/pc_options_actions.menu @@ -25,12 +25,12 @@ close pc_options_multi; close pc_options_video; close pc_options_voice; - setLocalVarBool ui_hideBack 1; + setLocalVarBool ui_hideBack (1); setLocalVarBool ui_hint_display 0; } onClose { - setLocalVarBool ui_hideBack 0; + setLocalVarBool ui_hideBack (0); open pc_options_controls; } onESC @@ -52,7 +52,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -61,7 +61,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -74,7 +74,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -85,7 +85,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { diff --git a/ui_mp/pc_options_advanced_video.menu b/ui_mp/pc_options_advanced_video.menu index e485929..3d915c5 100644 --- a/ui_mp/pc_options_advanced_video.menu +++ b/ui_mp/pc_options_advanced_video.menu @@ -26,12 +26,12 @@ close pc_options_video; close pc_options_voice; execnow "profile_menuDvarsSetup; resetViewport"; - setLocalVarBool ui_hideBack 1; + setLocalVarBool ui_hideBack (1); } onClose { execnow "profile_menuDvarsFinish; resetViewport"; - setLocalVarBool ui_hideBack 0; + setLocalVarBool ui_hideBack (0); execOnDvarIntValue r_lodScaleRigid 2 "set r_lodScaleSkinned 4; set r_lodBiasSkinned -200; set r_lodBiasRigid -100"; execOnDvarIntValue r_lodScaleRigid 1 "set r_lodScaleSkinned 1; set r_lodBiasSkinned 0; set r_lodBiasRigid 0"; open pc_options_video; @@ -55,7 +55,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -64,7 +64,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -77,7 +77,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -88,7 +88,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -197,7 +197,7 @@ style 1 type 12 visible 1 - disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); + disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby())); textalign 4 textalignx 170 textscale 0.375 @@ -224,7 +224,7 @@ { play mouse_click; setDvarInt r_aspectratio dvarInt ( ui_r_aspectratio ); - setLocalVarBool ui_showApply 1; + setLocalVarBool ui_showApply (1); } dvar "ui_r_aspectratio" dvarFloatList { "@MENU_AUTO" 0 "@MENU_STANDARD_4_3" 1 "@MENU_WIDE_16_10" 2 "@MENU_WIDE_16_9" 3 } @@ -247,7 +247,7 @@ style 1 type 12 visible 1 - disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); + disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby())); textalign 4 textalignx 170 textscale 0.375 @@ -273,7 +273,7 @@ action { play mouse_click; - setLocalVarBool ui_showApply 1; + setLocalVarBool ui_showApply (1); } dvar "ui_r_aasamples" dvarFloatList { "@MENU_OFF" 1 "@MENU_2X" 2 "@MENU_4X" 4 } @@ -296,7 +296,7 @@ style 1 type 13 visible 1 - disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); + disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby())); textalign 4 textalignx 170 textscale 0.375 @@ -331,7 +331,7 @@ action { play mouse_click; - setLocalVarBool ui_showApply 1; + setLocalVarBool ui_showApply (1); } dvar "ui_r_displayRefresh" dvarEnumList "r_displayRefresh" @@ -354,7 +354,7 @@ style 1 type 11 visible 1 - disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); + disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby())); textalign 4 textalignx 170 textscale 0.375 @@ -389,7 +389,7 @@ action { play mouse_click; - setLocalVarBool ui_showApply 1; + setLocalVarBool ui_showApply (1); } dvar "ui_r_vsync" } @@ -777,7 +777,7 @@ style 1 type 12 visible 1 - disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); + disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby())); textalign 4 textalignx 170 textscale 0.375 @@ -803,7 +803,7 @@ action { play mouse_click; - setLocalVarBool ui_showApply 1; + setLocalVarBool ui_showApply (1); } dvar "ui_r_picmip_manual" dvarFloatList { "@MENU_AUTOMATIC" 0 "@MENU_MANUAL" 1 } @@ -826,7 +826,7 @@ style 1 type 12 visible when(dvarbool(ui_r_picmip_manual)); - disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); + disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby())); textalign 4 textalignx 170 textscale 0.375 @@ -852,7 +852,7 @@ action { play mouse_click; - setLocalVarBool ui_showApply 1; + setLocalVarBool ui_showApply (1); } dvar "ui_r_picmip" dvarFloatList { "@MENU_LOW" 3 "@MENU_NORMAL" 2 "@MENU_HIGH" 1 "@MENU_EXTRA" 0 } @@ -875,7 +875,7 @@ style 1 type 12 visible when(dvarbool(ui_r_picmip_manual)); - disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); + disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby())); textalign 4 textalignx 170 textscale 0.375 @@ -901,7 +901,7 @@ action { play mouse_click; - setLocalVarBool ui_showApply 1; + setLocalVarBool ui_showApply (1); } dvar "ui_r_picmip_bump" dvarFloatList { "@MENU_LOW" 3 "@MENU_NORMAL" 2 "@MENU_HIGH" 1 "@MENU_EXTRA" 0 } @@ -924,7 +924,7 @@ style 1 type 12 visible when(dvarbool(ui_r_picmip_manual)); - disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); + disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby())); textalign 4 textalignx 170 textscale 0.375 @@ -950,7 +950,7 @@ action { play mouse_click; - setLocalVarBool ui_showApply 1; + setLocalVarBool ui_showApply (1); } dvar "ui_r_picmip_spec" dvarFloatList { "@MENU_LOW" 3 "@MENU_NORMAL" 2 "@MENU_HIGH" 1 "@MENU_EXTRA" 0 } diff --git a/ui_mp/pc_options_audio.menu b/ui_mp/pc_options_audio.menu index 8a27395..b46ae1e 100644 --- a/ui_mp/pc_options_audio.menu +++ b/ui_mp/pc_options_audio.menu @@ -36,16 +36,16 @@ onESC { close self; - if ((((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showPicApply")) && (!localvarbool("ui_showApply"))) && (!localvarbool("ui_showAudioApply"))) + if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showPicApply") && !localvarbool("ui_showApply") && !localvarbool("ui_showAudioApply")) { execnow "setfromdvar r_picmip ui_r_picmip"; execnow "setfromdvar r_picmip_bump ui_r_picmip_bump"; execnow "setfromdvar r_picmip_spec ui_r_picmip_spec"; execnow "setfromdvar r_picmip_manual ui_r_picmip_manual"; exec "wait; wait; r_applyPicmip"; - setLocalVarBool ui_showPicApply 0; + setLocalVarBool ui_showPicApply (0); } - if (((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showApply")) || localvarbool("ui_showAudioApply")) + if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showApply") || localvarbool("ui_showAudioApply")) { open all_restart_popmenu; } @@ -67,7 +67,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -76,7 +76,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -89,7 +89,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -100,7 +100,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -233,13 +233,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -291,13 +291,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -349,13 +349,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -407,13 +407,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -465,13 +465,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -523,13 +523,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -581,7 +581,7 @@ style 1 type 1 visible 1 - disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); + disabled when(dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby()); textalign 6 textalignx -60 textscale 0.375 @@ -591,13 +591,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -616,7 +616,7 @@ rect 10 -160 206 240 1 3 decoration autowrapped - visible when(((!localvarbool("ui_brightness_hint_display")) && (!localvarbool("ui_hint_display"))) && menuisopen("pc_options_video")); + visible when(!localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display") && menuisopen("pc_options_video")); textscale 0.375 } itemDef @@ -626,7 +626,7 @@ rect 10 -160 206 240 1 3 decoration autowrapped - visible when(localvarbool("ui_brightness_hint_display") && (!localvarbool("ui_hint_display"))); + visible when(localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display")); textscale 0.375 forecolor 1 0.8 0.4 1 } @@ -671,16 +671,16 @@ { play mouse_click; close self; - if ((((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showPicApply")) && (!localvarbool("ui_showApply"))) && (!localvarbool("ui_showAudioApply"))) + if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showPicApply") && !localvarbool("ui_showApply") && !localvarbool("ui_showAudioApply")) { execnow "setfromdvar r_picmip ui_r_picmip"; execnow "setfromdvar r_picmip_bump ui_r_picmip_bump"; execnow "setfromdvar r_picmip_spec ui_r_picmip_spec"; execnow "setfromdvar r_picmip_manual ui_r_picmip_manual"; exec "wait; wait; r_applyPicmip"; - setLocalVarBool ui_showPicApply 0; + setLocalVarBool ui_showPicApply (0); } - if (((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showApply")) || localvarbool("ui_showAudioApply")) + if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showApply") || localvarbool("ui_showAudioApply")) { open all_restart_popmenu; } @@ -712,6 +712,12 @@ textfont 3 disablecolor 0.6 0.55 0.55 1 background "menu_setting_selection_bar" + onFocus + { + } + leaveFocus + { + } mouseEnter { play mouse_over; @@ -752,7 +758,7 @@ style 1 type 12 visible 1 - disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); + disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby())); textalign 4 textalignx 170 textscale 0.375 @@ -778,7 +784,7 @@ action { play mouse_click; - setLocalVarBool ui_showAudioApply 1; + setLocalVarBool ui_showAudioApply (1); } dvar "ui_outputConfig" dvarStrList { "@MENU_WINDOWS_DEFAULT" "Windows default" "@MENU_MONO" "Mono" "@MENU_STEREO" "Stereo" "@MENU_FOUR_SPEAKERS" "4 speakers" "@MENU_FIVE_ONE_SPEAKERS" "5.1 speakers" } diff --git a/ui_mp/pc_options_controls.menu b/ui_mp/pc_options_controls.menu index 30a624a..4640198 100644 --- a/ui_mp/pc_options_controls.menu +++ b/ui_mp/pc_options_controls.menu @@ -26,27 +26,27 @@ close pc_options_video; close pc_options_voice; setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_hideBack 1; + setLocalVarBool ui_hideBack (1); execnow "profile_menuDvarsSetup; resetViewport"; setFocus buttonControls; } onClose { - setLocalVarBool ui_hideBack 0; + setLocalVarBool ui_hideBack (0); } onESC { close self; - if ((((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showPicApply")) && (!localvarbool("ui_showApply"))) && (!localvarbool("ui_showAudioApply"))) + if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showPicApply") && !localvarbool("ui_showApply") && !localvarbool("ui_showAudioApply")) { execnow "setfromdvar r_picmip ui_r_picmip"; execnow "setfromdvar r_picmip_bump ui_r_picmip_bump"; execnow "setfromdvar r_picmip_spec ui_r_picmip_spec"; execnow "setfromdvar r_picmip_manual ui_r_picmip_manual"; exec "wait; wait; r_applyPicmip"; - setLocalVarBool ui_showPicApply 0; + setLocalVarBool ui_showPicApply (0); } - if (((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showApply")) || localvarbool("ui_showAudioApply")) + if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showApply") || localvarbool("ui_showAudioApply")) { open all_restart_popmenu; } @@ -68,7 +68,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -77,7 +77,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -90,7 +90,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -101,7 +101,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -234,13 +234,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -292,13 +292,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -350,13 +350,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -408,13 +408,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -466,13 +466,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -524,13 +524,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -582,7 +582,7 @@ style 1 type 1 visible 1 - disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); + disabled when(dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby()); textalign 6 textalignx -60 textscale 0.375 @@ -592,13 +592,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -617,7 +617,7 @@ rect 10 -160 206 240 1 3 decoration autowrapped - visible when(((!localvarbool("ui_brightness_hint_display")) && (!localvarbool("ui_hint_display"))) && menuisopen("pc_options_video")); + visible when(!localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display") && menuisopen("pc_options_video")); textscale 0.375 } itemDef @@ -627,7 +627,7 @@ rect 10 -160 206 240 1 3 decoration autowrapped - visible when(localvarbool("ui_brightness_hint_display") && (!localvarbool("ui_hint_display"))); + visible when(localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display")); textscale 0.375 forecolor 1 0.8 0.4 1 } @@ -672,16 +672,16 @@ { play mouse_click; close self; - if ((((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showPicApply")) && (!localvarbool("ui_showApply"))) && (!localvarbool("ui_showAudioApply"))) + if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showPicApply") && !localvarbool("ui_showApply") && !localvarbool("ui_showAudioApply")) { execnow "setfromdvar r_picmip ui_r_picmip"; execnow "setfromdvar r_picmip_bump ui_r_picmip_bump"; execnow "setfromdvar r_picmip_spec ui_r_picmip_spec"; execnow "setfromdvar r_picmip_manual ui_r_picmip_manual"; exec "wait; wait; r_applyPicmip"; - setLocalVarBool ui_showPicApply 0; + setLocalVarBool ui_showPicApply (0); } - if (((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showApply")) || localvarbool("ui_showAudioApply")) + if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showApply") || localvarbool("ui_showAudioApply")) { open all_restart_popmenu; } @@ -718,13 +718,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -756,13 +756,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -794,13 +794,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -832,13 +832,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -877,13 +877,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { diff --git a/ui_mp/pc_options_game.menu b/ui_mp/pc_options_game.menu index a59e746..aecfae8 100644 --- a/ui_mp/pc_options_game.menu +++ b/ui_mp/pc_options_game.menu @@ -38,16 +38,16 @@ onESC { close self; - if ((((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showPicApply")) && (!localvarbool("ui_showApply"))) && (!localvarbool("ui_showAudioApply"))) + if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showPicApply") && !localvarbool("ui_showApply") && !localvarbool("ui_showAudioApply")) { execnow "setfromdvar r_picmip ui_r_picmip"; execnow "setfromdvar r_picmip_bump ui_r_picmip_bump"; execnow "setfromdvar r_picmip_spec ui_r_picmip_spec"; execnow "setfromdvar r_picmip_manual ui_r_picmip_manual"; exec "wait; wait; r_applyPicmip"; - setLocalVarBool ui_showPicApply 0; + setLocalVarBool ui_showPicApply (0); } - if (((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showApply")) || localvarbool("ui_showAudioApply")) + if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showApply") || localvarbool("ui_showAudioApply")) { open all_restart_popmenu; } @@ -69,7 +69,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -78,7 +78,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -91,7 +91,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -102,7 +102,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -235,13 +235,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -293,13 +293,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -351,13 +351,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -409,13 +409,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -467,13 +467,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -525,13 +525,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -583,7 +583,7 @@ style 1 type 1 visible 1 - disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); + disabled when(dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby()); textalign 6 textalignx -60 textscale 0.375 @@ -593,13 +593,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -618,7 +618,7 @@ rect 10 -160 206 240 1 3 decoration autowrapped - visible when(((!localvarbool("ui_brightness_hint_display")) && (!localvarbool("ui_hint_display"))) && menuisopen("pc_options_video")); + visible when(!localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display") && menuisopen("pc_options_video")); textscale 0.375 } itemDef @@ -628,7 +628,7 @@ rect 10 -160 206 240 1 3 decoration autowrapped - visible when(localvarbool("ui_brightness_hint_display") && (!localvarbool("ui_hint_display"))); + visible when(localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display")); textscale 0.375 forecolor 1 0.8 0.4 1 } @@ -673,16 +673,16 @@ { play mouse_click; close self; - if ((((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showPicApply")) && (!localvarbool("ui_showApply"))) && (!localvarbool("ui_showAudioApply"))) + if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showPicApply") && !localvarbool("ui_showApply") && !localvarbool("ui_showAudioApply")) { execnow "setfromdvar r_picmip ui_r_picmip"; execnow "setfromdvar r_picmip_bump ui_r_picmip_bump"; execnow "setfromdvar r_picmip_spec ui_r_picmip_spec"; execnow "setfromdvar r_picmip_manual ui_r_picmip_manual"; exec "wait; wait; r_applyPicmip"; - setLocalVarBool ui_showPicApply 0; + setLocalVarBool ui_showPicApply (0); } - if (((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showApply")) || localvarbool("ui_showAudioApply")) + if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showApply") || localvarbool("ui_showAudioApply")) { open all_restart_popmenu; } diff --git a/ui_mp/pc_options_gamepad.menu b/ui_mp/pc_options_gamepad.menu index 4f21e37..94a6a83 100644 --- a/ui_mp/pc_options_gamepad.menu +++ b/ui_mp/pc_options_gamepad.menu @@ -38,16 +38,16 @@ onESC { close self; - if ((((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showPicApply")) && (!localvarbool("ui_showApply"))) && (!localvarbool("ui_showAudioApply"))) + if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showPicApply") && !localvarbool("ui_showApply") && !localvarbool("ui_showAudioApply")) { execnow "setfromdvar r_picmip ui_r_picmip"; execnow "setfromdvar r_picmip_bump ui_r_picmip_bump"; execnow "setfromdvar r_picmip_spec ui_r_picmip_spec"; execnow "setfromdvar r_picmip_manual ui_r_picmip_manual"; exec "wait; wait; r_applyPicmip"; - setLocalVarBool ui_showPicApply 0; + setLocalVarBool ui_showPicApply (0); } - if (((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showApply")) || localvarbool("ui_showAudioApply")) + if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showApply") || localvarbool("ui_showAudioApply")) { open all_restart_popmenu; } @@ -69,7 +69,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -78,7 +78,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -91,7 +91,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -102,7 +102,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -235,13 +235,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -293,13 +293,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -351,13 +351,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -409,13 +409,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -467,13 +467,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -525,13 +525,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -583,7 +583,7 @@ style 1 type 1 visible 1 - disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); + disabled when(dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby()); textalign 6 textalignx -60 textscale 0.375 @@ -593,13 +593,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -618,7 +618,7 @@ rect 10 -160 206 240 1 3 decoration autowrapped - visible when(((!localvarbool("ui_brightness_hint_display")) && (!localvarbool("ui_hint_display"))) && menuisopen("pc_options_video")); + visible when(!localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display") && menuisopen("pc_options_video")); textscale 0.375 } itemDef @@ -628,7 +628,7 @@ rect 10 -160 206 240 1 3 decoration autowrapped - visible when(localvarbool("ui_brightness_hint_display") && (!localvarbool("ui_hint_display"))); + visible when(localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display")); textscale 0.375 forecolor 1 0.8 0.4 1 } @@ -673,16 +673,16 @@ { play mouse_click; close self; - if ((((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showPicApply")) && (!localvarbool("ui_showApply"))) && (!localvarbool("ui_showAudioApply"))) + if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showPicApply") && !localvarbool("ui_showApply") && !localvarbool("ui_showAudioApply")) { execnow "setfromdvar r_picmip ui_r_picmip"; execnow "setfromdvar r_picmip_bump ui_r_picmip_bump"; execnow "setfromdvar r_picmip_spec ui_r_picmip_spec"; execnow "setfromdvar r_picmip_manual ui_r_picmip_manual"; exec "wait; wait; r_applyPicmip"; - setLocalVarBool ui_showPicApply 0; + setLocalVarBool ui_showPicApply (0); } - if (((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showApply")) || localvarbool("ui_showAudioApply")) + if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showApply") || localvarbool("ui_showAudioApply")) { open all_restart_popmenu; } @@ -741,12 +741,12 @@ action { play mouse_click; - if (dvarbool(gpad_enabled) && (dvarstring(gpad_sticksConfig) == "")) + if (dvarbool(gpad_enabled) && dvarstring(gpad_sticksConfig) == "") { setdvar gpad_sticksConfig thumbstick_default; execnow bindgpsticksconfigs; } - if (dvarbool(gpad_enabled) && (dvarstring(gpad_buttonConfig) == "")) + if (dvarbool(gpad_enabled) && dvarstring(gpad_buttonConfig) == "") { setdvar gpad_buttonConfig buttons_default; execnow bindgpbuttonsconfigs; @@ -1114,6 +1114,12 @@ textfont 3 disablecolor 0.6 0.55 0.55 1 background "menu_setting_selection_bar" + onFocus + { + } + leaveFocus + { + } mouseEnter { play mouse_over; diff --git a/ui_mp/pc_options_look.menu b/ui_mp/pc_options_look.menu index 87dd4c4..3ba451f 100644 --- a/ui_mp/pc_options_look.menu +++ b/ui_mp/pc_options_look.menu @@ -25,12 +25,12 @@ close pc_options_multi; close pc_options_video; close pc_options_voice; - setLocalVarBool ui_hideBack 1; + setLocalVarBool ui_hideBack (1); setLocalVarBool ui_hint_display 0; } onClose { - setLocalVarBool ui_hideBack 0; + setLocalVarBool ui_hideBack (0); open pc_options_controls; } onESC @@ -52,7 +52,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -61,7 +61,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -74,7 +74,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -85,7 +85,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -214,6 +214,12 @@ textfont 3 disablecolor 0.6 0.55 0.55 1 background "menu_setting_selection_bar" + onFocus + { + } + leaveFocus + { + } mouseEnter { play mouse_over; diff --git a/ui_mp/pc_options_movement.menu b/ui_mp/pc_options_movement.menu index f26bf9b..99fa6f8 100644 --- a/ui_mp/pc_options_movement.menu +++ b/ui_mp/pc_options_movement.menu @@ -25,12 +25,12 @@ close pc_options_multi; close pc_options_video; close pc_options_voice; - setLocalVarBool ui_hideBack 1; + setLocalVarBool ui_hideBack (1); setLocalVarBool ui_hint_display 0; } onClose { - setLocalVarBool ui_hideBack 0; + setLocalVarBool ui_hideBack (0); open pc_options_controls; } onESC @@ -52,7 +52,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -61,7 +61,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -74,7 +74,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -85,7 +85,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { diff --git a/ui_mp/pc_options_multi.menu b/ui_mp/pc_options_multi.menu index a9d89fb..1b3f967 100644 --- a/ui_mp/pc_options_multi.menu +++ b/ui_mp/pc_options_multi.menu @@ -39,16 +39,16 @@ onESC { close self; - if ((((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showPicApply")) && (!localvarbool("ui_showApply"))) && (!localvarbool("ui_showAudioApply"))) + if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showPicApply") && !localvarbool("ui_showApply") && !localvarbool("ui_showAudioApply")) { execnow "setfromdvar r_picmip ui_r_picmip"; execnow "setfromdvar r_picmip_bump ui_r_picmip_bump"; execnow "setfromdvar r_picmip_spec ui_r_picmip_spec"; execnow "setfromdvar r_picmip_manual ui_r_picmip_manual"; exec "wait; wait; r_applyPicmip"; - setLocalVarBool ui_showPicApply 0; + setLocalVarBool ui_showPicApply (0); } - if (((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showApply")) || localvarbool("ui_showAudioApply")) + if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showApply") || localvarbool("ui_showAudioApply")) { open all_restart_popmenu; } @@ -70,7 +70,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -79,7 +79,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -92,7 +92,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -103,7 +103,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -236,13 +236,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -294,13 +294,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -352,13 +352,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -410,13 +410,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -468,13 +468,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -526,13 +526,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -584,7 +584,7 @@ style 1 type 1 visible 1 - disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); + disabled when(dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby()); textalign 6 textalignx -60 textscale 0.375 @@ -594,13 +594,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -619,7 +619,7 @@ rect 10 -160 206 240 1 3 decoration autowrapped - visible when(((!localvarbool("ui_brightness_hint_display")) && (!localvarbool("ui_hint_display"))) && menuisopen("pc_options_video")); + visible when(!localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display") && menuisopen("pc_options_video")); textscale 0.375 } itemDef @@ -629,7 +629,7 @@ rect 10 -160 206 240 1 3 decoration autowrapped - visible when(localvarbool("ui_brightness_hint_display") && (!localvarbool("ui_hint_display"))); + visible when(localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display")); textscale 0.375 forecolor 1 0.8 0.4 1 } @@ -674,16 +674,16 @@ { play mouse_click; close self; - if ((((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showPicApply")) && (!localvarbool("ui_showApply"))) && (!localvarbool("ui_showAudioApply"))) + if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showPicApply") && !localvarbool("ui_showApply") && !localvarbool("ui_showAudioApply")) { execnow "setfromdvar r_picmip ui_r_picmip"; execnow "setfromdvar r_picmip_bump ui_r_picmip_bump"; execnow "setfromdvar r_picmip_spec ui_r_picmip_spec"; execnow "setfromdvar r_picmip_manual ui_r_picmip_manual"; exec "wait; wait; r_applyPicmip"; - setLocalVarBool ui_showPicApply 0; + setLocalVarBool ui_showPicApply (0); } - if (((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showApply")) || localvarbool("ui_showAudioApply")) + if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showApply") || localvarbool("ui_showAudioApply")) { open all_restart_popmenu; } diff --git a/ui_mp/pc_options_video.menu b/ui_mp/pc_options_video.menu index 4c7b9d3..a1b2ec1 100644 --- a/ui_mp/pc_options_video.menu +++ b/ui_mp/pc_options_video.menu @@ -27,8 +27,8 @@ close pc_options_voice; setLocalVarString ui_hint_text "@NULL_EMPTY"; execnow "profile_menuDvarsSetup; resetViewport"; - setLocalVarBool ui_hideBack 1; - if ((!localvarint("ui_showApply")) && (!localvarint("ui_showPicApply"))) + setLocalVarBool ui_hideBack (1); + if (!localvarint("ui_showApply") && !localvarint("ui_showPicApply")) { exec "exec options_graphics.cfg"; exec "setfromdvar ui_r_fullscreen r_fullscreen"; @@ -39,7 +39,7 @@ onClose { execnow "profile_menuDvarsFinish; resetViewport"; - setLocalVarBool ui_hideBack 0; + setLocalVarBool ui_hideBack (0); execOnDvarIntValue r_lodScaleRigid 2 "set r_lodScaleSkinned 4; set r_lodBiasSkinned -200; set r_lodBiasRigid -100"; execOnDvarIntValue r_lodScaleRigid 1 "set r_lodScaleSkinned 1; set r_lodBiasSkinned 0; set r_lodBiasRigid 0"; exec "setfromdvar r_fullscreen ui_r_fullscreen"; @@ -48,16 +48,16 @@ onESC { close self; - if ((((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showPicApply")) && (!localvarbool("ui_showApply"))) && (!localvarbool("ui_showAudioApply"))) + if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showPicApply") && !localvarbool("ui_showApply") && !localvarbool("ui_showAudioApply")) { execnow "setfromdvar r_picmip ui_r_picmip"; execnow "setfromdvar r_picmip_bump ui_r_picmip_bump"; execnow "setfromdvar r_picmip_spec ui_r_picmip_spec"; execnow "setfromdvar r_picmip_manual ui_r_picmip_manual"; exec "wait; wait; r_applyPicmip"; - setLocalVarBool ui_showPicApply 0; + setLocalVarBool ui_showPicApply (0); } - if (((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showApply")) || localvarbool("ui_showAudioApply")) + if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showApply") || localvarbool("ui_showAudioApply")) { open all_restart_popmenu; } @@ -79,7 +79,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -88,7 +88,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -101,7 +101,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -112,7 +112,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -245,13 +245,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -303,13 +303,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -361,13 +361,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -419,13 +419,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -477,13 +477,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -535,13 +535,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -593,7 +593,7 @@ style 1 type 1 visible 1 - disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); + disabled when(dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby()); textalign 6 textalignx -60 textscale 0.375 @@ -603,13 +603,13 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); } mouseEnter { @@ -628,7 +628,7 @@ rect 10 -160 206 240 1 3 decoration autowrapped - visible when(((!localvarbool("ui_brightness_hint_display")) && (!localvarbool("ui_hint_display"))) && menuisopen("pc_options_video")); + visible when(!localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display") && menuisopen("pc_options_video")); textscale 0.375 } itemDef @@ -638,7 +638,7 @@ rect 10 -160 206 240 1 3 decoration autowrapped - visible when(localvarbool("ui_brightness_hint_display") && (!localvarbool("ui_hint_display"))); + visible when(localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display")); textscale 0.375 forecolor 1 0.8 0.4 1 } @@ -683,16 +683,16 @@ { play mouse_click; close self; - if ((((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showPicApply")) && (!localvarbool("ui_showApply"))) && (!localvarbool("ui_showAudioApply"))) + if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showPicApply") && !localvarbool("ui_showApply") && !localvarbool("ui_showAudioApply")) { execnow "setfromdvar r_picmip ui_r_picmip"; execnow "setfromdvar r_picmip_bump ui_r_picmip_bump"; execnow "setfromdvar r_picmip_spec ui_r_picmip_spec"; execnow "setfromdvar r_picmip_manual ui_r_picmip_manual"; exec "wait; wait; r_applyPicmip"; - setLocalVarBool ui_showPicApply 0; + setLocalVarBool ui_showPicApply (0); } - if (((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showApply")) || localvarbool("ui_showAudioApply")) + if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showApply") || localvarbool("ui_showAudioApply")) { open all_restart_popmenu; } @@ -716,7 +716,7 @@ style 1 type 13 visible 1 - disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); + disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby())); textalign 4 textalignx 170 textscale 0.375 @@ -751,7 +751,7 @@ action { play mouse_click; - setLocalVarBool ui_showApply 1; + setLocalVarBool ui_showApply (1); } dvar "ui_r_mode" dvarEnumList "r_mode" @@ -774,7 +774,7 @@ style 1 type 11 visible 1 - disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); + disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby())); textalign 4 textalignx 170 textscale 0.375 @@ -809,7 +809,7 @@ action { play mouse_click; - setLocalVarBool ui_showApply 1; + setLocalVarBool ui_showApply (1); } dvar "r_useD3D9Ex" } @@ -841,7 +841,7 @@ style 1 type 11 visible 1 - disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); + disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby())); textalign 4 textalignx 170 textscale 0.375 @@ -876,7 +876,7 @@ action { play mouse_click; - setLocalVarBool ui_showApply 1; + setLocalVarBool ui_showApply (1); exec "vid_xpos 0;vid_ypos 0"; } dvar "ui_r_fullscreen" @@ -899,7 +899,7 @@ style 1 type 11 visible 1 - disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); + disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby())); textalign 4 textalignx 170 textscale 0.375 @@ -934,7 +934,7 @@ action { play mouse_click; - setLocalVarBool ui_showApply 1; + setLocalVarBool ui_showApply (1); exec "vid_xpos 0;vid_ypos 0"; } dvar "r_noborder" @@ -1023,7 +1023,7 @@ style 1 type 10 visible 1 - disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); + disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby())); textalign 4 textalignx 170 textaligny 2 @@ -1033,11 +1033,11 @@ background "menu_setting_selection_bar" onFocus { - setLocalVarBool ui_brightness_hint_display 1; + setLocalVarBool ui_brightness_hint_display (1); } leaveFocus { - setLocalVarBool ui_brightness_hint_display 0; + setLocalVarBool ui_brightness_hint_display (0); } mouseEnter { diff --git a/ui_mp/pc_theater_menu.menu b/ui_mp/pc_theater_menu.menu index ec6a8d8..ca16e68 100644 --- a/ui_mp/pc_theater_menu.menu +++ b/ui_mp/pc_theater_menu.menu @@ -34,7 +34,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -47,7 +47,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -58,7 +58,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -114,7 +114,7 @@ textalignx -60 textscale 0.5 textfont 9 - exp rect x -90; + exp rect x - 90; } itemDef { diff --git a/ui_mp/player_popup_party.menu b/ui_mp/player_popup_party.menu index 3a9a3a5..1031ce8 100644 --- a/ui_mp/player_popup_party.menu +++ b/ui_mp/player_popup_party.menu @@ -5,6 +5,7 @@ rect -150 -84 300 84 2 2 style 1 backcolor 1 1 1 1 + forecolor 0 0 0 0 focuscolor 1 1 1 1 background "white" popup @@ -56,7 +57,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -66,7 +67,7 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -75,7 +76,7 @@ decoration textscale 0.55 background "mockup_popup_bg_stencilfill" - exp rect h 24 + (3 * 20); + exp rect h 24 + 3 * 20; } itemDef { @@ -85,7 +86,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -95,7 +96,7 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -105,14 +106,14 @@ textscale 0.55 forecolor 1 1 1 0 background "small_box_lightfx" - exp rect h 24 + (3 * 20); + exp rect h 24 + 3 * 20; } itemDef { rect -214 -148 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tl" @@ -122,7 +123,7 @@ rect -150 -148 300 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_t" @@ -132,7 +133,7 @@ rect 150 -148 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tr" @@ -142,55 +143,55 @@ rect 150 -84 64 0 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_r" - exp rect h 24 + (3 * 20); + exp rect h 24 + 3 * 20; } itemDef { rect 150 -84 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_br" - exp rect y (0 - 0) + (24 + (3 * 20)); + exp rect y (0 - 0) + ((24 + 3 * 20)); } itemDef { rect -150 -84 300 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_b" - exp rect y (0 - 0) + (24 + (3 * 20)); + exp rect y (0 - 0) + ((24 + 3 * 20)); } itemDef { rect -214 -84 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_bl" - exp rect y (0 - 0) + (24 + (3 * 20)); + exp rect y (0 - 0) + ((24 + 3 * 20)); } itemDef { rect -214 -84 64 0 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_l" - exp rect h 24 + (3 * 20); + exp rect h 24 + 3 * 20; } itemDef { @@ -211,7 +212,7 @@ rect -146 -40 292 20 2 2 style 1 type 1 - disabled when(dvarbool(party_iamselected) || (!dvarbool(party_playervisible))); + disabled when(dvarbool(party_iamselected) || !dvarbool(party_playervisible)); textalign 6 textalignx -24 textscale 0.375 @@ -248,7 +249,7 @@ rect -146 -20 292 20 2 2 style 1 type 1 - disabled when(((!privatepartyhost()) || (!dvarbool(party_playervisible))) || dvarbool(party_iamselected)); + disabled when(!privatepartyhost() || !dvarbool(party_playervisible) || dvarbool(party_iamselected)); textalign 6 textalignx -24 textscale 0.375 diff --git a/ui_mp/player_popup_privatematch.menu b/ui_mp/player_popup_privatematch.menu index acb72b8..814ec4b 100644 --- a/ui_mp/player_popup_privatematch.menu +++ b/ui_mp/player_popup_privatematch.menu @@ -5,6 +5,7 @@ rect -150 -84 300 84 2 2 style 1 backcolor 1 1 1 1 + forecolor 0 0 0 0 focuscolor 1 1 1 1 background "white" popup @@ -56,7 +57,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -66,7 +67,7 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -75,7 +76,7 @@ decoration textscale 0.55 background "mockup_popup_bg_stencilfill" - exp rect h 24 + (3 * 20); + exp rect h 24 + 3 * 20; } itemDef { @@ -85,7 +86,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -95,7 +96,7 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -105,14 +106,14 @@ textscale 0.55 forecolor 1 1 1 0 background "small_box_lightfx" - exp rect h 24 + (3 * 20); + exp rect h 24 + 3 * 20; } itemDef { rect -214 -148 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tl" @@ -122,7 +123,7 @@ rect -150 -148 300 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_t" @@ -132,7 +133,7 @@ rect 150 -148 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tr" @@ -142,55 +143,55 @@ rect 150 -84 64 0 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_r" - exp rect h 24 + (3 * 20); + exp rect h 24 + 3 * 20; } itemDef { rect 150 -84 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_br" - exp rect y (0 - 0) + (24 + (3 * 20)); + exp rect y (0 - 0) + ((24 + 3 * 20)); } itemDef { rect -150 -84 300 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_b" - exp rect y (0 - 0) + (24 + (3 * 20)); + exp rect y (0 - 0) + ((24 + 3 * 20)); } itemDef { rect -214 -84 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_bl" - exp rect y (0 - 0) + (24 + (3 * 20)); + exp rect y (0 - 0) + ((24 + 3 * 20)); } itemDef { rect -214 -84 64 0 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_l" - exp rect h 24 + (3 * 20); + exp rect h 24 + 3 * 20; } itemDef { @@ -211,7 +212,7 @@ rect -146 -40 292 20 2 2 style 1 type 1 - disabled when(dvarbool(party_iamselected) || (!dvarbool(party_playervisible))); + disabled when(dvarbool(party_iamselected) || !dvarbool(party_playervisible)); textalign 6 textalignx -24 textscale 0.375 @@ -248,7 +249,7 @@ rect -146 -20 292 20 2 2 style 1 type 1 - disabled when(((menuisopen("menu_xboxlive_lobby") || (!privatepartyhost())) || (!dvarbool(party_playervisible))) || dvarbool(party_iamselected)); + disabled when(menuisopen("menu_xboxlive_lobby") || !privatepartyhost() || !dvarbool(party_playervisible) || dvarbool(party_iamselected)); textalign 6 textalignx -24 textscale 0.375 diff --git a/ui_mp/player_popup_publiclobby.menu b/ui_mp/player_popup_publiclobby.menu index 004c18d..3113ff1 100644 --- a/ui_mp/player_popup_publiclobby.menu +++ b/ui_mp/player_popup_publiclobby.menu @@ -11,11 +11,11 @@ legacySplitScreenScale onOpen { - setLocalVarInt ui_centerPopup 1; + setLocalVarInt ui_centerPopup (1); } onClose { - setLocalVarInt ui_centerPopup 0; + setLocalVarInt ui_centerPopup (0); } onESC { @@ -60,7 +60,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -71,7 +71,7 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -81,7 +81,7 @@ visible 1 textscale 0.55 background "mockup_popup_bg_stencilfill" - exp rect h 24 + (2 * 20); + exp rect h (24 + 2 * 20); } itemDef { @@ -92,7 +92,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -103,7 +103,7 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -114,14 +114,14 @@ textscale 0.55 forecolor 1 1 1 0 background "small_box_lightfx" - exp rect h 24 + (2 * 20); + exp rect h (24 + 2 * 20); } itemDef { rect -64 -64 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tl" @@ -131,7 +131,7 @@ rect 0 -64 300 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_t" @@ -141,7 +141,7 @@ rect 300 -64 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tr" @@ -151,55 +151,55 @@ rect 300 0 64 0 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_r" - exp rect h 24 + (2 * 20); + exp rect h (24 + 2 * 20); } itemDef { rect 300 0 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_br" - exp rect y (0 - 0) + (24 + (2 * 20)); + exp rect y (0 - 0) + ((24 + 2 * 20)); } itemDef { rect 0 0 300 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_b" - exp rect y (0 - 0) + (24 + (2 * 20)); + exp rect y (0 - 0) + ((24 + 2 * 20)); } itemDef { rect -64 0 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_bl" - exp rect y (0 - 0) + (24 + (2 * 20)); + exp rect y (0 - 0) + ((24 + 2 * 20)); } itemDef { rect -64 0 64 0 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_l" - exp rect h 24 + (2 * 20); + exp rect h (24 + 2 * 20); } itemDef { @@ -237,12 +237,12 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; + setLocalVarBool ui_popupAButton (1); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); } action { @@ -259,7 +259,7 @@ style 1 type 1 visible 1 - disabled when(dvarbool(party_iamselected) || (!dvarbool(party_playervisible))); + disabled when(dvarbool(party_iamselected) || !dvarbool(party_playervisible)); textalign 6 textalignx -24 textscale 0.375 @@ -274,12 +274,12 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; + setLocalVarBool ui_popupAButton (1); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); } action { diff --git a/ui_mp/playerdataread.menu b/ui_mp/playerdataread.menu index 5332a23..fa244a9 100644 --- a/ui_mp/playerdataread.menu +++ b/ui_mp/playerdataread.menu @@ -9,7 +9,7 @@ fadeAmount 0.1 onOpen { - setLocalVarInt oldClassIndex localvarint("classIndex"); + setLocalVarInt oldClassIndex (localvarint("classIndex")); setDvar ui_checkclass 0; open resetclass; setDvar ui_checkclass 1; @@ -40,28 +40,28 @@ open resetclass; setDvar ui_checkclass 14; open resetclass; - setLocalVarInt classIndex localvarint("oldClassIndex"); - if ((!isitemunlocked(getplayerdata("killstreaks", 0))) && (getplayerdata("killstreaks", 0) != "none")) + setLocalVarInt classIndex (localvarint("oldClassIndex")); + if (!isitemunlocked(getplayerdata("killstreaks", 0)) && getplayerdata("killstreaks", 0) != "none") { - setLocalVarString temp debugprint("Stats", ((("Killstreak " + getplayerdata("killstreaks", 0)) + " locked for class ") + localvarint("classIndex")) + "; resetting"); + setLocalVarString temp (debugprint("Stats", "Killstreak " + getplayerdata("killstreaks", 0) + " locked for class " + localvarint("classIndex") + "; resetting")); setPlayerData ( killstreaks , 0 , none ); } setPlayerData ( killstreakUnlocked , uav , true ); - if ((!isitemunlocked(getplayerdata("killstreaks", 1))) && (getplayerdata("killstreaks", 1) != "none")) + if (!isitemunlocked(getplayerdata("killstreaks", 1)) && getplayerdata("killstreaks", 1) != "none") { - setLocalVarString temp debugprint("Stats", ((("Killstreak " + getplayerdata("killstreaks", 1)) + " locked for class ") + localvarint("classIndex")) + "; resetting"); + setLocalVarString temp (debugprint("Stats", "Killstreak " + getplayerdata("killstreaks", 1) + " locked for class " + localvarint("classIndex") + "; resetting")); setPlayerData ( killstreaks , 1 , none ); } setPlayerData ( killstreakUnlocked , airdrop , true ); - if ((!isitemunlocked(getplayerdata("killstreaks", 2))) && (getplayerdata("killstreaks", 2) != "none")) + if (!isitemunlocked(getplayerdata("killstreaks", 2)) && getplayerdata("killstreaks", 2) != "none") { - setLocalVarString temp debugprint("Stats", ((("Killstreak " + getplayerdata("killstreaks", 2)) + " locked for class ") + localvarint("classIndex")) + "; resetting"); + setLocalVarString temp (debugprint("Stats", "Killstreak " + getplayerdata("killstreaks", 2) + " locked for class " + localvarint("classIndex") + "; resetting")); setPlayerData ( killstreaks , 2 , none ); } setPlayerData ( killstreakUnlocked , predator_missile , true ); - setLocalVarInt ui_tempVar getplayerdata("prestige") + 1; + setLocalVarInt ui_tempVar (getplayerdata("prestige") + 1); setPlayerData ( challengeState , ch_prestige , localVarInt ( ui_tempVar ) ); - setLocalVarInt ui_tempVar getplayerdata("prestige"); + setLocalVarInt ui_tempVar (getplayerdata("prestige")); setPlayerData ( challengeProgress , ch_prestige , localVarInt ( ui_tempVar ) ); if (getplayerdata("prestige") == 10) { diff --git a/ui_mp/popup_cac_assault_primary.menu b/ui_mp/popup_cac_assault_primary.menu index 1e8b1f2..5c7e50f 100644 --- a/ui_mp/popup_cac_assault_primary.menu +++ b/ui_mp/popup_cac_assault_primary.menu @@ -14,12 +14,12 @@ fadeCycle 1 fadeAmount 0.1 visible when(localvarint("ui_tabDepth") == localvarint("ui_popup_cac_assault_primary_tabDepth")); - exp rect Y localvarfloat("ui_popupYPos") + (localvarint("ui_tabDepth") * 20); + exp rect Y localvarfloat("ui_popupYPos") + localvarint("ui_tabDepth") * 20; onOpen { setfocus cac_weapon_m4; - setLocalVarInt ui_tabDepth localvarint("ui_tabDepth") + 1; - setLocalVarInt ui_popup_cac_assault_primary_tabDepth localvarint("ui_tabDepth"); + setLocalVarInt ui_tabDepth (localvarint("ui_tabDepth") + 1); + setLocalVarInt ui_popup_cac_assault_primary_tabDepth (localvarint("ui_tabDepth")); if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") == "m4") { setfocus cac_weapon_m4; @@ -63,7 +63,7 @@ } onClose { - setLocalVarInt ui_tabDepth localvarint("ui_tabDepth") - 1; + setLocalVarInt ui_tabDepth (localvarint("ui_tabDepth") - 1); } onESC { @@ -75,6 +75,7 @@ style 1 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 backcolor 0 0 0 0.35 background "white" } @@ -84,6 +85,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 1 1 1 1 background "xpbar_stencilbase" } @@ -93,9 +95,10 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 0.5 0.5 0.5 1 background "white" - exp rect h 4 + (10 * 20); + exp rect h 4 + 10 * 20; } itemDef { @@ -103,9 +106,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -113,9 +117,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0.85 0.85 0.85 0.85 background "mw2_popup_bg_fogscroll" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -123,16 +128,18 @@ style 3 decoration visible 1 + textscale 0.55 background "mockup_popup_bg_stencilfill" - exp rect h 4 + (10 * 20); + exp rect h 4 + 10 * 20; } itemDef { rect -64 0 -1708 -480 1 1 style 3 decoration + textscale 0.55 background "mw2_popup_bg_fogstencil" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -140,18 +147,20 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { rect -64 0 854 0 1 1 style 3 decoration + textscale 0.55 forecolor 1 1 1 0 background "small_box_lightfx" - exp rect h 4 + (10 * 20); + exp rect h 4 + 10 * 20; } itemDef { @@ -159,6 +168,7 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tl" } @@ -168,6 +178,7 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_t" } @@ -177,6 +188,7 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tr" } @@ -186,9 +198,10 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_r" - exp rect h 4 + (10 * 20); + exp rect h 4 + 10 * 20; } itemDef { @@ -196,9 +209,10 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_br" - exp rect y 4 + (10 * 20); + exp rect y 4 + 10 * 20; } itemDef { @@ -206,9 +220,10 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_b" - exp rect y 4 + (10 * 20); + exp rect y 4 + 10 * 20; } itemDef { @@ -216,9 +231,10 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_bl" - exp rect y 4 + (10 * 20); + exp rect y 4 + 10 * 20; } itemDef { @@ -226,9 +242,10 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_l" - exp rect h 4 + (10 * 20); + exp rect h 4 + 10 * 20; } itemDef { @@ -236,9 +253,10 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 1 1 1 0 background "gradient_fadein" - exp rect h 4 + (10 * 20); + exp rect h 4 + 10 * 20; } itemDef { @@ -246,9 +264,10 @@ style 1 decoration visible when(localvarint("ui_tabDepth") > (1 - 1)); + textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 1) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 1) * 20); } itemDef { @@ -263,7 +282,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab1Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 1) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 1) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 1) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 1) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 1) * 0.35); @@ -274,9 +293,10 @@ style 1 decoration visible when(localvarint("ui_tabDepth") > (2 - 1)); + textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 2) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 2) * 20); } itemDef { @@ -291,7 +311,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab2Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 2) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 2) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 2) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 2) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 2) * 0.35); @@ -302,9 +322,10 @@ style 1 decoration visible when(localvarint("ui_tabDepth") > (3 - 1)); + textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 3) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 3) * 20); } itemDef { @@ -319,7 +340,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab3Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 3) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 3) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 3) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 3) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 3) * 0.35); @@ -330,9 +351,10 @@ style 1 decoration visible when(localvarint("ui_tabDepth") > (4 - 1)); + textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 4) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 4) * 20); } itemDef { @@ -347,7 +369,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab4Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 4) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 4) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 4) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 4) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 4) * 0.35); @@ -358,9 +380,10 @@ style 1 decoration visible when(localvarint("ui_tabDepth") > (5 - 1)); + textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 5) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 5) * 20); } itemDef { @@ -375,7 +398,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab5Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 5) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 5) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 5) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 5) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 5) * 0.35); @@ -403,13 +426,13 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref m4; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("m4"); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); setPlayerData ( weaponNew , m4 , false ); } action @@ -417,27 +440,27 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/statsTable.csv", 4, "m4", 3); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/statsTable.csv", 4, "m4", 3)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/statsTable.csv", 4, "m4", 3); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/statsTable.csv", 4, "m4", 3)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/statsTable.csv", 4, "m4", 3); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/statsTable.csv", 4, "m4", 3)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/statsTable.csv", 4, "m4", 3); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/statsTable.csv", 4, "m4", 3)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/statsTable.csv", 4, "m4", 3); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/statsTable.csv", 4, "m4", 3)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/statsTable.csv", 4, "m4", 3); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/statsTable.csv", 4, "m4", 3)); } if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") != "m4") { @@ -447,40 +470,40 @@ } setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , weapon , m4 ); setPlayerData ( weaponNew , m4 , false ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); if (0 == 0) { - if (tablelookup("mp/statsTable.csv", 4, "m4", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "m4", 11) != "")) { if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") { @@ -498,9 +521,9 @@ } else { - if (tablelookup("mp/statsTable.csv", 4, "m4", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "m4", 11) != "")) { - if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling")) + if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling")) { open popup_secondary_attachments_bling; } @@ -541,9 +564,9 @@ } execKeyInt 168 { - if (tablelookup("mp/challengeTable.csv", 6, "m4", 4) != "") + if ((tablelookup("mp/challengeTable.csv", 6, "m4", 4)) != "") { - setLocalVarString ui_challengeTierTable tablelookup("mp/challengeTable.csv", 6, "m4", 4); + setLocalVarString ui_challengeTierTable (tablelookup("mp/challengeTable.csv", 6, "m4", 4)); open menu_challenge_details; } } @@ -554,7 +577,7 @@ rect 162 4 40 20 1 1 style 3 decoration - visible when((getplayerdata("weaponNew", "m4") || getplayerdataanybooltrue("camoNew", "m4")) || getplayerdataanybooltrue("attachmentNew", "m4")); + visible when((getplayerdata("weaponNew", "m4") || getplayerdataanybooltrue("camoNew", "m4") || getplayerdataanybooltrue("attachmentNew", "m4"))); textscale 0.55 background "specialty_new" } @@ -563,7 +586,7 @@ rect 162 4 40 20 1 1 style 3 decoration - visible when(isitemunlocked("m4") == 0); + visible when((isitemunlocked("m4") == 0)); textscale 0.55 background "specialty_locked" } @@ -590,13 +613,13 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref famas; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("famas"); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); setPlayerData ( weaponNew , famas , false ); } action @@ -604,27 +627,27 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/statsTable.csv", 4, "famas", 3); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/statsTable.csv", 4, "famas", 3)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/statsTable.csv", 4, "famas", 3); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/statsTable.csv", 4, "famas", 3)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/statsTable.csv", 4, "famas", 3); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/statsTable.csv", 4, "famas", 3)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/statsTable.csv", 4, "famas", 3); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/statsTable.csv", 4, "famas", 3)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/statsTable.csv", 4, "famas", 3); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/statsTable.csv", 4, "famas", 3)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/statsTable.csv", 4, "famas", 3); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/statsTable.csv", 4, "famas", 3)); } if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") != "famas") { @@ -634,40 +657,40 @@ } setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , weapon , famas ); setPlayerData ( weaponNew , famas , false ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); if (0 == 0) { - if (tablelookup("mp/statsTable.csv", 4, "famas", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "famas", 11) != "")) { if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") { @@ -685,9 +708,9 @@ } else { - if (tablelookup("mp/statsTable.csv", 4, "famas", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "famas", 11) != "")) { - if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling")) + if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling")) { open popup_secondary_attachments_bling; } @@ -728,9 +751,9 @@ } execKeyInt 168 { - if (tablelookup("mp/challengeTable.csv", 6, "famas", 4) != "") + if ((tablelookup("mp/challengeTable.csv", 6, "famas", 4)) != "") { - setLocalVarString ui_challengeTierTable tablelookup("mp/challengeTable.csv", 6, "famas", 4); + setLocalVarString ui_challengeTierTable (tablelookup("mp/challengeTable.csv", 6, "famas", 4)); open menu_challenge_details; } } @@ -741,7 +764,7 @@ rect 162 24 40 20 1 1 style 3 decoration - visible when((getplayerdata("weaponNew", "famas") || getplayerdataanybooltrue("camoNew", "famas")) || getplayerdataanybooltrue("attachmentNew", "famas")); + visible when((getplayerdata("weaponNew", "famas") || getplayerdataanybooltrue("camoNew", "famas") || getplayerdataanybooltrue("attachmentNew", "famas"))); textscale 0.55 background "specialty_new" } @@ -750,7 +773,7 @@ rect 162 24 40 20 1 1 style 3 decoration - visible when(isitemunlocked("famas") == 0); + visible when((isitemunlocked("famas") == 0)); textscale 0.55 background "specialty_locked" } @@ -777,13 +800,13 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref scar; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("scar"); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); setPlayerData ( weaponNew , scar , false ); } action @@ -791,27 +814,27 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/statsTable.csv", 4, "scar", 3); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/statsTable.csv", 4, "scar", 3)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/statsTable.csv", 4, "scar", 3); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/statsTable.csv", 4, "scar", 3)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/statsTable.csv", 4, "scar", 3); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/statsTable.csv", 4, "scar", 3)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/statsTable.csv", 4, "scar", 3); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/statsTable.csv", 4, "scar", 3)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/statsTable.csv", 4, "scar", 3); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/statsTable.csv", 4, "scar", 3)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/statsTable.csv", 4, "scar", 3); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/statsTable.csv", 4, "scar", 3)); } if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") != "scar") { @@ -821,40 +844,40 @@ } setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , weapon , scar ); setPlayerData ( weaponNew , scar , false ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); if (0 == 0) { - if (tablelookup("mp/statsTable.csv", 4, "scar", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "scar", 11) != "")) { if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") { @@ -872,9 +895,9 @@ } else { - if (tablelookup("mp/statsTable.csv", 4, "scar", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "scar", 11) != "")) { - if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling")) + if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling")) { open popup_secondary_attachments_bling; } @@ -915,9 +938,9 @@ } execKeyInt 168 { - if (tablelookup("mp/challengeTable.csv", 6, "scar", 4) != "") + if ((tablelookup("mp/challengeTable.csv", 6, "scar", 4)) != "") { - setLocalVarString ui_challengeTierTable tablelookup("mp/challengeTable.csv", 6, "scar", 4); + setLocalVarString ui_challengeTierTable (tablelookup("mp/challengeTable.csv", 6, "scar", 4)); open menu_challenge_details; } } @@ -928,7 +951,7 @@ rect 162 44 40 20 1 1 style 3 decoration - visible when((getplayerdata("weaponNew", "scar") || getplayerdataanybooltrue("camoNew", "scar")) || getplayerdataanybooltrue("attachmentNew", "scar")); + visible when((getplayerdata("weaponNew", "scar") || getplayerdataanybooltrue("camoNew", "scar") || getplayerdataanybooltrue("attachmentNew", "scar"))); textscale 0.55 background "specialty_new" } @@ -937,7 +960,7 @@ rect 162 44 40 20 1 1 style 3 decoration - visible when(isitemunlocked("scar") == 0); + visible when((isitemunlocked("scar") == 0)); textscale 0.55 background "specialty_locked" } @@ -964,13 +987,13 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref tavor; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("tavor"); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); setPlayerData ( weaponNew , tavor , false ); } action @@ -978,27 +1001,27 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/statsTable.csv", 4, "tavor", 3); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/statsTable.csv", 4, "tavor", 3)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/statsTable.csv", 4, "tavor", 3); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/statsTable.csv", 4, "tavor", 3)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/statsTable.csv", 4, "tavor", 3); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/statsTable.csv", 4, "tavor", 3)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/statsTable.csv", 4, "tavor", 3); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/statsTable.csv", 4, "tavor", 3)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/statsTable.csv", 4, "tavor", 3); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/statsTable.csv", 4, "tavor", 3)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/statsTable.csv", 4, "tavor", 3); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/statsTable.csv", 4, "tavor", 3)); } if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") != "tavor") { @@ -1008,40 +1031,40 @@ } setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , weapon , tavor ); setPlayerData ( weaponNew , tavor , false ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); if (0 == 0) { - if (tablelookup("mp/statsTable.csv", 4, "tavor", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "tavor", 11) != "")) { if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") { @@ -1059,9 +1082,9 @@ } else { - if (tablelookup("mp/statsTable.csv", 4, "tavor", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "tavor", 11) != "")) { - if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling")) + if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling")) { open popup_secondary_attachments_bling; } @@ -1102,9 +1125,9 @@ } execKeyInt 168 { - if (tablelookup("mp/challengeTable.csv", 6, "tavor", 4) != "") + if ((tablelookup("mp/challengeTable.csv", 6, "tavor", 4)) != "") { - setLocalVarString ui_challengeTierTable tablelookup("mp/challengeTable.csv", 6, "tavor", 4); + setLocalVarString ui_challengeTierTable (tablelookup("mp/challengeTable.csv", 6, "tavor", 4)); open menu_challenge_details; } } @@ -1115,7 +1138,7 @@ rect 162 64 40 20 1 1 style 3 decoration - visible when((getplayerdata("weaponNew", "tavor") || getplayerdataanybooltrue("camoNew", "tavor")) || getplayerdataanybooltrue("attachmentNew", "tavor")); + visible when((getplayerdata("weaponNew", "tavor") || getplayerdataanybooltrue("camoNew", "tavor") || getplayerdataanybooltrue("attachmentNew", "tavor"))); textscale 0.55 background "specialty_new" } @@ -1124,7 +1147,7 @@ rect 162 64 40 20 1 1 style 3 decoration - visible when(isitemunlocked("tavor") == 0); + visible when((isitemunlocked("tavor") == 0)); textscale 0.55 background "specialty_locked" } @@ -1151,13 +1174,13 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref fal; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("fal"); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); setPlayerData ( weaponNew , fal , false ); } action @@ -1165,27 +1188,27 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/statsTable.csv", 4, "fal", 3); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/statsTable.csv", 4, "fal", 3)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/statsTable.csv", 4, "fal", 3); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/statsTable.csv", 4, "fal", 3)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/statsTable.csv", 4, "fal", 3); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/statsTable.csv", 4, "fal", 3)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/statsTable.csv", 4, "fal", 3); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/statsTable.csv", 4, "fal", 3)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/statsTable.csv", 4, "fal", 3); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/statsTable.csv", 4, "fal", 3)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/statsTable.csv", 4, "fal", 3); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/statsTable.csv", 4, "fal", 3)); } if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") != "fal") { @@ -1195,40 +1218,40 @@ } setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , weapon , fal ); setPlayerData ( weaponNew , fal , false ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); if (0 == 0) { - if (tablelookup("mp/statsTable.csv", 4, "fal", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "fal", 11) != "")) { if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") { @@ -1246,9 +1269,9 @@ } else { - if (tablelookup("mp/statsTable.csv", 4, "fal", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "fal", 11) != "")) { - if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling")) + if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling")) { open popup_secondary_attachments_bling; } @@ -1289,9 +1312,9 @@ } execKeyInt 168 { - if (tablelookup("mp/challengeTable.csv", 6, "fal", 4) != "") + if ((tablelookup("mp/challengeTable.csv", 6, "fal", 4)) != "") { - setLocalVarString ui_challengeTierTable tablelookup("mp/challengeTable.csv", 6, "fal", 4); + setLocalVarString ui_challengeTierTable (tablelookup("mp/challengeTable.csv", 6, "fal", 4)); open menu_challenge_details; } } @@ -1302,7 +1325,7 @@ rect 162 84 40 20 1 1 style 3 decoration - visible when((getplayerdata("weaponNew", "fal") || getplayerdataanybooltrue("camoNew", "fal")) || getplayerdataanybooltrue("attachmentNew", "fal")); + visible when((getplayerdata("weaponNew", "fal") || getplayerdataanybooltrue("camoNew", "fal") || getplayerdataanybooltrue("attachmentNew", "fal"))); textscale 0.55 background "specialty_new" } @@ -1311,7 +1334,7 @@ rect 162 84 40 20 1 1 style 3 decoration - visible when(isitemunlocked("fal") == 0); + visible when((isitemunlocked("fal") == 0)); textscale 0.55 background "specialty_locked" } @@ -1338,13 +1361,13 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref m16; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("m16"); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); setPlayerData ( weaponNew , m16 , false ); } action @@ -1352,27 +1375,27 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/statsTable.csv", 4, "m16", 3); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/statsTable.csv", 4, "m16", 3)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/statsTable.csv", 4, "m16", 3); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/statsTable.csv", 4, "m16", 3)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/statsTable.csv", 4, "m16", 3); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/statsTable.csv", 4, "m16", 3)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/statsTable.csv", 4, "m16", 3); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/statsTable.csv", 4, "m16", 3)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/statsTable.csv", 4, "m16", 3); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/statsTable.csv", 4, "m16", 3)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/statsTable.csv", 4, "m16", 3); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/statsTable.csv", 4, "m16", 3)); } if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") != "m16") { @@ -1382,40 +1405,40 @@ } setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , weapon , m16 ); setPlayerData ( weaponNew , m16 , false ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); if (0 == 0) { - if (tablelookup("mp/statsTable.csv", 4, "m16", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "m16", 11) != "")) { if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") { @@ -1433,9 +1456,9 @@ } else { - if (tablelookup("mp/statsTable.csv", 4, "m16", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "m16", 11) != "")) { - if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling")) + if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling")) { open popup_secondary_attachments_bling; } @@ -1476,9 +1499,9 @@ } execKeyInt 168 { - if (tablelookup("mp/challengeTable.csv", 6, "m16", 4) != "") + if ((tablelookup("mp/challengeTable.csv", 6, "m16", 4)) != "") { - setLocalVarString ui_challengeTierTable tablelookup("mp/challengeTable.csv", 6, "m16", 4); + setLocalVarString ui_challengeTierTable (tablelookup("mp/challengeTable.csv", 6, "m16", 4)); open menu_challenge_details; } } @@ -1489,7 +1512,7 @@ rect 162 104 40 20 1 1 style 3 decoration - visible when((getplayerdata("weaponNew", "m16") || getplayerdataanybooltrue("camoNew", "m16")) || getplayerdataanybooltrue("attachmentNew", "m16")); + visible when((getplayerdata("weaponNew", "m16") || getplayerdataanybooltrue("camoNew", "m16") || getplayerdataanybooltrue("attachmentNew", "m16"))); textscale 0.55 background "specialty_new" } @@ -1498,7 +1521,7 @@ rect 162 104 40 20 1 1 style 3 decoration - visible when(isitemunlocked("m16") == 0); + visible when((isitemunlocked("m16") == 0)); textscale 0.55 background "specialty_locked" } @@ -1525,13 +1548,13 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref masada; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("masada"); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); setPlayerData ( weaponNew , masada , false ); } action @@ -1539,27 +1562,27 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/statsTable.csv", 4, "masada", 3); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/statsTable.csv", 4, "masada", 3)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/statsTable.csv", 4, "masada", 3); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/statsTable.csv", 4, "masada", 3)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/statsTable.csv", 4, "masada", 3); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/statsTable.csv", 4, "masada", 3)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/statsTable.csv", 4, "masada", 3); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/statsTable.csv", 4, "masada", 3)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/statsTable.csv", 4, "masada", 3); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/statsTable.csv", 4, "masada", 3)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/statsTable.csv", 4, "masada", 3); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/statsTable.csv", 4, "masada", 3)); } if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") != "masada") { @@ -1569,40 +1592,40 @@ } setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , weapon , masada ); setPlayerData ( weaponNew , masada , false ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); if (0 == 0) { - if (tablelookup("mp/statsTable.csv", 4, "masada", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "masada", 11) != "")) { if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") { @@ -1620,9 +1643,9 @@ } else { - if (tablelookup("mp/statsTable.csv", 4, "masada", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "masada", 11) != "")) { - if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling")) + if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling")) { open popup_secondary_attachments_bling; } @@ -1663,9 +1686,9 @@ } execKeyInt 168 { - if (tablelookup("mp/challengeTable.csv", 6, "masada", 4) != "") + if ((tablelookup("mp/challengeTable.csv", 6, "masada", 4)) != "") { - setLocalVarString ui_challengeTierTable tablelookup("mp/challengeTable.csv", 6, "masada", 4); + setLocalVarString ui_challengeTierTable (tablelookup("mp/challengeTable.csv", 6, "masada", 4)); open menu_challenge_details; } } @@ -1676,7 +1699,7 @@ rect 162 124 40 20 1 1 style 3 decoration - visible when((getplayerdata("weaponNew", "masada") || getplayerdataanybooltrue("camoNew", "masada")) || getplayerdataanybooltrue("attachmentNew", "masada")); + visible when((getplayerdata("weaponNew", "masada") || getplayerdataanybooltrue("camoNew", "masada") || getplayerdataanybooltrue("attachmentNew", "masada"))); textscale 0.55 background "specialty_new" } @@ -1685,7 +1708,7 @@ rect 162 124 40 20 1 1 style 3 decoration - visible when(isitemunlocked("masada") == 0); + visible when((isitemunlocked("masada") == 0)); textscale 0.55 background "specialty_locked" } @@ -1712,13 +1735,13 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref fn2000; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("fn2000"); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); setPlayerData ( weaponNew , fn2000 , false ); } action @@ -1726,27 +1749,27 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/statsTable.csv", 4, "fn2000", 3); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/statsTable.csv", 4, "fn2000", 3)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/statsTable.csv", 4, "fn2000", 3); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/statsTable.csv", 4, "fn2000", 3)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/statsTable.csv", 4, "fn2000", 3); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/statsTable.csv", 4, "fn2000", 3)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/statsTable.csv", 4, "fn2000", 3); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/statsTable.csv", 4, "fn2000", 3)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/statsTable.csv", 4, "fn2000", 3); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/statsTable.csv", 4, "fn2000", 3)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/statsTable.csv", 4, "fn2000", 3); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/statsTable.csv", 4, "fn2000", 3)); } if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") != "fn2000") { @@ -1756,40 +1779,40 @@ } setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , weapon , fn2000 ); setPlayerData ( weaponNew , fn2000 , false ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); if (0 == 0) { - if (tablelookup("mp/statsTable.csv", 4, "fn2000", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "fn2000", 11) != "")) { if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") { @@ -1807,9 +1830,9 @@ } else { - if (tablelookup("mp/statsTable.csv", 4, "fn2000", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "fn2000", 11) != "")) { - if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling")) + if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling")) { open popup_secondary_attachments_bling; } @@ -1850,9 +1873,9 @@ } execKeyInt 168 { - if (tablelookup("mp/challengeTable.csv", 6, "fn2000", 4) != "") + if ((tablelookup("mp/challengeTable.csv", 6, "fn2000", 4)) != "") { - setLocalVarString ui_challengeTierTable tablelookup("mp/challengeTable.csv", 6, "fn2000", 4); + setLocalVarString ui_challengeTierTable (tablelookup("mp/challengeTable.csv", 6, "fn2000", 4)); open menu_challenge_details; } } @@ -1863,7 +1886,7 @@ rect 162 144 40 20 1 1 style 3 decoration - visible when((getplayerdata("weaponNew", "fn2000") || getplayerdataanybooltrue("camoNew", "fn2000")) || getplayerdataanybooltrue("attachmentNew", "fn2000")); + visible when((getplayerdata("weaponNew", "fn2000") || getplayerdataanybooltrue("camoNew", "fn2000") || getplayerdataanybooltrue("attachmentNew", "fn2000"))); textscale 0.55 background "specialty_new" } @@ -1872,7 +1895,7 @@ rect 162 144 40 20 1 1 style 3 decoration - visible when(isitemunlocked("fn2000") == 0); + visible when((isitemunlocked("fn2000") == 0)); textscale 0.55 background "specialty_locked" } @@ -1899,13 +1922,13 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref ak47; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("ak47"); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); setPlayerData ( weaponNew , ak47 , false ); } action @@ -1913,27 +1936,27 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/statsTable.csv", 4, "ak47", 3); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/statsTable.csv", 4, "ak47", 3)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/statsTable.csv", 4, "ak47", 3); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/statsTable.csv", 4, "ak47", 3)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/statsTable.csv", 4, "ak47", 3); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/statsTable.csv", 4, "ak47", 3)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/statsTable.csv", 4, "ak47", 3); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/statsTable.csv", 4, "ak47", 3)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/statsTable.csv", 4, "ak47", 3); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/statsTable.csv", 4, "ak47", 3)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/statsTable.csv", 4, "ak47", 3); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/statsTable.csv", 4, "ak47", 3)); } if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") != "ak47") { @@ -1943,40 +1966,40 @@ } setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , weapon , ak47 ); setPlayerData ( weaponNew , ak47 , false ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); if (0 == 0) { - if (tablelookup("mp/statsTable.csv", 4, "ak47", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "ak47", 11) != "")) { if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") { @@ -1994,9 +2017,9 @@ } else { - if (tablelookup("mp/statsTable.csv", 4, "ak47", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "ak47", 11) != "")) { - if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling")) + if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling")) { open popup_secondary_attachments_bling; } @@ -2037,9 +2060,9 @@ } execKeyInt 168 { - if (tablelookup("mp/challengeTable.csv", 6, "ak47", 4) != "") + if ((tablelookup("mp/challengeTable.csv", 6, "ak47", 4)) != "") { - setLocalVarString ui_challengeTierTable tablelookup("mp/challengeTable.csv", 6, "ak47", 4); + setLocalVarString ui_challengeTierTable (tablelookup("mp/challengeTable.csv", 6, "ak47", 4)); open menu_challenge_details; } } @@ -2050,7 +2073,7 @@ rect 162 164 40 20 1 1 style 3 decoration - visible when((getplayerdata("weaponNew", "ak47") || getplayerdataanybooltrue("camoNew", "ak47")) || getplayerdataanybooltrue("attachmentNew", "ak47")); + visible when((getplayerdata("weaponNew", "ak47") || getplayerdataanybooltrue("camoNew", "ak47") || getplayerdataanybooltrue("attachmentNew", "ak47"))); textscale 0.55 background "specialty_new" } @@ -2059,7 +2082,7 @@ rect 162 164 40 20 1 1 style 3 decoration - visible when(isitemunlocked("ak47") == 0); + visible when((isitemunlocked("ak47") == 0)); textscale 0.55 background "specialty_locked" } @@ -2086,13 +2109,13 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref ak47classic; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("ak47classic"); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); setPlayerData ( weaponNew , ak47classic , false ); } action @@ -2100,27 +2123,27 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/statsTable.csv", 4, "ak47classic", 3); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/statsTable.csv", 4, "ak47classic", 3)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/statsTable.csv", 4, "ak47classic", 3); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/statsTable.csv", 4, "ak47classic", 3)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/statsTable.csv", 4, "ak47classic", 3); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/statsTable.csv", 4, "ak47classic", 3)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/statsTable.csv", 4, "ak47classic", 3); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/statsTable.csv", 4, "ak47classic", 3)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/statsTable.csv", 4, "ak47classic", 3); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/statsTable.csv", 4, "ak47classic", 3)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/statsTable.csv", 4, "ak47classic", 3); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/statsTable.csv", 4, "ak47classic", 3)); } if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") != "ak47classic") { @@ -2130,40 +2153,40 @@ } setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , weapon , ak47classic ); setPlayerData ( weaponNew , ak47classic , false ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); if (0 == 0) { - if (tablelookup("mp/statsTable.csv", 4, "ak47classic", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "ak47classic", 11) != "")) { if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") { @@ -2181,9 +2204,9 @@ } else { - if (tablelookup("mp/statsTable.csv", 4, "ak47classic", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "ak47classic", 11) != "")) { - if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling")) + if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling")) { open popup_secondary_attachments_bling; } @@ -2224,9 +2247,9 @@ } execKeyInt 168 { - if (tablelookup("mp/challengeTable.csv", 6, "ak47classic", 4) != "") + if ((tablelookup("mp/challengeTable.csv", 6, "ak47classic", 4)) != "") { - setLocalVarString ui_challengeTierTable tablelookup("mp/challengeTable.csv", 6, "ak47classic", 4); + setLocalVarString ui_challengeTierTable (tablelookup("mp/challengeTable.csv", 6, "ak47classic", 4)); open menu_challenge_details; } } @@ -2237,7 +2260,7 @@ rect 162 184 40 20 1 1 style 3 decoration - visible when((getplayerdata("weaponNew", "ak47classic") || getplayerdataanybooltrue("camoNew", "ak47classic")) || getplayerdataanybooltrue("attachmentNew", "ak47classic")); + visible when((getplayerdata("weaponNew", "ak47classic") || getplayerdataanybooltrue("camoNew", "ak47classic") || getplayerdataanybooltrue("attachmentNew", "ak47classic"))); textscale 0.55 background "specialty_new" } @@ -2246,7 +2269,7 @@ rect 162 184 40 20 1 1 style 3 decoration - visible when(isitemunlocked("ak47classic") == 0); + visible when((isitemunlocked("ak47classic") == 0)); textscale 0.55 background "specialty_locked" } @@ -2314,7 +2337,7 @@ rect -56 0 200 184 2 1 decoration autowrapped - visible when(isitemunlocked(localvarstring("ui_selected_ref")) && (tablelookup("mp/challengeTable.csv", 6, localvarstring("ui_selected_ref"), 4) != "")); + visible when(isitemunlocked(localvarstring("ui_selected_ref")) && (tablelookup("mp/challengeTable.csv", 6, localvarstring("ui_selected_ref"), 4)) != ""); textalign 4 textalignx 4 textaligny 144 @@ -2368,10 +2391,10 @@ textscale 0.55 forecolor 1 1 0.25 0.65 background "white" - exp rect x ((- 64) + (0 - (120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 22) / 100)))) + ((0 - (120 * (0 / 100))) * (0 < 0)); + exp rect x - 64 + (0 - 120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 22) / 100)) + ((0 - 120 * (0 / 100)) * (0 < 0)); exp rect w min(120 * (0 / 100), (1 - (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 22) / 100)) * 120); - exp forecolor r ((0 < 0) * 0.45) + 0.25; - exp forecolor g ((0 > 0) * 0.45) + 0.25; + exp forecolor r (0 < 0) * 0.45 + 0.25; + exp forecolor g (0 > 0) * 0.45 + 0.25; } itemDef { @@ -2419,10 +2442,10 @@ textscale 0.55 forecolor 1 1 0.25 0.65 background "white" - exp rect x ((- 64) + (0 - (120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 23) / 100)))) + ((0 - (120 * (0 / 100))) * (0 < 0)); + exp rect x - 64 + (0 - 120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 23) / 100)) + ((0 - 120 * (0 / 100)) * (0 < 0)); exp rect w min(120 * (0 / 100), (1 - (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 23) / 100)) * 120); - exp forecolor r ((0 < 0) * 0.45) + 0.25; - exp forecolor g ((0 > 0) * 0.45) + 0.25; + exp forecolor r (0 < 0) * 0.45 + 0.25; + exp forecolor g (0 > 0) * 0.45 + 0.25; } itemDef { @@ -2470,10 +2493,10 @@ textscale 0.55 forecolor 1 1 0.25 0.65 background "white" - exp rect x ((- 64) + (0 - (120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 24) / 100)))) + ((0 - (120 * (0 / 100))) * (0 < 0)); + exp rect x - 64 + (0 - 120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 24) / 100)) + ((0 - 120 * (0 / 100)) * (0 < 0)); exp rect w min(120 * (0 / 100), (1 - (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 24) / 100)) * 120); - exp forecolor r ((0 < 0) * 0.45) + 0.25; - exp forecolor g ((0 > 0) * 0.45) + 0.25; + exp forecolor r (0 < 0) * 0.45 + 0.25; + exp forecolor g (0 > 0) * 0.45 + 0.25; } itemDef { @@ -2521,10 +2544,10 @@ textscale 0.55 forecolor 1 1 0.25 0.65 background "white" - exp rect x ((- 64) + (0 - (120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 25) / 100)))) + ((0 - (120 * (0 / 100))) * (0 < 0)); + exp rect x - 64 + (0 - 120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 25) / 100)) + ((0 - 120 * (0 / 100)) * (0 < 0)); exp rect w min(120 * (0 / 100), (1 - (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 25) / 100)) * 120); - exp forecolor r ((0 < 0) * 0.45) + 0.25; - exp forecolor g ((0 > 0) * 0.45) + 0.25; + exp forecolor r (0 < 0) * 0.45 + 0.25; + exp forecolor g (0 > 0) * 0.45 + 0.25; } itemDef { @@ -2572,10 +2595,10 @@ textscale 0.55 forecolor 1 1 0.25 0.65 background "white" - exp rect x ((- 64) + (0 - (120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 26) / 100)))) + ((0 - (120 * (0 / 100))) * (0 < 0)); + exp rect x - 64 + (0 - 120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 26) / 100)) + ((0 - 120 * (0 / 100)) * (0 < 0)); exp rect w min(120 * (0 / 100), (1 - (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 26) / 100)) * 120); - exp forecolor r ((0 < 0) * 0.45) + 0.25; - exp forecolor g ((0 > 0) * 0.45) + 0.25; + exp forecolor r (0 < 0) * 0.45 + 0.25; + exp forecolor g (0 > 0) * 0.45 + 0.25; } } } diff --git a/ui_mp/popup_cac_handgun_secondary.menu b/ui_mp/popup_cac_handgun_secondary.menu index e9b6321..8749072 100644 --- a/ui_mp/popup_cac_handgun_secondary.menu +++ b/ui_mp/popup_cac_handgun_secondary.menu @@ -13,12 +13,12 @@ fadeCycle 1 fadeAmount 0.1 visible when(localvarint("ui_tabDepth") == localvarint("ui_popup_cac_handgun_secondary_tabDepth")); - exp rect Y localvarfloat("ui_popupYPos") + (localvarint("ui_tabDepth") * 20); + exp rect Y localvarfloat("ui_popupYPos") + localvarint("ui_tabDepth") * 20; onOpen { setfocus cac_weapon_usp; - setLocalVarInt ui_tabDepth localvarint("ui_tabDepth") + 1; - setLocalVarInt ui_popup_cac_handgun_secondary_tabDepth localvarint("ui_tabDepth"); + setLocalVarInt ui_tabDepth (localvarint("ui_tabDepth") + 1); + setLocalVarInt ui_popup_cac_handgun_secondary_tabDepth (localvarint("ui_tabDepth")); if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon") == "usp") { setfocus cac_weapon_usp; @@ -42,7 +42,7 @@ } onClose { - setLocalVarInt ui_tabDepth localvarint("ui_tabDepth") - 1; + setLocalVarInt ui_tabDepth (localvarint("ui_tabDepth") - 1); } onESC { @@ -54,6 +54,7 @@ style 1 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 backcolor 0 0 0 0.35 background "white" } @@ -63,6 +64,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 1 1 1 1 background "xpbar_stencilbase" } @@ -72,9 +74,10 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 0.5 0.5 0.5 1 background "white" - exp rect h 4 + (9 * 20); + exp rect h 4 + 9 * 20; } itemDef { @@ -82,9 +85,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -92,9 +96,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0.85 0.85 0.85 0.85 background "mw2_popup_bg_fogscroll" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -102,16 +107,18 @@ style 3 decoration visible 1 + textscale 0.55 background "mockup_popup_bg_stencilfill" - exp rect h 4 + (9 * 20); + exp rect h 4 + 9 * 20; } itemDef { rect -64 0 -1708 -480 1 1 style 3 decoration + textscale 0.55 background "mw2_popup_bg_fogstencil" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -119,18 +126,20 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { rect -64 0 854 0 1 1 style 3 decoration + textscale 0.55 forecolor 1 1 1 0 background "small_box_lightfx" - exp rect h 4 + (9 * 20); + exp rect h 4 + 9 * 20; } itemDef { @@ -138,6 +147,7 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tl" } @@ -147,6 +157,7 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_t" } @@ -156,6 +167,7 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tr" } @@ -165,9 +177,10 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_r" - exp rect h 4 + (9 * 20); + exp rect h 4 + 9 * 20; } itemDef { @@ -175,9 +188,10 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_br" - exp rect y 4 + (9 * 20); + exp rect y 4 + 9 * 20; } itemDef { @@ -185,9 +199,10 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_b" - exp rect y 4 + (9 * 20); + exp rect y 4 + 9 * 20; } itemDef { @@ -195,9 +210,10 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_bl" - exp rect y 4 + (9 * 20); + exp rect y 4 + 9 * 20; } itemDef { @@ -205,9 +221,10 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_l" - exp rect h 4 + (9 * 20); + exp rect h 4 + 9 * 20; } itemDef { @@ -215,9 +232,10 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 1 1 1 0 background "gradient_fadein" - exp rect h 4 + (9 * 20); + exp rect h 4 + 9 * 20; } itemDef { @@ -225,9 +243,10 @@ style 1 decoration visible when(localvarint("ui_tabDepth") > (1 - 1)); + textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 1) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 1) * 20); } itemDef { @@ -242,7 +261,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab1Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 1) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 1) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 1) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 1) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 1) * 0.35); @@ -253,9 +272,10 @@ style 1 decoration visible when(localvarint("ui_tabDepth") > (2 - 1)); + textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 2) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 2) * 20); } itemDef { @@ -270,7 +290,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab2Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 2) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 2) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 2) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 2) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 2) * 0.35); @@ -281,9 +301,10 @@ style 1 decoration visible when(localvarint("ui_tabDepth") > (3 - 1)); + textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 3) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 3) * 20); } itemDef { @@ -298,7 +319,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab3Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 3) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 3) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 3) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 3) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 3) * 0.35); @@ -309,9 +330,10 @@ style 1 decoration visible when(localvarint("ui_tabDepth") > (4 - 1)); + textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 4) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 4) * 20); } itemDef { @@ -326,7 +348,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab4Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 4) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 4) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 4) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 4) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 4) * 0.35); @@ -337,9 +359,10 @@ style 1 decoration visible when(localvarint("ui_tabDepth") > (5 - 1)); + textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 5) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 5) * 20); } itemDef { @@ -354,7 +377,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab5Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 5) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 5) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 5) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 5) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 5) * 0.35); @@ -382,13 +405,13 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref usp; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("usp"); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); setPlayerData ( weaponNew , usp , false ); } action @@ -396,27 +419,27 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/statsTable.csv", 4, "usp", 3); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/statsTable.csv", 4, "usp", 3)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/statsTable.csv", 4, "usp", 3); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/statsTable.csv", 4, "usp", 3)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/statsTable.csv", 4, "usp", 3); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/statsTable.csv", 4, "usp", 3)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/statsTable.csv", 4, "usp", 3); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/statsTable.csv", 4, "usp", 3)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/statsTable.csv", 4, "usp", 3); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/statsTable.csv", 4, "usp", 3)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/statsTable.csv", 4, "usp", 3); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/statsTable.csv", 4, "usp", 3)); } if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon") != "usp") { @@ -426,40 +449,40 @@ } setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , weapon , usp ); setPlayerData ( weaponNew , usp , false ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); if (1 == 0) { - if (tablelookup("mp/statsTable.csv", 4, "usp", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "usp", 11) != "")) { if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") { @@ -477,9 +500,9 @@ } else { - if (tablelookup("mp/statsTable.csv", 4, "usp", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "usp", 11) != "")) { - if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling")) + if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling")) { open popup_secondary_attachments_bling; } @@ -520,9 +543,9 @@ } execKeyInt 168 { - if (tablelookup("mp/challengeTable.csv", 6, "usp", 4) != "") + if ((tablelookup("mp/challengeTable.csv", 6, "usp", 4)) != "") { - setLocalVarString ui_challengeTierTable tablelookup("mp/challengeTable.csv", 6, "usp", 4); + setLocalVarString ui_challengeTierTable (tablelookup("mp/challengeTable.csv", 6, "usp", 4)); open menu_challenge_details; } } @@ -533,7 +556,7 @@ rect 162 4 40 20 1 1 style 3 decoration - visible when((getplayerdata("weaponNew", "usp") || getplayerdataanybooltrue("camoNew", "usp")) || getplayerdataanybooltrue("attachmentNew", "usp")); + visible when((getplayerdata("weaponNew", "usp") || getplayerdataanybooltrue("camoNew", "usp") || getplayerdataanybooltrue("attachmentNew", "usp"))); textscale 0.55 background "specialty_new" } @@ -542,7 +565,7 @@ rect 162 4 40 20 1 1 style 3 decoration - visible when(isitemunlocked("usp") == 0); + visible when((isitemunlocked("usp") == 0)); textscale 0.55 background "specialty_locked" } @@ -569,13 +592,13 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref coltanaconda; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("coltanaconda"); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); setPlayerData ( weaponNew , coltanaconda , false ); } action @@ -583,27 +606,27 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/statsTable.csv", 4, "coltanaconda", 3); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/statsTable.csv", 4, "coltanaconda", 3)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/statsTable.csv", 4, "coltanaconda", 3); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/statsTable.csv", 4, "coltanaconda", 3)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/statsTable.csv", 4, "coltanaconda", 3); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/statsTable.csv", 4, "coltanaconda", 3)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/statsTable.csv", 4, "coltanaconda", 3); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/statsTable.csv", 4, "coltanaconda", 3)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/statsTable.csv", 4, "coltanaconda", 3); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/statsTable.csv", 4, "coltanaconda", 3)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/statsTable.csv", 4, "coltanaconda", 3); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/statsTable.csv", 4, "coltanaconda", 3)); } if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon") != "coltanaconda") { @@ -613,40 +636,40 @@ } setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , weapon , coltanaconda ); setPlayerData ( weaponNew , coltanaconda , false ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); if (1 == 0) { - if (tablelookup("mp/statsTable.csv", 4, "coltanaconda", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "coltanaconda", 11) != "")) { if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") { @@ -664,9 +687,9 @@ } else { - if (tablelookup("mp/statsTable.csv", 4, "coltanaconda", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "coltanaconda", 11) != "")) { - if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling")) + if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling")) { open popup_secondary_attachments_bling; } @@ -707,9 +730,9 @@ } execKeyInt 168 { - if (tablelookup("mp/challengeTable.csv", 6, "coltanaconda", 4) != "") + if ((tablelookup("mp/challengeTable.csv", 6, "coltanaconda", 4)) != "") { - setLocalVarString ui_challengeTierTable tablelookup("mp/challengeTable.csv", 6, "coltanaconda", 4); + setLocalVarString ui_challengeTierTable (tablelookup("mp/challengeTable.csv", 6, "coltanaconda", 4)); open menu_challenge_details; } } @@ -720,7 +743,7 @@ rect 162 24 40 20 1 1 style 3 decoration - visible when((getplayerdata("weaponNew", "coltanaconda") || getplayerdataanybooltrue("camoNew", "coltanaconda")) || getplayerdataanybooltrue("attachmentNew", "coltanaconda")); + visible when((getplayerdata("weaponNew", "coltanaconda") || getplayerdataanybooltrue("camoNew", "coltanaconda") || getplayerdataanybooltrue("attachmentNew", "coltanaconda"))); textscale 0.55 background "specialty_new" } @@ -729,7 +752,7 @@ rect 162 24 40 20 1 1 style 3 decoration - visible when(isitemunlocked("coltanaconda") == 0); + visible when((isitemunlocked("coltanaconda") == 0)); textscale 0.55 background "specialty_locked" } @@ -756,13 +779,13 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref beretta; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("beretta"); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); setPlayerData ( weaponNew , beretta , false ); } action @@ -770,27 +793,27 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/statsTable.csv", 4, "beretta", 3); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/statsTable.csv", 4, "beretta", 3)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/statsTable.csv", 4, "beretta", 3); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/statsTable.csv", 4, "beretta", 3)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/statsTable.csv", 4, "beretta", 3); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/statsTable.csv", 4, "beretta", 3)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/statsTable.csv", 4, "beretta", 3); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/statsTable.csv", 4, "beretta", 3)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/statsTable.csv", 4, "beretta", 3); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/statsTable.csv", 4, "beretta", 3)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/statsTable.csv", 4, "beretta", 3); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/statsTable.csv", 4, "beretta", 3)); } if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon") != "beretta") { @@ -800,40 +823,40 @@ } setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , weapon , beretta ); setPlayerData ( weaponNew , beretta , false ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); if (1 == 0) { - if (tablelookup("mp/statsTable.csv", 4, "beretta", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "beretta", 11) != "")) { if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") { @@ -851,9 +874,9 @@ } else { - if (tablelookup("mp/statsTable.csv", 4, "beretta", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "beretta", 11) != "")) { - if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling")) + if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling")) { open popup_secondary_attachments_bling; } @@ -894,9 +917,9 @@ } execKeyInt 168 { - if (tablelookup("mp/challengeTable.csv", 6, "beretta", 4) != "") + if ((tablelookup("mp/challengeTable.csv", 6, "beretta", 4)) != "") { - setLocalVarString ui_challengeTierTable tablelookup("mp/challengeTable.csv", 6, "beretta", 4); + setLocalVarString ui_challengeTierTable (tablelookup("mp/challengeTable.csv", 6, "beretta", 4)); open menu_challenge_details; } } @@ -907,7 +930,7 @@ rect 162 44 40 20 1 1 style 3 decoration - visible when((getplayerdata("weaponNew", "beretta") || getplayerdataanybooltrue("camoNew", "beretta")) || getplayerdataanybooltrue("attachmentNew", "beretta")); + visible when((getplayerdata("weaponNew", "beretta") || getplayerdataanybooltrue("camoNew", "beretta") || getplayerdataanybooltrue("attachmentNew", "beretta"))); textscale 0.55 background "specialty_new" } @@ -916,7 +939,7 @@ rect 162 44 40 20 1 1 style 3 decoration - visible when(isitemunlocked("beretta") == 0); + visible when((isitemunlocked("beretta") == 0)); textscale 0.55 background "specialty_locked" } @@ -943,13 +966,13 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref deserteagle; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("deserteagle"); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); setPlayerData ( weaponNew , deserteagle , false ); } action @@ -957,27 +980,27 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/statsTable.csv", 4, "deserteagle", 3); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/statsTable.csv", 4, "deserteagle", 3)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/statsTable.csv", 4, "deserteagle", 3); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/statsTable.csv", 4, "deserteagle", 3)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/statsTable.csv", 4, "deserteagle", 3); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/statsTable.csv", 4, "deserteagle", 3)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/statsTable.csv", 4, "deserteagle", 3); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/statsTable.csv", 4, "deserteagle", 3)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/statsTable.csv", 4, "deserteagle", 3); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/statsTable.csv", 4, "deserteagle", 3)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/statsTable.csv", 4, "deserteagle", 3); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/statsTable.csv", 4, "deserteagle", 3)); } if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon") != "deserteagle") { @@ -987,40 +1010,40 @@ } setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , weapon , deserteagle ); setPlayerData ( weaponNew , deserteagle , false ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); if (1 == 0) { - if (tablelookup("mp/statsTable.csv", 4, "deserteagle", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "deserteagle", 11) != "")) { if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") { @@ -1038,9 +1061,9 @@ } else { - if (tablelookup("mp/statsTable.csv", 4, "deserteagle", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "deserteagle", 11) != "")) { - if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling")) + if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling")) { open popup_secondary_attachments_bling; } @@ -1081,9 +1104,9 @@ } execKeyInt 168 { - if (tablelookup("mp/challengeTable.csv", 6, "deserteagle", 4) != "") + if ((tablelookup("mp/challengeTable.csv", 6, "deserteagle", 4)) != "") { - setLocalVarString ui_challengeTierTable tablelookup("mp/challengeTable.csv", 6, "deserteagle", 4); + setLocalVarString ui_challengeTierTable (tablelookup("mp/challengeTable.csv", 6, "deserteagle", 4)); open menu_challenge_details; } } @@ -1094,7 +1117,7 @@ rect 162 64 40 20 1 1 style 3 decoration - visible when((getplayerdata("weaponNew", "deserteagle") || getplayerdataanybooltrue("camoNew", "deserteagle")) || getplayerdataanybooltrue("attachmentNew", "deserteagle")); + visible when((getplayerdata("weaponNew", "deserteagle") || getplayerdataanybooltrue("camoNew", "deserteagle") || getplayerdataanybooltrue("attachmentNew", "deserteagle"))); textscale 0.55 background "specialty_new" } @@ -1103,7 +1126,7 @@ rect 162 64 40 20 1 1 style 3 decoration - visible when(isitemunlocked("deserteagle") == 0); + visible when((isitemunlocked("deserteagle") == 0)); textscale 0.55 background "specialty_locked" } @@ -1130,13 +1153,13 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref deserteaglegold; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("deserteaglegold"); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); setPlayerData ( weaponNew , deserteaglegold , false ); } action @@ -1144,27 +1167,27 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/statsTable.csv", 4, "deserteaglegold", 3); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/statsTable.csv", 4, "deserteaglegold", 3)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/statsTable.csv", 4, "deserteaglegold", 3); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/statsTable.csv", 4, "deserteaglegold", 3)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/statsTable.csv", 4, "deserteaglegold", 3); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/statsTable.csv", 4, "deserteaglegold", 3)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/statsTable.csv", 4, "deserteaglegold", 3); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/statsTable.csv", 4, "deserteaglegold", 3)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/statsTable.csv", 4, "deserteaglegold", 3); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/statsTable.csv", 4, "deserteaglegold", 3)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/statsTable.csv", 4, "deserteaglegold", 3); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/statsTable.csv", 4, "deserteaglegold", 3)); } if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon") != "deserteaglegold") { @@ -1175,40 +1198,40 @@ setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , weapon , deserteaglegold ); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , camo , gold ); setPlayerData ( weaponNew , deserteaglegold , false ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); if (1 == 0) { - if (tablelookup("mp/statsTable.csv", 4, "deserteaglegold", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "deserteaglegold", 11) != "")) { if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") { @@ -1226,9 +1249,9 @@ } else { - if (tablelookup("mp/statsTable.csv", 4, "deserteaglegold", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "deserteaglegold", 11) != "")) { - if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling")) + if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling")) { open popup_secondary_attachments_bling; } @@ -1269,9 +1292,9 @@ } execKeyInt 168 { - if (tablelookup("mp/challengeTable.csv", 6, "deserteaglegold", 4) != "") + if ((tablelookup("mp/challengeTable.csv", 6, "deserteaglegold", 4)) != "") { - setLocalVarString ui_challengeTierTable tablelookup("mp/challengeTable.csv", 6, "deserteaglegold", 4); + setLocalVarString ui_challengeTierTable (tablelookup("mp/challengeTable.csv", 6, "deserteaglegold", 4)); open menu_challenge_details; } } @@ -1282,7 +1305,7 @@ rect 162 84 40 20 1 1 style 3 decoration - visible when((getplayerdata("weaponNew", "deserteaglegold") || getplayerdataanybooltrue("camoNew", "deserteaglegold")) || getplayerdataanybooltrue("attachmentNew", "deserteaglegold")); + visible when((getplayerdata("weaponNew", "deserteaglegold") || getplayerdataanybooltrue("camoNew", "deserteaglegold") || getplayerdataanybooltrue("attachmentNew", "deserteaglegold"))); textscale 0.55 background "specialty_new" } @@ -1291,7 +1314,7 @@ rect 162 84 40 20 1 1 style 3 decoration - visible when(isitemunlocked("deserteaglegold") == 0); + visible when((isitemunlocked("deserteaglegold") == 0)); textscale 0.55 background "specialty_locked" } @@ -1359,7 +1382,7 @@ rect -56 0 200 184 2 1 decoration autowrapped - visible when(isitemunlocked(localvarstring("ui_selected_ref")) && (tablelookup("mp/challengeTable.csv", 6, localvarstring("ui_selected_ref"), 4) != "")); + visible when(isitemunlocked(localvarstring("ui_selected_ref")) && (tablelookup("mp/challengeTable.csv", 6, localvarstring("ui_selected_ref"), 4)) != ""); textalign 4 textalignx 4 textaligny 144 @@ -1413,10 +1436,10 @@ textscale 0.55 forecolor 1 1 0.25 0.65 background "white" - exp rect x ((- 64) + (0 - (120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 22) / 100)))) + ((0 - (120 * (0 / 100))) * (0 < 0)); + exp rect x - 64 + (0 - 120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 22) / 100)) + ((0 - 120 * (0 / 100)) * (0 < 0)); exp rect w min(120 * (0 / 100), (1 - (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 22) / 100)) * 120); - exp forecolor r ((0 < 0) * 0.45) + 0.25; - exp forecolor g ((0 > 0) * 0.45) + 0.25; + exp forecolor r (0 < 0) * 0.45 + 0.25; + exp forecolor g (0 > 0) * 0.45 + 0.25; } itemDef { @@ -1464,10 +1487,10 @@ textscale 0.55 forecolor 1 1 0.25 0.65 background "white" - exp rect x ((- 64) + (0 - (120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 23) / 100)))) + ((0 - (120 * (0 / 100))) * (0 < 0)); + exp rect x - 64 + (0 - 120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 23) / 100)) + ((0 - 120 * (0 / 100)) * (0 < 0)); exp rect w min(120 * (0 / 100), (1 - (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 23) / 100)) * 120); - exp forecolor r ((0 < 0) * 0.45) + 0.25; - exp forecolor g ((0 > 0) * 0.45) + 0.25; + exp forecolor r (0 < 0) * 0.45 + 0.25; + exp forecolor g (0 > 0) * 0.45 + 0.25; } itemDef { @@ -1515,10 +1538,10 @@ textscale 0.55 forecolor 1 1 0.25 0.65 background "white" - exp rect x ((- 64) + (0 - (120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 24) / 100)))) + ((0 - (120 * (0 / 100))) * (0 < 0)); + exp rect x - 64 + (0 - 120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 24) / 100)) + ((0 - 120 * (0 / 100)) * (0 < 0)); exp rect w min(120 * (0 / 100), (1 - (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 24) / 100)) * 120); - exp forecolor r ((0 < 0) * 0.45) + 0.25; - exp forecolor g ((0 > 0) * 0.45) + 0.25; + exp forecolor r (0 < 0) * 0.45 + 0.25; + exp forecolor g (0 > 0) * 0.45 + 0.25; } itemDef { @@ -1566,10 +1589,10 @@ textscale 0.55 forecolor 1 1 0.25 0.65 background "white" - exp rect x ((- 64) + (0 - (120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 25) / 100)))) + ((0 - (120 * (0 / 100))) * (0 < 0)); + exp rect x - 64 + (0 - 120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 25) / 100)) + ((0 - 120 * (0 / 100)) * (0 < 0)); exp rect w min(120 * (0 / 100), (1 - (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 25) / 100)) * 120); - exp forecolor r ((0 < 0) * 0.45) + 0.25; - exp forecolor g ((0 > 0) * 0.45) + 0.25; + exp forecolor r (0 < 0) * 0.45 + 0.25; + exp forecolor g (0 > 0) * 0.45 + 0.25; } itemDef { @@ -1617,10 +1640,10 @@ textscale 0.55 forecolor 1 1 0.25 0.65 background "white" - exp rect x ((- 64) + (0 - (120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 26) / 100)))) + ((0 - (120 * (0 / 100))) * (0 < 0)); + exp rect x - 64 + (0 - 120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 26) / 100)) + ((0 - 120 * (0 / 100)) * (0 < 0)); exp rect w min(120 * (0 / 100), (1 - (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 26) / 100)) * 120); - exp forecolor r ((0 < 0) * 0.45) + 0.25; - exp forecolor g ((0 > 0) * 0.45) + 0.25; + exp forecolor r (0 < 0) * 0.45 + 0.25; + exp forecolor g (0 > 0) * 0.45 + 0.25; } } } diff --git a/ui_mp/popup_cac_primary_camo.menu b/ui_mp/popup_cac_primary_camo.menu index 61363f2..d3559b2 100644 --- a/ui_mp/popup_cac_primary_camo.menu +++ b/ui_mp/popup_cac_primary_camo.menu @@ -13,10 +13,10 @@ fadeAmount 0.1 allowedBinding "+talk" visible when(localvarint("ui_tabDepth") == localvarint("ui_popup_cac_primary_camo_tabDepth")); - exp rect Y localvarfloat("ui_popupYPos") + (localvarint("ui_tabDepth") * 20); + exp rect Y localvarfloat("ui_popupYPos") + localvarint("ui_tabDepth") * 20; onOpen { - if (((((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") == "ak47classic") || (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") == "ak74u")) || (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") == "m40a3")) || (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") == "peacekeeper")) || (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") == "dragunov")) + if ((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")) == "ak47classic" || (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")) == "ak74u" || (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")) == "m40a3" || (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")) == "peacekeeper" || (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")) == "dragunov") { close popup_cac_weapon_primary; close popup_primary_attachments; @@ -44,8 +44,8 @@ close popup_secondary_attachments_bling; close popup_cac_other_primary; } - setLocalVarInt ui_tabDepth localvarint("ui_tabDepth") + 1; - setLocalVarInt ui_popup_cac_primary_camo_tabDepth localvarint("ui_tabDepth"); + setLocalVarInt ui_tabDepth (localvarint("ui_tabDepth") + 1); + setLocalVarInt ui_popup_cac_primary_camo_tabDepth (localvarint("ui_tabDepth")); if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo") == "none") { setfocus cac_camo_none; @@ -85,7 +85,7 @@ } onClose { - setLocalVarInt ui_tabDepth localvarint("ui_tabDepth") - 1; + setLocalVarInt ui_tabDepth (localvarint("ui_tabDepth") - 1); } onESC { @@ -93,7 +93,7 @@ } execKeyInt 168 { - if ((localvarstring("ui_selected_ref") != "none") && (!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " ") + localvarstring("ui_selected_ref")))) + if (localvarstring("ui_selected_ref") != "none" && !isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + localvarstring("ui_selected_ref"))) { open menu_challenge_detail_popup; } @@ -137,7 +137,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -148,7 +148,7 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -158,7 +158,7 @@ visible 1 textscale 0.55 background "mockup_popup_bg_stencilfill" - exp rect h 24 + (8 * 20); + exp rect h (24 + 8 * 20); } itemDef { @@ -169,7 +169,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -180,7 +180,7 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -191,7 +191,7 @@ textscale 0.55 forecolor 1 1 1 0 background "small_box_lightfx" - exp rect h 24 + (8 * 20); + exp rect h (24 + 8 * 20); } itemDef { @@ -232,7 +232,7 @@ textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_r" - exp rect h 24 + (8 * 20); + exp rect h (24 + 8 * 20); } itemDef { @@ -243,7 +243,7 @@ textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_br" - exp rect y (0 - 0) + (24 + (8 * 20)); + exp rect y (0 - 0) + ((24 + 8 * 20)); } itemDef { @@ -254,7 +254,7 @@ textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_b" - exp rect y (0 - 0) + (24 + (8 * 20)); + exp rect y (0 - 0) + ((24 + 8 * 20)); } itemDef { @@ -265,7 +265,7 @@ textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_bl" - exp rect y (0 - 0) + (24 + (8 * 20)); + exp rect y (0 - 0) + ((24 + 8 * 20)); } itemDef { @@ -276,7 +276,7 @@ textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_l" - exp rect h 24 + (8 * 20); + exp rect h (24 + 8 * 20); } itemDef { @@ -297,7 +297,7 @@ textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 1) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 1) * 20); } itemDef { @@ -312,7 +312,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab1Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 1) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 1) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 1) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 1) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 1) * 0.35); @@ -326,7 +326,7 @@ textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 2) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 2) * 20); } itemDef { @@ -341,7 +341,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab2Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 2) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 2) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 2) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 2) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 2) * 0.35); @@ -355,7 +355,7 @@ textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 3) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 3) * 20); } itemDef { @@ -370,7 +370,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab3Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 3) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 3) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 3) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 3) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 3) * 0.35); @@ -384,7 +384,7 @@ textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 4) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 4) * 20); } itemDef { @@ -399,7 +399,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab4Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 4) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 4) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 4) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 4) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 4) * 0.35); @@ -413,7 +413,7 @@ textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 5) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 5) * 20); } itemDef { @@ -428,7 +428,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab5Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 5) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 5) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 5) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 5) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 5) * 0.35); @@ -440,8 +440,8 @@ rect 0 4 336 20 1 1 style 1 type 1 - visible 1 - disabled when(!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " ") + "none")); + visible when(1); + disabled when(!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + ("none"))); textalign 4 textalignx 68 textscale 0.375 @@ -456,53 +456,53 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref none; - setLocalVarString ui_weapon_ref getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString ui_unlock_ref (localvarstring("ui_weapon_ref") + " ") + "none"; - setLocalVarString ui_challenge_ref tablelookup("mp/unlockTable.csv", 0, localvarstring("ui_unlock_ref"), 3); - setLocalVarInt ui_challenge_state 1; - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_2")) + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("none"); + setLocalVarString ui_weapon_ref (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString ui_unlock_ref (localvarstring("ui_weapon_ref") + " " + "none"); + setLocalVarString ui_challenge_ref (tablelookup("mp/unlockTable.csv", 0, localvarstring("ui_unlock_ref"), 3)); + setLocalVarInt ui_challenge_state (1); + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_2")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 2; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (2); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_3")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_3")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 3; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (3); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_4")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_4")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 4; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (4); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_5")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_5")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 5; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (5); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_6")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_6")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 6; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (6); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_7")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_7")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 7; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (7); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_8")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_8")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 8; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (8); } } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; - setLocalVarString tempName getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); + setLocalVarBool ui_popupAButton (0); + setLocalVarString tempName (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); setPlayerData ( camoNew , localVarString ( tempName ) , none , false ); } action @@ -510,62 +510,62 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/camoTable.csv", 1, "none", 2); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/camoTable.csv", 1, "none", 2)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/camoTable.csv", 1, "none", 2); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/camoTable.csv", 1, "none", 2)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/camoTable.csv", 1, "none", 2); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/camoTable.csv", 1, "none", 2)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/camoTable.csv", 1, "none", 2); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/camoTable.csv", 1, "none", 2)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/camoTable.csv", 1, "none", 2); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/camoTable.csv", 1, "none", 2)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/camoTable.csv", 1, "none", 2); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/camoTable.csv", 1, "none", 2)); } - setLocalVarString tempName getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); + setLocalVarString tempName (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); setPlayerData ( camoNew , localVarString ( tempName ) , none , false ); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , camo , none ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); close popup_cac_weapon_primary; close popup_primary_attachments close popup_secondary_attachments close popup_cac_weapon_secondary; close popup_cac_handgun_secondary; @@ -606,7 +606,7 @@ rect 162 4 40 20 1 1 style 3 decoration - visible when(1 && (!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " ") + "none"))); + visible when(1 && !isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + "none")); textscale 0.55 background "specialty_locked" } @@ -617,8 +617,8 @@ rect 0 24 336 20 1 1 style 1 type 1 - visible 1 - disabled when(!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " ") + "desert")); + visible when(1); + disabled when(!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + ("desert"))); textalign 4 textalignx 68 textscale 0.375 @@ -633,53 +633,53 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref desert; - setLocalVarString ui_weapon_ref getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString ui_unlock_ref (localvarstring("ui_weapon_ref") + " ") + "desert"; - setLocalVarString ui_challenge_ref tablelookup("mp/unlockTable.csv", 0, localvarstring("ui_unlock_ref"), 3); - setLocalVarInt ui_challenge_state 1; - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_2")) + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("desert"); + setLocalVarString ui_weapon_ref (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString ui_unlock_ref (localvarstring("ui_weapon_ref") + " " + "desert"); + setLocalVarString ui_challenge_ref (tablelookup("mp/unlockTable.csv", 0, localvarstring("ui_unlock_ref"), 3)); + setLocalVarInt ui_challenge_state (1); + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_2")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 2; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (2); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_3")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_3")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 3; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (3); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_4")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_4")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 4; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (4); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_5")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_5")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 5; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (5); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_6")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_6")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 6; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (6); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_7")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_7")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 7; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (7); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_8")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_8")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 8; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (8); } } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; - setLocalVarString tempName getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); + setLocalVarBool ui_popupAButton (0); + setLocalVarString tempName (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); setPlayerData ( camoNew , localVarString ( tempName ) , desert , false ); } action @@ -687,62 +687,62 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/camoTable.csv", 1, "desert", 2); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/camoTable.csv", 1, "desert", 2)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/camoTable.csv", 1, "desert", 2); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/camoTable.csv", 1, "desert", 2)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/camoTable.csv", 1, "desert", 2); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/camoTable.csv", 1, "desert", 2)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/camoTable.csv", 1, "desert", 2); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/camoTable.csv", 1, "desert", 2)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/camoTable.csv", 1, "desert", 2); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/camoTable.csv", 1, "desert", 2)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/camoTable.csv", 1, "desert", 2); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/camoTable.csv", 1, "desert", 2)); } - setLocalVarString tempName getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); + setLocalVarString tempName (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); setPlayerData ( camoNew , localVarString ( tempName ) , desert , false ); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , camo , desert ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); close popup_cac_weapon_primary; close popup_primary_attachments close popup_secondary_attachments close popup_cac_weapon_secondary; close popup_cac_handgun_secondary; @@ -783,7 +783,7 @@ rect 162 24 40 20 1 1 style 3 decoration - visible when(1 && (!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " ") + "desert"))); + visible when(1 && !isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + "desert")); textscale 0.55 background "specialty_locked" } @@ -794,8 +794,8 @@ rect 0 44 336 20 1 1 style 1 type 1 - visible 1 - disabled when(!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " ") + "arctic")); + visible when(1); + disabled when(!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + ("arctic"))); textalign 4 textalignx 68 textscale 0.375 @@ -810,53 +810,53 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref arctic; - setLocalVarString ui_weapon_ref getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString ui_unlock_ref (localvarstring("ui_weapon_ref") + " ") + "arctic"; - setLocalVarString ui_challenge_ref tablelookup("mp/unlockTable.csv", 0, localvarstring("ui_unlock_ref"), 3); - setLocalVarInt ui_challenge_state 1; - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_2")) + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("arctic"); + setLocalVarString ui_weapon_ref (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString ui_unlock_ref (localvarstring("ui_weapon_ref") + " " + "arctic"); + setLocalVarString ui_challenge_ref (tablelookup("mp/unlockTable.csv", 0, localvarstring("ui_unlock_ref"), 3)); + setLocalVarInt ui_challenge_state (1); + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_2")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 2; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (2); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_3")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_3")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 3; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (3); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_4")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_4")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 4; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (4); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_5")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_5")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 5; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (5); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_6")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_6")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 6; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (6); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_7")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_7")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 7; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (7); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_8")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_8")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 8; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (8); } } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; - setLocalVarString tempName getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); + setLocalVarBool ui_popupAButton (0); + setLocalVarString tempName (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); setPlayerData ( camoNew , localVarString ( tempName ) , arctic , false ); } action @@ -864,62 +864,62 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/camoTable.csv", 1, "arctic", 2); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/camoTable.csv", 1, "arctic", 2)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/camoTable.csv", 1, "arctic", 2); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/camoTable.csv", 1, "arctic", 2)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/camoTable.csv", 1, "arctic", 2); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/camoTable.csv", 1, "arctic", 2)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/camoTable.csv", 1, "arctic", 2); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/camoTable.csv", 1, "arctic", 2)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/camoTable.csv", 1, "arctic", 2); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/camoTable.csv", 1, "arctic", 2)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/camoTable.csv", 1, "arctic", 2); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/camoTable.csv", 1, "arctic", 2)); } - setLocalVarString tempName getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); + setLocalVarString tempName (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); setPlayerData ( camoNew , localVarString ( tempName ) , arctic , false ); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , camo , arctic ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); close popup_cac_weapon_primary; close popup_primary_attachments close popup_secondary_attachments close popup_cac_weapon_secondary; close popup_cac_handgun_secondary; @@ -960,7 +960,7 @@ rect 162 44 40 20 1 1 style 3 decoration - visible when(1 && (!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " ") + "arctic"))); + visible when(1 && !isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + "arctic")); textscale 0.55 background "specialty_locked" } @@ -971,8 +971,8 @@ rect 0 64 336 20 1 1 style 1 type 1 - visible 1 - disabled when(!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " ") + "woodland")); + visible when(1); + disabled when(!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + ("woodland"))); textalign 4 textalignx 68 textscale 0.375 @@ -987,53 +987,53 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref woodland; - setLocalVarString ui_weapon_ref getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString ui_unlock_ref (localvarstring("ui_weapon_ref") + " ") + "woodland"; - setLocalVarString ui_challenge_ref tablelookup("mp/unlockTable.csv", 0, localvarstring("ui_unlock_ref"), 3); - setLocalVarInt ui_challenge_state 1; - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_2")) + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("woodland"); + setLocalVarString ui_weapon_ref (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString ui_unlock_ref (localvarstring("ui_weapon_ref") + " " + "woodland"); + setLocalVarString ui_challenge_ref (tablelookup("mp/unlockTable.csv", 0, localvarstring("ui_unlock_ref"), 3)); + setLocalVarInt ui_challenge_state (1); + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_2")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 2; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (2); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_3")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_3")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 3; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (3); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_4")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_4")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 4; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (4); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_5")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_5")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 5; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (5); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_6")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_6")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 6; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (6); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_7")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_7")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 7; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (7); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_8")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_8")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 8; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (8); } } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; - setLocalVarString tempName getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); + setLocalVarBool ui_popupAButton (0); + setLocalVarString tempName (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); setPlayerData ( camoNew , localVarString ( tempName ) , woodland , false ); } action @@ -1041,62 +1041,62 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/camoTable.csv", 1, "woodland", 2); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/camoTable.csv", 1, "woodland", 2)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/camoTable.csv", 1, "woodland", 2); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/camoTable.csv", 1, "woodland", 2)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/camoTable.csv", 1, "woodland", 2); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/camoTable.csv", 1, "woodland", 2)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/camoTable.csv", 1, "woodland", 2); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/camoTable.csv", 1, "woodland", 2)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/camoTable.csv", 1, "woodland", 2); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/camoTable.csv", 1, "woodland", 2)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/camoTable.csv", 1, "woodland", 2); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/camoTable.csv", 1, "woodland", 2)); } - setLocalVarString tempName getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); + setLocalVarString tempName (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); setPlayerData ( camoNew , localVarString ( tempName ) , woodland , false ); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , camo , woodland ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); close popup_cac_weapon_primary; close popup_primary_attachments close popup_secondary_attachments close popup_cac_weapon_secondary; close popup_cac_handgun_secondary; @@ -1137,7 +1137,7 @@ rect 162 64 40 20 1 1 style 3 decoration - visible when(1 && (!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " ") + "woodland"))); + visible when(1 && !isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + "woodland")); textscale 0.55 background "specialty_locked" } @@ -1148,8 +1148,8 @@ rect 0 84 336 20 1 1 style 1 type 1 - visible 1 - disabled when(!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " ") + "digital")); + visible when(1); + disabled when(!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + ("digital"))); textalign 4 textalignx 68 textscale 0.375 @@ -1164,53 +1164,53 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref digital; - setLocalVarString ui_weapon_ref getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString ui_unlock_ref (localvarstring("ui_weapon_ref") + " ") + "digital"; - setLocalVarString ui_challenge_ref tablelookup("mp/unlockTable.csv", 0, localvarstring("ui_unlock_ref"), 3); - setLocalVarInt ui_challenge_state 1; - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_2")) + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("digital"); + setLocalVarString ui_weapon_ref (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString ui_unlock_ref (localvarstring("ui_weapon_ref") + " " + "digital"); + setLocalVarString ui_challenge_ref (tablelookup("mp/unlockTable.csv", 0, localvarstring("ui_unlock_ref"), 3)); + setLocalVarInt ui_challenge_state (1); + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_2")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 2; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (2); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_3")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_3")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 3; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (3); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_4")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_4")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 4; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (4); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_5")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_5")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 5; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (5); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_6")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_6")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 6; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (6); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_7")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_7")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 7; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (7); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_8")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_8")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 8; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (8); } } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; - setLocalVarString tempName getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); + setLocalVarBool ui_popupAButton (0); + setLocalVarString tempName (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); setPlayerData ( camoNew , localVarString ( tempName ) , digital , false ); } action @@ -1218,62 +1218,62 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/camoTable.csv", 1, "digital", 2); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/camoTable.csv", 1, "digital", 2)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/camoTable.csv", 1, "digital", 2); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/camoTable.csv", 1, "digital", 2)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/camoTable.csv", 1, "digital", 2); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/camoTable.csv", 1, "digital", 2)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/camoTable.csv", 1, "digital", 2); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/camoTable.csv", 1, "digital", 2)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/camoTable.csv", 1, "digital", 2); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/camoTable.csv", 1, "digital", 2)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/camoTable.csv", 1, "digital", 2); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/camoTable.csv", 1, "digital", 2)); } - setLocalVarString tempName getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); + setLocalVarString tempName (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); setPlayerData ( camoNew , localVarString ( tempName ) , digital , false ); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , camo , digital ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); close popup_cac_weapon_primary; close popup_primary_attachments close popup_secondary_attachments close popup_cac_weapon_secondary; close popup_cac_handgun_secondary; @@ -1314,7 +1314,7 @@ rect 162 84 40 20 1 1 style 3 decoration - visible when(1 && (!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " ") + "digital"))); + visible when(1 && !isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + "digital")); textscale 0.55 background "specialty_locked" } @@ -1325,8 +1325,8 @@ rect 0 104 336 20 1 1 style 1 type 1 - visible 1 - disabled when(!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " ") + "red_urban")); + visible when(1); + disabled when(!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + ("red_urban"))); textalign 4 textalignx 68 textscale 0.375 @@ -1341,53 +1341,53 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref red_urban; - setLocalVarString ui_weapon_ref getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString ui_unlock_ref (localvarstring("ui_weapon_ref") + " ") + "red_urban"; - setLocalVarString ui_challenge_ref tablelookup("mp/unlockTable.csv", 0, localvarstring("ui_unlock_ref"), 3); - setLocalVarInt ui_challenge_state 1; - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_2")) + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("red_urban"); + setLocalVarString ui_weapon_ref (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString ui_unlock_ref (localvarstring("ui_weapon_ref") + " " + "red_urban"); + setLocalVarString ui_challenge_ref (tablelookup("mp/unlockTable.csv", 0, localvarstring("ui_unlock_ref"), 3)); + setLocalVarInt ui_challenge_state (1); + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_2")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 2; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (2); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_3")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_3")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 3; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (3); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_4")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_4")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 4; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (4); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_5")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_5")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 5; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (5); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_6")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_6")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 6; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (6); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_7")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_7")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 7; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (7); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_8")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_8")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 8; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (8); } } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; - setLocalVarString tempName getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); + setLocalVarBool ui_popupAButton (0); + setLocalVarString tempName (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); setPlayerData ( camoNew , localVarString ( tempName ) , red_urban , false ); } action @@ -1395,62 +1395,62 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/camoTable.csv", 1, "red_urban", 2); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/camoTable.csv", 1, "red_urban", 2)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/camoTable.csv", 1, "red_urban", 2); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/camoTable.csv", 1, "red_urban", 2)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/camoTable.csv", 1, "red_urban", 2); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/camoTable.csv", 1, "red_urban", 2)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/camoTable.csv", 1, "red_urban", 2); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/camoTable.csv", 1, "red_urban", 2)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/camoTable.csv", 1, "red_urban", 2); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/camoTable.csv", 1, "red_urban", 2)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/camoTable.csv", 1, "red_urban", 2); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/camoTable.csv", 1, "red_urban", 2)); } - setLocalVarString tempName getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); + setLocalVarString tempName (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); setPlayerData ( camoNew , localVarString ( tempName ) , red_urban , false ); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , camo , red_urban ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); close popup_cac_weapon_primary; close popup_primary_attachments close popup_secondary_attachments close popup_cac_weapon_secondary; close popup_cac_handgun_secondary; @@ -1491,7 +1491,7 @@ rect 162 104 40 20 1 1 style 3 decoration - visible when(1 && (!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " ") + "red_urban"))); + visible when(1 && !isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + "red_urban")); textscale 0.55 background "specialty_locked" } @@ -1502,8 +1502,8 @@ rect 0 124 336 20 1 1 style 1 type 1 - visible 1 - disabled when(!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " ") + "blue_tiger")); + visible when(1); + disabled when(!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + ("blue_tiger"))); textalign 4 textalignx 68 textscale 0.375 @@ -1518,53 +1518,53 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref blue_tiger; - setLocalVarString ui_weapon_ref getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString ui_unlock_ref (localvarstring("ui_weapon_ref") + " ") + "blue_tiger"; - setLocalVarString ui_challenge_ref tablelookup("mp/unlockTable.csv", 0, localvarstring("ui_unlock_ref"), 3); - setLocalVarInt ui_challenge_state 1; - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_2")) + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("blue_tiger"); + setLocalVarString ui_weapon_ref (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString ui_unlock_ref (localvarstring("ui_weapon_ref") + " " + "blue_tiger"); + setLocalVarString ui_challenge_ref (tablelookup("mp/unlockTable.csv", 0, localvarstring("ui_unlock_ref"), 3)); + setLocalVarInt ui_challenge_state (1); + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_2")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 2; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (2); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_3")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_3")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 3; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (3); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_4")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_4")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 4; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (4); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_5")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_5")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 5; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (5); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_6")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_6")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 6; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (6); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_7")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_7")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 7; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (7); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_8")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_8")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 8; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (8); } } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; - setLocalVarString tempName getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); + setLocalVarBool ui_popupAButton (0); + setLocalVarString tempName (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); setPlayerData ( camoNew , localVarString ( tempName ) , blue_tiger , false ); } action @@ -1572,62 +1572,62 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/camoTable.csv", 1, "blue_tiger", 2); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/camoTable.csv", 1, "blue_tiger", 2)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/camoTable.csv", 1, "blue_tiger", 2); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/camoTable.csv", 1, "blue_tiger", 2)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/camoTable.csv", 1, "blue_tiger", 2); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/camoTable.csv", 1, "blue_tiger", 2)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/camoTable.csv", 1, "blue_tiger", 2); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/camoTable.csv", 1, "blue_tiger", 2)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/camoTable.csv", 1, "blue_tiger", 2); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/camoTable.csv", 1, "blue_tiger", 2)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/camoTable.csv", 1, "blue_tiger", 2); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/camoTable.csv", 1, "blue_tiger", 2)); } - setLocalVarString tempName getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); + setLocalVarString tempName (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); setPlayerData ( camoNew , localVarString ( tempName ) , blue_tiger , false ); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , camo , blue_tiger ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); close popup_cac_weapon_primary; close popup_primary_attachments close popup_secondary_attachments close popup_cac_weapon_secondary; close popup_cac_handgun_secondary; @@ -1668,7 +1668,7 @@ rect 162 124 40 20 1 1 style 3 decoration - visible when(1 && (!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " ") + "blue_tiger"))); + visible when(1 && !isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + "blue_tiger")); textscale 0.55 background "specialty_locked" } @@ -1679,8 +1679,8 @@ rect 0 144 336 20 1 1 style 1 type 1 - visible 1 - disabled when(!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " ") + "red_tiger")); + visible when(1); + disabled when(!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + ("red_tiger"))); textalign 4 textalignx 68 textscale 0.375 @@ -1695,53 +1695,53 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref red_tiger; - setLocalVarString ui_weapon_ref getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString ui_unlock_ref (localvarstring("ui_weapon_ref") + " ") + "red_tiger"; - setLocalVarString ui_challenge_ref tablelookup("mp/unlockTable.csv", 0, localvarstring("ui_unlock_ref"), 3); - setLocalVarInt ui_challenge_state 1; - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_2")) + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("red_tiger"); + setLocalVarString ui_weapon_ref (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString ui_unlock_ref (localvarstring("ui_weapon_ref") + " " + "red_tiger"); + setLocalVarString ui_challenge_ref (tablelookup("mp/unlockTable.csv", 0, localvarstring("ui_unlock_ref"), 3)); + setLocalVarInt ui_challenge_state (1); + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_2")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 2; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (2); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_3")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_3")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 3; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (3); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_4")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_4")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 4; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (4); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_5")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_5")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 5; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (5); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_6")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_6")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 6; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (6); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_7")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_7")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 7; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (7); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_8")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_8")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 8; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (8); } } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; - setLocalVarString tempName getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); + setLocalVarBool ui_popupAButton (0); + setLocalVarString tempName (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); setPlayerData ( camoNew , localVarString ( tempName ) , red_tiger , false ); } action @@ -1749,62 +1749,62 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/camoTable.csv", 1, "red_tiger", 2); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/camoTable.csv", 1, "red_tiger", 2)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/camoTable.csv", 1, "red_tiger", 2); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/camoTable.csv", 1, "red_tiger", 2)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/camoTable.csv", 1, "red_tiger", 2); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/camoTable.csv", 1, "red_tiger", 2)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/camoTable.csv", 1, "red_tiger", 2); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/camoTable.csv", 1, "red_tiger", 2)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/camoTable.csv", 1, "red_tiger", 2); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/camoTable.csv", 1, "red_tiger", 2)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/camoTable.csv", 1, "red_tiger", 2); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/camoTable.csv", 1, "red_tiger", 2)); } - setLocalVarString tempName getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); + setLocalVarString tempName (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); setPlayerData ( camoNew , localVarString ( tempName ) , red_tiger , false ); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , camo , red_tiger ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); close popup_cac_weapon_primary; close popup_primary_attachments close popup_secondary_attachments close popup_cac_weapon_secondary; close popup_cac_handgun_secondary; @@ -1845,7 +1845,7 @@ rect 162 144 40 20 1 1 style 3 decoration - visible when(1 && (!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " ") + "red_tiger"))); + visible when(1 && !isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + "red_tiger")); textscale 0.55 background "specialty_locked" } @@ -1856,8 +1856,8 @@ rect 0 164 336 20 1 1 style 1 type 1 - visible 1 - disabled when(!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " ") + "orange_fall")); + visible when(1); + disabled when(!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + ("orange_fall"))); textalign 4 textalignx 68 textscale 0.375 @@ -1872,53 +1872,53 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref orange_fall; - setLocalVarString ui_weapon_ref getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString ui_unlock_ref (localvarstring("ui_weapon_ref") + " ") + "orange_fall"; - setLocalVarString ui_challenge_ref tablelookup("mp/unlockTable.csv", 0, localvarstring("ui_unlock_ref"), 3); - setLocalVarInt ui_challenge_state 1; - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_2")) + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("orange_fall"); + setLocalVarString ui_weapon_ref (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString ui_unlock_ref (localvarstring("ui_weapon_ref") + " " + "orange_fall"); + setLocalVarString ui_challenge_ref (tablelookup("mp/unlockTable.csv", 0, localvarstring("ui_unlock_ref"), 3)); + setLocalVarInt ui_challenge_state (1); + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_2")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 2; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (2); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_3")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_3")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 3; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (3); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_4")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_4")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 4; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (4); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_5")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_5")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 5; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (5); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_6")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_6")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 6; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (6); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_7")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_7")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 7; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (7); } - if (localvarstring("ui_challenge_ref") == (("ch_expert_" + localvarstring("ui_weapon_ref")) + "_8")) + if ((localvarstring("ui_challenge_ref") == "ch_expert_" + localvarstring("ui_weapon_ref") + "_8")) { - setLocalVarString ui_challenge_ref "ch_expert_" + localvarstring("ui_weapon_ref"); - setLocalVarInt ui_challenge_state 8; + setLocalVarString ui_challenge_ref ("ch_expert_" + localvarstring("ui_weapon_ref")); + setLocalVarInt ui_challenge_state (8); } } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; - setLocalVarString tempName getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); + setLocalVarBool ui_popupAButton (0); + setLocalVarString tempName (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); setPlayerData ( camoNew , localVarString ( tempName ) , orange_fall , false ); } action @@ -1926,62 +1926,62 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/camoTable.csv", 1, "orange_fall", 2); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/camoTable.csv", 1, "orange_fall", 2)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/camoTable.csv", 1, "orange_fall", 2); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/camoTable.csv", 1, "orange_fall", 2)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/camoTable.csv", 1, "orange_fall", 2); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/camoTable.csv", 1, "orange_fall", 2)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/camoTable.csv", 1, "orange_fall", 2); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/camoTable.csv", 1, "orange_fall", 2)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/camoTable.csv", 1, "orange_fall", 2); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/camoTable.csv", 1, "orange_fall", 2)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/camoTable.csv", 1, "orange_fall", 2); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/camoTable.csv", 1, "orange_fall", 2)); } - setLocalVarString tempName getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); + setLocalVarString tempName (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); setPlayerData ( camoNew , localVarString ( tempName ) , orange_fall , false ); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , camo , orange_fall ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); close popup_cac_weapon_primary; close popup_primary_attachments close popup_secondary_attachments close popup_cac_weapon_secondary; close popup_cac_handgun_secondary; @@ -2022,7 +2022,7 @@ rect 162 164 40 20 1 1 style 3 decoration - visible when(1 && (!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " ") + "orange_fall"))); + visible when(1 && !isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + "orange_fall")); textscale 0.55 background "specialty_locked" } @@ -2071,7 +2071,7 @@ rect 16 124 400 20 2 1 decoration autowrapped - visible when(isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " ") + localvarstring("ui_selected_ref"))); + visible when(isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + localvarstring("ui_selected_ref"))); textalign 4 textalignx 4 textscale 0.375 @@ -2087,7 +2087,7 @@ rect 16 124 400 20 2 1 decoration autowrapped - visible when(!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " ") + localvarstring("ui_selected_ref"))); + visible when(!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + localvarstring("ui_selected_ref"))); textalign 4 textalignx 4 textscale 0.375 @@ -2099,14 +2099,14 @@ rect 16 124 400 20 2 1 decoration autowrapped - visible when(!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " ") + localvarstring("ui_selected_ref"))); + visible when(!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + localvarstring("ui_selected_ref"))); textalign 4 textalignx 4 textaligny 20 textscale 0.375 textfont 3 forecolor 1 1 1 0.65 - exp text locstring("@" + tablelookup("mp/allChallengesTable.csv", 0, localvarstring("ui_challenge_ref"), 1)) + locstring((("@" + tablelookup("mp/allChallengesTable.csv", 0, localvarstring("ui_challenge_ref"), 3)) + "_") + localvarint("ui_challenge_state")); + exp text locstring("@" + tablelookup("mp/allChallengesTable.csv", 0, localvarstring("ui_challenge_ref"), 1)) + locstring("@" + tablelookup("mp/allChallengesTable.csv", 0, localvarstring("ui_challenge_ref"), 3) + "_" + localvarint("ui_challenge_state")); } itemDef { @@ -2114,7 +2114,7 @@ rect 16 124 400 20 2 1 decoration autowrapped - visible when(!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " ") + localvarstring("ui_selected_ref"))); + visible when(!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + localvarstring("ui_selected_ref"))); textalign 4 textalignx 4 textaligny 40 diff --git a/ui_mp/popup_cac_smg_primary.menu b/ui_mp/popup_cac_smg_primary.menu index e1ab06e..0e86927 100644 --- a/ui_mp/popup_cac_smg_primary.menu +++ b/ui_mp/popup_cac_smg_primary.menu @@ -14,12 +14,12 @@ fadeCycle 1 fadeAmount 0.1 visible when(localvarint("ui_tabDepth") == localvarint("ui_popup_cac_smg_primary_tabDepth")); - exp rect Y localvarfloat("ui_popupYPos") + (localvarint("ui_tabDepth") * 20); + exp rect Y localvarfloat("ui_popupYPos") + localvarint("ui_tabDepth") * 20; onOpen { setfocus cac_weapon_mp5k; - setLocalVarInt ui_tabDepth localvarint("ui_tabDepth") + 1; - setLocalVarInt ui_popup_cac_smg_primary_tabDepth localvarint("ui_tabDepth"); + setLocalVarInt ui_tabDepth (localvarint("ui_tabDepth") + 1); + setLocalVarInt ui_popup_cac_smg_primary_tabDepth (localvarint("ui_tabDepth")); if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") == "mp5k") { setfocus cac_weapon_mp5k; @@ -51,7 +51,7 @@ } onClose { - setLocalVarInt ui_tabDepth localvarint("ui_tabDepth") - 1; + setLocalVarInt ui_tabDepth (localvarint("ui_tabDepth") - 1); } onESC { @@ -63,6 +63,7 @@ style 1 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 backcolor 0 0 0 0.35 background "white" } @@ -72,6 +73,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 1 1 1 1 background "xpbar_stencilbase" } @@ -81,9 +83,10 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 0.5 0.5 0.5 1 background "white" - exp rect h 4 + (9 * 20); + exp rect h 4 + 9 * 20; } itemDef { @@ -91,9 +94,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -101,9 +105,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0.85 0.85 0.85 0.85 background "mw2_popup_bg_fogscroll" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -111,16 +116,18 @@ style 3 decoration visible 1 + textscale 0.55 background "mockup_popup_bg_stencilfill" - exp rect h 4 + (9 * 20); + exp rect h 4 + 9 * 20; } itemDef { rect -64 0 -1708 -480 1 1 style 3 decoration + textscale 0.55 background "mw2_popup_bg_fogstencil" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -128,18 +135,20 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { rect -64 0 854 0 1 1 style 3 decoration + textscale 0.55 forecolor 1 1 1 0 background "small_box_lightfx" - exp rect h 4 + (9 * 20); + exp rect h 4 + 9 * 20; } itemDef { @@ -147,6 +156,7 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tl" } @@ -156,6 +166,7 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_t" } @@ -165,6 +176,7 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tr" } @@ -174,9 +186,10 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_r" - exp rect h 4 + (9 * 20); + exp rect h 4 + 9 * 20; } itemDef { @@ -184,9 +197,10 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_br" - exp rect y 4 + (9 * 20); + exp rect y 4 + 9 * 20; } itemDef { @@ -194,9 +208,10 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_b" - exp rect y 4 + (9 * 20); + exp rect y 4 + 9 * 20; } itemDef { @@ -204,9 +219,10 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_bl" - exp rect y 4 + (9 * 20); + exp rect y 4 + 9 * 20; } itemDef { @@ -214,9 +230,10 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_l" - exp rect h 4 + (9 * 20); + exp rect h 4 + 9 * 20; } itemDef { @@ -224,9 +241,10 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 1 1 1 0 background "gradient_fadein" - exp rect h 4 + (9 * 20); + exp rect h 4 + 9 * 20; } itemDef { @@ -234,9 +252,10 @@ style 1 decoration visible when(localvarint("ui_tabDepth") > (1 - 1)); + textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 1) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 1) * 20); } itemDef { @@ -251,7 +270,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab1Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 1) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 1) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 1) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 1) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 1) * 0.35); @@ -262,9 +281,10 @@ style 1 decoration visible when(localvarint("ui_tabDepth") > (2 - 1)); + textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 2) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 2) * 20); } itemDef { @@ -279,7 +299,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab2Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 2) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 2) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 2) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 2) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 2) * 0.35); @@ -290,9 +310,10 @@ style 1 decoration visible when(localvarint("ui_tabDepth") > (3 - 1)); + textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 3) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 3) * 20); } itemDef { @@ -307,7 +328,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab3Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 3) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 3) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 3) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 3) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 3) * 0.35); @@ -318,9 +339,10 @@ style 1 decoration visible when(localvarint("ui_tabDepth") > (4 - 1)); + textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 4) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 4) * 20); } itemDef { @@ -335,7 +357,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab4Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 4) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 4) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 4) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 4) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 4) * 0.35); @@ -346,9 +368,10 @@ style 1 decoration visible when(localvarint("ui_tabDepth") > (5 - 1)); + textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 5) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 5) * 20); } itemDef { @@ -363,7 +386,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab5Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 5) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 5) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 5) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 5) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 5) * 0.35); @@ -391,13 +414,13 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref mp5k; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("mp5k"); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); setPlayerData ( weaponNew , mp5k , false ); } action @@ -405,27 +428,27 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/statsTable.csv", 4, "mp5k", 3); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/statsTable.csv", 4, "mp5k", 3)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/statsTable.csv", 4, "mp5k", 3); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/statsTable.csv", 4, "mp5k", 3)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/statsTable.csv", 4, "mp5k", 3); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/statsTable.csv", 4, "mp5k", 3)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/statsTable.csv", 4, "mp5k", 3); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/statsTable.csv", 4, "mp5k", 3)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/statsTable.csv", 4, "mp5k", 3); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/statsTable.csv", 4, "mp5k", 3)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/statsTable.csv", 4, "mp5k", 3); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/statsTable.csv", 4, "mp5k", 3)); } if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") != "mp5k") { @@ -435,40 +458,40 @@ } setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , weapon , mp5k ); setPlayerData ( weaponNew , mp5k , false ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); if (0 == 0) { - if (tablelookup("mp/statsTable.csv", 4, "mp5k", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "mp5k", 11) != "")) { if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") { @@ -486,9 +509,9 @@ } else { - if (tablelookup("mp/statsTable.csv", 4, "mp5k", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "mp5k", 11) != "")) { - if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling")) + if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling")) { open popup_secondary_attachments_bling; } @@ -529,9 +552,9 @@ } execKeyInt 168 { - if (tablelookup("mp/challengeTable.csv", 6, "mp5k", 4) != "") + if ((tablelookup("mp/challengeTable.csv", 6, "mp5k", 4)) != "") { - setLocalVarString ui_challengeTierTable tablelookup("mp/challengeTable.csv", 6, "mp5k", 4); + setLocalVarString ui_challengeTierTable (tablelookup("mp/challengeTable.csv", 6, "mp5k", 4)); open menu_challenge_details; } } @@ -542,7 +565,7 @@ rect 162 4 40 20 1 1 style 3 decoration - visible when((getplayerdata("weaponNew", "mp5k") || getplayerdataanybooltrue("camoNew", "mp5k")) || getplayerdataanybooltrue("attachmentNew", "mp5k")); + visible when((getplayerdata("weaponNew", "mp5k") || getplayerdataanybooltrue("camoNew", "mp5k") || getplayerdataanybooltrue("attachmentNew", "mp5k"))); textscale 0.55 background "specialty_new" } @@ -551,7 +574,7 @@ rect 162 4 40 20 1 1 style 3 decoration - visible when(isitemunlocked("mp5k") == 0); + visible when((isitemunlocked("mp5k") == 0)); textscale 0.55 background "specialty_locked" } @@ -578,13 +601,13 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref ump45; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("ump45"); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); setPlayerData ( weaponNew , ump45 , false ); } action @@ -592,27 +615,27 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/statsTable.csv", 4, "ump45", 3); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/statsTable.csv", 4, "ump45", 3)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/statsTable.csv", 4, "ump45", 3); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/statsTable.csv", 4, "ump45", 3)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/statsTable.csv", 4, "ump45", 3); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/statsTable.csv", 4, "ump45", 3)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/statsTable.csv", 4, "ump45", 3); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/statsTable.csv", 4, "ump45", 3)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/statsTable.csv", 4, "ump45", 3); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/statsTable.csv", 4, "ump45", 3)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/statsTable.csv", 4, "ump45", 3); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/statsTable.csv", 4, "ump45", 3)); } if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") != "ump45") { @@ -622,40 +645,40 @@ } setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , weapon , ump45 ); setPlayerData ( weaponNew , ump45 , false ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); if (0 == 0) { - if (tablelookup("mp/statsTable.csv", 4, "ump45", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "ump45", 11) != "")) { if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") { @@ -673,9 +696,9 @@ } else { - if (tablelookup("mp/statsTable.csv", 4, "ump45", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "ump45", 11) != "")) { - if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling")) + if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling")) { open popup_secondary_attachments_bling; } @@ -716,9 +739,9 @@ } execKeyInt 168 { - if (tablelookup("mp/challengeTable.csv", 6, "ump45", 4) != "") + if ((tablelookup("mp/challengeTable.csv", 6, "ump45", 4)) != "") { - setLocalVarString ui_challengeTierTable tablelookup("mp/challengeTable.csv", 6, "ump45", 4); + setLocalVarString ui_challengeTierTable (tablelookup("mp/challengeTable.csv", 6, "ump45", 4)); open menu_challenge_details; } } @@ -729,7 +752,7 @@ rect 162 24 40 20 1 1 style 3 decoration - visible when((getplayerdata("weaponNew", "ump45") || getplayerdataanybooltrue("camoNew", "ump45")) || getplayerdataanybooltrue("attachmentNew", "ump45")); + visible when((getplayerdata("weaponNew", "ump45") || getplayerdataanybooltrue("camoNew", "ump45") || getplayerdataanybooltrue("attachmentNew", "ump45"))); textscale 0.55 background "specialty_new" } @@ -738,7 +761,7 @@ rect 162 24 40 20 1 1 style 3 decoration - visible when(isitemunlocked("ump45") == 0); + visible when((isitemunlocked("ump45") == 0)); textscale 0.55 background "specialty_locked" } @@ -765,13 +788,13 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref kriss; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("kriss"); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); setPlayerData ( weaponNew , kriss , false ); } action @@ -779,27 +802,27 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/statsTable.csv", 4, "kriss", 3); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/statsTable.csv", 4, "kriss", 3)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/statsTable.csv", 4, "kriss", 3); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/statsTable.csv", 4, "kriss", 3)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/statsTable.csv", 4, "kriss", 3); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/statsTable.csv", 4, "kriss", 3)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/statsTable.csv", 4, "kriss", 3); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/statsTable.csv", 4, "kriss", 3)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/statsTable.csv", 4, "kriss", 3); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/statsTable.csv", 4, "kriss", 3)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/statsTable.csv", 4, "kriss", 3); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/statsTable.csv", 4, "kriss", 3)); } if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") != "kriss") { @@ -809,40 +832,40 @@ } setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , weapon , kriss ); setPlayerData ( weaponNew , kriss , false ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); if (0 == 0) { - if (tablelookup("mp/statsTable.csv", 4, "kriss", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "kriss", 11) != "")) { if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") { @@ -860,9 +883,9 @@ } else { - if (tablelookup("mp/statsTable.csv", 4, "kriss", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "kriss", 11) != "")) { - if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling")) + if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling")) { open popup_secondary_attachments_bling; } @@ -903,9 +926,9 @@ } execKeyInt 168 { - if (tablelookup("mp/challengeTable.csv", 6, "kriss", 4) != "") + if ((tablelookup("mp/challengeTable.csv", 6, "kriss", 4)) != "") { - setLocalVarString ui_challengeTierTable tablelookup("mp/challengeTable.csv", 6, "kriss", 4); + setLocalVarString ui_challengeTierTable (tablelookup("mp/challengeTable.csv", 6, "kriss", 4)); open menu_challenge_details; } } @@ -916,7 +939,7 @@ rect 162 44 40 20 1 1 style 3 decoration - visible when((getplayerdata("weaponNew", "kriss") || getplayerdataanybooltrue("camoNew", "kriss")) || getplayerdataanybooltrue("attachmentNew", "kriss")); + visible when((getplayerdata("weaponNew", "kriss") || getplayerdataanybooltrue("camoNew", "kriss") || getplayerdataanybooltrue("attachmentNew", "kriss"))); textscale 0.55 background "specialty_new" } @@ -925,7 +948,7 @@ rect 162 44 40 20 1 1 style 3 decoration - visible when(isitemunlocked("kriss") == 0); + visible when((isitemunlocked("kriss") == 0)); textscale 0.55 background "specialty_locked" } @@ -952,13 +975,13 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref p90; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("p90"); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); setPlayerData ( weaponNew , p90 , false ); } action @@ -966,27 +989,27 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/statsTable.csv", 4, "p90", 3); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/statsTable.csv", 4, "p90", 3)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/statsTable.csv", 4, "p90", 3); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/statsTable.csv", 4, "p90", 3)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/statsTable.csv", 4, "p90", 3); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/statsTable.csv", 4, "p90", 3)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/statsTable.csv", 4, "p90", 3); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/statsTable.csv", 4, "p90", 3)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/statsTable.csv", 4, "p90", 3); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/statsTable.csv", 4, "p90", 3)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/statsTable.csv", 4, "p90", 3); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/statsTable.csv", 4, "p90", 3)); } if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") != "p90") { @@ -996,40 +1019,40 @@ } setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , weapon , p90 ); setPlayerData ( weaponNew , p90 , false ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); if (0 == 0) { - if (tablelookup("mp/statsTable.csv", 4, "p90", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "p90", 11) != "")) { if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") { @@ -1047,9 +1070,9 @@ } else { - if (tablelookup("mp/statsTable.csv", 4, "p90", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "p90", 11) != "")) { - if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling")) + if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling")) { open popup_secondary_attachments_bling; } @@ -1090,9 +1113,9 @@ } execKeyInt 168 { - if (tablelookup("mp/challengeTable.csv", 6, "p90", 4) != "") + if ((tablelookup("mp/challengeTable.csv", 6, "p90", 4)) != "") { - setLocalVarString ui_challengeTierTable tablelookup("mp/challengeTable.csv", 6, "p90", 4); + setLocalVarString ui_challengeTierTable (tablelookup("mp/challengeTable.csv", 6, "p90", 4)); open menu_challenge_details; } } @@ -1103,7 +1126,7 @@ rect 162 64 40 20 1 1 style 3 decoration - visible when((getplayerdata("weaponNew", "p90") || getplayerdataanybooltrue("camoNew", "p90")) || getplayerdataanybooltrue("attachmentNew", "p90")); + visible when((getplayerdata("weaponNew", "p90") || getplayerdataanybooltrue("camoNew", "p90") || getplayerdataanybooltrue("attachmentNew", "p90"))); textscale 0.55 background "specialty_new" } @@ -1112,7 +1135,7 @@ rect 162 64 40 20 1 1 style 3 decoration - visible when(isitemunlocked("p90") == 0); + visible when((isitemunlocked("p90") == 0)); textscale 0.55 background "specialty_locked" } @@ -1139,13 +1162,13 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref uzi; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("uzi"); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); setPlayerData ( weaponNew , uzi , false ); } action @@ -1153,27 +1176,27 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/statsTable.csv", 4, "uzi", 3); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/statsTable.csv", 4, "uzi", 3)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/statsTable.csv", 4, "uzi", 3); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/statsTable.csv", 4, "uzi", 3)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/statsTable.csv", 4, "uzi", 3); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/statsTable.csv", 4, "uzi", 3)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/statsTable.csv", 4, "uzi", 3); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/statsTable.csv", 4, "uzi", 3)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/statsTable.csv", 4, "uzi", 3); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/statsTable.csv", 4, "uzi", 3)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/statsTable.csv", 4, "uzi", 3); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/statsTable.csv", 4, "uzi", 3)); } if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") != "uzi") { @@ -1183,40 +1206,40 @@ } setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , weapon , uzi ); setPlayerData ( weaponNew , uzi , false ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); if (0 == 0) { - if (tablelookup("mp/statsTable.csv", 4, "uzi", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "uzi", 11) != "")) { if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") { @@ -1234,9 +1257,9 @@ } else { - if (tablelookup("mp/statsTable.csv", 4, "uzi", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "uzi", 11) != "")) { - if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling")) + if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling")) { open popup_secondary_attachments_bling; } @@ -1277,9 +1300,9 @@ } execKeyInt 168 { - if (tablelookup("mp/challengeTable.csv", 6, "uzi", 4) != "") + if ((tablelookup("mp/challengeTable.csv", 6, "uzi", 4)) != "") { - setLocalVarString ui_challengeTierTable tablelookup("mp/challengeTable.csv", 6, "uzi", 4); + setLocalVarString ui_challengeTierTable (tablelookup("mp/challengeTable.csv", 6, "uzi", 4)); open menu_challenge_details; } } @@ -1290,7 +1313,7 @@ rect 162 84 40 20 1 1 style 3 decoration - visible when((getplayerdata("weaponNew", "uzi") || getplayerdataanybooltrue("camoNew", "uzi")) || getplayerdataanybooltrue("attachmentNew", "uzi")); + visible when((getplayerdata("weaponNew", "uzi") || getplayerdataanybooltrue("camoNew", "uzi") || getplayerdataanybooltrue("attachmentNew", "uzi"))); textscale 0.55 background "specialty_new" } @@ -1299,7 +1322,7 @@ rect 162 84 40 20 1 1 style 3 decoration - visible when(isitemunlocked("uzi") == 0); + visible when((isitemunlocked("uzi") == 0)); textscale 0.55 background "specialty_locked" } @@ -1326,13 +1349,13 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref ak74u; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("ak74u"); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); setPlayerData ( weaponNew , ak74u , false ); } action @@ -1340,27 +1363,27 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/statsTable.csv", 4, "ak74u", 3); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/statsTable.csv", 4, "ak74u", 3)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/statsTable.csv", 4, "ak74u", 3); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/statsTable.csv", 4, "ak74u", 3)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/statsTable.csv", 4, "ak74u", 3); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/statsTable.csv", 4, "ak74u", 3)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/statsTable.csv", 4, "ak74u", 3); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/statsTable.csv", 4, "ak74u", 3)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/statsTable.csv", 4, "ak74u", 3); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/statsTable.csv", 4, "ak74u", 3)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/statsTable.csv", 4, "ak74u", 3); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/statsTable.csv", 4, "ak74u", 3)); } if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") != "ak74u") { @@ -1370,40 +1393,40 @@ } setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , weapon , ak74u ); setPlayerData ( weaponNew , ak74u , false ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); if (0 == 0) { - if (tablelookup("mp/statsTable.csv", 4, "ak74u", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "ak74u", 11) != "")) { if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") { @@ -1421,9 +1444,9 @@ } else { - if (tablelookup("mp/statsTable.csv", 4, "ak74u", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "ak74u", 11) != "")) { - if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling")) + if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling")) { open popup_secondary_attachments_bling; } @@ -1464,9 +1487,9 @@ } execKeyInt 168 { - if (tablelookup("mp/challengeTable.csv", 6, "ak74u", 4) != "") + if ((tablelookup("mp/challengeTable.csv", 6, "ak74u", 4)) != "") { - setLocalVarString ui_challengeTierTable tablelookup("mp/challengeTable.csv", 6, "ak74u", 4); + setLocalVarString ui_challengeTierTable (tablelookup("mp/challengeTable.csv", 6, "ak74u", 4)); open menu_challenge_details; } } @@ -1477,7 +1500,7 @@ rect 162 104 40 20 1 1 style 3 decoration - visible when((getplayerdata("weaponNew", "ak74u") || getplayerdataanybooltrue("camoNew", "ak74u")) || getplayerdataanybooltrue("attachmentNew", "ak74u")); + visible when((getplayerdata("weaponNew", "ak74u") || getplayerdataanybooltrue("camoNew", "ak74u") || getplayerdataanybooltrue("attachmentNew", "ak74u"))); textscale 0.55 background "specialty_new" } @@ -1486,7 +1509,7 @@ rect 162 104 40 20 1 1 style 3 decoration - visible when(isitemunlocked("ak74u") == 0); + visible when((isitemunlocked("ak74u") == 0)); textscale 0.55 background "specialty_locked" } @@ -1513,13 +1536,13 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref peacekeeper; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("peacekeeper"); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); setPlayerData ( weaponNew , peacekeeper , false ); } action @@ -1527,27 +1550,27 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/statsTable.csv", 4, "peacekeeper", 3); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/statsTable.csv", 4, "peacekeeper", 3)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/statsTable.csv", 4, "peacekeeper", 3); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/statsTable.csv", 4, "peacekeeper", 3)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/statsTable.csv", 4, "peacekeeper", 3); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/statsTable.csv", 4, "peacekeeper", 3)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/statsTable.csv", 4, "peacekeeper", 3); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/statsTable.csv", 4, "peacekeeper", 3)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/statsTable.csv", 4, "peacekeeper", 3); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/statsTable.csv", 4, "peacekeeper", 3)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/statsTable.csv", 4, "peacekeeper", 3); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/statsTable.csv", 4, "peacekeeper", 3)); } if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") != "peacekeeper") { @@ -1557,40 +1580,40 @@ } setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , weapon , peacekeeper ); setPlayerData ( weaponNew , peacekeeper , false ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); if (0 == 0) { - if (tablelookup("mp/statsTable.csv", 4, "peacekeeper", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "peacekeeper", 11) != "")) { if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") { @@ -1608,9 +1631,9 @@ } else { - if (tablelookup("mp/statsTable.csv", 4, "peacekeeper", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "peacekeeper", 11) != "")) { - if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling")) + if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling")) { open popup_secondary_attachments_bling; } @@ -1651,9 +1674,9 @@ } execKeyInt 168 { - if (tablelookup("mp/challengeTable.csv", 6, "peacekeeper", 4) != "") + if ((tablelookup("mp/challengeTable.csv", 6, "peacekeeper", 4)) != "") { - setLocalVarString ui_challengeTierTable tablelookup("mp/challengeTable.csv", 6, "peacekeeper", 4); + setLocalVarString ui_challengeTierTable (tablelookup("mp/challengeTable.csv", 6, "peacekeeper", 4)); open menu_challenge_details; } } @@ -1664,7 +1687,7 @@ rect 162 124 40 20 1 1 style 3 decoration - visible when((getplayerdata("weaponNew", "peacekeeper") || getplayerdataanybooltrue("camoNew", "peacekeeper")) || getplayerdataanybooltrue("attachmentNew", "peacekeeper")); + visible when((getplayerdata("weaponNew", "peacekeeper") || getplayerdataanybooltrue("camoNew", "peacekeeper") || getplayerdataanybooltrue("attachmentNew", "peacekeeper"))); textscale 0.55 background "specialty_new" } @@ -1673,7 +1696,7 @@ rect 162 124 40 20 1 1 style 3 decoration - visible when(isitemunlocked("peacekeeper") == 0); + visible when((isitemunlocked("peacekeeper") == 0)); textscale 0.55 background "specialty_locked" } @@ -1741,7 +1764,7 @@ rect -56 0 200 184 2 1 decoration autowrapped - visible when(isitemunlocked(localvarstring("ui_selected_ref")) && (tablelookup("mp/challengeTable.csv", 6, localvarstring("ui_selected_ref"), 4) != "")); + visible when(isitemunlocked(localvarstring("ui_selected_ref")) && (tablelookup("mp/challengeTable.csv", 6, localvarstring("ui_selected_ref"), 4)) != ""); textalign 4 textalignx 4 textaligny 144 @@ -1795,10 +1818,10 @@ textscale 0.55 forecolor 1 1 0.25 0.65 background "white" - exp rect x ((- 64) + (0 - (120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 22) / 100)))) + ((0 - (120 * (0 / 100))) * (0 < 0)); + exp rect x - 64 + (0 - 120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 22) / 100)) + ((0 - 120 * (0 / 100)) * (0 < 0)); exp rect w min(120 * (0 / 100), (1 - (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 22) / 100)) * 120); - exp forecolor r ((0 < 0) * 0.45) + 0.25; - exp forecolor g ((0 > 0) * 0.45) + 0.25; + exp forecolor r (0 < 0) * 0.45 + 0.25; + exp forecolor g (0 > 0) * 0.45 + 0.25; } itemDef { @@ -1846,10 +1869,10 @@ textscale 0.55 forecolor 1 1 0.25 0.65 background "white" - exp rect x ((- 64) + (0 - (120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 23) / 100)))) + ((0 - (120 * (0 / 100))) * (0 < 0)); + exp rect x - 64 + (0 - 120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 23) / 100)) + ((0 - 120 * (0 / 100)) * (0 < 0)); exp rect w min(120 * (0 / 100), (1 - (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 23) / 100)) * 120); - exp forecolor r ((0 < 0) * 0.45) + 0.25; - exp forecolor g ((0 > 0) * 0.45) + 0.25; + exp forecolor r (0 < 0) * 0.45 + 0.25; + exp forecolor g (0 > 0) * 0.45 + 0.25; } itemDef { @@ -1897,10 +1920,10 @@ textscale 0.55 forecolor 1 1 0.25 0.65 background "white" - exp rect x ((- 64) + (0 - (120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 24) / 100)))) + ((0 - (120 * (0 / 100))) * (0 < 0)); + exp rect x - 64 + (0 - 120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 24) / 100)) + ((0 - 120 * (0 / 100)) * (0 < 0)); exp rect w min(120 * (0 / 100), (1 - (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 24) / 100)) * 120); - exp forecolor r ((0 < 0) * 0.45) + 0.25; - exp forecolor g ((0 > 0) * 0.45) + 0.25; + exp forecolor r (0 < 0) * 0.45 + 0.25; + exp forecolor g (0 > 0) * 0.45 + 0.25; } itemDef { @@ -1948,10 +1971,10 @@ textscale 0.55 forecolor 1 1 0.25 0.65 background "white" - exp rect x ((- 64) + (0 - (120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 25) / 100)))) + ((0 - (120 * (0 / 100))) * (0 < 0)); + exp rect x - 64 + (0 - 120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 25) / 100)) + ((0 - 120 * (0 / 100)) * (0 < 0)); exp rect w min(120 * (0 / 100), (1 - (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 25) / 100)) * 120); - exp forecolor r ((0 < 0) * 0.45) + 0.25; - exp forecolor g ((0 > 0) * 0.45) + 0.25; + exp forecolor r (0 < 0) * 0.45 + 0.25; + exp forecolor g (0 > 0) * 0.45 + 0.25; } itemDef { @@ -1999,10 +2022,10 @@ textscale 0.55 forecolor 1 1 0.25 0.65 background "white" - exp rect x ((- 64) + (0 - (120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 26) / 100)))) + ((0 - (120 * (0 / 100))) * (0 < 0)); + exp rect x - 64 + (0 - 120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 26) / 100)) + ((0 - 120 * (0 / 100)) * (0 < 0)); exp rect w min(120 * (0 / 100), (1 - (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 26) / 100)) * 120); - exp forecolor r ((0 < 0) * 0.45) + 0.25; - exp forecolor g ((0 > 0) * 0.45) + 0.25; + exp forecolor r (0 < 0) * 0.45 + 0.25; + exp forecolor g (0 > 0) * 0.45 + 0.25; } } } diff --git a/ui_mp/popup_cac_sniper_primary.menu b/ui_mp/popup_cac_sniper_primary.menu index 5097474..2634da5 100644 --- a/ui_mp/popup_cac_sniper_primary.menu +++ b/ui_mp/popup_cac_sniper_primary.menu @@ -14,12 +14,12 @@ fadeCycle 1 fadeAmount 0.1 visible when(localvarint("ui_tabDepth") == localvarint("ui_popup_cac_sniper_primary_tabDepth")); - exp rect Y localvarfloat("ui_popupYPos") + (localvarint("ui_tabDepth") * 20); + exp rect Y localvarfloat("ui_popupYPos") + localvarint("ui_tabDepth") * 20; onOpen { setfocus cac_weapon_cheytac; - setLocalVarInt ui_tabDepth localvarint("ui_tabDepth") + 1; - setLocalVarInt ui_popup_cac_sniper_primary_tabDepth localvarint("ui_tabDepth"); + setLocalVarInt ui_tabDepth (localvarint("ui_tabDepth") + 1); + setLocalVarInt ui_popup_cac_sniper_primary_tabDepth (localvarint("ui_tabDepth")); if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") == "cheytac") { setfocus cac_weapon_cheytac; @@ -47,7 +47,7 @@ } onClose { - setLocalVarInt ui_tabDepth localvarint("ui_tabDepth") - 1; + setLocalVarInt ui_tabDepth (localvarint("ui_tabDepth") - 1); } onESC { @@ -59,6 +59,7 @@ style 1 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 backcolor 0 0 0 0.35 background "white" } @@ -68,6 +69,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 1 1 1 1 background "xpbar_stencilbase" } @@ -77,9 +79,10 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 0.5 0.5 0.5 1 background "white" - exp rect h 4 + (9 * 20); + exp rect h 4 + 9 * 20; } itemDef { @@ -87,9 +90,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -97,9 +101,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0.85 0.85 0.85 0.85 background "mw2_popup_bg_fogscroll" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -107,16 +112,18 @@ style 3 decoration visible 1 + textscale 0.55 background "mockup_popup_bg_stencilfill" - exp rect h 4 + (9 * 20); + exp rect h 4 + 9 * 20; } itemDef { rect -64 0 -1708 -480 1 1 style 3 decoration + textscale 0.55 background "mw2_popup_bg_fogstencil" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -124,18 +131,20 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { rect -64 0 854 0 1 1 style 3 decoration + textscale 0.55 forecolor 1 1 1 0 background "small_box_lightfx" - exp rect h 4 + (9 * 20); + exp rect h 4 + 9 * 20; } itemDef { @@ -143,6 +152,7 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tl" } @@ -152,6 +162,7 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_t" } @@ -161,6 +172,7 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tr" } @@ -170,9 +182,10 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_r" - exp rect h 4 + (9 * 20); + exp rect h 4 + 9 * 20; } itemDef { @@ -180,9 +193,10 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_br" - exp rect y 4 + (9 * 20); + exp rect y 4 + 9 * 20; } itemDef { @@ -190,9 +204,10 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_b" - exp rect y 4 + (9 * 20); + exp rect y 4 + 9 * 20; } itemDef { @@ -200,9 +215,10 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_bl" - exp rect y 4 + (9 * 20); + exp rect y 4 + 9 * 20; } itemDef { @@ -210,9 +226,10 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_l" - exp rect h 4 + (9 * 20); + exp rect h 4 + 9 * 20; } itemDef { @@ -220,9 +237,10 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 1 1 1 0 background "gradient_fadein" - exp rect h 4 + (9 * 20); + exp rect h 4 + 9 * 20; } itemDef { @@ -230,9 +248,10 @@ style 1 decoration visible when(localvarint("ui_tabDepth") > (1 - 1)); + textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 1) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 1) * 20); } itemDef { @@ -247,7 +266,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab1Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 1) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 1) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 1) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 1) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 1) * 0.35); @@ -258,9 +277,10 @@ style 1 decoration visible when(localvarint("ui_tabDepth") > (2 - 1)); + textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 2) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 2) * 20); } itemDef { @@ -275,7 +295,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab2Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 2) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 2) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 2) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 2) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 2) * 0.35); @@ -286,9 +306,10 @@ style 1 decoration visible when(localvarint("ui_tabDepth") > (3 - 1)); + textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 3) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 3) * 20); } itemDef { @@ -303,7 +324,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab3Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 3) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 3) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 3) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 3) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 3) * 0.35); @@ -314,9 +335,10 @@ style 1 decoration visible when(localvarint("ui_tabDepth") > (4 - 1)); + textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 4) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 4) * 20); } itemDef { @@ -331,7 +353,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab4Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 4) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 4) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 4) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 4) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 4) * 0.35); @@ -342,9 +364,10 @@ style 1 decoration visible when(localvarint("ui_tabDepth") > (5 - 1)); + textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 5) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 5) * 20); } itemDef { @@ -359,7 +382,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab5Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 5) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 5) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 5) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 5) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 5) * 0.35); @@ -387,13 +410,13 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref cheytac; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("cheytac"); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); setPlayerData ( weaponNew , cheytac , false ); } action @@ -401,27 +424,27 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/statsTable.csv", 4, "cheytac", 3); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/statsTable.csv", 4, "cheytac", 3)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/statsTable.csv", 4, "cheytac", 3); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/statsTable.csv", 4, "cheytac", 3)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/statsTable.csv", 4, "cheytac", 3); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/statsTable.csv", 4, "cheytac", 3)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/statsTable.csv", 4, "cheytac", 3); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/statsTable.csv", 4, "cheytac", 3)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/statsTable.csv", 4, "cheytac", 3); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/statsTable.csv", 4, "cheytac", 3)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/statsTable.csv", 4, "cheytac", 3); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/statsTable.csv", 4, "cheytac", 3)); } if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") != "cheytac") { @@ -431,40 +454,40 @@ } setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , weapon , cheytac ); setPlayerData ( weaponNew , cheytac , false ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); if (0 == 0) { - if (tablelookup("mp/statsTable.csv", 4, "cheytac", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "cheytac", 11) != "")) { if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") { @@ -482,9 +505,9 @@ } else { - if (tablelookup("mp/statsTable.csv", 4, "cheytac", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "cheytac", 11) != "")) { - if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling")) + if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling")) { open popup_secondary_attachments_bling; } @@ -525,9 +548,9 @@ } execKeyInt 168 { - if (tablelookup("mp/challengeTable.csv", 6, "cheytac", 4) != "") + if ((tablelookup("mp/challengeTable.csv", 6, "cheytac", 4)) != "") { - setLocalVarString ui_challengeTierTable tablelookup("mp/challengeTable.csv", 6, "cheytac", 4); + setLocalVarString ui_challengeTierTable (tablelookup("mp/challengeTable.csv", 6, "cheytac", 4)); open menu_challenge_details; } } @@ -538,7 +561,7 @@ rect 162 4 40 20 1 1 style 3 decoration - visible when((getplayerdata("weaponNew", "cheytac") || getplayerdataanybooltrue("camoNew", "cheytac")) || getplayerdataanybooltrue("attachmentNew", "cheytac")); + visible when((getplayerdata("weaponNew", "cheytac") || getplayerdataanybooltrue("camoNew", "cheytac") || getplayerdataanybooltrue("attachmentNew", "cheytac"))); textscale 0.55 background "specialty_new" } @@ -547,7 +570,7 @@ rect 162 4 40 20 1 1 style 3 decoration - visible when(isitemunlocked("cheytac") == 0); + visible when((isitemunlocked("cheytac") == 0)); textscale 0.55 background "specialty_locked" } @@ -574,13 +597,13 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref barrett; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("barrett"); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); setPlayerData ( weaponNew , barrett , false ); } action @@ -588,27 +611,27 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/statsTable.csv", 4, "barrett", 3); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/statsTable.csv", 4, "barrett", 3)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/statsTable.csv", 4, "barrett", 3); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/statsTable.csv", 4, "barrett", 3)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/statsTable.csv", 4, "barrett", 3); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/statsTable.csv", 4, "barrett", 3)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/statsTable.csv", 4, "barrett", 3); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/statsTable.csv", 4, "barrett", 3)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/statsTable.csv", 4, "barrett", 3); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/statsTable.csv", 4, "barrett", 3)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/statsTable.csv", 4, "barrett", 3); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/statsTable.csv", 4, "barrett", 3)); } if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") != "barrett") { @@ -618,40 +641,40 @@ } setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , weapon , barrett ); setPlayerData ( weaponNew , barrett , false ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); if (0 == 0) { - if (tablelookup("mp/statsTable.csv", 4, "barrett", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "barrett", 11) != "")) { if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") { @@ -669,9 +692,9 @@ } else { - if (tablelookup("mp/statsTable.csv", 4, "barrett", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "barrett", 11) != "")) { - if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling")) + if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling")) { open popup_secondary_attachments_bling; } @@ -712,9 +735,9 @@ } execKeyInt 168 { - if (tablelookup("mp/challengeTable.csv", 6, "barrett", 4) != "") + if ((tablelookup("mp/challengeTable.csv", 6, "barrett", 4)) != "") { - setLocalVarString ui_challengeTierTable tablelookup("mp/challengeTable.csv", 6, "barrett", 4); + setLocalVarString ui_challengeTierTable (tablelookup("mp/challengeTable.csv", 6, "barrett", 4)); open menu_challenge_details; } } @@ -725,7 +748,7 @@ rect 162 24 40 20 1 1 style 3 decoration - visible when((getplayerdata("weaponNew", "barrett") || getplayerdataanybooltrue("camoNew", "barrett")) || getplayerdataanybooltrue("attachmentNew", "barrett")); + visible when((getplayerdata("weaponNew", "barrett") || getplayerdataanybooltrue("camoNew", "barrett") || getplayerdataanybooltrue("attachmentNew", "barrett"))); textscale 0.55 background "specialty_new" } @@ -734,7 +757,7 @@ rect 162 24 40 20 1 1 style 3 decoration - visible when(isitemunlocked("barrett") == 0); + visible when((isitemunlocked("barrett") == 0)); textscale 0.55 background "specialty_locked" } @@ -761,13 +784,13 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref wa2000; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("wa2000"); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); setPlayerData ( weaponNew , wa2000 , false ); } action @@ -775,27 +798,27 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/statsTable.csv", 4, "wa2000", 3); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/statsTable.csv", 4, "wa2000", 3)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/statsTable.csv", 4, "wa2000", 3); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/statsTable.csv", 4, "wa2000", 3)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/statsTable.csv", 4, "wa2000", 3); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/statsTable.csv", 4, "wa2000", 3)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/statsTable.csv", 4, "wa2000", 3); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/statsTable.csv", 4, "wa2000", 3)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/statsTable.csv", 4, "wa2000", 3); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/statsTable.csv", 4, "wa2000", 3)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/statsTable.csv", 4, "wa2000", 3); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/statsTable.csv", 4, "wa2000", 3)); } if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") != "wa2000") { @@ -805,40 +828,40 @@ } setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , weapon , wa2000 ); setPlayerData ( weaponNew , wa2000 , false ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); if (0 == 0) { - if (tablelookup("mp/statsTable.csv", 4, "wa2000", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "wa2000", 11) != "")) { if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") { @@ -856,9 +879,9 @@ } else { - if (tablelookup("mp/statsTable.csv", 4, "wa2000", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "wa2000", 11) != "")) { - if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling")) + if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling")) { open popup_secondary_attachments_bling; } @@ -899,9 +922,9 @@ } execKeyInt 168 { - if (tablelookup("mp/challengeTable.csv", 6, "wa2000", 4) != "") + if ((tablelookup("mp/challengeTable.csv", 6, "wa2000", 4)) != "") { - setLocalVarString ui_challengeTierTable tablelookup("mp/challengeTable.csv", 6, "wa2000", 4); + setLocalVarString ui_challengeTierTable (tablelookup("mp/challengeTable.csv", 6, "wa2000", 4)); open menu_challenge_details; } } @@ -912,7 +935,7 @@ rect 162 44 40 20 1 1 style 3 decoration - visible when((getplayerdata("weaponNew", "wa2000") || getplayerdataanybooltrue("camoNew", "wa2000")) || getplayerdataanybooltrue("attachmentNew", "wa2000")); + visible when((getplayerdata("weaponNew", "wa2000") || getplayerdataanybooltrue("camoNew", "wa2000") || getplayerdataanybooltrue("attachmentNew", "wa2000"))); textscale 0.55 background "specialty_new" } @@ -921,7 +944,7 @@ rect 162 44 40 20 1 1 style 3 decoration - visible when(isitemunlocked("wa2000") == 0); + visible when((isitemunlocked("wa2000") == 0)); textscale 0.55 background "specialty_locked" } @@ -948,13 +971,13 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref m21; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("m21"); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); setPlayerData ( weaponNew , m21 , false ); } action @@ -962,27 +985,27 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/statsTable.csv", 4, "m21", 3); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/statsTable.csv", 4, "m21", 3)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/statsTable.csv", 4, "m21", 3); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/statsTable.csv", 4, "m21", 3)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/statsTable.csv", 4, "m21", 3); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/statsTable.csv", 4, "m21", 3)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/statsTable.csv", 4, "m21", 3); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/statsTable.csv", 4, "m21", 3)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/statsTable.csv", 4, "m21", 3); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/statsTable.csv", 4, "m21", 3)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/statsTable.csv", 4, "m21", 3); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/statsTable.csv", 4, "m21", 3)); } if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") != "m21") { @@ -992,40 +1015,40 @@ } setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , weapon , m21 ); setPlayerData ( weaponNew , m21 , false ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); if (0 == 0) { - if (tablelookup("mp/statsTable.csv", 4, "m21", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "m21", 11) != "")) { if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") { @@ -1043,9 +1066,9 @@ } else { - if (tablelookup("mp/statsTable.csv", 4, "m21", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "m21", 11) != "")) { - if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling")) + if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling")) { open popup_secondary_attachments_bling; } @@ -1086,9 +1109,9 @@ } execKeyInt 168 { - if (tablelookup("mp/challengeTable.csv", 6, "m21", 4) != "") + if ((tablelookup("mp/challengeTable.csv", 6, "m21", 4)) != "") { - setLocalVarString ui_challengeTierTable tablelookup("mp/challengeTable.csv", 6, "m21", 4); + setLocalVarString ui_challengeTierTable (tablelookup("mp/challengeTable.csv", 6, "m21", 4)); open menu_challenge_details; } } @@ -1099,7 +1122,7 @@ rect 162 64 40 20 1 1 style 3 decoration - visible when((getplayerdata("weaponNew", "m21") || getplayerdataanybooltrue("camoNew", "m21")) || getplayerdataanybooltrue("attachmentNew", "m21")); + visible when((getplayerdata("weaponNew", "m21") || getplayerdataanybooltrue("camoNew", "m21") || getplayerdataanybooltrue("attachmentNew", "m21"))); textscale 0.55 background "specialty_new" } @@ -1108,7 +1131,7 @@ rect 162 64 40 20 1 1 style 3 decoration - visible when(isitemunlocked("m21") == 0); + visible when((isitemunlocked("m21") == 0)); textscale 0.55 background "specialty_locked" } @@ -1135,13 +1158,13 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref m40a3; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("m40a3"); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); setPlayerData ( weaponNew , m40a3 , false ); } action @@ -1149,27 +1172,27 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/statsTable.csv", 4, "m40a3", 3); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/statsTable.csv", 4, "m40a3", 3)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/statsTable.csv", 4, "m40a3", 3); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/statsTable.csv", 4, "m40a3", 3)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/statsTable.csv", 4, "m40a3", 3); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/statsTable.csv", 4, "m40a3", 3)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/statsTable.csv", 4, "m40a3", 3); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/statsTable.csv", 4, "m40a3", 3)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/statsTable.csv", 4, "m40a3", 3); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/statsTable.csv", 4, "m40a3", 3)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/statsTable.csv", 4, "m40a3", 3); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/statsTable.csv", 4, "m40a3", 3)); } if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") != "m40a3") { @@ -1179,40 +1202,40 @@ } setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , weapon , m40a3 ); setPlayerData ( weaponNew , m40a3 , false ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); if (0 == 0) { - if (tablelookup("mp/statsTable.csv", 4, "m40a3", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "m40a3", 11) != "")) { if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") { @@ -1230,9 +1253,9 @@ } else { - if (tablelookup("mp/statsTable.csv", 4, "m40a3", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "m40a3", 11) != "")) { - if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling")) + if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling")) { open popup_secondary_attachments_bling; } @@ -1273,9 +1296,9 @@ } execKeyInt 168 { - if (tablelookup("mp/challengeTable.csv", 6, "m40a3", 4) != "") + if ((tablelookup("mp/challengeTable.csv", 6, "m40a3", 4)) != "") { - setLocalVarString ui_challengeTierTable tablelookup("mp/challengeTable.csv", 6, "m40a3", 4); + setLocalVarString ui_challengeTierTable (tablelookup("mp/challengeTable.csv", 6, "m40a3", 4)); open menu_challenge_details; } } @@ -1286,7 +1309,7 @@ rect 162 84 40 20 1 1 style 3 decoration - visible when((getplayerdata("weaponNew", "m40a3") || getplayerdataanybooltrue("camoNew", "m40a3")) || getplayerdataanybooltrue("attachmentNew", "m40a3")); + visible when((getplayerdata("weaponNew", "m40a3") || getplayerdataanybooltrue("camoNew", "m40a3") || getplayerdataanybooltrue("attachmentNew", "m40a3"))); textscale 0.55 background "specialty_new" } @@ -1295,7 +1318,7 @@ rect 162 84 40 20 1 1 style 3 decoration - visible when(isitemunlocked("m40a3") == 0); + visible when((isitemunlocked("m40a3") == 0)); textscale 0.55 background "specialty_locked" } @@ -1322,13 +1345,13 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref dragunov; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("dragunov"); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); setPlayerData ( weaponNew , dragunov , false ); } action @@ -1336,27 +1359,27 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/statsTable.csv", 4, "dragunov", 3); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/statsTable.csv", 4, "dragunov", 3)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/statsTable.csv", 4, "dragunov", 3); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/statsTable.csv", 4, "dragunov", 3)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/statsTable.csv", 4, "dragunov", 3); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/statsTable.csv", 4, "dragunov", 3)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/statsTable.csv", 4, "dragunov", 3); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/statsTable.csv", 4, "dragunov", 3)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/statsTable.csv", 4, "dragunov", 3); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/statsTable.csv", 4, "dragunov", 3)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/statsTable.csv", 4, "dragunov", 3); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/statsTable.csv", 4, "dragunov", 3)); } if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") != "dragunov") { @@ -1366,40 +1389,40 @@ } setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , weapon , dragunov ); setPlayerData ( weaponNew , dragunov , false ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); if (0 == 0) { - if (tablelookup("mp/statsTable.csv", 4, "dragunov", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "dragunov", 11) != "")) { if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") { @@ -1417,9 +1440,9 @@ } else { - if (tablelookup("mp/statsTable.csv", 4, "dragunov", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "dragunov", 11) != "")) { - if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling")) + if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling")) { open popup_secondary_attachments_bling; } @@ -1460,9 +1483,9 @@ } execKeyInt 168 { - if (tablelookup("mp/challengeTable.csv", 6, "dragunov", 4) != "") + if ((tablelookup("mp/challengeTable.csv", 6, "dragunov", 4)) != "") { - setLocalVarString ui_challengeTierTable tablelookup("mp/challengeTable.csv", 6, "dragunov", 4); + setLocalVarString ui_challengeTierTable (tablelookup("mp/challengeTable.csv", 6, "dragunov", 4)); open menu_challenge_details; } } @@ -1473,7 +1496,7 @@ rect 162 104 40 20 1 1 style 3 decoration - visible when((getplayerdata("weaponNew", "dragunov") || getplayerdataanybooltrue("camoNew", "dragunov")) || getplayerdataanybooltrue("attachmentNew", "dragunov")); + visible when((getplayerdata("weaponNew", "dragunov") || getplayerdataanybooltrue("camoNew", "dragunov") || getplayerdataanybooltrue("attachmentNew", "dragunov"))); textscale 0.55 background "specialty_new" } @@ -1482,7 +1505,7 @@ rect 162 104 40 20 1 1 style 3 decoration - visible when(isitemunlocked("dragunov") == 0); + visible when((isitemunlocked("dragunov") == 0)); textscale 0.55 background "specialty_locked" } @@ -1550,7 +1573,7 @@ rect -56 0 200 184 2 1 decoration autowrapped - visible when(isitemunlocked(localvarstring("ui_selected_ref")) && (tablelookup("mp/challengeTable.csv", 6, localvarstring("ui_selected_ref"), 4) != "")); + visible when(isitemunlocked(localvarstring("ui_selected_ref")) && (tablelookup("mp/challengeTable.csv", 6, localvarstring("ui_selected_ref"), 4)) != ""); textalign 4 textalignx 4 textaligny 144 @@ -1604,10 +1627,10 @@ textscale 0.55 forecolor 1 1 0.25 0.65 background "white" - exp rect x ((- 64) + (0 - (120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 22) / 100)))) + ((0 - (120 * (0 / 100))) * (0 < 0)); + exp rect x - 64 + (0 - 120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 22) / 100)) + ((0 - 120 * (0 / 100)) * (0 < 0)); exp rect w min(120 * (0 / 100), (1 - (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 22) / 100)) * 120); - exp forecolor r ((0 < 0) * 0.45) + 0.25; - exp forecolor g ((0 > 0) * 0.45) + 0.25; + exp forecolor r (0 < 0) * 0.45 + 0.25; + exp forecolor g (0 > 0) * 0.45 + 0.25; } itemDef { @@ -1655,10 +1678,10 @@ textscale 0.55 forecolor 1 1 0.25 0.65 background "white" - exp rect x ((- 64) + (0 - (120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 23) / 100)))) + ((0 - (120 * (0 / 100))) * (0 < 0)); + exp rect x - 64 + (0 - 120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 23) / 100)) + ((0 - 120 * (0 / 100)) * (0 < 0)); exp rect w min(120 * (0 / 100), (1 - (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 23) / 100)) * 120); - exp forecolor r ((0 < 0) * 0.45) + 0.25; - exp forecolor g ((0 > 0) * 0.45) + 0.25; + exp forecolor r (0 < 0) * 0.45 + 0.25; + exp forecolor g (0 > 0) * 0.45 + 0.25; } itemDef { @@ -1706,10 +1729,10 @@ textscale 0.55 forecolor 1 1 0.25 0.65 background "white" - exp rect x ((- 64) + (0 - (120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 24) / 100)))) + ((0 - (120 * (0 / 100))) * (0 < 0)); + exp rect x - 64 + (0 - 120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 24) / 100)) + ((0 - 120 * (0 / 100)) * (0 < 0)); exp rect w min(120 * (0 / 100), (1 - (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 24) / 100)) * 120); - exp forecolor r ((0 < 0) * 0.45) + 0.25; - exp forecolor g ((0 > 0) * 0.45) + 0.25; + exp forecolor r (0 < 0) * 0.45 + 0.25; + exp forecolor g (0 > 0) * 0.45 + 0.25; } itemDef { @@ -1757,10 +1780,10 @@ textscale 0.55 forecolor 1 1 0.25 0.65 background "white" - exp rect x ((- 64) + (0 - (120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 25) / 100)))) + ((0 - (120 * (0 / 100))) * (0 < 0)); + exp rect x - 64 + (0 - 120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 25) / 100)) + ((0 - 120 * (0 / 100)) * (0 < 0)); exp rect w min(120 * (0 / 100), (1 - (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 25) / 100)) * 120); - exp forecolor r ((0 < 0) * 0.45) + 0.25; - exp forecolor g ((0 > 0) * 0.45) + 0.25; + exp forecolor r (0 < 0) * 0.45 + 0.25; + exp forecolor g (0 > 0) * 0.45 + 0.25; } itemDef { @@ -1808,10 +1831,10 @@ textscale 0.55 forecolor 1 1 0.25 0.65 background "white" - exp rect x ((- 64) + (0 - (120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 26) / 100)))) + ((0 - (120 * (0 / 100))) * (0 < 0)); + exp rect x - 64 + (0 - 120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 26) / 100)) + ((0 - 120 * (0 / 100)) * (0 < 0)); exp rect w min(120 * (0 / 100), (1 - (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 26) / 100)) * 120); - exp forecolor r ((0 < 0) * 0.45) + 0.25; - exp forecolor g ((0 > 0) * 0.45) + 0.25; + exp forecolor r (0 < 0) * 0.45 + 0.25; + exp forecolor g (0 > 0) * 0.45 + 0.25; } } } diff --git a/ui_mp/popup_cac_weapon_primary.menu b/ui_mp/popup_cac_weapon_primary.menu index eaf6fd7..92ecb41 100644 --- a/ui_mp/popup_cac_weapon_primary.menu +++ b/ui_mp/popup_cac_weapon_primary.menu @@ -13,11 +13,11 @@ fadeCycle 1 fadeAmount 0.1 visible when(localvarint("ui_tabDepth") == localvarint("ui_popup_cac_weapon_primary_tabDepth")); - exp rect Y localvarfloat("ui_popupYPos") + (localvarint("ui_tabDepth") * 20); + exp rect Y localvarfloat("ui_popupYPos") + localvarint("ui_tabDepth") * 20; onOpen { - setLocalVarInt ui_tabDepth localvarint("ui_tabDepth") + 1; - setLocalVarInt ui_popup_cac_weapon_primary_tabDepth localvarint("ui_tabDepth"); + setLocalVarInt ui_tabDepth (localvarint("ui_tabDepth") + 1); + setLocalVarInt ui_popup_cac_weapon_primary_tabDepth (localvarint("ui_tabDepth")); if (tablelookup("mp/statsTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"), 2) == "weapon_assault") { setfocus cac_primary_assault; @@ -41,7 +41,7 @@ } onClose { - setLocalVarInt ui_tabDepth localvarint("ui_tabDepth") - 1; + setLocalVarInt ui_tabDepth (localvarint("ui_tabDepth") - 1); } onESC { @@ -53,6 +53,7 @@ style 1 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 backcolor 0 0 0 0.35 background "white" } @@ -62,6 +63,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 1 1 1 1 background "xpbar_stencilbase" } @@ -71,9 +73,10 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 0.5 0.5 0.5 1 background "white" - exp rect h 4 + (6 * 20); + exp rect h 4 + 6 * 20; } itemDef { @@ -81,9 +84,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -91,9 +95,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0.85 0.85 0.85 0.85 background "mw2_popup_bg_fogscroll" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -101,16 +106,18 @@ style 3 decoration visible 1 + textscale 0.55 background "mockup_popup_bg_stencilfill" - exp rect h 4 + (6 * 20); + exp rect h 4 + 6 * 20; } itemDef { rect -64 0 -1708 -480 1 1 style 3 decoration + textscale 0.55 background "mw2_popup_bg_fogstencil" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -118,18 +125,20 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { rect -64 0 854 0 1 1 style 3 decoration + textscale 0.55 forecolor 1 1 1 0 background "small_box_lightfx" - exp rect h 4 + (6 * 20); + exp rect h 4 + 6 * 20; } itemDef { @@ -137,6 +146,7 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tl" } @@ -146,6 +156,7 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_t" } @@ -155,6 +166,7 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tr" } @@ -164,9 +176,10 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_r" - exp rect h 4 + (6 * 20); + exp rect h 4 + 6 * 20; } itemDef { @@ -174,9 +187,10 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_br" - exp rect y 4 + (6 * 20); + exp rect y 4 + 6 * 20; } itemDef { @@ -184,9 +198,10 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_b" - exp rect y 4 + (6 * 20); + exp rect y 4 + 6 * 20; } itemDef { @@ -194,9 +209,10 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_bl" - exp rect y 4 + (6 * 20); + exp rect y 4 + 6 * 20; } itemDef { @@ -204,9 +220,10 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_l" - exp rect h 4 + (6 * 20); + exp rect h 4 + 6 * 20; } itemDef { @@ -214,9 +231,10 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 1 1 1 0 background "gradient_fadein" - exp rect h 4 + (6 * 20); + exp rect h 4 + 6 * 20; } itemDef { @@ -224,9 +242,10 @@ style 1 decoration visible when(localvarint("ui_tabDepth") > (1 - 1)); + textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 1) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 1) * 20); } itemDef { @@ -241,7 +260,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab1Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 1) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 1) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 1) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 1) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 1) * 0.35); @@ -252,9 +271,10 @@ style 1 decoration visible when(localvarint("ui_tabDepth") > (2 - 1)); + textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 2) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 2) * 20); } itemDef { @@ -269,7 +289,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab2Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 2) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 2) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 2) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 2) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 2) * 0.35); @@ -280,9 +300,10 @@ style 1 decoration visible when(localvarint("ui_tabDepth") > (3 - 1)); + textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 3) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 3) * 20); } itemDef { @@ -297,7 +318,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab3Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 3) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 3) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 3) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 3) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 3) * 0.35); @@ -308,9 +329,10 @@ style 1 decoration visible when(localvarint("ui_tabDepth") > (4 - 1)); + textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 4) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 4) * 20); } itemDef { @@ -325,7 +347,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab4Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 4) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 4) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 4) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 4) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 4) * 0.35); @@ -336,9 +358,10 @@ style 1 decoration visible when(localvarint("ui_tabDepth") > (5 - 1)); + textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 5) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 5) * 20); } itemDef { @@ -353,7 +376,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab5Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 5) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 5) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 5) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 5) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 5) * 0.35); @@ -381,42 +404,42 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_info_name "@MENU_ASSAULT_RIFLES_CAPS"; - setLocalVarString ui_info_desc @; - setLocalVarString ui_info_icon ""; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_info_name ("@MENU_ASSAULT_RIFLES_CAPS"); + setLocalVarString ui_info_desc ("@"); + setLocalVarString ui_info_icon (""); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); } action { play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@MENU_ASSAULT_RIFLES_CAPS"; + setLocalVarString ui_tab1Name ("@MENU_ASSAULT_RIFLES_CAPS"); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@MENU_ASSAULT_RIFLES_CAPS"; + setLocalVarString ui_tab2Name ("@MENU_ASSAULT_RIFLES_CAPS"); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@MENU_ASSAULT_RIFLES_CAPS"; + setLocalVarString ui_tab3Name ("@MENU_ASSAULT_RIFLES_CAPS"); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@MENU_ASSAULT_RIFLES_CAPS"; + setLocalVarString ui_tab4Name ("@MENU_ASSAULT_RIFLES_CAPS"); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@MENU_ASSAULT_RIFLES_CAPS"; + setLocalVarString ui_tab5Name ("@MENU_ASSAULT_RIFLES_CAPS"); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@MENU_ASSAULT_RIFLES_CAPS"; + setLocalVarString ui_tab6Name ("@MENU_ASSAULT_RIFLES_CAPS"); } open popup_cac_assault_primary; } @@ -453,42 +476,42 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_info_name "@MENU_SMGS_CAPS"; - setLocalVarString ui_info_desc @; - setLocalVarString ui_info_icon ""; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_info_name ("@MENU_SMGS_CAPS"); + setLocalVarString ui_info_desc ("@"); + setLocalVarString ui_info_icon (""); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); } action { play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@MENU_SMGS_CAPS"; + setLocalVarString ui_tab1Name ("@MENU_SMGS_CAPS"); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@MENU_SMGS_CAPS"; + setLocalVarString ui_tab2Name ("@MENU_SMGS_CAPS"); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@MENU_SMGS_CAPS"; + setLocalVarString ui_tab3Name ("@MENU_SMGS_CAPS"); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@MENU_SMGS_CAPS"; + setLocalVarString ui_tab4Name ("@MENU_SMGS_CAPS"); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@MENU_SMGS_CAPS"; + setLocalVarString ui_tab5Name ("@MENU_SMGS_CAPS"); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@MENU_SMGS_CAPS"; + setLocalVarString ui_tab6Name ("@MENU_SMGS_CAPS"); } open popup_cac_smg_primary; } @@ -525,42 +548,42 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_info_name "@MENU_LMGS_CAPS"; - setLocalVarString ui_info_desc @; - setLocalVarString ui_info_icon ""; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_info_name ("@MENU_LMGS_CAPS"); + setLocalVarString ui_info_desc ("@"); + setLocalVarString ui_info_icon (""); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); } action { play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@MENU_LMGS_CAPS"; + setLocalVarString ui_tab1Name ("@MENU_LMGS_CAPS"); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@MENU_LMGS_CAPS"; + setLocalVarString ui_tab2Name ("@MENU_LMGS_CAPS"); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@MENU_LMGS_CAPS"; + setLocalVarString ui_tab3Name ("@MENU_LMGS_CAPS"); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@MENU_LMGS_CAPS"; + setLocalVarString ui_tab4Name ("@MENU_LMGS_CAPS"); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@MENU_LMGS_CAPS"; + setLocalVarString ui_tab5Name ("@MENU_LMGS_CAPS"); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@MENU_LMGS_CAPS"; + setLocalVarString ui_tab6Name ("@MENU_LMGS_CAPS"); } open popup_cac_lmg_primary; } @@ -597,42 +620,42 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_info_name "@MENU_SNIPER_RIFLES_CAPS"; - setLocalVarString ui_info_desc @; - setLocalVarString ui_info_icon ""; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_info_name ("@MENU_SNIPER_RIFLES_CAPS"); + setLocalVarString ui_info_desc ("@"); + setLocalVarString ui_info_icon (""); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); } action { play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@MENU_SNIPER_RIFLES_CAPS"; + setLocalVarString ui_tab1Name ("@MENU_SNIPER_RIFLES_CAPS"); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@MENU_SNIPER_RIFLES_CAPS"; + setLocalVarString ui_tab2Name ("@MENU_SNIPER_RIFLES_CAPS"); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@MENU_SNIPER_RIFLES_CAPS"; + setLocalVarString ui_tab3Name ("@MENU_SNIPER_RIFLES_CAPS"); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@MENU_SNIPER_RIFLES_CAPS"; + setLocalVarString ui_tab4Name ("@MENU_SNIPER_RIFLES_CAPS"); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@MENU_SNIPER_RIFLES_CAPS"; + setLocalVarString ui_tab5Name ("@MENU_SNIPER_RIFLES_CAPS"); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@MENU_SNIPER_RIFLES_CAPS"; + setLocalVarString ui_tab6Name ("@MENU_SNIPER_RIFLES_CAPS"); } open popup_cac_sniper_primary; } @@ -669,15 +692,15 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_info_name "@" + tablelookup("mp/statsTable.csv", 4, "riotshield", 3); - setLocalVarString ui_info_desc "@" + tablelookup("mp/statstable.csv", 4, "riotshield", 7); - setLocalVarString ui_info_icon tablelookup("mp/statsTable.csv", 4, "riotshield", 6); + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_info_name ("@" + tablelookup("mp/statsTable.csv", 4, "riotshield", 3)); + setLocalVarString ui_info_desc ("@" + tablelookup("mp/statstable.csv", 4, "riotshield", 7)); + setLocalVarString ui_info_icon (tablelookup("mp/statsTable.csv", 4, "riotshield", 6)); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); } action { @@ -690,40 +713,40 @@ } setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , weapon , riotshield ); setPlayerData ( weaponNew , riotshield , false ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); if (0 == 0) { - if (tablelookup("mp/statsTable.csv", 4, "riotshield", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "riotshield", 11) != "")) { if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") { @@ -741,9 +764,9 @@ } else { - if (tablelookup("mp/statsTable.csv", 4, "riotshield", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "riotshield", 11) != "")) { - if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling")) + if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling")) { open popup_secondary_attachments_bling; } @@ -849,7 +872,7 @@ rect -56 0 200 124 2 1 decoration autowrapped - visible when(isitemunlocked(("weaponRefString" + " ") + "refString")); + visible when(isitemunlocked("weaponRefString" + " " + "refString")); textalign 4 textalignx 4 textaligny 84 diff --git a/ui_mp/popup_customclan.menu b/ui_mp/popup_customclan.menu index 31c23bf..dbc3513 100644 --- a/ui_mp/popup_customclan.menu +++ b/ui_mp/popup_customclan.menu @@ -11,12 +11,12 @@ legacySplitScreenScale onOpen { - setLocalVarInt ui_centerPopup 1; + setLocalVarInt ui_centerPopup (1); setFocus customclanEntry; } onClose { - setLocalVarInt ui_centerPopup 0; + setLocalVarInt ui_centerPopup (0); } onESC { @@ -28,6 +28,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 0 0 0 0.35 background "white" } @@ -37,6 +38,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 1 1 1 1 background "xpbar_stencilbase" } @@ -46,6 +48,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 0.5 0.5 0.5 1 background "white" } @@ -55,9 +58,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -65,9 +69,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -75,6 +80,7 @@ style 3 decoration visible 1 + textscale 0.55 background "mockup_popup_bg_stencilfill" } itemDef @@ -83,9 +89,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -93,9 +100,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -103,9 +111,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 1 1 1 0 background "small_box_lightfx" - exp rect h 24 + (3 * 20); + exp rect h (24 + 3 * 20); } itemDef { @@ -113,6 +122,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tl" } @@ -122,6 +132,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_t" } @@ -131,6 +142,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tr" } @@ -140,6 +152,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_r" } @@ -149,6 +162,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_br" } @@ -158,6 +172,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_b" } @@ -167,6 +182,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_bl" } @@ -176,6 +192,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_l" } @@ -228,12 +245,12 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; + setLocalVarBool ui_popupAButton (1); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); } mouseEnter { diff --git a/ui_mp/popup_customtitle.menu b/ui_mp/popup_customtitle.menu index b09b939..e53f32b 100644 --- a/ui_mp/popup_customtitle.menu +++ b/ui_mp/popup_customtitle.menu @@ -11,12 +11,12 @@ legacySplitScreenScale onOpen { - setLocalVarInt ui_centerPopup 1; + setLocalVarInt ui_centerPopup (1); setFocus customtitleEntry; } onClose { - setLocalVarInt ui_centerPopup 0; + setLocalVarInt ui_centerPopup (0); } onESC { @@ -28,6 +28,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 0 0 0 0.35 background "white" } @@ -37,6 +38,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 1 1 1 1 background "xpbar_stencilbase" } @@ -46,6 +48,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 0.5 0.5 0.5 1 background "white" } @@ -55,9 +58,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -65,9 +69,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -75,6 +80,7 @@ style 3 decoration visible 1 + textscale 0.55 background "mockup_popup_bg_stencilfill" } itemDef @@ -83,9 +89,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -93,9 +100,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -103,9 +111,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 1 1 1 0 background "small_box_lightfx" - exp rect h 24 + (3 * 20); + exp rect h (24 + 3 * 20); } itemDef { @@ -113,6 +122,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tl" } @@ -122,6 +132,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_t" } @@ -131,6 +142,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tr" } @@ -140,6 +152,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_r" } @@ -149,6 +162,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_br" } @@ -158,6 +172,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_b" } @@ -167,6 +182,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_bl" } @@ -176,6 +192,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_l" } @@ -228,12 +245,12 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; + setLocalVarBool ui_popupAButton (1); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); } mouseEnter { diff --git a/ui_mp/popup_friends.menu b/ui_mp/popup_friends.menu index 5b59588..ace6430 100644 --- a/ui_mp/popup_friends.menu +++ b/ui_mp/popup_friends.menu @@ -12,11 +12,11 @@ onOpen { uiScript LoadFriends; - setLocalVarInt ui_centerPopup 1; + setLocalVarInt ui_centerPopup (1); } onClose { - setLocalVarInt ui_centerPopup 0; + setLocalVarInt ui_centerPopup (0); } onESC { @@ -33,6 +33,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 0 0 0 0.35 background "white" } @@ -42,6 +43,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 1 1 1 1 background "xpbar_stencilbase" } @@ -51,6 +53,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 0.5 0.5 0.5 1 background "white" } @@ -60,9 +63,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -70,9 +74,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -80,6 +85,7 @@ style 3 decoration visible 1 + textscale 0.55 background "mockup_popup_bg_stencilfill" } itemDef @@ -88,9 +94,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -98,9 +105,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -108,9 +116,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 1 1 1 0 background "small_box_lightfx" - exp rect h 24 + (3 * 20); + exp rect h (24 + 3 * 20); } itemDef { @@ -118,6 +127,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tl" } @@ -127,6 +137,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_t" } @@ -136,6 +147,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tr" } @@ -145,6 +157,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_r" } @@ -154,6 +167,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_br" } @@ -163,6 +177,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_b" } @@ -172,6 +187,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_bl" } @@ -181,6 +197,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_l" } @@ -238,12 +255,12 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; + setLocalVarBool ui_popupAButton (1); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); } mouseEnter { diff --git a/ui_mp/popup_gamesetup.menu b/ui_mp/popup_gamesetup.menu index 8547f41..b318b21 100644 --- a/ui_mp/popup_gamesetup.menu +++ b/ui_mp/popup_gamesetup.menu @@ -14,8 +14,8 @@ exp rect Y localvarfloat("ui_popup_gamesetup_ypos"); onOpen { - setLocalVarFloat ui_popup_gamesetup_ypos localvarfloat("ui_popupYPos"); - setLocalVarInt ui_leftPopup 1; + setLocalVarFloat ui_popup_gamesetup_ypos (localvarfloat("ui_popupYPos")); + setLocalVarInt ui_leftPopup (1); if (dvarbool(useonlinestats)) { exec "set ui_useonlinestats_button_name @PLATFORM_USEONLINESTATS_TRUE"; @@ -35,7 +35,7 @@ } onClose { - setLocalVarInt ui_leftPopup 0; + setLocalVarInt ui_leftPopup (0); } onESC { @@ -70,7 +70,7 @@ textscale 0.55 backcolor 0.5 0.5 0.5 1 background "white" - exp rect h 24 + (4 * 20); + exp rect h 24 + (4) * 20; } itemDef { @@ -81,7 +81,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -92,7 +92,7 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -102,7 +102,7 @@ visible 1 textscale 0.55 background "mockup_popup_bg_stencilfill" - exp rect h 24 + (4 * 20); + exp rect h (24 + (4) * 20); } itemDef { @@ -113,7 +113,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -124,7 +124,7 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -135,7 +135,7 @@ textscale 0.55 forecolor 1 1 1 0 background "small_box_lightfx" - exp rect h 24 + (4 * 20); + exp rect h (24 + (4) * 20); } itemDef { @@ -176,7 +176,7 @@ textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_r" - exp rect h 24 + (4 * 20); + exp rect h (24 + (4) * 20); } itemDef { @@ -187,7 +187,7 @@ textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_br" - exp rect y (0 - 0) + (24 + (4 * 20)); + exp rect y (0 - 0) + ((24 + (4) * 20)); } itemDef { @@ -198,7 +198,7 @@ textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_b" - exp rect y (0 - 0) + (24 + (4 * 20)); + exp rect y (0 - 0) + ((24 + (4) * 20)); } itemDef { @@ -209,7 +209,7 @@ textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_bl" - exp rect y (0 - 0) + (24 + (4 * 20)); + exp rect y (0 - 0) + ((24 + (4) * 20)); } itemDef { @@ -220,7 +220,7 @@ textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_l" - exp rect h 24 + (4 * 20); + exp rect h (24 + (4) * 20); } itemDef { @@ -231,7 +231,7 @@ textscale 0.55 backcolor 0.35 0.35 0.35 1 background "gradient_slow_fadein" - exp rect h 24 + (4 * 20); + exp rect h 24 + (4) * 20; } itemDef { diff --git a/ui_mp/popup_joinpassword.menu b/ui_mp/popup_joinpassword.menu index 9d6f9ef..f0f6492 100644 --- a/ui_mp/popup_joinpassword.menu +++ b/ui_mp/popup_joinpassword.menu @@ -11,12 +11,12 @@ legacySplitScreenScale onOpen { - setLocalVarInt ui_centerPopup 1; + setLocalVarInt ui_centerPopup (1); setFocus passwordEntry; } onClose { - setLocalVarInt ui_centerPopup 0; + setLocalVarInt ui_centerPopup (0); } onESC { @@ -28,6 +28,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 0 0 0 0.35 background "white" } @@ -37,6 +38,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 1 1 1 1 background "xpbar_stencilbase" } @@ -46,6 +48,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 0.5 0.5 0.5 1 background "white" } @@ -55,9 +58,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -65,9 +69,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -75,6 +80,7 @@ style 3 decoration visible 1 + textscale 0.55 background "mockup_popup_bg_stencilfill" } itemDef @@ -83,9 +89,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -93,9 +100,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -103,9 +111,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 1 1 1 0 background "small_box_lightfx" - exp rect h 24 + (3 * 20); + exp rect h (24 + 3 * 20); } itemDef { @@ -113,6 +122,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tl" } @@ -122,6 +132,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_t" } @@ -131,6 +142,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tr" } @@ -140,6 +152,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_r" } @@ -149,6 +162,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_br" } @@ -158,6 +172,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_b" } @@ -167,6 +182,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_bl" } @@ -176,6 +192,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_l" } @@ -228,12 +245,12 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; + setLocalVarBool ui_popupAButton (1); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); } mouseEnter { diff --git a/ui_mp/popup_playername.menu b/ui_mp/popup_playername.menu index 49c15ea..7647a65 100644 --- a/ui_mp/popup_playername.menu +++ b/ui_mp/popup_playername.menu @@ -11,13 +11,13 @@ legacySplitScreenScale onOpen { - setLocalVarInt ui_centerPopup 1; + setLocalVarInt ui_centerPopup (1); exec "setfromdvar ui_name name"; setFocus nameEntry; } onClose { - setLocalVarInt ui_centerPopup 0; + setLocalVarInt ui_centerPopup (0); } onESC { @@ -29,6 +29,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 0 0 0 0.35 background "white" } @@ -38,6 +39,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 1 1 1 1 background "xpbar_stencilbase" } @@ -47,6 +49,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 0.5 0.5 0.5 1 background "white" } @@ -56,9 +59,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -66,9 +70,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -76,6 +81,7 @@ style 3 decoration visible 1 + textscale 0.55 background "mockup_popup_bg_stencilfill" } itemDef @@ -84,9 +90,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -94,9 +101,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -104,9 +112,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 1 1 1 0 background "small_box_lightfx" - exp rect h 24 + (3 * 20); + exp rect h (24 + 3 * 20); } itemDef { @@ -114,6 +123,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tl" } @@ -123,6 +133,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_t" } @@ -132,6 +143,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tr" } @@ -141,6 +153,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_r" } @@ -150,6 +163,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_br" } @@ -159,6 +173,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_b" } @@ -168,6 +183,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_bl" } @@ -177,6 +193,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_l" } @@ -230,12 +247,12 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; + setLocalVarBool ui_popupAButton (1); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); } mouseEnter { diff --git a/ui_mp/popup_ready.menu b/ui_mp/popup_ready.menu index 95a5829..71066e7 100644 --- a/ui_mp/popup_ready.menu +++ b/ui_mp/popup_ready.menu @@ -13,11 +13,11 @@ fadeCycle 1 fadeAmount 0.1 visible when(localvarint("ui_tabDepth") == localvarint("ui_popup_cac_sniper_primary_tabDepth")); - exp rect Y localvarfloat("ui_popupYPos") + (localvarint("ui_tabDepth") * 20); + exp rect Y localvarfloat("ui_popupYPos") + localvarint("ui_tabDepth") * 20; onOpen { - setLocalVarInt ui_tabDepth localvarint("ui_tabDepth") + 1; - setLocalVarInt ui_popup_cac_sniper_primary_tabDepth localvarint("ui_tabDepth"); + setLocalVarInt ui_tabDepth (localvarint("ui_tabDepth") + 1); + setLocalVarInt ui_popup_cac_sniper_primary_tabDepth (localvarint("ui_tabDepth")); if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") == "mosin") { setfocus cac_weapon_mosin; @@ -25,7 +25,7 @@ } onClose { - setLocalVarInt ui_tabDepth localvarint("ui_tabDepth") - 1; + setLocalVarInt ui_tabDepth (localvarint("ui_tabDepth") - 1); } onESC { @@ -37,6 +37,7 @@ style 1 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 backcolor 0 0 0 0.35 background "white" } @@ -46,6 +47,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 1 1 1 1 background "xpbar_stencilbase" } @@ -55,9 +57,10 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 0.5 0.5 0.5 1 background "white" - exp rect h 4 + (9 * 20); + exp rect h 4 + 9 * 20; } itemDef { @@ -65,9 +68,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -75,9 +79,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0.85 0.85 0.85 0.85 background "mw2_popup_bg_fogscroll" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -85,16 +90,18 @@ style 3 decoration visible 1 + textscale 0.55 background "mockup_popup_bg_stencilfill" - exp rect h 4 + (9 * 20); + exp rect h 4 + 9 * 20; } itemDef { rect -64 0 -1708 -480 1 1 style 3 decoration + textscale 0.55 background "mw2_popup_bg_fogstencil" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -102,18 +109,20 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { rect -64 0 854 0 1 1 style 3 decoration + textscale 0.55 forecolor 1 1 1 0 background "small_box_lightfx" - exp rect h 4 + (9 * 20); + exp rect h 4 + 9 * 20; } itemDef { @@ -121,6 +130,7 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tl" } @@ -130,6 +140,7 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_t" } @@ -139,6 +150,7 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tr" } @@ -148,9 +160,10 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_r" - exp rect h 4 + (9 * 20); + exp rect h 4 + 9 * 20; } itemDef { @@ -158,9 +171,10 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_br" - exp rect y 4 + (9 * 20); + exp rect y 4 + 9 * 20; } itemDef { @@ -168,9 +182,10 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_b" - exp rect y 4 + (9 * 20); + exp rect y 4 + 9 * 20; } itemDef { @@ -178,9 +193,10 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_bl" - exp rect y 4 + (9 * 20); + exp rect y 4 + 9 * 20; } itemDef { @@ -188,9 +204,10 @@ style 3 decoration visible when(!localvarint("ui_centerPopup")); + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_l" - exp rect h 4 + (9 * 20); + exp rect h 4 + 9 * 20; } itemDef { @@ -198,9 +215,10 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 1 1 1 0 background "gradient_fadein" - exp rect h 4 + (9 * 20); + exp rect h 4 + 9 * 20; } itemDef { @@ -208,9 +226,10 @@ style 1 decoration visible when(localvarint("ui_tabDepth") > (1 - 1)); + textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 1) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 1) * 20); } itemDef { @@ -225,7 +244,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab1Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 1) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 1) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 1) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 1) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 1) * 0.35); @@ -236,9 +255,10 @@ style 1 decoration visible when(localvarint("ui_tabDepth") > (2 - 1)); + textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 2) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 2) * 20); } itemDef { @@ -253,7 +273,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab2Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 2) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 2) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 2) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 2) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 2) * 0.35); @@ -264,9 +284,10 @@ style 1 decoration visible when(localvarint("ui_tabDepth") > (3 - 1)); + textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 3) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 3) * 20); } itemDef { @@ -281,7 +302,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab3Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 3) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 3) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 3) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 3) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 3) * 0.35); @@ -292,9 +313,10 @@ style 1 decoration visible when(localvarint("ui_tabDepth") > (4 - 1)); + textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 4) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 4) * 20); } itemDef { @@ -309,7 +331,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab4Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 4) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 4) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 4) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 4) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 4) * 0.35); @@ -320,9 +342,10 @@ style 1 decoration visible when(localvarint("ui_tabDepth") > (5 - 1)); + textscale 0.55 backcolor 0.25 0.25 0.25 1 background "white" - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 5) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 5) * 20); } itemDef { @@ -337,7 +360,7 @@ backcolor 0 0 0 1 background "gradient_fadein" exp text localvarstring("ui_tab5Name"); - exp rect y (- 20) - ((localvarint("ui_tabDepth") - 5) * 20); + exp rect y - 20 - ((localvarint("ui_tabDepth") - 5) * 20); exp forecolor r 1 - ((localvarint("ui_tabDepth") > 5) * 0.35); exp forecolor g 1 - ((localvarint("ui_tabDepth") > 5) * 0.35); exp forecolor b 1 - ((localvarint("ui_tabDepth") > 5) * 0.35); @@ -365,13 +388,13 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; - setLocalVarString ui_selected_ref mosin; + setLocalVarBool ui_popupAButton (1); + setLocalVarString ui_selected_ref ("mosin"); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); setPlayerData ( weaponNew , mosin , false ); } action @@ -379,27 +402,27 @@ play mouse_click; if (localvarint("ui_tabDepth") == 0) { - setLocalVarString ui_tab1Name "@" + tablelookup("mp/statsTable.csv", 4, "mosin", 3); + setLocalVarString ui_tab1Name ("@" + tablelookup("mp/statsTable.csv", 4, "mosin", 3)); } if (localvarint("ui_tabDepth") == 1) { - setLocalVarString ui_tab2Name "@" + tablelookup("mp/statsTable.csv", 4, "mosin", 3); + setLocalVarString ui_tab2Name ("@" + tablelookup("mp/statsTable.csv", 4, "mosin", 3)); } if (localvarint("ui_tabDepth") == 2) { - setLocalVarString ui_tab3Name "@" + tablelookup("mp/statsTable.csv", 4, "mosin", 3); + setLocalVarString ui_tab3Name ("@" + tablelookup("mp/statsTable.csv", 4, "mosin", 3)); } if (localvarint("ui_tabDepth") == 3) { - setLocalVarString ui_tab4Name "@" + tablelookup("mp/statsTable.csv", 4, "mosin", 3); + setLocalVarString ui_tab4Name ("@" + tablelookup("mp/statsTable.csv", 4, "mosin", 3)); } if (localvarint("ui_tabDepth") == 4) { - setLocalVarString ui_tab5Name "@" + tablelookup("mp/statsTable.csv", 4, "mosin", 3); + setLocalVarString ui_tab5Name ("@" + tablelookup("mp/statsTable.csv", 4, "mosin", 3)); } if (localvarint("ui_tabDepth") == 5) { - setLocalVarString ui_tab6Name "@" + tablelookup("mp/statsTable.csv", 4, "mosin", 3); + setLocalVarString ui_tab6Name ("@" + tablelookup("mp/statsTable.csv", 4, "mosin", 3)); } if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") != "mosin") { @@ -409,40 +432,40 @@ } setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , weapon , mosin ); setPlayerData ( weaponNew , mosin , false ); - if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")) + if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat") { setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null ); } - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); if (0 == 0) { - if (tablelookup("mp/statsTable.csv", 4, "mosin", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "mosin", 11) != "")) { if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") { @@ -460,9 +483,9 @@ } else { - if (tablelookup("mp/statsTable.csv", 4, "mosin", 11) != "") + if ((tablelookup("mp/statsTable.csv", 4, "mosin", 11) != "")) { - if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling")) + if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling")) { open popup_secondary_attachments_bling; } @@ -503,9 +526,9 @@ } execKeyInt 168 { - if (tablelookup("mp/challengeTable.csv", 6, "mosin", 4) != "") + if ((tablelookup("mp/challengeTable.csv", 6, "mosin", 4)) != "") { - setLocalVarString ui_challengeTierTable tablelookup("mp/challengeTable.csv", 6, "mosin", 4); + setLocalVarString ui_challengeTierTable (tablelookup("mp/challengeTable.csv", 6, "mosin", 4)); open menu_challenge_details; } } @@ -516,7 +539,7 @@ rect 162 4 40 20 1 1 style 3 decoration - visible when((getplayerdata("weaponNew", "mosin") || getplayerdataanybooltrue("camoNew", "mosin")) || getplayerdataanybooltrue("attachmentNew", "mosin")); + visible when((getplayerdata("weaponNew", "mosin") || getplayerdataanybooltrue("camoNew", "mosin") || getplayerdataanybooltrue("attachmentNew", "mosin"))); textscale 0.55 background "specialty_new" } @@ -525,7 +548,7 @@ rect 162 4 40 20 1 1 style 3 decoration - visible when(isitemunlocked("mosin") == 0); + visible when((isitemunlocked("mosin") == 0)); textscale 0.55 background "specialty_locked" } @@ -593,7 +616,7 @@ rect -56 0 200 184 2 1 decoration autowrapped - visible when(isitemunlocked(localvarstring("ui_selected_ref")) && (tablelookup("mp/challengeTable.csv", 6, localvarstring("ui_selected_ref"), 4) != "")); + visible when(isitemunlocked(localvarstring("ui_selected_ref")) && (tablelookup("mp/challengeTable.csv", 6, localvarstring("ui_selected_ref"), 4)) != ""); textalign 4 textalignx 4 textaligny 144 @@ -647,10 +670,10 @@ textscale 0.55 forecolor 1 1 0.25 0.65 background "white" - exp rect x ((- 64) + (0 - (120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 22) / 100)))) + ((0 - (120 * (0 / 100))) * (0 < 0)); + exp rect x - 64 + (0 - 120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 22) / 100)) + ((0 - 120 * (0 / 100)) * (0 < 0)); exp rect w min(120 * (0 / 100), (1 - (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 22) / 100)) * 120); - exp forecolor r ((0 < 0) * 0.45) + 0.25; - exp forecolor g ((0 > 0) * 0.45) + 0.25; + exp forecolor r (0 < 0) * 0.45 + 0.25; + exp forecolor g (0 > 0) * 0.45 + 0.25; } itemDef { @@ -698,10 +721,10 @@ textscale 0.55 forecolor 1 1 0.25 0.65 background "white" - exp rect x ((- 64) + (0 - (120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 23) / 100)))) + ((0 - (120 * (0 / 100))) * (0 < 0)); + exp rect x - 64 + (0 - 120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 23) / 100)) + ((0 - 120 * (0 / 100)) * (0 < 0)); exp rect w min(120 * (0 / 100), (1 - (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 23) / 100)) * 120); - exp forecolor r ((0 < 0) * 0.45) + 0.25; - exp forecolor g ((0 > 0) * 0.45) + 0.25; + exp forecolor r (0 < 0) * 0.45 + 0.25; + exp forecolor g (0 > 0) * 0.45 + 0.25; } itemDef { @@ -749,10 +772,10 @@ textscale 0.55 forecolor 1 1 0.25 0.65 background "white" - exp rect x ((- 64) + (0 - (120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 24) / 100)))) + ((0 - (120 * (0 / 100))) * (0 < 0)); + exp rect x - 64 + (0 - 120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 24) / 100)) + ((0 - 120 * (0 / 100)) * (0 < 0)); exp rect w min(120 * (0 / 100), (1 - (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 24) / 100)) * 120); - exp forecolor r ((0 < 0) * 0.45) + 0.25; - exp forecolor g ((0 > 0) * 0.45) + 0.25; + exp forecolor r (0 < 0) * 0.45 + 0.25; + exp forecolor g (0 > 0) * 0.45 + 0.25; } itemDef { @@ -800,10 +823,10 @@ textscale 0.55 forecolor 1 1 0.25 0.65 background "white" - exp rect x ((- 64) + (0 - (120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 25) / 100)))) + ((0 - (120 * (0 / 100))) * (0 < 0)); + exp rect x - 64 + (0 - 120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 25) / 100)) + ((0 - 120 * (0 / 100)) * (0 < 0)); exp rect w min(120 * (0 / 100), (1 - (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 25) / 100)) * 120); - exp forecolor r ((0 < 0) * 0.45) + 0.25; - exp forecolor g ((0 > 0) * 0.45) + 0.25; + exp forecolor r (0 < 0) * 0.45 + 0.25; + exp forecolor g (0 > 0) * 0.45 + 0.25; } itemDef { @@ -851,10 +874,10 @@ textscale 0.55 forecolor 1 1 0.25 0.65 background "white" - exp rect x ((- 64) + (0 - (120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 26) / 100)))) + ((0 - (120 * (0 / 100))) * (0 < 0)); + exp rect x - 64 + (0 - 120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 26) / 100)) + ((0 - 120 * (0 / 100)) * (0 < 0)); exp rect w min(120 * (0 / 100), (1 - (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 26) / 100)) * 120); - exp forecolor r ((0 < 0) * 0.45) + 0.25; - exp forecolor g ((0 > 0) * 0.45) + 0.25; + exp forecolor r (0 < 0) * 0.45 + 0.25; + exp forecolor g (0 > 0) * 0.45 + 0.25; } } } diff --git a/ui_mp/popup_serverpassword.menu b/ui_mp/popup_serverpassword.menu index 1e0144a..c435ce8 100644 --- a/ui_mp/popup_serverpassword.menu +++ b/ui_mp/popup_serverpassword.menu @@ -11,13 +11,13 @@ legacySplitScreenScale onOpen { - setLocalVarInt ui_centerPopup 1; + setLocalVarInt ui_centerPopup (1); exec "setfromdvar ui_password g_password"; setFocus passwordEntry; } onClose { - setLocalVarInt ui_centerPopup 0; + setLocalVarInt ui_centerPopup (0); } onESC { @@ -29,6 +29,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 0 0 0 0.35 background "white" } @@ -38,6 +39,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 1 1 1 1 background "xpbar_stencilbase" } @@ -47,6 +49,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 0.5 0.5 0.5 1 background "white" } @@ -56,9 +59,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -66,9 +70,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -76,6 +81,7 @@ style 3 decoration visible 1 + textscale 0.55 background "mockup_popup_bg_stencilfill" } itemDef @@ -84,9 +90,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -94,9 +101,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -104,9 +112,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 1 1 1 0 background "small_box_lightfx" - exp rect h 24 + (3 * 20); + exp rect h (24 + 3 * 20); } itemDef { @@ -114,6 +123,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tl" } @@ -123,6 +133,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_t" } @@ -132,6 +143,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tr" } @@ -141,6 +153,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_r" } @@ -150,6 +163,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_br" } @@ -159,6 +173,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_b" } @@ -168,6 +183,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_bl" } @@ -177,6 +193,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_l" } @@ -230,12 +247,12 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; + setLocalVarBool ui_popupAButton (1); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); } mouseEnter { diff --git a/ui_mp/quickmessage.menu b/ui_mp/quickmessage.menu index a33e5fd..4be6d3e 100644 --- a/ui_mp/quickmessage.menu +++ b/ui_mp/quickmessage.menu @@ -6,6 +6,7 @@ style 1 border 1 borderSize 2 + forecolor 0 0 0 0 focuscolor 1 1 1 1 popup onOpen @@ -24,41 +25,43 @@ play mouse_click; close self; } - execKey "1" + execKey "3" { close self; - open quickcommands; + open quickresponses; } execKey "2" { close self; open quickstatements; } - execKey "3" + execKey "1" { close self; - open quickresponses; + open quickcommands; } itemDef { - rect 0 0 194 128 0 0 + rect -4 -4 194 128 0 0 style 3 decoration border 1 borderSize 2 visible 1 + textscale 0.55 forecolor 0.2 0.2 0.22 0.65 bordercolor 0.4 0.4 0.42 1 exp material "white"; } itemDef { - rect 0 0 194 128 0 0 + rect -4 -4 194 128 0 0 style 3 decoration border 1 borderSize 2 visible 1 + textscale 0.55 forecolor 1 1 1 0.7 bordercolor 0.4 0.4 0.42 1 exp material "gradient_bottom"; @@ -80,7 +83,7 @@ { name "window" text "@QUICKMESSAGE_1_COMMANDS" - rect 0 16 0 0 0 0 + rect 16 36 0 0 0 0 decoration visible 1 textaligny 8 @@ -92,7 +95,7 @@ { name "window" text "@QUICKMESSAGE_2_STATEMENTS" - rect 0 16 0 0 0 0 + rect 16 52 0 0 0 0 decoration visible 1 textaligny 8 @@ -104,7 +107,7 @@ { name "window" text "@QUICKMESSAGE_3_RESPONSES" - rect 0 16 0 0 0 0 + rect 16 68 0 0 0 0 decoration visible 1 textaligny 8 @@ -116,7 +119,7 @@ { name "window" text "@QUICKMESSAGE_ESC_EXIT" - rect 0 16 0 0 0 0 + rect 16 100 0 0 0 0 decoration visible 1 textaligny 8 diff --git a/ui_mp/resetclass.menu b/ui_mp/resetclass.menu index 1d75708..91fe6ab 100644 --- a/ui_mp/resetclass.menu +++ b/ui_mp/resetclass.menu @@ -9,146 +9,146 @@ fadeAmount 0.1 onOpen { - setLocalVarInt classIndex dvarint(ui_checkclass); - if ((!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"))) || (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") == "none")) + setLocalVarInt classIndex (dvarint(ui_checkclass)); + if (!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")) || getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") == "none") { - setLocalVarString temp debugprint("Stats", ((("Weapon " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")) + " locked for class ") + localvarint("classIndex")) + "; resetting"); - setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, "loadout" + "Primary", (localvarint("classIndex") % 5) + 6); + setLocalVarString temp (debugprint("Stats", "Weapon " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " locked for class " + localvarint("classIndex") + "; resetting")); + setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Primary", (localvarint("classIndex") % 5) + 6)); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , weapon , localVarString ( dataValue ) ); - setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, ("loadout" + "Primary") + "Attachment", (localvarint("classIndex") % 5) + 6); + setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Primary" + "Attachment", (localvarint("classIndex") % 5) + 6)); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , attachment , 0 , localVarString ( dataValue ) ); - setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, ("loadout" + "Primary") + "Attachment2", (localvarint("classIndex") % 5) + 6); + setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Primary" + "Attachment2", (localvarint("classIndex") % 5) + 6)); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , attachment , 1 , localVarString ( dataValue ) ); - setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, ("loadout" + "Primary") + "Camo", (localvarint("classIndex") % 5) + 6); + setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Primary" + "Camo", (localvarint("classIndex") % 5) + 6)); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , camo , localVarString ( dataValue ) ); } - if (!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " ") + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0))) + if (!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0))) { - setLocalVarString temp debugprint("Stats", ((((("Attachment " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")) + " ") + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)) + " locked for class ") + localvarint("classIndex")) + "; resetting"); - setLocalVarString dataValue none; + setLocalVarString temp (debugprint("Stats", "Attachment " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0) + " locked for class " + localvarint("classIndex") + "; resetting")); + setLocalVarString dataValue ("none"); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , attachment , 0 , localVarString ( dataValue ) ); } - if (!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " ") + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1))) + if (!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1))) { - setLocalVarString temp debugprint("Stats", ((((("Attachment2 " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")) + " ") + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)) + " locked for class ") + localvarint("classIndex")) + "; resetting"); - setLocalVarString dataValue none; + setLocalVarString temp (debugprint("Stats", "Attachment2 " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1) + " locked for class " + localvarint("classIndex") + "; resetting")); + setLocalVarString dataValue ("none"); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , attachment , 1 , localVarString ( dataValue ) ); } - if (!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " ") + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"))) + if (!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"))) { - setLocalVarString temp debugprint("Stats", ((((("Camo " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")) + " ") + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")) + " locked for class ") + localvarint("classIndex")) + "; resetting"); - setLocalVarString dataValue none; + setLocalVarString temp (debugprint("Stats", "Camo " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo") + " locked for class " + localvarint("classIndex") + "; resetting")); + setLocalVarString dataValue ("none"); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , camo , localVarString ( dataValue ) ); } - if ((!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"))) || (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon") == "none")) + if (!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")) || getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon") == "none") { - setLocalVarString temp debugprint("Stats", ((("Weapon " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")) + " locked for class ") + localvarint("classIndex")) + "; resetting"); - setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary", (localvarint("classIndex") % 5) + 6); + setLocalVarString temp (debugprint("Stats", "Weapon " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon") + " locked for class " + localvarint("classIndex") + "; resetting")); + setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary", (localvarint("classIndex") % 5) + 6)); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , weapon , localVarString ( dataValue ) ); - setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, ("loadout" + "Secondary") + "Attachment", (localvarint("classIndex") % 5) + 6); + setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary" + "Attachment", (localvarint("classIndex") % 5) + 6)); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , attachment , 0 , localVarString ( dataValue ) ); - setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, ("loadout" + "Secondary") + "Attachment2", (localvarint("classIndex") % 5) + 6); + setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary" + "Attachment2", (localvarint("classIndex") % 5) + 6)); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , attachment , 1 , localVarString ( dataValue ) ); - setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, ("loadout" + "Secondary") + "Camo", (localvarint("classIndex") % 5) + 6); + setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary" + "Camo", (localvarint("classIndex") % 5) + 6)); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , camo , localVarString ( dataValue ) ); } - if (!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon") + " ") + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0))) + if (!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon") + " " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0))) { - setLocalVarString temp debugprint("Stats", ((((("Attachment " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")) + " ") + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)) + " locked for class ") + localvarint("classIndex")) + "; resetting"); - setLocalVarString dataValue none; + setLocalVarString temp (debugprint("Stats", "Attachment " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon") + " " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0) + " locked for class " + localvarint("classIndex") + "; resetting")); + setLocalVarString dataValue ("none"); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , attachment , 0 , localVarString ( dataValue ) ); } - if (!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon") + " ") + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1))) + if (!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon") + " " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1))) { - setLocalVarString temp debugprint("Stats", ((((("Attachment2 " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")) + " ") + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)) + " locked for class ") + localvarint("classIndex")) + "; resetting"); - setLocalVarString dataValue none; + setLocalVarString temp (debugprint("Stats", "Attachment2 " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon") + " " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1) + " locked for class " + localvarint("classIndex") + "; resetting")); + setLocalVarString dataValue ("none"); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , attachment , 1 , localVarString ( dataValue ) ); } - if (!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon") + " ") + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"))) + if (!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon") + " " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"))) { - setLocalVarString temp debugprint("Stats", ((((("Camo " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")) + " ") + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")) + " locked for class ") + localvarint("classIndex")) + "; resetting"); - setLocalVarString dataValue none; + setLocalVarString temp (debugprint("Stats", "Camo " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon") + " " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo") + " locked for class " + localvarint("classIndex") + "; resetting")); + setLocalVarString dataValue ("none"); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , camo , localVarString ( dataValue ) ); } - if ((!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "perks", 0))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null")) + if (!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)) || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null") { - setLocalVarString temp debugprint("Stats", ((("Equipment " + getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)) + " locked for class ") + localvarint("classIndex")) + "; resetting"); - setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, "loadoutEquipment", (localvarint("classIndex") % 5) + 6); + setLocalVarString temp (debugprint("Stats", "Equipment " + getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) + " locked for class " + localvarint("classIndex") + "; resetting")); + setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadoutEquipment", (localvarint("classIndex") % 5) + 6)); setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , localVarString ( dataValue ) ); } if (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade") == "none") { - setLocalVarString temp debugprint("Stats", ((("Secondary offhand " + getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")) + " locked for class ") + localvarint("classIndex")) + "; resetting"); - setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, "loadoutOffhand", (localvarint("classIndex") % 5) + 6); + setLocalVarString temp (debugprint("Stats", "Secondary offhand " + getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade") + " locked for class " + localvarint("classIndex") + "; resetting")); + setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadoutOffhand", (localvarint("classIndex") % 5) + 6)); setPlayerData ( customClasses , localVarInt ( classIndex ) , specialGrenade , localVarString ( dataValue ) ); } - if (((!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "perks", 1))) || (tablelookup("mp/perkTable.csv", 1, getplayerdata("customClasses", localvarint("classIndex"), "perks", 1), 5) != "perk1")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_null")) + if (!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)) || tablelookup("mp/perkTable.csv", 1, getplayerdata("customClasses", localvarint("classIndex"), "perks", 1), 5) != ("perk1") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_null") { - setLocalVarString temp debugprint("Stats", ((("Perk " + getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)) + " locked for class ") + localvarint("classIndex")) + "; resetting"); + setLocalVarString temp (debugprint("Stats", "Perk " + getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) + " locked for class " + localvarint("classIndex") + "; resetting")); if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") { setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , attachment , 1 , none ) setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , attachment , 1 , none ); } if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_onemanarmy") { - setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary", (localvarint("classIndex") % 5) + 6); + setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary", (localvarint("classIndex") % 5) + 6)); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , weapon , localVarString ( dataValue ) ); - setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, ("loadout" + "Secondary") + "Attachment", (localvarint("classIndex") % 5) + 6); + setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary" + "Attachment", (localvarint("classIndex") % 5) + 6)); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , attachment , 0 , localVarString ( dataValue ) ); - setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, ("loadout" + "Secondary") + "Attachment2", (localvarint("classIndex") % 5) + 6); + setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary" + "Attachment2", (localvarint("classIndex") % 5) + 6)); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , attachment , 1 , localVarString ( dataValue ) ); - setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, ("loadout" + "Secondary") + "Camo", (localvarint("classIndex") % 5) + 6); + setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary" + "Camo", (localvarint("classIndex") % 5) + 6)); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , camo , localVarString ( dataValue ) ); } - setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, "loadoutPerk" + 1, (localvarint("classIndex") % 5) + 6); + setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadoutPerk" + 1, (localvarint("classIndex") % 5) + 6)); setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 1 , localVarString ( dataValue ) ); } - if (((!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "perks", 2))) || (tablelookup("mp/perkTable.csv", 1, getplayerdata("customClasses", localvarint("classIndex"), "perks", 2), 5) != "perk2")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2) == "specialty_null")) + if (!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)) || tablelookup("mp/perkTable.csv", 1, getplayerdata("customClasses", localvarint("classIndex"), "perks", 2), 5) != ("perk2") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 2) == "specialty_null") { - setLocalVarString temp debugprint("Stats", ((("Perk " + getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)) + " locked for class ") + localvarint("classIndex")) + "; resetting"); + setLocalVarString temp (debugprint("Stats", "Perk " + getplayerdata("customClasses", localvarint("classIndex"), "perks", 2) + " locked for class " + localvarint("classIndex") + "; resetting")); if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2) == "specialty_bling") { setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , attachment , 1 , none ) setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , attachment , 1 , none ); } if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2) == "specialty_onemanarmy") { - setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary", (localvarint("classIndex") % 5) + 6); + setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary", (localvarint("classIndex") % 5) + 6)); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , weapon , localVarString ( dataValue ) ); - setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, ("loadout" + "Secondary") + "Attachment", (localvarint("classIndex") % 5) + 6); + setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary" + "Attachment", (localvarint("classIndex") % 5) + 6)); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , attachment , 0 , localVarString ( dataValue ) ); - setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, ("loadout" + "Secondary") + "Attachment2", (localvarint("classIndex") % 5) + 6); + setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary" + "Attachment2", (localvarint("classIndex") % 5) + 6)); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , attachment , 1 , localVarString ( dataValue ) ); - setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, ("loadout" + "Secondary") + "Camo", (localvarint("classIndex") % 5) + 6); + setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary" + "Camo", (localvarint("classIndex") % 5) + 6)); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , camo , localVarString ( dataValue ) ); } - setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, "loadoutPerk" + 2, (localvarint("classIndex") % 5) + 6); + setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadoutPerk" + 2, (localvarint("classIndex") % 5) + 6)); setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 2 , localVarString ( dataValue ) ); } - if (((!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "perks", 3))) || (tablelookup("mp/perkTable.csv", 1, getplayerdata("customClasses", localvarint("classIndex"), "perks", 3), 5) != "perk3")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3) == "specialty_null")) + if (!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)) || tablelookup("mp/perkTable.csv", 1, getplayerdata("customClasses", localvarint("classIndex"), "perks", 3), 5) != ("perk3") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 3) == "specialty_null") { - setLocalVarString temp debugprint("Stats", ((("Perk " + getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)) + " locked for class ") + localvarint("classIndex")) + "; resetting"); + setLocalVarString temp (debugprint("Stats", "Perk " + getplayerdata("customClasses", localvarint("classIndex"), "perks", 3) + " locked for class " + localvarint("classIndex") + "; resetting")); if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3) == "specialty_bling") { setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , attachment , 1 , none ) setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , attachment , 1 , none ); } if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3) == "specialty_onemanarmy") { - setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary", (localvarint("classIndex") % 5) + 6); + setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary", (localvarint("classIndex") % 5) + 6)); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , weapon , localVarString ( dataValue ) ); - setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, ("loadout" + "Secondary") + "Attachment", (localvarint("classIndex") % 5) + 6); + setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary" + "Attachment", (localvarint("classIndex") % 5) + 6)); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , attachment , 0 , localVarString ( dataValue ) ); - setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, ("loadout" + "Secondary") + "Attachment2", (localvarint("classIndex") % 5) + 6); + setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary" + "Attachment2", (localvarint("classIndex") % 5) + 6)); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , attachment , 1 , localVarString ( dataValue ) ); - setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, ("loadout" + "Secondary") + "Camo", (localvarint("classIndex") % 5) + 6); + setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary" + "Camo", (localvarint("classIndex") % 5) + 6)); setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , camo , localVarString ( dataValue ) ); } - setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, "loadoutPerk" + 3, (localvarint("classIndex") % 5) + 6); + setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadoutPerk" + 3, (localvarint("classIndex") % 5) + 6)); setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 3 , localVarString ( dataValue ) ); } - if (((!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "perks", 4))) || (tablelookup("mp/perkTable.csv", 1, getplayerdata("customClasses", localvarint("classIndex"), "perks", 4), 5) != "perk4")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4) == "specialty_null")) + if (!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)) || tablelookup("mp/perkTable.csv", 1, getplayerdata("customClasses", localvarint("classIndex"), "perks", 4), 5) != "perk4" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 4) == "specialty_null") { - setLocalVarString temp debugprint("Stats", ((("Deathstreak " + getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)) + " locked for class ") + localvarint("classIndex")) + "; resetting"); - setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, "loadoutDeathStreak", (localvarint("classIndex") % 5) + 6); + setLocalVarString temp (debugprint("Stats", "Deathstreak " + getplayerdata("customClasses", localvarint("classIndex"), "perks", 4) + " locked for class " + localvarint("classIndex") + "; resetting")); + setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadoutDeathStreak", (localvarint("classIndex") % 5) + 6)); setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 4 , localVarString ( dataValue ) ); } close self; diff --git a/ui_mp/scriptmenus/callvote.menu b/ui_mp/scriptmenus/callvote.menu index 66c9d61..047bb0b 100644 --- a/ui_mp/scriptmenus/callvote.menu +++ b/ui_mp/scriptmenus/callvote.menu @@ -25,7 +25,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -34,7 +34,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -47,7 +47,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -58,7 +58,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -191,10 +191,10 @@ setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_hint_text ""; - setLocalVarString ui_info_name ""; - setLocalVarString ui_info_desc ""; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_hint_text ; + setLocalVarString ui_info_name ; + setLocalVarString ui_info_desc ; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -232,10 +232,10 @@ setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_hint_text ""; - setLocalVarString ui_info_name ""; - setLocalVarString ui_info_desc ""; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_hint_text ; + setLocalVarString ui_info_name ; + setLocalVarString ui_info_desc ; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -273,10 +273,10 @@ setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_hint_text ""; - setLocalVarString ui_info_name ""; - setLocalVarString ui_info_desc ""; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_hint_text ; + setLocalVarString ui_info_name ; + setLocalVarString ui_info_desc ; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -316,10 +316,10 @@ setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_hint_text ""; - setLocalVarString ui_info_name ""; - setLocalVarString ui_info_desc ""; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_hint_text ; + setLocalVarString ui_info_name ; + setLocalVarString ui_info_desc ; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -359,10 +359,10 @@ setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_hint_text ""; - setLocalVarString ui_info_name ""; - setLocalVarString ui_info_desc ""; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_hint_text ; + setLocalVarString ui_info_name ; + setLocalVarString ui_info_desc ; + setLocalVarString ui_info_icon ; } leaveFocus { diff --git a/ui_mp/scriptmenus/changeclass.menu b/ui_mp/scriptmenus/changeclass.menu index ddfedff..524d850 100644 --- a/ui_mp/scriptmenus/changeclass.menu +++ b/ui_mp/scriptmenus/changeclass.menu @@ -96,7 +96,7 @@ rect 10 58 128 128 1 1 style 3 decoration - visible when((team("name") == "TEAM_FREE") && (localvarstring("ui_team") == "marines")); + visible when(team("name") == "TEAM_FREE" && localvarstring("ui_team") == "marines"); textscale 0.55 forecolor 1 1 1 0.275 exp material dvarstring(g_TeamIcon_Allies); @@ -106,7 +106,7 @@ rect 10 58 128 128 1 1 style 3 decoration - visible when((team("name") == "TEAM_FREE") && (localvarstring("ui_team") == "opfor")); + visible when(team("name") == "TEAM_FREE" && localvarstring("ui_team") == "opfor"); textscale 0.55 forecolor 1 1 1 0.275 exp material dvarstring(g_TeamIcon_Axis); @@ -128,7 +128,7 @@ { rect 10 196 128 128 1 1 decoration - visible when((team("name") == "TEAM_FREE") && (localvarstring("ui_team") == "marines")); + visible when(team("name") == "TEAM_FREE" && localvarstring("ui_team") == "marines"); textalign 1 textaligny 10 textscale 0.4583 @@ -154,7 +154,7 @@ { rect 10 196 128 128 1 1 decoration - visible when((team("name") == "TEAM_FREE") && (localvarstring("ui_team") == "opfor")); + visible when(team("name") == "TEAM_FREE" && localvarstring("ui_team") == "opfor"); textalign 1 textaligny 10 textscale 0.4583 @@ -186,40 +186,40 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarString loadoutPrimary tablelookup("mp/classTable.csv", 0, "loadoutPrimary", 0 + 1); - setLocalVarString loadoutPrimaryAttachment tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment", 0 + 1); - setLocalVarString loadoutPrimaryAttachment2 tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment2", 0 + 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarString loadoutPrimary (tablelookup("mp/classTable.csv", 0, "loadoutPrimary", 0 + 1)); + setLocalVarString loadoutPrimaryAttachment (tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment", 0 + 1)); + setLocalVarString loadoutPrimaryAttachment2 (tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment2", 0 + 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo tablelookup("mp/classTable.csv", 0, "loadoutPrimaryCamo", 0 + 1); - setLocalVarString loadoutSecondary tablelookup("mp/classTable.csv", 0, "loadoutSecondary", 0 + 1); - setLocalVarString loadoutSecondaryAttachment tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment", 0 + 1); - setLocalVarString loadoutSecondaryAttachment2 tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment2", 0 + 1); + setLocalVarString loadoutPrimaryCamo (tablelookup("mp/classTable.csv", 0, "loadoutPrimaryCamo", 0 + 1)); + setLocalVarString loadoutSecondary (tablelookup("mp/classTable.csv", 0, "loadoutSecondary", 0 + 1)); + setLocalVarString loadoutSecondaryAttachment (tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment", 0 + 1)); + setLocalVarString loadoutSecondaryAttachment2 (tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment2", 0 + 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo tablelookup("mp/classTable.csv", 0, "loadoutSecondaryCamo", 0 + 1); - setLocalVarString loadoutEquipment tablelookup("mp/classTable.csv", 0, "loadoutEquipment", 0 + 1); - setLocalVarString loadoutPerk1 tablelookup("mp/classTable.csv", 0, "loadoutPerk1", 0 + 1); - setLocalVarString loadoutPerk2 tablelookup("mp/classTable.csv", 0, "loadoutPerk2", 0 + 1); - setLocalVarString loadoutPerk3 tablelookup("mp/classTable.csv", 0, "loadoutPerk3", 0 + 1); - setLocalVarString loadoutStreak1 tablelookup("mp/classTable.csv", 0, "loadoutStreak1", 0 + 1); - setLocalVarString loadoutStreak2 tablelookup("mp/classTable.csv", 0, "loadoutStreak2", 0 + 1); - setLocalVarString loadoutStreak3 tablelookup("mp/classTable.csv", 0, "loadoutStreak3", 0 + 1); - setLocalVarString loadoutDeathStreak tablelookup("mp/classTable.csv", 0, "loadoutDeathStreak", 0 + 1); - setLocalVarString loadoutOffhandSecondary tablelookup("mp/classTable.csv", 0, "loadoutOffhand", 0 + 1); - setLocalVarString loadoutClassName "@" + tablelookup("mp/classTable.csv", 0, "loadoutName", 0 + 1); + setLocalVarString loadoutSecondaryCamo (tablelookup("mp/classTable.csv", 0, "loadoutSecondaryCamo", 0 + 1)); + setLocalVarString loadoutEquipment (tablelookup("mp/classTable.csv", 0, "loadoutEquipment", 0 + 1)); + setLocalVarString loadoutPerk1 (tablelookup("mp/classTable.csv", 0, "loadoutPerk1", 0 + 1)); + setLocalVarString loadoutPerk2 (tablelookup("mp/classTable.csv", 0, "loadoutPerk2", 0 + 1)); + setLocalVarString loadoutPerk3 (tablelookup("mp/classTable.csv", 0, "loadoutPerk3", 0 + 1)); + setLocalVarString loadoutStreak1 (tablelookup("mp/classTable.csv", 0, "loadoutStreak1", 0 + 1)); + setLocalVarString loadoutStreak2 (tablelookup("mp/classTable.csv", 0, "loadoutStreak2", 0 + 1)); + setLocalVarString loadoutStreak3 (tablelookup("mp/classTable.csv", 0, "loadoutStreak3", 0 + 1)); + setLocalVarString loadoutDeathStreak (tablelookup("mp/classTable.csv", 0, "loadoutDeathStreak", 0 + 1)); + setLocalVarString loadoutOffhandSecondary (tablelookup("mp/classTable.csv", 0, "loadoutOffhand", 0 + 1)); + setLocalVarString loadoutClassName ("@" + (tablelookup("mp/classTable.csv", 0, "loadoutName", 0 + 1))); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -251,40 +251,40 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarString loadoutPrimary tablelookup("mp/classTable.csv", 0, "loadoutPrimary", 1 + 1); - setLocalVarString loadoutPrimaryAttachment tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment", 1 + 1); - setLocalVarString loadoutPrimaryAttachment2 tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment2", 1 + 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarString loadoutPrimary (tablelookup("mp/classTable.csv", 0, "loadoutPrimary", 1 + 1)); + setLocalVarString loadoutPrimaryAttachment (tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment", 1 + 1)); + setLocalVarString loadoutPrimaryAttachment2 (tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment2", 1 + 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo tablelookup("mp/classTable.csv", 0, "loadoutPrimaryCamo", 1 + 1); - setLocalVarString loadoutSecondary tablelookup("mp/classTable.csv", 0, "loadoutSecondary", 1 + 1); - setLocalVarString loadoutSecondaryAttachment tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment", 1 + 1); - setLocalVarString loadoutSecondaryAttachment2 tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment2", 1 + 1); + setLocalVarString loadoutPrimaryCamo (tablelookup("mp/classTable.csv", 0, "loadoutPrimaryCamo", 1 + 1)); + setLocalVarString loadoutSecondary (tablelookup("mp/classTable.csv", 0, "loadoutSecondary", 1 + 1)); + setLocalVarString loadoutSecondaryAttachment (tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment", 1 + 1)); + setLocalVarString loadoutSecondaryAttachment2 (tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment2", 1 + 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo tablelookup("mp/classTable.csv", 0, "loadoutSecondaryCamo", 1 + 1); - setLocalVarString loadoutEquipment tablelookup("mp/classTable.csv", 0, "loadoutEquipment", 1 + 1); - setLocalVarString loadoutPerk1 tablelookup("mp/classTable.csv", 0, "loadoutPerk1", 1 + 1); - setLocalVarString loadoutPerk2 tablelookup("mp/classTable.csv", 0, "loadoutPerk2", 1 + 1); - setLocalVarString loadoutPerk3 tablelookup("mp/classTable.csv", 0, "loadoutPerk3", 1 + 1); - setLocalVarString loadoutStreak1 tablelookup("mp/classTable.csv", 0, "loadoutStreak1", 1 + 1); - setLocalVarString loadoutStreak2 tablelookup("mp/classTable.csv", 0, "loadoutStreak2", 1 + 1); - setLocalVarString loadoutStreak3 tablelookup("mp/classTable.csv", 0, "loadoutStreak3", 1 + 1); - setLocalVarString loadoutDeathStreak tablelookup("mp/classTable.csv", 0, "loadoutDeathStreak", 1 + 1); - setLocalVarString loadoutOffhandSecondary tablelookup("mp/classTable.csv", 0, "loadoutOffhand", 1 + 1); - setLocalVarString loadoutClassName "@" + tablelookup("mp/classTable.csv", 0, "loadoutName", 1 + 1); + setLocalVarString loadoutSecondaryCamo (tablelookup("mp/classTable.csv", 0, "loadoutSecondaryCamo", 1 + 1)); + setLocalVarString loadoutEquipment (tablelookup("mp/classTable.csv", 0, "loadoutEquipment", 1 + 1)); + setLocalVarString loadoutPerk1 (tablelookup("mp/classTable.csv", 0, "loadoutPerk1", 1 + 1)); + setLocalVarString loadoutPerk2 (tablelookup("mp/classTable.csv", 0, "loadoutPerk2", 1 + 1)); + setLocalVarString loadoutPerk3 (tablelookup("mp/classTable.csv", 0, "loadoutPerk3", 1 + 1)); + setLocalVarString loadoutStreak1 (tablelookup("mp/classTable.csv", 0, "loadoutStreak1", 1 + 1)); + setLocalVarString loadoutStreak2 (tablelookup("mp/classTable.csv", 0, "loadoutStreak2", 1 + 1)); + setLocalVarString loadoutStreak3 (tablelookup("mp/classTable.csv", 0, "loadoutStreak3", 1 + 1)); + setLocalVarString loadoutDeathStreak (tablelookup("mp/classTable.csv", 0, "loadoutDeathStreak", 1 + 1)); + setLocalVarString loadoutOffhandSecondary (tablelookup("mp/classTable.csv", 0, "loadoutOffhand", 1 + 1)); + setLocalVarString loadoutClassName ("@" + (tablelookup("mp/classTable.csv", 0, "loadoutName", 1 + 1))); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -316,40 +316,40 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarString loadoutPrimary tablelookup("mp/classTable.csv", 0, "loadoutPrimary", 2 + 1); - setLocalVarString loadoutPrimaryAttachment tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment", 2 + 1); - setLocalVarString loadoutPrimaryAttachment2 tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment2", 2 + 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarString loadoutPrimary (tablelookup("mp/classTable.csv", 0, "loadoutPrimary", 2 + 1)); + setLocalVarString loadoutPrimaryAttachment (tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment", 2 + 1)); + setLocalVarString loadoutPrimaryAttachment2 (tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment2", 2 + 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo tablelookup("mp/classTable.csv", 0, "loadoutPrimaryCamo", 2 + 1); - setLocalVarString loadoutSecondary tablelookup("mp/classTable.csv", 0, "loadoutSecondary", 2 + 1); - setLocalVarString loadoutSecondaryAttachment tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment", 2 + 1); - setLocalVarString loadoutSecondaryAttachment2 tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment2", 2 + 1); + setLocalVarString loadoutPrimaryCamo (tablelookup("mp/classTable.csv", 0, "loadoutPrimaryCamo", 2 + 1)); + setLocalVarString loadoutSecondary (tablelookup("mp/classTable.csv", 0, "loadoutSecondary", 2 + 1)); + setLocalVarString loadoutSecondaryAttachment (tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment", 2 + 1)); + setLocalVarString loadoutSecondaryAttachment2 (tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment2", 2 + 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo tablelookup("mp/classTable.csv", 0, "loadoutSecondaryCamo", 2 + 1); - setLocalVarString loadoutEquipment tablelookup("mp/classTable.csv", 0, "loadoutEquipment", 2 + 1); - setLocalVarString loadoutPerk1 tablelookup("mp/classTable.csv", 0, "loadoutPerk1", 2 + 1); - setLocalVarString loadoutPerk2 tablelookup("mp/classTable.csv", 0, "loadoutPerk2", 2 + 1); - setLocalVarString loadoutPerk3 tablelookup("mp/classTable.csv", 0, "loadoutPerk3", 2 + 1); - setLocalVarString loadoutStreak1 tablelookup("mp/classTable.csv", 0, "loadoutStreak1", 2 + 1); - setLocalVarString loadoutStreak2 tablelookup("mp/classTable.csv", 0, "loadoutStreak2", 2 + 1); - setLocalVarString loadoutStreak3 tablelookup("mp/classTable.csv", 0, "loadoutStreak3", 2 + 1); - setLocalVarString loadoutDeathStreak tablelookup("mp/classTable.csv", 0, "loadoutDeathStreak", 2 + 1); - setLocalVarString loadoutOffhandSecondary tablelookup("mp/classTable.csv", 0, "loadoutOffhand", 2 + 1); - setLocalVarString loadoutClassName "@" + tablelookup("mp/classTable.csv", 0, "loadoutName", 2 + 1); + setLocalVarString loadoutSecondaryCamo (tablelookup("mp/classTable.csv", 0, "loadoutSecondaryCamo", 2 + 1)); + setLocalVarString loadoutEquipment (tablelookup("mp/classTable.csv", 0, "loadoutEquipment", 2 + 1)); + setLocalVarString loadoutPerk1 (tablelookup("mp/classTable.csv", 0, "loadoutPerk1", 2 + 1)); + setLocalVarString loadoutPerk2 (tablelookup("mp/classTable.csv", 0, "loadoutPerk2", 2 + 1)); + setLocalVarString loadoutPerk3 (tablelookup("mp/classTable.csv", 0, "loadoutPerk3", 2 + 1)); + setLocalVarString loadoutStreak1 (tablelookup("mp/classTable.csv", 0, "loadoutStreak1", 2 + 1)); + setLocalVarString loadoutStreak2 (tablelookup("mp/classTable.csv", 0, "loadoutStreak2", 2 + 1)); + setLocalVarString loadoutStreak3 (tablelookup("mp/classTable.csv", 0, "loadoutStreak3", 2 + 1)); + setLocalVarString loadoutDeathStreak (tablelookup("mp/classTable.csv", 0, "loadoutDeathStreak", 2 + 1)); + setLocalVarString loadoutOffhandSecondary (tablelookup("mp/classTable.csv", 0, "loadoutOffhand", 2 + 1)); + setLocalVarString loadoutClassName ("@" + (tablelookup("mp/classTable.csv", 0, "loadoutName", 2 + 1))); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -382,44 +382,44 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); if (!isitemunlocked("sniper")) { setItemColor self backcolor 0 0 0 "0.25"; } - setLocalVarString loadoutPrimary tablelookup("mp/classTable.csv", 0, "loadoutPrimary", 3 + 1); - setLocalVarString loadoutPrimaryAttachment tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment", 3 + 1); - setLocalVarString loadoutPrimaryAttachment2 tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment2", 3 + 1); + setLocalVarString loadoutPrimary (tablelookup("mp/classTable.csv", 0, "loadoutPrimary", 3 + 1)); + setLocalVarString loadoutPrimaryAttachment (tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment", 3 + 1)); + setLocalVarString loadoutPrimaryAttachment2 (tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment2", 3 + 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo tablelookup("mp/classTable.csv", 0, "loadoutPrimaryCamo", 3 + 1); - setLocalVarString loadoutSecondary tablelookup("mp/classTable.csv", 0, "loadoutSecondary", 3 + 1); - setLocalVarString loadoutSecondaryAttachment tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment", 3 + 1); - setLocalVarString loadoutSecondaryAttachment2 tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment2", 3 + 1); + setLocalVarString loadoutPrimaryCamo (tablelookup("mp/classTable.csv", 0, "loadoutPrimaryCamo", 3 + 1)); + setLocalVarString loadoutSecondary (tablelookup("mp/classTable.csv", 0, "loadoutSecondary", 3 + 1)); + setLocalVarString loadoutSecondaryAttachment (tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment", 3 + 1)); + setLocalVarString loadoutSecondaryAttachment2 (tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment2", 3 + 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo tablelookup("mp/classTable.csv", 0, "loadoutSecondaryCamo", 3 + 1); - setLocalVarString loadoutEquipment tablelookup("mp/classTable.csv", 0, "loadoutEquipment", 3 + 1); - setLocalVarString loadoutPerk1 tablelookup("mp/classTable.csv", 0, "loadoutPerk1", 3 + 1); - setLocalVarString loadoutPerk2 tablelookup("mp/classTable.csv", 0, "loadoutPerk2", 3 + 1); - setLocalVarString loadoutPerk3 tablelookup("mp/classTable.csv", 0, "loadoutPerk3", 3 + 1); - setLocalVarString loadoutStreak1 tablelookup("mp/classTable.csv", 0, "loadoutStreak1", 3 + 1); - setLocalVarString loadoutStreak2 tablelookup("mp/classTable.csv", 0, "loadoutStreak2", 3 + 1); - setLocalVarString loadoutStreak3 tablelookup("mp/classTable.csv", 0, "loadoutStreak3", 3 + 1); - setLocalVarString loadoutDeathStreak tablelookup("mp/classTable.csv", 0, "loadoutDeathStreak", 3 + 1); - setLocalVarString loadoutOffhandSecondary tablelookup("mp/classTable.csv", 0, "loadoutOffhand", 3 + 1); - setLocalVarString loadoutClassName "@" + tablelookup("mp/classTable.csv", 0, "loadoutName", 3 + 1); + setLocalVarString loadoutSecondaryCamo (tablelookup("mp/classTable.csv", 0, "loadoutSecondaryCamo", 3 + 1)); + setLocalVarString loadoutEquipment (tablelookup("mp/classTable.csv", 0, "loadoutEquipment", 3 + 1)); + setLocalVarString loadoutPerk1 (tablelookup("mp/classTable.csv", 0, "loadoutPerk1", 3 + 1)); + setLocalVarString loadoutPerk2 (tablelookup("mp/classTable.csv", 0, "loadoutPerk2", 3 + 1)); + setLocalVarString loadoutPerk3 (tablelookup("mp/classTable.csv", 0, "loadoutPerk3", 3 + 1)); + setLocalVarString loadoutStreak1 (tablelookup("mp/classTable.csv", 0, "loadoutStreak1", 3 + 1)); + setLocalVarString loadoutStreak2 (tablelookup("mp/classTable.csv", 0, "loadoutStreak2", 3 + 1)); + setLocalVarString loadoutStreak3 (tablelookup("mp/classTable.csv", 0, "loadoutStreak3", 3 + 1)); + setLocalVarString loadoutDeathStreak (tablelookup("mp/classTable.csv", 0, "loadoutDeathStreak", 3 + 1)); + setLocalVarString loadoutOffhandSecondary (tablelookup("mp/classTable.csv", 0, "loadoutOffhand", 3 + 1)); + setLocalVarString loadoutClassName ("@" + (tablelookup("mp/classTable.csv", 0, "loadoutName", 3 + 1))); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -452,44 +452,44 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); if (!isitemunlocked("sniper")) { setItemColor self backcolor 0 0 0 "0.25"; } - setLocalVarString loadoutPrimary tablelookup("mp/classTable.csv", 0, "loadoutPrimary", 4 + 1); - setLocalVarString loadoutPrimaryAttachment tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment", 4 + 1); - setLocalVarString loadoutPrimaryAttachment2 tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment2", 4 + 1); + setLocalVarString loadoutPrimary (tablelookup("mp/classTable.csv", 0, "loadoutPrimary", 4 + 1)); + setLocalVarString loadoutPrimaryAttachment (tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment", 4 + 1)); + setLocalVarString loadoutPrimaryAttachment2 (tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment2", 4 + 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo tablelookup("mp/classTable.csv", 0, "loadoutPrimaryCamo", 4 + 1); - setLocalVarString loadoutSecondary tablelookup("mp/classTable.csv", 0, "loadoutSecondary", 4 + 1); - setLocalVarString loadoutSecondaryAttachment tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment", 4 + 1); - setLocalVarString loadoutSecondaryAttachment2 tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment2", 4 + 1); + setLocalVarString loadoutPrimaryCamo (tablelookup("mp/classTable.csv", 0, "loadoutPrimaryCamo", 4 + 1)); + setLocalVarString loadoutSecondary (tablelookup("mp/classTable.csv", 0, "loadoutSecondary", 4 + 1)); + setLocalVarString loadoutSecondaryAttachment (tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment", 4 + 1)); + setLocalVarString loadoutSecondaryAttachment2 (tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment2", 4 + 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo tablelookup("mp/classTable.csv", 0, "loadoutSecondaryCamo", 4 + 1); - setLocalVarString loadoutEquipment tablelookup("mp/classTable.csv", 0, "loadoutEquipment", 4 + 1); - setLocalVarString loadoutPerk1 tablelookup("mp/classTable.csv", 0, "loadoutPerk1", 4 + 1); - setLocalVarString loadoutPerk2 tablelookup("mp/classTable.csv", 0, "loadoutPerk2", 4 + 1); - setLocalVarString loadoutPerk3 tablelookup("mp/classTable.csv", 0, "loadoutPerk3", 4 + 1); - setLocalVarString loadoutStreak1 tablelookup("mp/classTable.csv", 0, "loadoutStreak1", 4 + 1); - setLocalVarString loadoutStreak2 tablelookup("mp/classTable.csv", 0, "loadoutStreak2", 4 + 1); - setLocalVarString loadoutStreak3 tablelookup("mp/classTable.csv", 0, "loadoutStreak3", 4 + 1); - setLocalVarString loadoutDeathStreak tablelookup("mp/classTable.csv", 0, "loadoutDeathStreak", 4 + 1); - setLocalVarString loadoutOffhandSecondary tablelookup("mp/classTable.csv", 0, "loadoutOffhand", 4 + 1); - setLocalVarString loadoutClassName "@" + tablelookup("mp/classTable.csv", 0, "loadoutName", 4 + 1); + setLocalVarString loadoutSecondaryCamo (tablelookup("mp/classTable.csv", 0, "loadoutSecondaryCamo", 4 + 1)); + setLocalVarString loadoutEquipment (tablelookup("mp/classTable.csv", 0, "loadoutEquipment", 4 + 1)); + setLocalVarString loadoutPerk1 (tablelookup("mp/classTable.csv", 0, "loadoutPerk1", 4 + 1)); + setLocalVarString loadoutPerk2 (tablelookup("mp/classTable.csv", 0, "loadoutPerk2", 4 + 1)); + setLocalVarString loadoutPerk3 (tablelookup("mp/classTable.csv", 0, "loadoutPerk3", 4 + 1)); + setLocalVarString loadoutStreak1 (tablelookup("mp/classTable.csv", 0, "loadoutStreak1", 4 + 1)); + setLocalVarString loadoutStreak2 (tablelookup("mp/classTable.csv", 0, "loadoutStreak2", 4 + 1)); + setLocalVarString loadoutStreak3 (tablelookup("mp/classTable.csv", 0, "loadoutStreak3", 4 + 1)); + setLocalVarString loadoutDeathStreak (tablelookup("mp/classTable.csv", 0, "loadoutDeathStreak", 4 + 1)); + setLocalVarString loadoutOffhandSecondary (tablelookup("mp/classTable.csv", 0, "loadoutOffhand", 4 + 1)); + setLocalVarString loadoutClassName ("@" + (tablelookup("mp/classTable.csv", 0, "loadoutName", 4 + 1))); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -530,41 +530,41 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarInt classIndex 0; - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarInt classIndex (0); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -596,41 +596,41 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarInt classIndex 1; - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarInt classIndex (1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -662,41 +662,41 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarInt classIndex 2; - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarInt classIndex (2); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -728,41 +728,41 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarInt classIndex 3; - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarInt classIndex (3); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -794,41 +794,41 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarInt classIndex 4; - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarInt classIndex (4); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -860,41 +860,41 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarInt classIndex 5; - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarInt classIndex (5); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -926,41 +926,41 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarInt classIndex 6; - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarInt classIndex (6); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -992,41 +992,41 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarInt classIndex 7; - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarInt classIndex (7); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -1058,41 +1058,41 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarInt classIndex 8; - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarInt classIndex (8); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -1124,41 +1124,41 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarInt classIndex 9; - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarInt classIndex (9); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -1190,41 +1190,41 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarInt classIndex 10; - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarInt classIndex (10); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -1256,41 +1256,41 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarInt classIndex 11; - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarInt classIndex (11); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -1322,41 +1322,41 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarInt classIndex 12; - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarInt classIndex (12); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -1388,41 +1388,41 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarInt classIndex 13; - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarInt classIndex (13); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -1454,41 +1454,41 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarInt classIndex 14; - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarInt classIndex (14); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -1607,7 +1607,7 @@ { rect -272 48 272 100 3 1 decoration - visible when((localvarstring("loadoutPrimaryAttachment") != "none") || ((localvarstring("loadoutPerk1") == "specialty_bling") && (tablelookup("mp/statsTable.csv", 4, localvarstring("loadoutPrimary"), 11) != ""))); + visible when(localvarstring("loadoutPrimaryAttachment") != "none" || (localvarstring("loadoutPerk1") == "specialty_bling" && (tablelookup("mp/statsTable.csv", 4, localvarstring("loadoutPrimary"), 11) != ""))); textalign 12 textalignx 4 textscale 0.375 @@ -1615,13 +1615,13 @@ forecolor 1 1 1 0 glowcolor 0.5 0 0 1 exp text locstring("@MENU_PLUS", "@" + tablelookup("mp/attachmentTable.csv", 4, localvarstring("loadoutPrimaryAttachment"), 3)); - exp glowcolor a (localvarstring("loadoutPerk1") == "specialty_bling") && (localvarstring("loadoutPrimaryAttachment") == "none"); + exp glowcolor a ((localvarstring("loadoutPerk1") == "specialty_bling" && localvarstring("loadoutPrimaryAttachment") == "none")); } itemDef { rect -272 48 272 100 3 1 decoration - visible when(((isitemunlocked("specialty_secondarybling") || (0 == 0)) && (localvarstring("loadoutPrimaryAttachment2") != "none")) || ((localvarstring("loadoutPerk1") == "specialty_bling") && (tablelookup("mp/statsTable.csv", 4, localvarstring("loadoutPrimary"), 11 + 1) != ""))); + visible when((isitemunlocked("specialty_secondarybling") || 0 == 0) && localvarstring("loadoutPrimaryAttachment2") != "none" || (localvarstring("loadoutPerk1") == "specialty_bling" && (tablelookup("mp/statsTable.csv", 4, localvarstring("loadoutPrimary"), (11 + 1)) != ""))); textalign 12 textalignx 4 textaligny -40 @@ -1630,7 +1630,7 @@ forecolor 1 1 1 0 glowcolor 0.5 0 0 1 exp text locstring("@MENU_PLUS", "@" + tablelookup("mp/attachmentTable.csv", 4, localvarstring("loadoutPrimaryAttachment2"), 3)); - exp glowcolor a (localvarstring("loadoutPerk1") == "specialty_bling") && (localvarstring("loadoutPrimaryAttachment2") == "none"); + exp glowcolor a ((localvarstring("loadoutPerk1") == "specialty_bling" && localvarstring("loadoutPrimaryAttachment2") == "none")); } itemDef { @@ -1717,7 +1717,7 @@ { rect -272 148 272 100 3 1 decoration - visible when((localvarstring("loadoutSecondaryAttachment") != "none") || ((localvarstring("loadoutPerk1") == "specialty_bling") && (tablelookup("mp/statsTable.csv", 4, localvarstring("loadoutSecondary"), 11) != ""))); + visible when(localvarstring("loadoutSecondaryAttachment") != "none" || (localvarstring("loadoutPerk1") == "specialty_bling" && (tablelookup("mp/statsTable.csv", 4, localvarstring("loadoutSecondary"), 11) != ""))); textalign 12 textalignx 4 textscale 0.375 @@ -1725,13 +1725,13 @@ forecolor 1 1 1 0 glowcolor 0.5 0 0 1 exp text locstring("@MENU_PLUS", "@" + tablelookup("mp/attachmentTable.csv", 4, localvarstring("loadoutSecondaryAttachment"), 3)); - exp glowcolor a (localvarstring("loadoutPerk1") == "specialty_bling") && (localvarstring("loadoutSecondaryAttachment") == "none"); + exp glowcolor a ((localvarstring("loadoutPerk1") == "specialty_bling" && localvarstring("loadoutSecondaryAttachment") == "none")); } itemDef { rect -272 148 272 100 3 1 decoration - visible when(((isitemunlocked("specialty_secondarybling") || (1 == 0)) && (localvarstring("loadoutSecondaryAttachment2") != "none")) || ((localvarstring("loadoutPerk1") == "specialty_bling") && (tablelookup("mp/statsTable.csv", 4, localvarstring("loadoutSecondary"), 11 + 1) != ""))); + visible when((isitemunlocked("specialty_secondarybling") || 1 == 0) && localvarstring("loadoutSecondaryAttachment2") != "none" || (localvarstring("loadoutPerk1") == "specialty_bling" && (tablelookup("mp/statsTable.csv", 4, localvarstring("loadoutSecondary"), (11 + 1)) != ""))); textalign 12 textalignx 4 textaligny -40 @@ -1740,7 +1740,7 @@ forecolor 1 1 1 0 glowcolor 0.5 0 0 1 exp text locstring("@MENU_PLUS", "@" + tablelookup("mp/attachmentTable.csv", 4, localvarstring("loadoutSecondaryAttachment2"), 3)); - exp glowcolor a (localvarstring("loadoutPerk1") == "specialty_bling") && (localvarstring("loadoutSecondaryAttachment2") == "none"); + exp glowcolor a ((localvarstring("loadoutPerk1") == "specialty_bling" && localvarstring("loadoutSecondaryAttachment2") == "none")); } itemDef { @@ -1757,7 +1757,7 @@ rect -268 268 36 36 3 1 style 3 decoration - visible when((tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8) == "specialty_null") || (!isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8)))); + visible when(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8) == "specialty_null" || !isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8))); textscale 0.55 exp material tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 3); } @@ -1766,7 +1766,7 @@ rect -268 268 36 36 3 1 style 3 decoration - visible when(((tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8) != "specialty_null") && isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8))) && (localvarstring("loadoutPerk1") != "")); + visible when(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8) != "specialty_null" && isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8)) && localvarstring("loadoutPerk1") != ""); textscale 0.55 exp material tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 3) + "_upgrade"; } @@ -1787,7 +1787,7 @@ decoration autowrapped type 21 - visible when((tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8) == "specialty_null") || (!isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8)))); + visible when(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8) == "specialty_null" || !isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8))); textalign 4 textscale 0.375 textfont 3 @@ -1800,7 +1800,7 @@ decoration autowrapped type 21 - visible when((tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8) != "specialty_null") && isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8))); + visible when(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8) != "specialty_null" && isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8))); textalign 4 textscale 0.375 textfont 3 @@ -1822,7 +1822,7 @@ rect -268 304 36 36 3 1 style 3 decoration - visible when((tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8) == "specialty_null") || (!isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8)))); + visible when(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8) == "specialty_null" || !isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8))); textscale 0.55 exp material tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 3); } @@ -1831,7 +1831,7 @@ rect -268 304 36 36 3 1 style 3 decoration - visible when(((tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8) != "specialty_null") && isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8))) && (localvarstring("loadoutPerk2") != "")); + visible when(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8) != "specialty_null" && isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8)) && localvarstring("loadoutPerk2") != ""); textscale 0.55 exp material tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 3) + "_upgrade"; } @@ -1852,7 +1852,7 @@ decoration autowrapped type 21 - visible when((tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8) == "specialty_null") || (!isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8)))); + visible when(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8) == "specialty_null" || !isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8))); textalign 4 textscale 0.375 textfont 3 @@ -1865,7 +1865,7 @@ decoration autowrapped type 21 - visible when((tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8) != "specialty_null") && isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8))); + visible when(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8) != "specialty_null" && isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8))); textalign 4 textscale 0.375 textfont 3 @@ -1887,7 +1887,7 @@ rect -268 340 36 36 3 1 style 3 decoration - visible when((tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8) == "specialty_null") || (!isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8)))); + visible when(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8) == "specialty_null" || !isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8))); textscale 0.55 exp material tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 3); } @@ -1896,7 +1896,7 @@ rect -268 340 36 36 3 1 style 3 decoration - visible when(((tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8) != "specialty_null") && isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8))) && (localvarstring("loadoutPerk3") != "")); + visible when(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8) != "specialty_null" && isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8)) && localvarstring("loadoutPerk3") != ""); textscale 0.55 exp material tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 3) + "_upgrade"; } @@ -1917,7 +1917,7 @@ decoration autowrapped type 21 - visible when((tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8) == "specialty_null") || (!isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8)))); + visible when(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8) == "specialty_null" || !isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8))); textalign 4 textscale 0.375 textfont 3 @@ -1930,7 +1930,7 @@ decoration autowrapped type 21 - visible when((tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8) != "specialty_null") && isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8))); + visible when(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8) != "specialty_null" && isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8))); textalign 4 textscale 0.375 textfont 3 diff --git a/ui_mp/scriptmenus/changegametype.menu b/ui_mp/scriptmenus/changegametype.menu index e257a21..b8999e5 100644 --- a/ui_mp/scriptmenus/changegametype.menu +++ b/ui_mp/scriptmenus/changegametype.menu @@ -25,7 +25,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -34,7 +34,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -47,7 +47,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -58,7 +58,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -191,10 +191,10 @@ setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_hint_text ""; - setLocalVarString ui_info_name ""; - setLocalVarString ui_info_desc ""; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_hint_text ; + setLocalVarString ui_info_name ; + setLocalVarString ui_info_desc ; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -232,10 +232,10 @@ setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_hint_text ""; - setLocalVarString ui_info_name ""; - setLocalVarString ui_info_desc ""; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_hint_text ; + setLocalVarString ui_info_name ; + setLocalVarString ui_info_desc ; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -273,10 +273,10 @@ setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_hint_text ""; - setLocalVarString ui_info_name ""; - setLocalVarString ui_info_desc ""; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_hint_text ; + setLocalVarString ui_info_name ; + setLocalVarString ui_info_desc ; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -316,10 +316,10 @@ setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_hint_text ""; - setLocalVarString ui_info_name ""; - setLocalVarString ui_info_desc ""; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_hint_text ; + setLocalVarString ui_info_name ; + setLocalVarString ui_info_desc ; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -359,10 +359,10 @@ setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_hint_text ""; - setLocalVarString ui_info_name ""; - setLocalVarString ui_info_desc ""; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_hint_text ; + setLocalVarString ui_info_name ; + setLocalVarString ui_info_desc ; + setLocalVarString ui_info_icon ; } leaveFocus { diff --git a/ui_mp/scriptmenus/changemap.menu b/ui_mp/scriptmenus/changemap.menu index 033baa9..591444c 100644 --- a/ui_mp/scriptmenus/changemap.menu +++ b/ui_mp/scriptmenus/changemap.menu @@ -25,7 +25,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -34,7 +34,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -47,7 +47,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -58,7 +58,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -191,10 +191,10 @@ setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_hint_text ""; - setLocalVarString ui_info_name ""; - setLocalVarString ui_info_desc ""; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_hint_text ; + setLocalVarString ui_info_name ; + setLocalVarString ui_info_desc ; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -232,10 +232,10 @@ setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_hint_text ""; - setLocalVarString ui_info_name ""; - setLocalVarString ui_info_desc ""; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_hint_text ; + setLocalVarString ui_info_name ; + setLocalVarString ui_info_desc ; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -273,10 +273,10 @@ setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_hint_text ""; - setLocalVarString ui_info_name ""; - setLocalVarString ui_info_desc ""; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_hint_text ; + setLocalVarString ui_info_name ; + setLocalVarString ui_info_desc ; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -316,10 +316,10 @@ setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_hint_text ""; - setLocalVarString ui_info_name ""; - setLocalVarString ui_info_desc ""; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_hint_text ; + setLocalVarString ui_info_name ; + setLocalVarString ui_info_desc ; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -359,10 +359,10 @@ setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_hint_text ""; - setLocalVarString ui_info_name ""; - setLocalVarString ui_info_desc ""; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_hint_text ; + setLocalVarString ui_info_name ; + setLocalVarString ui_info_desc ; + setLocalVarString ui_info_icon ; } leaveFocus { diff --git a/ui_mp/scriptmenus/class.menu b/ui_mp/scriptmenus/class.menu index 857d78b..4b022b1 100644 --- a/ui_mp/scriptmenus/class.menu +++ b/ui_mp/scriptmenus/class.menu @@ -78,7 +78,7 @@ decoration border 1 borderSize 0.666667 - visible when(!isempjammed()); + visible when((!isempjammed())); textscale 0.55 bordercolor 1 1 1 0.35 } @@ -87,7 +87,7 @@ rect -260 135 240 240 3 1 style 3 decoration - visible when(!isempjammed()); + visible when((!isempjammed())); textscale 0.55 forecolor 0.89 0.98 0.95 0.05 background "minimap_scanlines" @@ -98,7 +98,7 @@ rect -260 135 240 240 3 1 decoration type 8 - visible when(!isempjammed()); + visible when((!isempjammed())); ownerdraw 181 textscale 0.55 background "compass_map_default" @@ -109,7 +109,7 @@ rect -260 135 240 240 3 1 decoration type 8 - visible when(!isempjammed()); + visible when((!isempjammed())); ownerdraw 185 textscale 0.55 exp forecolor a 1 - radarjamintensity(); @@ -120,7 +120,7 @@ rect -260 135 240 240 3 1 decoration type 8 - visible when(!isempjammed()); + visible when((!isempjammed())); ownerdraw 188 textscale 0.55 exp forecolor a 1 - radarjamintensity(); @@ -131,7 +131,7 @@ rect -260 135 240 240 3 1 decoration type 8 - visible when(!isempjammed()); + visible when((!isempjammed())); ownerdraw 182 textscale 0.55 background "objective_line" @@ -142,7 +142,7 @@ rect -260 135 240 240 3 1 decoration type 8 - visible when(!isempjammed()); + visible when((!isempjammed())); ownerdraw 189 textscale 0.55 exp forecolor a 1 - radarjamintensity(); @@ -153,7 +153,7 @@ rect -260 135 240 240 3 1 decoration type 8 - visible when(!isempjammed()); + visible when((!isempjammed())); ownerdraw 183 textscale 0.55 background "compassping_player" @@ -186,7 +186,7 @@ rect -260 135 240 240 3 1 style 3 decoration - visible when(!isempjammed()); + visible when((!isempjammed())); textscale 0.55 background "stencil_base" } @@ -195,7 +195,7 @@ rect -260 135 240 240 3 1 style 3 decoration - visible when(!isempjammed()); + visible when((!isempjammed())); textscale 0.55 background "scanlines_stencil" exp rect y (135 - 240) + ((240 * 2) * (1 - ((milliseconds() % 4000) / 4000))); @@ -205,7 +205,7 @@ rect -260 135 240 240 3 1 style 3 decoration - visible when(!isempjammed()); + visible when((!isempjammed())); textscale 0.55 forecolor 0.89 0.98 0.95 1 background "stencil_fill" @@ -215,7 +215,7 @@ rect -260 115 -136 20 3 1 style 1 decoration - visible when(!isempjammed()); + visible when((!isempjammed())); textalign 4 textalignx 4 textscale 0.375 @@ -272,7 +272,7 @@ rect 10 58 128 128 1 1 style 3 decoration - visible when((team("name") == "TEAM_FREE") && (localvarstring("ui_team") == "marines")); + visible when(team("name") == "TEAM_FREE" && localvarstring("ui_team") == "marines"); textscale 0.55 forecolor 1 1 1 0.275 exp material dvarstring(g_TeamIcon_Allies); @@ -282,7 +282,7 @@ rect 10 58 128 128 1 1 style 3 decoration - visible when((team("name") == "TEAM_FREE") && (localvarstring("ui_team") == "opfor")); + visible when(team("name") == "TEAM_FREE" && localvarstring("ui_team") == "opfor"); textscale 0.55 forecolor 1 1 1 0.275 exp material dvarstring(g_TeamIcon_Axis); @@ -301,7 +301,7 @@ { rect 10 196 128 128 1 1 decoration - visible when((team("name") == "TEAM_FREE") && (localvarstring("ui_team") == "marines")); + visible when(team("name") == "TEAM_FREE" && localvarstring("ui_team") == "marines"); textscale 0.4583 textfont 6 forecolor 1 1 1 0.2 @@ -321,7 +321,7 @@ { rect 10 196 128 128 1 1 decoration - visible when((team("name") == "TEAM_FREE") && (localvarstring("ui_team") == "opfor")); + visible when(team("name") == "TEAM_FREE" && localvarstring("ui_team") == "opfor"); textscale 0.4583 textfont 6 forecolor 1 1 1 0.2 @@ -336,7 +336,7 @@ style 1 type 1 visible 1 - disabled when((!((localvarstring("ui_team") == "marines") || (localvarstring("ui_team") == "opfor"))) || (!1)); + disabled when(!((localvarstring("ui_team") == "marines") || (localvarstring("ui_team") == "opfor")) || !(1)); textalign 6 textalignx -60 textscale 0.375 @@ -351,23 +351,23 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { play mouse_click; - if (localvarstring("ui_team") == "marines") + if ((localvarstring("ui_team") == "marines")) { scriptmenuresponse changeclass_marines; } - if (localvarstring("ui_team") == "opfor") + if ((localvarstring("ui_team") == "opfor")) { scriptmenuresponse changeclass_opfor; } @@ -382,7 +382,7 @@ style 1 type 1 visible 1 - disabled when(!(dvarbool(ui_allow_teamchange) && ((!dvarbool(onlinegame)) || dvarbool(xblive_privatematch)))); + disabled when(!(dvarbool(ui_allow_teamchange) && (!dvarbool(onlinegame) || dvarbool(xblive_privatematch)))); textalign 6 textalignx -60 textscale 0.375 @@ -397,14 +397,14 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -445,14 +445,14 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -484,14 +484,14 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -525,14 +525,14 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -565,14 +565,14 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -589,7 +589,7 @@ rect -64 148 336 20 1 1 style 1 type 1 - visible when((!(dvarbool(onlinegame) && (!dvarbool(xblive_privatematch)))) && dvarbool(sv_running)); + visible when(!(dvarbool(onlinegame) && !dvarbool(xblive_privatematch)) && (dvarbool(sv_running))); textalign 6 textalignx -60 textscale 0.375 @@ -604,14 +604,14 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -627,7 +627,7 @@ rect -64 148 336 20 1 1 style 1 type 1 - visible when((dvarbool(onlinegame) && (!dvarbool(xblive_privatematch))) || (!dvarbool(sv_running))); + visible when((dvarbool(onlinegame) && !dvarbool(xblive_privatematch)) || !(dvarbool(sv_running))); textalign 6 textalignx -60 textscale 0.375 @@ -642,35 +642,35 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { play mouse_click; - if ((((dvarbool(onlinegame) && (!dvarbool(xblive_privatematch))) == 0) && (dvarbool(sv_running) == 0)) && ((inprivateparty() && (!privatepartyhost())) && privatepartyhostinlobby())) + if ((dvarbool(onlinegame) && !dvarbool(xblive_privatematch)) == 0 && ((dvarbool(sv_running)) == 0) && (inprivateparty() && !privatepartyhost() && privatepartyhostinlobby())) { open popup_leavegameandparty; } - if ((((dvarbool(onlinegame) && (!dvarbool(xblive_privatematch))) == 0) && (dvarbool(sv_running) == 0)) && (((!inprivateparty()) || privatepartyhost()) || (!privatepartyhostinlobby()))) + if ((dvarbool(onlinegame) && !dvarbool(xblive_privatematch)) == 0 && ((dvarbool(sv_running)) == 0) && (!inprivateparty() || privatepartyhost() || !privatepartyhostinlobby())) { open popup_leavegame; } - if ((dvarbool(onlinegame) && (!dvarbool(xblive_privatematch))) && dvarbool(sv_running)) + if ((dvarbool(onlinegame) && !dvarbool(xblive_privatematch)) && (dvarbool(sv_running))) { open popup_endgame_ranked; } - if (((dvarbool(onlinegame) && (!dvarbool(xblive_privatematch))) && (dvarbool(sv_running) == 0)) && ((inprivateparty() && (!privatepartyhost())) && privatepartyhostinlobby())) + if ((dvarbool(onlinegame) && !dvarbool(xblive_privatematch)) && (dvarbool(sv_running)) == 0 && (inprivateparty() && !privatepartyhost() && privatepartyhostinlobby())) { open popup_leavegameandparty_ranked; } - if (((dvarbool(onlinegame) && (!dvarbool(xblive_privatematch))) && (dvarbool(sv_running) == 0)) && (((!inprivateparty()) || privatepartyhost()) || (!privatepartyhostinlobby()))) + if ((dvarbool(onlinegame) && !dvarbool(xblive_privatematch)) && (dvarbool(sv_running)) == 0 && (!inprivateparty() || privatepartyhost() || !privatepartyhostinlobby())) { open popup_leavegame_ranked; } @@ -698,13 +698,13 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; + setLocalVarBool ui_menuAButton (1); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -734,13 +734,13 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; + setLocalVarBool ui_menuAButton (1); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -771,13 +771,13 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; + setLocalVarBool ui_menuAButton (1); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { diff --git a/ui_mp/scriptmenus/kickplayer.menu b/ui_mp/scriptmenus/kickplayer.menu index 500bebf..bffc4f6 100644 --- a/ui_mp/scriptmenus/kickplayer.menu +++ b/ui_mp/scriptmenus/kickplayer.menu @@ -25,7 +25,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -34,7 +34,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -47,7 +47,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -58,7 +58,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -191,10 +191,10 @@ setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_hint_text ""; - setLocalVarString ui_info_name ""; - setLocalVarString ui_info_desc ""; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_hint_text ; + setLocalVarString ui_info_name ; + setLocalVarString ui_info_desc ; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -232,10 +232,10 @@ setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_hint_text ""; - setLocalVarString ui_info_name ""; - setLocalVarString ui_info_desc ""; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_hint_text ; + setLocalVarString ui_info_name ; + setLocalVarString ui_info_desc ; + setLocalVarString ui_info_icon ; } leaveFocus { @@ -273,10 +273,10 @@ setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_hint_text ""; - setLocalVarString ui_info_name ""; - setLocalVarString ui_info_desc ""; - setLocalVarString ui_info_icon ""; + setLocalVarString ui_hint_text ; + setLocalVarString ui_info_name ; + setLocalVarString ui_info_desc ; + setLocalVarString ui_info_icon ; } leaveFocus { diff --git a/ui_mp/scriptmenus/onemanarmy.menu b/ui_mp/scriptmenus/onemanarmy.menu index 049ac26..4d80eb3 100644 --- a/ui_mp/scriptmenus/onemanarmy.menu +++ b/ui_mp/scriptmenus/onemanarmy.menu @@ -56,40 +56,40 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarString loadoutPrimary tablelookup("mp/classTable.csv", 0, "loadoutPrimary", 0 + 1); - setLocalVarString loadoutPrimaryAttachment tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment", 0 + 1); - setLocalVarString loadoutPrimaryAttachment2 tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment2", 0 + 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarString loadoutPrimary (tablelookup("mp/classTable.csv", 0, "loadoutPrimary", 0 + 1)); + setLocalVarString loadoutPrimaryAttachment (tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment", 0 + 1)); + setLocalVarString loadoutPrimaryAttachment2 (tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment2", 0 + 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo tablelookup("mp/classTable.csv", 0, "loadoutPrimaryCamo", 0 + 1); - setLocalVarString loadoutSecondary tablelookup("mp/classTable.csv", 0, "loadoutSecondary", 0 + 1); - setLocalVarString loadoutSecondaryAttachment tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment", 0 + 1); - setLocalVarString loadoutSecondaryAttachment2 tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment2", 0 + 1); + setLocalVarString loadoutPrimaryCamo (tablelookup("mp/classTable.csv", 0, "loadoutPrimaryCamo", 0 + 1)); + setLocalVarString loadoutSecondary (tablelookup("mp/classTable.csv", 0, "loadoutSecondary", 0 + 1)); + setLocalVarString loadoutSecondaryAttachment (tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment", 0 + 1)); + setLocalVarString loadoutSecondaryAttachment2 (tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment2", 0 + 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo tablelookup("mp/classTable.csv", 0, "loadoutSecondaryCamo", 0 + 1); - setLocalVarString loadoutEquipment tablelookup("mp/classTable.csv", 0, "loadoutEquipment", 0 + 1); - setLocalVarString loadoutPerk1 tablelookup("mp/classTable.csv", 0, "loadoutPerk1", 0 + 1); - setLocalVarString loadoutPerk2 tablelookup("mp/classTable.csv", 0, "loadoutPerk2", 0 + 1); - setLocalVarString loadoutPerk3 tablelookup("mp/classTable.csv", 0, "loadoutPerk3", 0 + 1); - setLocalVarString loadoutStreak1 tablelookup("mp/classTable.csv", 0, "loadoutStreak1", 0 + 1); - setLocalVarString loadoutStreak2 tablelookup("mp/classTable.csv", 0, "loadoutStreak2", 0 + 1); - setLocalVarString loadoutStreak3 tablelookup("mp/classTable.csv", 0, "loadoutStreak3", 0 + 1); - setLocalVarString loadoutDeathStreak tablelookup("mp/classTable.csv", 0, "loadoutDeathStreak", 0 + 1); - setLocalVarString loadoutOffhandSecondary tablelookup("mp/classTable.csv", 0, "loadoutOffhand", 0 + 1); - setLocalVarString loadoutClassName "@" + tablelookup("mp/classTable.csv", 0, "loadoutName", 0 + 1); + setLocalVarString loadoutSecondaryCamo (tablelookup("mp/classTable.csv", 0, "loadoutSecondaryCamo", 0 + 1)); + setLocalVarString loadoutEquipment (tablelookup("mp/classTable.csv", 0, "loadoutEquipment", 0 + 1)); + setLocalVarString loadoutPerk1 (tablelookup("mp/classTable.csv", 0, "loadoutPerk1", 0 + 1)); + setLocalVarString loadoutPerk2 (tablelookup("mp/classTable.csv", 0, "loadoutPerk2", 0 + 1)); + setLocalVarString loadoutPerk3 (tablelookup("mp/classTable.csv", 0, "loadoutPerk3", 0 + 1)); + setLocalVarString loadoutStreak1 (tablelookup("mp/classTable.csv", 0, "loadoutStreak1", 0 + 1)); + setLocalVarString loadoutStreak2 (tablelookup("mp/classTable.csv", 0, "loadoutStreak2", 0 + 1)); + setLocalVarString loadoutStreak3 (tablelookup("mp/classTable.csv", 0, "loadoutStreak3", 0 + 1)); + setLocalVarString loadoutDeathStreak (tablelookup("mp/classTable.csv", 0, "loadoutDeathStreak", 0 + 1)); + setLocalVarString loadoutOffhandSecondary (tablelookup("mp/classTable.csv", 0, "loadoutOffhand", 0 + 1)); + setLocalVarString loadoutClassName ("@" + (tablelookup("mp/classTable.csv", 0, "loadoutName", 0 + 1))); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -121,40 +121,40 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarString loadoutPrimary tablelookup("mp/classTable.csv", 0, "loadoutPrimary", 1 + 1); - setLocalVarString loadoutPrimaryAttachment tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment", 1 + 1); - setLocalVarString loadoutPrimaryAttachment2 tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment2", 1 + 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarString loadoutPrimary (tablelookup("mp/classTable.csv", 0, "loadoutPrimary", 1 + 1)); + setLocalVarString loadoutPrimaryAttachment (tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment", 1 + 1)); + setLocalVarString loadoutPrimaryAttachment2 (tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment2", 1 + 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo tablelookup("mp/classTable.csv", 0, "loadoutPrimaryCamo", 1 + 1); - setLocalVarString loadoutSecondary tablelookup("mp/classTable.csv", 0, "loadoutSecondary", 1 + 1); - setLocalVarString loadoutSecondaryAttachment tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment", 1 + 1); - setLocalVarString loadoutSecondaryAttachment2 tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment2", 1 + 1); + setLocalVarString loadoutPrimaryCamo (tablelookup("mp/classTable.csv", 0, "loadoutPrimaryCamo", 1 + 1)); + setLocalVarString loadoutSecondary (tablelookup("mp/classTable.csv", 0, "loadoutSecondary", 1 + 1)); + setLocalVarString loadoutSecondaryAttachment (tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment", 1 + 1)); + setLocalVarString loadoutSecondaryAttachment2 (tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment2", 1 + 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo tablelookup("mp/classTable.csv", 0, "loadoutSecondaryCamo", 1 + 1); - setLocalVarString loadoutEquipment tablelookup("mp/classTable.csv", 0, "loadoutEquipment", 1 + 1); - setLocalVarString loadoutPerk1 tablelookup("mp/classTable.csv", 0, "loadoutPerk1", 1 + 1); - setLocalVarString loadoutPerk2 tablelookup("mp/classTable.csv", 0, "loadoutPerk2", 1 + 1); - setLocalVarString loadoutPerk3 tablelookup("mp/classTable.csv", 0, "loadoutPerk3", 1 + 1); - setLocalVarString loadoutStreak1 tablelookup("mp/classTable.csv", 0, "loadoutStreak1", 1 + 1); - setLocalVarString loadoutStreak2 tablelookup("mp/classTable.csv", 0, "loadoutStreak2", 1 + 1); - setLocalVarString loadoutStreak3 tablelookup("mp/classTable.csv", 0, "loadoutStreak3", 1 + 1); - setLocalVarString loadoutDeathStreak tablelookup("mp/classTable.csv", 0, "loadoutDeathStreak", 1 + 1); - setLocalVarString loadoutOffhandSecondary tablelookup("mp/classTable.csv", 0, "loadoutOffhand", 1 + 1); - setLocalVarString loadoutClassName "@" + tablelookup("mp/classTable.csv", 0, "loadoutName", 1 + 1); + setLocalVarString loadoutSecondaryCamo (tablelookup("mp/classTable.csv", 0, "loadoutSecondaryCamo", 1 + 1)); + setLocalVarString loadoutEquipment (tablelookup("mp/classTable.csv", 0, "loadoutEquipment", 1 + 1)); + setLocalVarString loadoutPerk1 (tablelookup("mp/classTable.csv", 0, "loadoutPerk1", 1 + 1)); + setLocalVarString loadoutPerk2 (tablelookup("mp/classTable.csv", 0, "loadoutPerk2", 1 + 1)); + setLocalVarString loadoutPerk3 (tablelookup("mp/classTable.csv", 0, "loadoutPerk3", 1 + 1)); + setLocalVarString loadoutStreak1 (tablelookup("mp/classTable.csv", 0, "loadoutStreak1", 1 + 1)); + setLocalVarString loadoutStreak2 (tablelookup("mp/classTable.csv", 0, "loadoutStreak2", 1 + 1)); + setLocalVarString loadoutStreak3 (tablelookup("mp/classTable.csv", 0, "loadoutStreak3", 1 + 1)); + setLocalVarString loadoutDeathStreak (tablelookup("mp/classTable.csv", 0, "loadoutDeathStreak", 1 + 1)); + setLocalVarString loadoutOffhandSecondary (tablelookup("mp/classTable.csv", 0, "loadoutOffhand", 1 + 1)); + setLocalVarString loadoutClassName ("@" + (tablelookup("mp/classTable.csv", 0, "loadoutName", 1 + 1))); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -186,40 +186,40 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarString loadoutPrimary tablelookup("mp/classTable.csv", 0, "loadoutPrimary", 2 + 1); - setLocalVarString loadoutPrimaryAttachment tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment", 2 + 1); - setLocalVarString loadoutPrimaryAttachment2 tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment2", 2 + 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarString loadoutPrimary (tablelookup("mp/classTable.csv", 0, "loadoutPrimary", 2 + 1)); + setLocalVarString loadoutPrimaryAttachment (tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment", 2 + 1)); + setLocalVarString loadoutPrimaryAttachment2 (tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment2", 2 + 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo tablelookup("mp/classTable.csv", 0, "loadoutPrimaryCamo", 2 + 1); - setLocalVarString loadoutSecondary tablelookup("mp/classTable.csv", 0, "loadoutSecondary", 2 + 1); - setLocalVarString loadoutSecondaryAttachment tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment", 2 + 1); - setLocalVarString loadoutSecondaryAttachment2 tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment2", 2 + 1); + setLocalVarString loadoutPrimaryCamo (tablelookup("mp/classTable.csv", 0, "loadoutPrimaryCamo", 2 + 1)); + setLocalVarString loadoutSecondary (tablelookup("mp/classTable.csv", 0, "loadoutSecondary", 2 + 1)); + setLocalVarString loadoutSecondaryAttachment (tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment", 2 + 1)); + setLocalVarString loadoutSecondaryAttachment2 (tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment2", 2 + 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo tablelookup("mp/classTable.csv", 0, "loadoutSecondaryCamo", 2 + 1); - setLocalVarString loadoutEquipment tablelookup("mp/classTable.csv", 0, "loadoutEquipment", 2 + 1); - setLocalVarString loadoutPerk1 tablelookup("mp/classTable.csv", 0, "loadoutPerk1", 2 + 1); - setLocalVarString loadoutPerk2 tablelookup("mp/classTable.csv", 0, "loadoutPerk2", 2 + 1); - setLocalVarString loadoutPerk3 tablelookup("mp/classTable.csv", 0, "loadoutPerk3", 2 + 1); - setLocalVarString loadoutStreak1 tablelookup("mp/classTable.csv", 0, "loadoutStreak1", 2 + 1); - setLocalVarString loadoutStreak2 tablelookup("mp/classTable.csv", 0, "loadoutStreak2", 2 + 1); - setLocalVarString loadoutStreak3 tablelookup("mp/classTable.csv", 0, "loadoutStreak3", 2 + 1); - setLocalVarString loadoutDeathStreak tablelookup("mp/classTable.csv", 0, "loadoutDeathStreak", 2 + 1); - setLocalVarString loadoutOffhandSecondary tablelookup("mp/classTable.csv", 0, "loadoutOffhand", 2 + 1); - setLocalVarString loadoutClassName "@" + tablelookup("mp/classTable.csv", 0, "loadoutName", 2 + 1); + setLocalVarString loadoutSecondaryCamo (tablelookup("mp/classTable.csv", 0, "loadoutSecondaryCamo", 2 + 1)); + setLocalVarString loadoutEquipment (tablelookup("mp/classTable.csv", 0, "loadoutEquipment", 2 + 1)); + setLocalVarString loadoutPerk1 (tablelookup("mp/classTable.csv", 0, "loadoutPerk1", 2 + 1)); + setLocalVarString loadoutPerk2 (tablelookup("mp/classTable.csv", 0, "loadoutPerk2", 2 + 1)); + setLocalVarString loadoutPerk3 (tablelookup("mp/classTable.csv", 0, "loadoutPerk3", 2 + 1)); + setLocalVarString loadoutStreak1 (tablelookup("mp/classTable.csv", 0, "loadoutStreak1", 2 + 1)); + setLocalVarString loadoutStreak2 (tablelookup("mp/classTable.csv", 0, "loadoutStreak2", 2 + 1)); + setLocalVarString loadoutStreak3 (tablelookup("mp/classTable.csv", 0, "loadoutStreak3", 2 + 1)); + setLocalVarString loadoutDeathStreak (tablelookup("mp/classTable.csv", 0, "loadoutDeathStreak", 2 + 1)); + setLocalVarString loadoutOffhandSecondary (tablelookup("mp/classTable.csv", 0, "loadoutOffhand", 2 + 1)); + setLocalVarString loadoutClassName ("@" + (tablelookup("mp/classTable.csv", 0, "loadoutName", 2 + 1))); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -252,44 +252,44 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); if (!isitemunlocked("sniper")) { setItemColor self backcolor 0 0 0 "0.25"; } - setLocalVarString loadoutPrimary tablelookup("mp/classTable.csv", 0, "loadoutPrimary", 3 + 1); - setLocalVarString loadoutPrimaryAttachment tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment", 3 + 1); - setLocalVarString loadoutPrimaryAttachment2 tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment2", 3 + 1); + setLocalVarString loadoutPrimary (tablelookup("mp/classTable.csv", 0, "loadoutPrimary", 3 + 1)); + setLocalVarString loadoutPrimaryAttachment (tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment", 3 + 1)); + setLocalVarString loadoutPrimaryAttachment2 (tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment2", 3 + 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo tablelookup("mp/classTable.csv", 0, "loadoutPrimaryCamo", 3 + 1); - setLocalVarString loadoutSecondary tablelookup("mp/classTable.csv", 0, "loadoutSecondary", 3 + 1); - setLocalVarString loadoutSecondaryAttachment tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment", 3 + 1); - setLocalVarString loadoutSecondaryAttachment2 tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment2", 3 + 1); + setLocalVarString loadoutPrimaryCamo (tablelookup("mp/classTable.csv", 0, "loadoutPrimaryCamo", 3 + 1)); + setLocalVarString loadoutSecondary (tablelookup("mp/classTable.csv", 0, "loadoutSecondary", 3 + 1)); + setLocalVarString loadoutSecondaryAttachment (tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment", 3 + 1)); + setLocalVarString loadoutSecondaryAttachment2 (tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment2", 3 + 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo tablelookup("mp/classTable.csv", 0, "loadoutSecondaryCamo", 3 + 1); - setLocalVarString loadoutEquipment tablelookup("mp/classTable.csv", 0, "loadoutEquipment", 3 + 1); - setLocalVarString loadoutPerk1 tablelookup("mp/classTable.csv", 0, "loadoutPerk1", 3 + 1); - setLocalVarString loadoutPerk2 tablelookup("mp/classTable.csv", 0, "loadoutPerk2", 3 + 1); - setLocalVarString loadoutPerk3 tablelookup("mp/classTable.csv", 0, "loadoutPerk3", 3 + 1); - setLocalVarString loadoutStreak1 tablelookup("mp/classTable.csv", 0, "loadoutStreak1", 3 + 1); - setLocalVarString loadoutStreak2 tablelookup("mp/classTable.csv", 0, "loadoutStreak2", 3 + 1); - setLocalVarString loadoutStreak3 tablelookup("mp/classTable.csv", 0, "loadoutStreak3", 3 + 1); - setLocalVarString loadoutDeathStreak tablelookup("mp/classTable.csv", 0, "loadoutDeathStreak", 3 + 1); - setLocalVarString loadoutOffhandSecondary tablelookup("mp/classTable.csv", 0, "loadoutOffhand", 3 + 1); - setLocalVarString loadoutClassName "@" + tablelookup("mp/classTable.csv", 0, "loadoutName", 3 + 1); + setLocalVarString loadoutSecondaryCamo (tablelookup("mp/classTable.csv", 0, "loadoutSecondaryCamo", 3 + 1)); + setLocalVarString loadoutEquipment (tablelookup("mp/classTable.csv", 0, "loadoutEquipment", 3 + 1)); + setLocalVarString loadoutPerk1 (tablelookup("mp/classTable.csv", 0, "loadoutPerk1", 3 + 1)); + setLocalVarString loadoutPerk2 (tablelookup("mp/classTable.csv", 0, "loadoutPerk2", 3 + 1)); + setLocalVarString loadoutPerk3 (tablelookup("mp/classTable.csv", 0, "loadoutPerk3", 3 + 1)); + setLocalVarString loadoutStreak1 (tablelookup("mp/classTable.csv", 0, "loadoutStreak1", 3 + 1)); + setLocalVarString loadoutStreak2 (tablelookup("mp/classTable.csv", 0, "loadoutStreak2", 3 + 1)); + setLocalVarString loadoutStreak3 (tablelookup("mp/classTable.csv", 0, "loadoutStreak3", 3 + 1)); + setLocalVarString loadoutDeathStreak (tablelookup("mp/classTable.csv", 0, "loadoutDeathStreak", 3 + 1)); + setLocalVarString loadoutOffhandSecondary (tablelookup("mp/classTable.csv", 0, "loadoutOffhand", 3 + 1)); + setLocalVarString loadoutClassName ("@" + (tablelookup("mp/classTable.csv", 0, "loadoutName", 3 + 1))); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -322,44 +322,44 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); if (!isitemunlocked("sniper")) { setItemColor self backcolor 0 0 0 "0.25"; } - setLocalVarString loadoutPrimary tablelookup("mp/classTable.csv", 0, "loadoutPrimary", 4 + 1); - setLocalVarString loadoutPrimaryAttachment tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment", 4 + 1); - setLocalVarString loadoutPrimaryAttachment2 tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment2", 4 + 1); + setLocalVarString loadoutPrimary (tablelookup("mp/classTable.csv", 0, "loadoutPrimary", 4 + 1)); + setLocalVarString loadoutPrimaryAttachment (tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment", 4 + 1)); + setLocalVarString loadoutPrimaryAttachment2 (tablelookup("mp/classTable.csv", 0, "loadoutPrimaryAttachment2", 4 + 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo tablelookup("mp/classTable.csv", 0, "loadoutPrimaryCamo", 4 + 1); - setLocalVarString loadoutSecondary tablelookup("mp/classTable.csv", 0, "loadoutSecondary", 4 + 1); - setLocalVarString loadoutSecondaryAttachment tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment", 4 + 1); - setLocalVarString loadoutSecondaryAttachment2 tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment2", 4 + 1); + setLocalVarString loadoutPrimaryCamo (tablelookup("mp/classTable.csv", 0, "loadoutPrimaryCamo", 4 + 1)); + setLocalVarString loadoutSecondary (tablelookup("mp/classTable.csv", 0, "loadoutSecondary", 4 + 1)); + setLocalVarString loadoutSecondaryAttachment (tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment", 4 + 1)); + setLocalVarString loadoutSecondaryAttachment2 (tablelookup("mp/classTable.csv", 0, "loadoutSecondaryAttachment2", 4 + 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo tablelookup("mp/classTable.csv", 0, "loadoutSecondaryCamo", 4 + 1); - setLocalVarString loadoutEquipment tablelookup("mp/classTable.csv", 0, "loadoutEquipment", 4 + 1); - setLocalVarString loadoutPerk1 tablelookup("mp/classTable.csv", 0, "loadoutPerk1", 4 + 1); - setLocalVarString loadoutPerk2 tablelookup("mp/classTable.csv", 0, "loadoutPerk2", 4 + 1); - setLocalVarString loadoutPerk3 tablelookup("mp/classTable.csv", 0, "loadoutPerk3", 4 + 1); - setLocalVarString loadoutStreak1 tablelookup("mp/classTable.csv", 0, "loadoutStreak1", 4 + 1); - setLocalVarString loadoutStreak2 tablelookup("mp/classTable.csv", 0, "loadoutStreak2", 4 + 1); - setLocalVarString loadoutStreak3 tablelookup("mp/classTable.csv", 0, "loadoutStreak3", 4 + 1); - setLocalVarString loadoutDeathStreak tablelookup("mp/classTable.csv", 0, "loadoutDeathStreak", 4 + 1); - setLocalVarString loadoutOffhandSecondary tablelookup("mp/classTable.csv", 0, "loadoutOffhand", 4 + 1); - setLocalVarString loadoutClassName "@" + tablelookup("mp/classTable.csv", 0, "loadoutName", 4 + 1); + setLocalVarString loadoutSecondaryCamo (tablelookup("mp/classTable.csv", 0, "loadoutSecondaryCamo", 4 + 1)); + setLocalVarString loadoutEquipment (tablelookup("mp/classTable.csv", 0, "loadoutEquipment", 4 + 1)); + setLocalVarString loadoutPerk1 (tablelookup("mp/classTable.csv", 0, "loadoutPerk1", 4 + 1)); + setLocalVarString loadoutPerk2 (tablelookup("mp/classTable.csv", 0, "loadoutPerk2", 4 + 1)); + setLocalVarString loadoutPerk3 (tablelookup("mp/classTable.csv", 0, "loadoutPerk3", 4 + 1)); + setLocalVarString loadoutStreak1 (tablelookup("mp/classTable.csv", 0, "loadoutStreak1", 4 + 1)); + setLocalVarString loadoutStreak2 (tablelookup("mp/classTable.csv", 0, "loadoutStreak2", 4 + 1)); + setLocalVarString loadoutStreak3 (tablelookup("mp/classTable.csv", 0, "loadoutStreak3", 4 + 1)); + setLocalVarString loadoutDeathStreak (tablelookup("mp/classTable.csv", 0, "loadoutDeathStreak", 4 + 1)); + setLocalVarString loadoutOffhandSecondary (tablelookup("mp/classTable.csv", 0, "loadoutOffhand", 4 + 1)); + setLocalVarString loadoutClassName ("@" + (tablelookup("mp/classTable.csv", 0, "loadoutName", 4 + 1))); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -400,41 +400,41 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarInt classIndex 0; - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarInt classIndex (0); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -466,41 +466,41 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarInt classIndex 1; - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarInt classIndex (1); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -532,41 +532,41 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarInt classIndex 2; - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarInt classIndex (2); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -598,41 +598,41 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarInt classIndex 3; - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarInt classIndex (3); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -664,41 +664,41 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarInt classIndex 4; - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarInt classIndex (4); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -730,41 +730,41 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarInt classIndex 5; - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarInt classIndex (5); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -796,41 +796,41 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarInt classIndex 6; - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarInt classIndex (6); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -862,41 +862,41 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarInt classIndex 7; - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarInt classIndex (7); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -928,41 +928,41 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarInt classIndex 8; - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarInt classIndex (8); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -994,41 +994,41 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarInt classIndex 9; - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarInt classIndex (9); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -1060,41 +1060,41 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarInt classIndex 10; - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarInt classIndex (10); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -1126,41 +1126,41 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarInt classIndex 11; - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarInt classIndex (11); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -1192,41 +1192,41 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarInt classIndex 12; - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarInt classIndex (12); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -1258,41 +1258,41 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarInt classIndex 13; - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarInt classIndex (13); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -1324,41 +1324,41 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarInt classIndex 14; - setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"); - setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0); - setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); + setLocalVarInt classIndex (14); + setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")); + setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)); + setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)); if (localvarstring("loadoutPrimaryAttachment2") == "") { - setLocalVarString loadoutPrimaryAttachment2 none; + setLocalVarString loadoutPrimaryAttachment2 ("none"); } - setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"); - setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"); - setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0); - setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1); + setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")); + setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")); + setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)); + setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)); if (localvarstring("loadoutSecondaryAttachment2") == "") { - setLocalVarString loadoutSecondaryAttachment2 none; + setLocalVarString loadoutSecondaryAttachment2 ("none"); } - setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"); - setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0); - setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1); - setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2); - setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3); - setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0); - setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1); - setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2); - setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4); - setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"); - setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name"); + setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")); + setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)); + setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)); + setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)); + setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)); + setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0)); + setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1)); + setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2)); + setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)); + setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")); + setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name")); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -1477,7 +1477,7 @@ { rect -272 48 272 100 3 1 decoration - visible when((localvarstring("loadoutPrimaryAttachment") != "none") || ((localvarstring("loadoutPerk1") == "specialty_bling") && (tablelookup("mp/statsTable.csv", 4, localvarstring("loadoutPrimary"), 11) != ""))); + visible when(localvarstring("loadoutPrimaryAttachment") != "none" || (localvarstring("loadoutPerk1") == "specialty_bling" && (tablelookup("mp/statsTable.csv", 4, localvarstring("loadoutPrimary"), 11) != ""))); textalign 12 textalignx 4 textscale 0.375 @@ -1485,13 +1485,13 @@ forecolor 1 1 1 0 glowcolor 0.5 0 0 1 exp text locstring("@MENU_PLUS", "@" + tablelookup("mp/attachmentTable.csv", 4, localvarstring("loadoutPrimaryAttachment"), 3)); - exp glowcolor a (localvarstring("loadoutPerk1") == "specialty_bling") && (localvarstring("loadoutPrimaryAttachment") == "none"); + exp glowcolor a ((localvarstring("loadoutPerk1") == "specialty_bling" && localvarstring("loadoutPrimaryAttachment") == "none")); } itemDef { rect -272 48 272 100 3 1 decoration - visible when(((isitemunlocked("specialty_secondarybling") || (0 == 0)) && (localvarstring("loadoutPrimaryAttachment2") != "none")) || ((localvarstring("loadoutPerk1") == "specialty_bling") && (tablelookup("mp/statsTable.csv", 4, localvarstring("loadoutPrimary"), 11 + 1) != ""))); + visible when((isitemunlocked("specialty_secondarybling") || 0 == 0) && localvarstring("loadoutPrimaryAttachment2") != "none" || (localvarstring("loadoutPerk1") == "specialty_bling" && (tablelookup("mp/statsTable.csv", 4, localvarstring("loadoutPrimary"), (11 + 1)) != ""))); textalign 12 textalignx 4 textaligny -40 @@ -1500,7 +1500,7 @@ forecolor 1 1 1 0 glowcolor 0.5 0 0 1 exp text locstring("@MENU_PLUS", "@" + tablelookup("mp/attachmentTable.csv", 4, localvarstring("loadoutPrimaryAttachment2"), 3)); - exp glowcolor a (localvarstring("loadoutPerk1") == "specialty_bling") && (localvarstring("loadoutPrimaryAttachment2") == "none"); + exp glowcolor a ((localvarstring("loadoutPerk1") == "specialty_bling" && localvarstring("loadoutPrimaryAttachment2") == "none")); } itemDef { @@ -1587,7 +1587,7 @@ { rect -272 148 272 100 3 1 decoration - visible when((localvarstring("loadoutSecondaryAttachment") != "none") || ((localvarstring("loadoutPerk1") == "specialty_bling") && (tablelookup("mp/statsTable.csv", 4, localvarstring("loadoutSecondary"), 11) != ""))); + visible when(localvarstring("loadoutSecondaryAttachment") != "none" || (localvarstring("loadoutPerk1") == "specialty_bling" && (tablelookup("mp/statsTable.csv", 4, localvarstring("loadoutSecondary"), 11) != ""))); textalign 12 textalignx 4 textscale 0.375 @@ -1595,13 +1595,13 @@ forecolor 1 1 1 0 glowcolor 0.5 0 0 1 exp text locstring("@MENU_PLUS", "@" + tablelookup("mp/attachmentTable.csv", 4, localvarstring("loadoutSecondaryAttachment"), 3)); - exp glowcolor a (localvarstring("loadoutPerk1") == "specialty_bling") && (localvarstring("loadoutSecondaryAttachment") == "none"); + exp glowcolor a ((localvarstring("loadoutPerk1") == "specialty_bling" && localvarstring("loadoutSecondaryAttachment") == "none")); } itemDef { rect -272 148 272 100 3 1 decoration - visible when(((isitemunlocked("specialty_secondarybling") || (1 == 0)) && (localvarstring("loadoutSecondaryAttachment2") != "none")) || ((localvarstring("loadoutPerk1") == "specialty_bling") && (tablelookup("mp/statsTable.csv", 4, localvarstring("loadoutSecondary"), 11 + 1) != ""))); + visible when((isitemunlocked("specialty_secondarybling") || 1 == 0) && localvarstring("loadoutSecondaryAttachment2") != "none" || (localvarstring("loadoutPerk1") == "specialty_bling" && (tablelookup("mp/statsTable.csv", 4, localvarstring("loadoutSecondary"), (11 + 1)) != ""))); textalign 12 textalignx 4 textaligny -40 @@ -1610,7 +1610,7 @@ forecolor 1 1 1 0 glowcolor 0.5 0 0 1 exp text locstring("@MENU_PLUS", "@" + tablelookup("mp/attachmentTable.csv", 4, localvarstring("loadoutSecondaryAttachment2"), 3)); - exp glowcolor a (localvarstring("loadoutPerk1") == "specialty_bling") && (localvarstring("loadoutSecondaryAttachment2") == "none"); + exp glowcolor a ((localvarstring("loadoutPerk1") == "specialty_bling" && localvarstring("loadoutSecondaryAttachment2") == "none")); } itemDef { @@ -1627,7 +1627,7 @@ rect -268 268 36 36 3 1 style 3 decoration - visible when((tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8) == "specialty_null") || (!isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8)))); + visible when(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8) == "specialty_null" || !isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8))); textscale 0.55 exp material tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 3); } @@ -1636,7 +1636,7 @@ rect -268 268 36 36 3 1 style 3 decoration - visible when(((tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8) != "specialty_null") && isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8))) && (localvarstring("loadoutPerk1") != "")); + visible when(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8) != "specialty_null" && isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8)) && localvarstring("loadoutPerk1") != ""); textscale 0.55 exp material tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 3) + "_upgrade"; } @@ -1657,7 +1657,7 @@ decoration autowrapped type 21 - visible when((tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8) == "specialty_null") || (!isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8)))); + visible when(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8) == "specialty_null" || !isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8))); textalign 4 textscale 0.375 textfont 3 @@ -1670,7 +1670,7 @@ decoration autowrapped type 21 - visible when((tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8) != "specialty_null") && isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8))); + visible when(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8) != "specialty_null" && isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8))); textalign 4 textscale 0.375 textfont 3 @@ -1692,7 +1692,7 @@ rect -268 304 36 36 3 1 style 3 decoration - visible when((tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8) == "specialty_null") || (!isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8)))); + visible when(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8) == "specialty_null" || !isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8))); textscale 0.55 exp material tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 3); } @@ -1701,7 +1701,7 @@ rect -268 304 36 36 3 1 style 3 decoration - visible when(((tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8) != "specialty_null") && isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8))) && (localvarstring("loadoutPerk2") != "")); + visible when(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8) != "specialty_null" && isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8)) && localvarstring("loadoutPerk2") != ""); textscale 0.55 exp material tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 3) + "_upgrade"; } @@ -1722,7 +1722,7 @@ decoration autowrapped type 21 - visible when((tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8) == "specialty_null") || (!isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8)))); + visible when(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8) == "specialty_null" || !isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8))); textalign 4 textscale 0.375 textfont 3 @@ -1735,7 +1735,7 @@ decoration autowrapped type 21 - visible when((tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8) != "specialty_null") && isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8))); + visible when(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8) != "specialty_null" && isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8))); textalign 4 textscale 0.375 textfont 3 @@ -1757,7 +1757,7 @@ rect -268 340 36 36 3 1 style 3 decoration - visible when((tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8) == "specialty_null") || (!isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8)))); + visible when(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8) == "specialty_null" || !isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8))); textscale 0.55 exp material tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 3); } @@ -1766,7 +1766,7 @@ rect -268 340 36 36 3 1 style 3 decoration - visible when(((tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8) != "specialty_null") && isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8))) && (localvarstring("loadoutPerk3") != "")); + visible when(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8) != "specialty_null" && isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8)) && localvarstring("loadoutPerk3") != ""); textscale 0.55 exp material tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 3) + "_upgrade"; } @@ -1787,7 +1787,7 @@ decoration autowrapped type 21 - visible when((tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8) == "specialty_null") || (!isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8)))); + visible when(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8) == "specialty_null" || !isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8))); textalign 4 textscale 0.375 textfont 3 @@ -1800,7 +1800,7 @@ decoration autowrapped type 21 - visible when((tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8) != "specialty_null") && isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8))); + visible when(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8) != "specialty_null" && isitemunlocked(tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8))); textalign 4 textscale 0.375 textfont 3 diff --git a/ui_mp/scriptmenus/quickcommands.menu b/ui_mp/scriptmenus/quickcommands.menu index f892198..5106b10 100644 --- a/ui_mp/scriptmenus/quickcommands.menu +++ b/ui_mp/scriptmenus/quickcommands.menu @@ -6,6 +6,7 @@ style 1 border 1 borderSize 2 + forecolor 0 0 0 0 focuscolor 1 1 1 1 popup onOpen @@ -21,34 +22,9 @@ play mouse_click; close self; } - execKey "1" + execKey "8" { - scriptMenuResponse 1; - close self; - } - execKey "2" - { - scriptMenuResponse 2; - close self; - } - execKey "3" - { - scriptMenuResponse 3; - close self; - } - execKey "4" - { - scriptMenuResponse 4; - close self; - } - execKey "5" - { - scriptMenuResponse 5; - close self; - } - execKey "6" - { - scriptMenuResponse 6; + scriptMenuResponse 8; close self; } execKey "7" @@ -56,31 +32,58 @@ scriptMenuResponse 7; close self; } - execKey "8" + execKey "6" { - scriptMenuResponse 8; + scriptMenuResponse 6; + close self; + } + execKey "5" + { + scriptMenuResponse 5; + close self; + } + execKey "4" + { + scriptMenuResponse 4; + close self; + } + execKey "3" + { + scriptMenuResponse 3; + close self; + } + execKey "2" + { + scriptMenuResponse 2; + close self; + } + execKey "1" + { + scriptMenuResponse 1; close self; } itemDef { - rect 0 0 194 208 0 0 + rect -4 -4 194 208 0 0 style 3 decoration border 1 borderSize 2 visible 1 + textscale 0.55 forecolor 0.2 0.2 0.22 0.65 bordercolor 0.4 0.4 0.42 1 exp material "white"; } itemDef { - rect 0 0 194 208 0 0 + rect -4 -4 194 208 0 0 style 3 decoration border 1 borderSize 2 visible 1 + textscale 0.55 forecolor 1 1 1 0.7 bordercolor 0.4 0.4 0.42 1 exp material "gradient_bottom"; @@ -103,7 +106,7 @@ name "window" text "@QUICKMESSAGE_1_FOLLOW_ME" group "ingamebox" - rect 0 16 0 0 0 0 + rect 16 36 0 0 0 0 decoration visible 1 textaligny 8 @@ -116,7 +119,7 @@ name "window" text "@QUICKMESSAGE_2_MOVE_IN" group "ingamebox" - rect 0 16 0 0 0 0 + rect 16 52 0 0 0 0 decoration visible 1 textaligny 8 @@ -129,7 +132,7 @@ name "window" text "@QUICKMESSAGE_3_FALL_BACK" group "ingamebox" - rect 0 16 0 0 0 0 + rect 16 68 0 0 0 0 decoration visible 1 textaligny 8 @@ -142,7 +145,7 @@ name "window" text "@QUICKMESSAGE_4_SUPPRESSING_FIRE" group "ingamebox" - rect 0 16 0 0 0 0 + rect 16 84 0 0 0 0 decoration visible 1 textaligny 8 @@ -155,7 +158,7 @@ name "window" text "@QUICKMESSAGE_5_ATTACK_LEFT_FLANK" group "ingamebox" - rect 0 16 0 0 0 0 + rect 16 100 0 0 0 0 decoration visible 1 textaligny 8 @@ -168,7 +171,7 @@ name "window" text "@QUICKMESSAGE_6_ATTACK_RIGHT_FLANK" group "ingamebox" - rect 0 16 0 0 0 0 + rect 16 116 0 0 0 0 decoration visible 1 textaligny 8 @@ -181,7 +184,7 @@ name "window" text "@QUICKMESSAGE_7_HOLD_THIS_POSITION" group "ingamebox" - rect 0 16 0 0 0 0 + rect 16 132 0 0 0 0 decoration visible 1 textaligny 8 @@ -194,7 +197,7 @@ name "window" text "@QUICKMESSAGE_8_REGROUP" group "ingamebox" - rect 0 16 0 0 0 0 + rect 16 148 0 0 0 0 decoration visible 1 textaligny 8 @@ -206,7 +209,7 @@ { name "window" text "@QUICKMESSAGE_ESC_EXIT" - rect 0 16 0 0 0 0 + rect 16 180 0 0 0 0 decoration visible 1 textaligny 8 diff --git a/ui_mp/scriptmenus/quickresponses.menu b/ui_mp/scriptmenus/quickresponses.menu index 916bee3..468b304 100644 --- a/ui_mp/scriptmenus/quickresponses.menu +++ b/ui_mp/scriptmenus/quickresponses.menu @@ -6,6 +6,7 @@ style 1 border 1 borderSize 2 + forecolor 0 0 0 0 focuscolor 1 1 1 1 popup onOpen @@ -21,24 +22,9 @@ play mouse_click; close self; } - execKey "1" + execKey "6" { - scriptMenuResponse 1; - close quickresponses; - } - execKey "2" - { - scriptMenuResponse 2; - close quickresponses; - } - execKey "3" - { - scriptMenuResponse 3; - close quickresponses; - } - execKey "4" - { - scriptMenuResponse 4; + scriptMenuResponse 6; close quickresponses; } execKey "5" @@ -46,31 +32,48 @@ scriptMenuResponse 5; close quickresponses; } - execKey "6" + execKey "4" { - scriptMenuResponse 6; + scriptMenuResponse 4; + close quickresponses; + } + execKey "3" + { + scriptMenuResponse 3; + close quickresponses; + } + execKey "2" + { + scriptMenuResponse 2; + close quickresponses; + } + execKey "1" + { + scriptMenuResponse 1; close quickresponses; } itemDef { - rect 0 0 194 208 0 0 + rect -4 -4 194 208 0 0 style 3 decoration border 1 borderSize 2 visible 1 + textscale 0.55 forecolor 0.2 0.2 0.22 0.65 bordercolor 0.4 0.4 0.42 1 exp material "white"; } itemDef { - rect 0 0 194 208 0 0 + rect -4 -4 194 208 0 0 style 3 decoration border 1 borderSize 2 visible 1 + textscale 0.55 forecolor 1 1 1 0.7 bordercolor 0.4 0.4 0.42 1 exp material "gradient_bottom"; @@ -93,7 +96,7 @@ name "window" text "@QUICKMESSAGE_1_YES_SIR" group "ingamebox" - rect 0 16 0 0 0 0 + rect 16 36 0 0 0 0 decoration visible 1 textaligny 8 @@ -106,7 +109,7 @@ name "window" text "@QUICKMESSAGE_2_NO_SIR" group "ingamebox" - rect 0 16 0 0 0 0 + rect 16 52 0 0 0 0 decoration visible 1 textaligny 8 @@ -119,7 +122,7 @@ name "window" text "@QUICKMESSAGE_3_IM_ON_MY_WAY" group "ingamebox" - rect 0 16 0 0 0 0 + rect 16 68 0 0 0 0 decoration visible 1 textaligny 8 @@ -132,7 +135,7 @@ name "window" text "@QUICKMESSAGE_4_SORRY" group "ingamebox" - rect 0 16 0 0 0 0 + rect 16 84 0 0 0 0 decoration visible 1 textaligny 8 @@ -145,7 +148,7 @@ name "window" text "@QUICKMESSAGE_5_GREAT_SHOT" group "ingamebox" - rect 0 16 0 0 0 0 + rect 16 100 0 0 0 0 decoration visible 1 textaligny 8 @@ -158,7 +161,7 @@ name "window" text "@QUICKMESSAGE_6_TOOK_LONG_ENOUGH" group "ingamebox" - rect 0 16 0 0 0 0 + rect 16 116 0 0 0 0 decoration visible 1 textaligny 8 @@ -170,7 +173,7 @@ { name "window" text "@QUICKMESSAGE_ESC_EXIT" - rect 0 16 0 0 0 0 + rect 16 148 0 0 0 0 decoration visible 1 textaligny 8 diff --git a/ui_mp/scriptmenus/quickstatements.menu b/ui_mp/scriptmenus/quickstatements.menu index 4040166..9e8d31b 100644 --- a/ui_mp/scriptmenus/quickstatements.menu +++ b/ui_mp/scriptmenus/quickstatements.menu @@ -6,6 +6,7 @@ style 1 border 1 borderSize 2 + forecolor 0 0 0 0 focuscolor 1 1 1 1 popup onOpen @@ -21,29 +22,9 @@ play mouse_click; close self; } - execKey "1" + execKey "7" { - scriptMenuResponse 1; - close quickstatements; - } - execKey "2" - { - scriptMenuResponse 2; - close quickstatements; - } - execKey "3" - { - scriptMenuResponse 3; - close quickstatements; - } - execKey "4" - { - scriptMenuResponse 4; - close quickstatements; - } - execKey "5" - { - scriptMenuResponse 5; + scriptMenuResponse 7; close quickstatements; } execKey "6" @@ -51,31 +32,53 @@ scriptMenuResponse 6; close quickstatements; } - execKey "7" + execKey "5" { - scriptMenuResponse 7; + scriptMenuResponse 5; + close quickstatements; + } + execKey "4" + { + scriptMenuResponse 4; + close quickstatements; + } + execKey "3" + { + scriptMenuResponse 3; + close quickstatements; + } + execKey "2" + { + scriptMenuResponse 2; + close quickstatements; + } + execKey "1" + { + scriptMenuResponse 1; close quickstatements; } itemDef { - rect 0 0 194 208 0 0 + rect -4 -4 194 208 0 0 style 3 decoration border 1 borderSize 2 visible 1 + textscale 0.55 forecolor 0.2 0.2 0.22 0.65 bordercolor 0.4 0.4 0.42 1 exp material "white"; } itemDef { - rect 0 0 194 208 0 0 + rect -4 -4 194 208 0 0 style 3 decoration border 1 borderSize 2 visible 1 + textscale 0.55 forecolor 1 1 1 0.7 bordercolor 0.4 0.4 0.42 1 exp material "gradient_bottom"; @@ -98,7 +101,7 @@ name "window" text "@QUICKMESSAGE_1_ENEMY_SPOTTED" group "ingamebox" - rect 0 16 0 0 0 0 + rect 16 36 0 0 0 0 decoration visible 1 textaligny 8 @@ -111,7 +114,7 @@ name "window" text "@QUICKMESSAGE_2_MULTIPLE_CONTACTS" group "ingamebox" - rect 0 16 0 0 0 0 + rect 16 52 0 0 0 0 decoration visible 1 textaligny 8 @@ -124,7 +127,7 @@ name "window" text "@QUICKMESSAGE_3_IM_IN_POSITION" group "ingamebox" - rect 0 16 0 0 0 0 + rect 16 68 0 0 0 0 decoration visible 1 textaligny 8 @@ -137,7 +140,7 @@ name "window" text "@QUICKMESSAGE_4_AREA_SECURE" group "ingamebox" - rect 0 16 0 0 0 0 + rect 16 84 0 0 0 0 decoration visible 1 textaligny 8 @@ -150,7 +153,7 @@ name "window" text "@QUICKMESSAGE_5_WATCH_SIX" group "ingamebox" - rect 0 16 0 0 0 0 + rect 16 100 0 0 0 0 decoration visible 1 textaligny 8 @@ -163,7 +166,7 @@ name "window" text "@QUICKMESSAGE_6_SNIPER" group "ingamebox" - rect 0 16 0 0 0 0 + rect 16 116 0 0 0 0 decoration visible 1 textaligny 8 @@ -176,7 +179,7 @@ name "window" text "@QUICKMESSAGE_7_NEED_REINFORCEMENTS" group "ingamebox" - rect 0 16 0 0 0 0 + rect 16 132 0 0 0 0 decoration visible 1 textaligny 8 @@ -188,7 +191,7 @@ { name "window" text "@QUICKMESSAGE_ESC_EXIT" - rect 0 16 0 0 0 0 + rect 16 164 0 0 0 0 decoration visible 1 textaligny 8 diff --git a/ui_mp/scriptmenus/team_marinesopfor.menu b/ui_mp/scriptmenus/team_marinesopfor.menu index eaf80df..eb60dba 100644 --- a/ui_mp/scriptmenus/team_marinesopfor.menu +++ b/ui_mp/scriptmenus/team_marinesopfor.menu @@ -79,7 +79,7 @@ decoration border 1 borderSize 0.666667 - visible when(!isempjammed()); + visible when((!isempjammed())); textscale 0.55 bordercolor 1 1 1 0.35 } @@ -88,7 +88,7 @@ rect -260 135 240 240 3 1 style 3 decoration - visible when(!isempjammed()); + visible when((!isempjammed())); textscale 0.55 forecolor 0.89 0.98 0.95 0.05 background "minimap_scanlines" @@ -99,7 +99,7 @@ rect -260 135 240 240 3 1 decoration type 8 - visible when(!isempjammed()); + visible when((!isempjammed())); ownerdraw 181 textscale 0.55 background "compass_map_default" @@ -110,7 +110,7 @@ rect -260 135 240 240 3 1 decoration type 8 - visible when(!isempjammed()); + visible when((!isempjammed())); ownerdraw 185 textscale 0.55 exp forecolor a 1 - radarjamintensity(); @@ -121,7 +121,7 @@ rect -260 135 240 240 3 1 decoration type 8 - visible when(!isempjammed()); + visible when((!isempjammed())); ownerdraw 188 textscale 0.55 exp forecolor a 1 - radarjamintensity(); @@ -132,7 +132,7 @@ rect -260 135 240 240 3 1 decoration type 8 - visible when(!isempjammed()); + visible when((!isempjammed())); ownerdraw 182 textscale 0.55 background "objective_line" @@ -143,7 +143,7 @@ rect -260 135 240 240 3 1 decoration type 8 - visible when(!isempjammed()); + visible when((!isempjammed())); ownerdraw 189 textscale 0.55 exp forecolor a 1 - radarjamintensity(); @@ -154,7 +154,7 @@ rect -260 135 240 240 3 1 decoration type 8 - visible when(!isempjammed()); + visible when((!isempjammed())); ownerdraw 183 textscale 0.55 background "compassping_player" @@ -187,7 +187,7 @@ rect -260 135 240 240 3 1 style 3 decoration - visible when(!isempjammed()); + visible when((!isempjammed())); textscale 0.55 background "stencil_base" } @@ -196,7 +196,7 @@ rect -260 135 240 240 3 1 style 3 decoration - visible when(!isempjammed()); + visible when((!isempjammed())); textscale 0.55 background "scanlines_stencil" exp rect y (135 - 240) + ((240 * 2) * (1 - ((milliseconds() % 4000) / 4000))); @@ -206,7 +206,7 @@ rect -260 135 240 240 3 1 style 3 decoration - visible when(!isempjammed()); + visible when((!isempjammed())); textscale 0.55 forecolor 0.89 0.98 0.95 1 background "stencil_fill" @@ -216,7 +216,7 @@ rect -260 115 -136 20 3 1 style 1 decoration - visible when(!isempjammed()); + visible when((!isempjammed())); textalign 4 textalignx 4 textscale 0.375 @@ -250,7 +250,7 @@ rect 10 58 128 128 1 1 style 3 decoration - visible when((team("name") == "TEAM_FREE") && (localvarstring("ui_team") == "marines")); + visible when(team("name") == "TEAM_FREE" && localvarstring("ui_team") == "marines"); textscale 0.55 forecolor 1 1 1 0.275 exp material dvarstring(g_TeamIcon_Allies); @@ -260,7 +260,7 @@ rect 10 58 128 128 1 1 style 3 decoration - visible when((team("name") == "TEAM_FREE") && (localvarstring("ui_team") == "opfor")); + visible when(team("name") == "TEAM_FREE" && localvarstring("ui_team") == "opfor"); textscale 0.55 forecolor 1 1 1 0.275 exp material dvarstring(g_TeamIcon_Axis); @@ -282,7 +282,7 @@ { rect 10 196 128 128 1 1 decoration - visible when((team("name") == "TEAM_FREE") && (localvarstring("ui_team") == "marines")); + visible when(team("name") == "TEAM_FREE" && localvarstring("ui_team") == "marines"); textalign 1 textaligny 10 textscale 0.4583 @@ -308,7 +308,7 @@ { rect 10 196 128 128 1 1 decoration - visible when((team("name") == "TEAM_FREE") && (localvarstring("ui_team") == "opfor")); + visible when(team("name") == "TEAM_FREE" && localvarstring("ui_team") == "opfor"); textalign 1 textaligny 10 textscale 0.4583 @@ -326,7 +326,7 @@ style 1 type 1 visible when(team("name") != "TEAM_SPECTATOR"); - disabled when((team("name") == "TEAM_SPECTATOR") || (!dvarbool(scr_game_spectatetype))); + disabled when(team("name") == "TEAM_SPECTATOR" || !dvarbool(scr_game_spectatetype)); textalign 6 textalignx -60 textscale 0.375 @@ -341,14 +341,14 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -379,14 +379,14 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -418,14 +418,14 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -467,14 +467,14 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -500,7 +500,7 @@ rect -64 108 336 20 1 1 style 1 type 1 - visible when((team("name") == "TEAM_SPECTATOR") && (dvarbool(onlineunrankedgameandhost) || dvarbool(sv_running))); + visible when(team("name") == "TEAM_SPECTATOR" && (dvarbool(onlineunrankedgameandhost) || dvarbool(sv_running))); textalign 6 textalignx -60 textscale 0.375 @@ -515,14 +515,14 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -538,7 +538,7 @@ rect -64 108 336 20 1 1 style 1 type 1 - visible when((team("name") == "TEAM_SPECTATOR") && ((!dvarbool(onlineunrankedgameandhost)) && (!dvarbool(sv_running)))); + visible when(team("name") == "TEAM_SPECTATOR" && (!dvarbool(onlineunrankedgameandhost) && !dvarbool(sv_running))); textalign 6 textalignx -60 textscale 0.375 @@ -553,19 +553,19 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { play mouse_click; - if ((inprivateparty() && (!privatepartyhost())) && privatepartyhostinlobby()) + if ((inprivateparty() && !privatepartyhost() && privatepartyhostinlobby())) { open popup_leavegameandparty; } @@ -597,13 +597,13 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; + setLocalVarBool ui_menuAButton (1); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -634,13 +634,13 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; + setLocalVarBool ui_menuAButton (1); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -671,13 +671,13 @@ setItemColor mw2_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; + setLocalVarBool ui_menuAButton (1); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { diff --git a/ui_mp/security_increase_popmenu.menu b/ui_mp/security_increase_popmenu.menu index df61718..4b4fc4f 100644 --- a/ui_mp/security_increase_popmenu.menu +++ b/ui_mp/security_increase_popmenu.menu @@ -11,11 +11,11 @@ legacySplitScreenScale onOpen { - setLocalVarInt ui_centerPopup 1; + setLocalVarInt ui_centerPopup (1); } onClose { - setLocalVarInt ui_centerPopup 0; + setLocalVarInt ui_centerPopup (0); uiScript security_increase_cancel; } onESC @@ -61,7 +61,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -72,7 +72,7 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -82,7 +82,7 @@ visible 1 textscale 0.55 background "mockup_popup_bg_stencilfill" - exp rect h 56 + (3 * 20); + exp rect h (56 + 3 * 20); } itemDef { @@ -93,7 +93,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -104,7 +104,7 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -115,14 +115,14 @@ textscale 0.55 forecolor 1 1 1 0 background "small_box_lightfx" - exp rect h 56 + (3 * 20); + exp rect h (56 + 3 * 20); } itemDef { rect -64 -64 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tl" @@ -132,7 +132,7 @@ rect 0 -64 300 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_t" @@ -142,7 +142,7 @@ rect 300 -64 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tr" @@ -152,55 +152,55 @@ rect 300 0 64 0 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_r" - exp rect h 56 + (3 * 20); + exp rect h (56 + 3 * 20); } itemDef { rect 300 0 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_br" - exp rect y (32 - 0) + (24 + (3 * 20)); + exp rect y (32 - 0) + ((24 + 3 * 20)); } itemDef { rect 0 0 300 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_b" - exp rect y (32 - 0) + (24 + (3 * 20)); + exp rect y (32 - 0) + ((24 + 3 * 20)); } itemDef { rect -64 0 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_bl" - exp rect y (32 - 0) + (24 + (3 * 20)); + exp rect y (32 - 0) + ((24 + 3 * 20)); } itemDef { rect -63 0 64 0 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_l" - exp rect h 56 + (3 * 20); + exp rect h (56 + 3 * 20); } itemDef { @@ -231,7 +231,7 @@ rect 0 60 300 40 2 2 decoration type 1 - visible when((((sin(milliseconds() * 0.005) + 1) * 0.5) > 0.25) && (((sin(milliseconds() * 0.005) + 1) * 0.5) <= 0.5)); + visible when((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.25 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.5); textalign 5 textalignx 38 textaligny 10 @@ -243,7 +243,7 @@ rect 0 60 300 40 2 2 decoration type 1 - visible when((((sin(milliseconds() * 0.005) + 1) * 0.5) > 0.5) && (((sin(milliseconds() * 0.005) + 1) * 0.5) <= 0.75)); + visible when((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.5 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.75); textalign 5 textalignx 38 textaligny 10 @@ -255,7 +255,7 @@ rect 0 60 300 40 2 2 decoration type 1 - visible when(((sin(milliseconds() * 0.005) + 1) * 0.5) > 0.75); + visible when((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.75); textalign 5 textalignx 38 textaligny 10 @@ -283,7 +283,7 @@ rect 6 96 292 20 2 2 style 1 type 1 - visible 1 + visible when(1); textalign 6 textalignx -24 textscale 0.375 @@ -298,12 +298,12 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; + setLocalVarBool ui_popupAButton (1); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); } action { diff --git a/ui_mp/serverinfo_popmenu.menu b/ui_mp/serverinfo_popmenu.menu index 856a4cc..92ae7a5 100644 --- a/ui_mp/serverinfo_popmenu.menu +++ b/ui_mp/serverinfo_popmenu.menu @@ -12,11 +12,11 @@ onOpen { uiScript ServerStatus; - setLocalVarInt ui_centerPopup 1; + setLocalVarInt ui_centerPopup (1); } onClose { - setLocalVarInt ui_centerPopup 0; + setLocalVarInt ui_centerPopup (0); } onESC { @@ -33,6 +33,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 0 0 0 0.35 background "white" } @@ -42,6 +43,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 1 1 1 1 background "xpbar_stencilbase" } @@ -51,6 +53,7 @@ style 1 decoration visible 1 + textscale 0.55 backcolor 0.5 0.5 0.5 1 background "white" } @@ -60,9 +63,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -70,9 +74,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -80,6 +85,7 @@ style 3 decoration visible 1 + textscale 0.55 background "mockup_popup_bg_stencilfill" } itemDef @@ -88,9 +94,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -98,9 +105,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -108,9 +116,10 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 1 1 1 0 background "small_box_lightfx" - exp rect h 24 + (3 * 20); + exp rect h (24 + 3 * 20); } itemDef { @@ -118,6 +127,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tl" } @@ -127,6 +137,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_t" } @@ -136,6 +147,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tr" } @@ -145,6 +157,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_r" } @@ -154,6 +167,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_br" } @@ -163,6 +177,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_b" } @@ -172,6 +187,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_bl" } @@ -181,6 +197,7 @@ style 3 decoration visible 1 + textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_l" } @@ -354,7 +371,8 @@ rect 332 22 176 100 0 0 style 3 visible when(dvarstring(uiSi_MapName) == ""); - exp material "loadscreen_mp_bonusmaps"; + textscale 0.55 + exp material ("loadscreen_mp_bonusmaps"); } itemDef { @@ -388,7 +406,8 @@ rect 332 22 176 100 0 0 style 3 visible when(dvarstring(uiSi_MapName) != ""); - exp material "preview_" + dvarstring(uiSi_MapName); + textscale 0.55 + exp material ("preview_" + dvarstring(uiSi_MapName)); } itemDef { @@ -520,12 +539,12 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; + setLocalVarBool ui_popupAButton (1); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); } mouseEnter { @@ -554,12 +573,12 @@ onFocus { setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; + setLocalVarBool ui_popupAButton (1); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); } mouseEnter { diff --git a/ui_mp/settings_bonus_map.menu b/ui_mp/settings_bonus_map.menu index 30450cb..e17b66a 100644 --- a/ui_mp/settings_bonus_map.menu +++ b/ui_mp/settings_bonus_map.menu @@ -5,6 +5,7 @@ fullscreen 1 rect 0 0 640 480 0 0 style 1 + forecolor 0 0 0 0 focuscolor 1 1 1 1 soundLoop "music_mainmenu_mp" onOpen @@ -12,6 +13,9 @@ focusFirst; setfocusbydvar ui_mapname; } + onClose + { + } onESC { close self; @@ -33,7 +37,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -43,7 +47,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x ((- 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -79,7 +83,7 @@ rect -32 -4 32 32 4 1 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tl" @@ -89,7 +93,7 @@ rect 0 -4 640 32 4 1 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_t" @@ -99,7 +103,7 @@ rect 640 -4 32 32 4 1 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tr" @@ -109,7 +113,7 @@ rect 640 28 32 356 4 1 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_r" @@ -119,7 +123,7 @@ rect 640 384 32 32 4 1 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_br" @@ -129,7 +133,7 @@ rect 0 384 640 32 4 1 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_b" @@ -139,7 +143,7 @@ rect -32 384 32 32 4 1 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_bl" @@ -149,7 +153,7 @@ rect -32 28 32 356 4 1 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_l" @@ -186,9 +190,9 @@ setItemColor self backcolor 0 0 0 1; setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarString ui_info_name PATCH_COMPLEX; - setLocalVarString ui_info_desc PATCH_DESC_MAP_COMPLEX; - setLocalVarString ui_info_icon preview_mp_complex; + setLocalVarString ui_info_name ("PATCH_COMPLEX"); + setLocalVarString ui_info_desc ("PATCH_DESC_MAP_COMPLEX"); + setLocalVarString ui_info_icon ("preview_mp_complex"); } leaveFocus { @@ -199,7 +203,7 @@ action { play mouse_click; - if (!4) + if (!(4)) { exec xshowmarketplace; } @@ -213,7 +217,7 @@ dvarTest "ui_mapname" focusDvar { "mp_complex" } exp text "@" + "PATCH_COMPLEX"; - exp forecolor a 0.45 + (0.55 * 4); + exp forecolor a 0.45 + (0.55 * (4)); } itemDef { @@ -237,9 +241,9 @@ setItemColor self backcolor 0 0 0 1; setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarString ui_info_name MPUI_CRASH; - setLocalVarString ui_info_desc MPUI_DESC_MAP_CRASH; - setLocalVarString ui_info_icon preview_mp_crash; + setLocalVarString ui_info_name ("MPUI_CRASH"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_CRASH"); + setLocalVarString ui_info_icon ("preview_mp_crash"); } leaveFocus { @@ -250,7 +254,7 @@ action { play mouse_click; - if (!4) + if (!(4)) { exec xshowmarketplace; } @@ -264,7 +268,7 @@ dvarTest "ui_mapname" focusDvar { "mp_crash" } exp text "@" + "MPUI_CRASH"; - exp forecolor a 0.45 + (0.55 * 4); + exp forecolor a 0.45 + (0.55 * (4)); } itemDef { @@ -288,9 +292,9 @@ setItemColor self backcolor 0 0 0 1; setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarString ui_info_name MPUI_OVERGROWN; - setLocalVarString ui_info_desc MPUI_DESC_MAP_OVERGROWN; - setLocalVarString ui_info_icon preview_mp_overgrown; + setLocalVarString ui_info_name ("MPUI_OVERGROWN"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_OVERGROWN"); + setLocalVarString ui_info_icon ("preview_mp_overgrown"); } leaveFocus { @@ -301,7 +305,7 @@ action { play mouse_click; - if (!4) + if (!(4)) { exec xshowmarketplace; } @@ -315,7 +319,7 @@ dvarTest "ui_mapname" focusDvar { "mp_overgrown" } exp text "@" + "MPUI_OVERGROWN"; - exp forecolor a 0.45 + (0.55 * 4); + exp forecolor a 0.45 + (0.55 * (4)); } itemDef { @@ -339,9 +343,9 @@ setItemColor self backcolor 0 0 0 1; setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarString ui_info_name PATCH_COMPACT; - setLocalVarString ui_info_desc PATCH_DESC_MAP_COMPACT; - setLocalVarString ui_info_icon preview_mp_compact; + setLocalVarString ui_info_name ("PATCH_COMPACT"); + setLocalVarString ui_info_desc ("PATCH_DESC_MAP_COMPACT"); + setLocalVarString ui_info_icon ("preview_mp_compact"); } leaveFocus { @@ -352,7 +356,7 @@ action { play mouse_click; - if (!4) + if (!(4)) { exec xshowmarketplace; } @@ -366,7 +370,7 @@ dvarTest "ui_mapname" focusDvar { "mp_compact" } exp text "@" + "PATCH_COMPACT"; - exp forecolor a 0.45 + (0.55 * 4); + exp forecolor a 0.45 + (0.55 * (4)); } itemDef { @@ -390,9 +394,9 @@ setItemColor self backcolor 0 0 0 1; setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarString ui_info_name PATCH_STORM; - setLocalVarString ui_info_desc PATCH_DESC_MAP_STORM; - setLocalVarString ui_info_icon preview_mp_storm; + setLocalVarString ui_info_name ("PATCH_STORM"); + setLocalVarString ui_info_desc ("PATCH_DESC_MAP_STORM"); + setLocalVarString ui_info_icon ("preview_mp_storm"); } leaveFocus { @@ -403,7 +407,7 @@ action { play mouse_click; - if (!4) + if (!(4)) { exec xshowmarketplace; } @@ -417,7 +421,7 @@ dvarTest "ui_mapname" focusDvar { "mp_storm" } exp text "@" + "PATCH_STORM"; - exp forecolor a 0.45 + (0.55 * 4); + exp forecolor a 0.45 + (0.55 * (4)); } itemDef { @@ -450,9 +454,9 @@ setItemColor self backcolor 0 0 0 1; setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarString ui_info_name PATCH_ABANDON; - setLocalVarString ui_info_desc PATCH_DESC_MAP_ABANDON; - setLocalVarString ui_info_icon preview_mp_abandon; + setLocalVarString ui_info_name ("PATCH_ABANDON"); + setLocalVarString ui_info_desc ("PATCH_DESC_MAP_ABANDON"); + setLocalVarString ui_info_icon ("preview_mp_abandon"); } leaveFocus { @@ -463,7 +467,7 @@ action { play mouse_click; - if (!8) + if (!(8)) { exec xshowmarketplace; } @@ -477,7 +481,7 @@ dvarTest "ui_mapname" focusDvar { "mp_abandon" } exp text "@" + "PATCH_ABANDON"; - exp forecolor a 0.45 + (0.55 * 8); + exp forecolor a 0.45 + (0.55 * (8)); } itemDef { @@ -501,9 +505,9 @@ setItemColor self backcolor 0 0 0 1; setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarString ui_info_name PATCH_FUEL2; - setLocalVarString ui_info_desc PATCH_DESC_MAP_FUEL2; - setLocalVarString ui_info_icon preview_mp_fuel2; + setLocalVarString ui_info_name ("PATCH_FUEL2"); + setLocalVarString ui_info_desc ("PATCH_DESC_MAP_FUEL2"); + setLocalVarString ui_info_icon ("preview_mp_fuel2"); } leaveFocus { @@ -514,7 +518,7 @@ action { play mouse_click; - if (!8) + if (!(8)) { exec xshowmarketplace; } @@ -528,7 +532,7 @@ dvarTest "ui_mapname" focusDvar { "mp_fuel2" } exp text "@" + "PATCH_FUEL2"; - exp forecolor a 0.45 + (0.55 * 8); + exp forecolor a 0.45 + (0.55 * (8)); } itemDef { @@ -552,9 +556,9 @@ setItemColor self backcolor 0 0 0 1; setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarString ui_info_name PATCH_STRIKE; - setLocalVarString ui_info_desc MPUI_DESC_MAP_STRIKE; - setLocalVarString ui_info_icon preview_mp_strike; + setLocalVarString ui_info_name ("PATCH_STRIKE"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_STRIKE"); + setLocalVarString ui_info_icon ("preview_mp_strike"); } leaveFocus { @@ -565,7 +569,7 @@ action { play mouse_click; - if (!8) + if (!(8)) { exec xshowmarketplace; } @@ -579,7 +583,7 @@ dvarTest "ui_mapname" focusDvar { "mp_strike" } exp text "@" + "PATCH_STRIKE"; - exp forecolor a 0.45 + (0.55 * 8); + exp forecolor a 0.45 + (0.55 * (8)); } itemDef { @@ -603,9 +607,9 @@ setItemColor self backcolor 0 0 0 1; setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarString ui_info_name PATCH_TRAILERPARK; - setLocalVarString ui_info_desc PATCH_DESC_MAP_TRAILERPARK; - setLocalVarString ui_info_icon preview_mp_trailerpark; + setLocalVarString ui_info_name ("PATCH_TRAILERPARK"); + setLocalVarString ui_info_desc ("PATCH_DESC_MAP_TRAILERPARK"); + setLocalVarString ui_info_icon ("preview_mp_trailerpark"); } leaveFocus { @@ -616,7 +620,7 @@ action { play mouse_click; - if (!8) + if (!(8)) { exec xshowmarketplace; } @@ -630,7 +634,7 @@ dvarTest "ui_mapname" focusDvar { "mp_trailerpark" } exp text "@" + "PATCH_TRAILERPARK"; - exp forecolor a 0.45 + (0.55 * 8); + exp forecolor a 0.45 + (0.55 * (8)); } itemDef { @@ -654,9 +658,9 @@ setItemColor self backcolor 0 0 0 1; setLocalVarBool ui_menuAButton 1; setLocalVarFloat ui_popupYPos getfocuseditemy(); - setLocalVarString ui_info_name PATCH_VACANT; - setLocalVarString ui_info_desc PATCH_DESC_MAP_VACANT; - setLocalVarString ui_info_icon preview_mp_vacant; + setLocalVarString ui_info_name ("PATCH_VACANT"); + setLocalVarString ui_info_desc ("PATCH_DESC_MAP_VACANT"); + setLocalVarString ui_info_icon ("preview_mp_vacant"); } leaveFocus { @@ -667,7 +671,7 @@ action { play mouse_click; - if (!8) + if (!(8)) { exec xshowmarketplace; } @@ -681,7 +685,7 @@ dvarTest "ui_mapname" focusDvar { "mp_vacant" } exp text "@" + "PATCH_VACANT"; - exp forecolor a 0.45 + (0.55 * 8); + exp forecolor a 0.45 + (0.55 * (8)); } itemDef { diff --git a/ui_mp/settings_gametype.menu b/ui_mp/settings_gametype.menu index b8dcc0a..b93b108 100644 --- a/ui_mp/settings_gametype.menu +++ b/ui_mp/settings_gametype.menu @@ -14,7 +14,7 @@ { focusfirst; setfocusbydvar ui_gametype; - setLocalVarBool ui_more_gametypes 0; + setLocalVarBool ui_more_gametypes (0); } onClose { @@ -42,7 +42,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -53,7 +53,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x ((- 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -194,7 +194,7 @@ { play mouse_over; setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; + setLocalVarBool ui_menuAButton (1); setLocalVarString ui_info_name "@" + tablelookup("mp/gameTypesTable.csv", 0, "dm", 1); setLocalVarString ui_info_desc "@" + tablelookup("mp/gameTypesTable.csv", 0, "dm", 2); setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "dm", 3); @@ -202,9 +202,9 @@ leaveFocus { setItemColor self backcolor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; - setLocalVarString ui_info_name "@NULL_EMPTY"; - setLocalVarString ui_info_desc "@NULL_EMPTY"; + setLocalVarBool ui_menuAButton (0); + setLocalVarString ui_info_name ("@NULL_EMPTY"); + setLocalVarString ui_info_desc ("@NULL_EMPTY"); setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "dm", 3); } action @@ -217,7 +217,7 @@ execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg"; close self; } - exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "dm", 1)) + "_CAPS"; + exp text "@" + tablelookup("mp/gameTypesTable.csv", 0, "dm", 1) + "_CAPS"; } itemDef { @@ -235,7 +235,7 @@ { play mouse_over; setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; + setLocalVarBool ui_menuAButton (1); setLocalVarString ui_info_name "@" + tablelookup("mp/gameTypesTable.csv", 0, "war", 1); setLocalVarString ui_info_desc "@" + tablelookup("mp/gameTypesTable.csv", 0, "war", 2); setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "war", 3); @@ -243,9 +243,9 @@ leaveFocus { setItemColor self backcolor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; - setLocalVarString ui_info_name "@NULL_EMPTY"; - setLocalVarString ui_info_desc "@NULL_EMPTY"; + setLocalVarBool ui_menuAButton (0); + setLocalVarString ui_info_name ("@NULL_EMPTY"); + setLocalVarString ui_info_desc ("@NULL_EMPTY"); setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "war", 3); } action @@ -258,7 +258,7 @@ execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg"; close self; } - exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "war", 1)) + "_CAPS"; + exp text "@" + tablelookup("mp/gameTypesTable.csv", 0, "war", 1) + "_CAPS"; } itemDef { @@ -276,7 +276,7 @@ { play mouse_over; setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; + setLocalVarBool ui_menuAButton (1); setLocalVarString ui_info_name "@" + tablelookup("mp/gameTypesTable.csv", 0, "sd", 1); setLocalVarString ui_info_desc "@" + tablelookup("mp/gameTypesTable.csv", 0, "sd", 2); setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "sd", 3); @@ -284,9 +284,9 @@ leaveFocus { setItemColor self backcolor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; - setLocalVarString ui_info_name "@NULL_EMPTY"; - setLocalVarString ui_info_desc "@NULL_EMPTY"; + setLocalVarBool ui_menuAButton (0); + setLocalVarString ui_info_name ("@NULL_EMPTY"); + setLocalVarString ui_info_desc ("@NULL_EMPTY"); setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "sd", 3); } action @@ -299,7 +299,7 @@ execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg"; close self; } - exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "sd", 1)) + "_CAPS"; + exp text "@" + tablelookup("mp/gameTypesTable.csv", 0, "sd", 1) + "_CAPS"; } itemDef { @@ -317,7 +317,7 @@ { play mouse_over; setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; + setLocalVarBool ui_menuAButton (1); setLocalVarString ui_info_name "@" + tablelookup("mp/gameTypesTable.csv", 0, "sab", 1); setLocalVarString ui_info_desc "@" + tablelookup("mp/gameTypesTable.csv", 0, "sab", 2); setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "sab", 3); @@ -325,9 +325,9 @@ leaveFocus { setItemColor self backcolor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; - setLocalVarString ui_info_name "@NULL_EMPTY"; - setLocalVarString ui_info_desc "@NULL_EMPTY"; + setLocalVarBool ui_menuAButton (0); + setLocalVarString ui_info_name ("@NULL_EMPTY"); + setLocalVarString ui_info_desc ("@NULL_EMPTY"); setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "sab", 3); } action @@ -340,7 +340,7 @@ execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg"; close self; } - exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "sab", 1)) + "_CAPS"; + exp text "@" + tablelookup("mp/gameTypesTable.csv", 0, "sab", 1) + "_CAPS"; } itemDef { @@ -358,7 +358,7 @@ { play mouse_over; setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; + setLocalVarBool ui_menuAButton (1); setLocalVarString ui_info_name "@" + tablelookup("mp/gameTypesTable.csv", 0, "dom", 1); setLocalVarString ui_info_desc "@" + tablelookup("mp/gameTypesTable.csv", 0, "dom", 2); setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "dom", 3); @@ -366,9 +366,9 @@ leaveFocus { setItemColor self backcolor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; - setLocalVarString ui_info_name "@NULL_EMPTY"; - setLocalVarString ui_info_desc "@NULL_EMPTY"; + setLocalVarBool ui_menuAButton (0); + setLocalVarString ui_info_name ("@NULL_EMPTY"); + setLocalVarString ui_info_desc ("@NULL_EMPTY"); setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "dom", 3); } action @@ -381,7 +381,7 @@ execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg"; close self; } - exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "dom", 1)) + "_CAPS"; + exp text "@" + tablelookup("mp/gameTypesTable.csv", 0, "dom", 1) + "_CAPS"; } itemDef { @@ -399,7 +399,7 @@ { play mouse_over; setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; + setLocalVarBool ui_menuAButton (1); setLocalVarString ui_info_name "@" + tablelookup("mp/gameTypesTable.csv", 0, "koth", 1); setLocalVarString ui_info_desc "@" + tablelookup("mp/gameTypesTable.csv", 0, "koth", 2); setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "koth", 3); @@ -407,9 +407,9 @@ leaveFocus { setItemColor self backcolor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; - setLocalVarString ui_info_name "@NULL_EMPTY"; - setLocalVarString ui_info_desc "@NULL_EMPTY"; + setLocalVarBool ui_menuAButton (0); + setLocalVarString ui_info_name ("@NULL_EMPTY"); + setLocalVarString ui_info_desc ("@NULL_EMPTY"); setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "koth", 3); } action @@ -422,7 +422,7 @@ execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg"; close self; } - exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "koth", 1)) + "_CAPS"; + exp text "@" + tablelookup("mp/gameTypesTable.csv", 0, "koth", 1) + "_CAPS"; } itemDef { @@ -440,7 +440,7 @@ { play mouse_over; setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; + setLocalVarBool ui_menuAButton (1); setLocalVarString ui_info_name "@" + tablelookup("mp/gameTypesTable.csv", 0, "ctf", 1); setLocalVarString ui_info_desc "@" + tablelookup("mp/gameTypesTable.csv", 0, "ctf", 2); setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "ctf", 3); @@ -448,9 +448,9 @@ leaveFocus { setItemColor self backcolor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; - setLocalVarString ui_info_name "@NULL_EMPTY"; - setLocalVarString ui_info_desc "@NULL_EMPTY"; + setLocalVarBool ui_menuAButton (0); + setLocalVarString ui_info_name ("@NULL_EMPTY"); + setLocalVarString ui_info_desc ("@NULL_EMPTY"); setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "ctf", 3); } action @@ -463,7 +463,7 @@ execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg"; close self; } - exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "ctf", 1)) + "_CAPS"; + exp text "@" + tablelookup("mp/gameTypesTable.csv", 0, "ctf", 1) + "_CAPS"; } itemDef { @@ -481,7 +481,7 @@ { play mouse_over; setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; + setLocalVarBool ui_menuAButton (1); setLocalVarString ui_info_name "@" + tablelookup("mp/gameTypesTable.csv", 0, "dd", 1); setLocalVarString ui_info_desc "@" + tablelookup("mp/gameTypesTable.csv", 0, "dd", 2); setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "dd", 3); @@ -489,9 +489,9 @@ leaveFocus { setItemColor self backcolor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; - setLocalVarString ui_info_name "@NULL_EMPTY"; - setLocalVarString ui_info_desc "@NULL_EMPTY"; + setLocalVarBool ui_menuAButton (0); + setLocalVarString ui_info_name ("@NULL_EMPTY"); + setLocalVarString ui_info_desc ("@NULL_EMPTY"); setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "dd", 3); } action @@ -504,7 +504,7 @@ execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg"; close self; } - exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "dd", 1)) + "_CAPS"; + exp text "@" + tablelookup("mp/gameTypesTable.csv", 0, "dd", 1) + "_CAPS"; } itemDef { @@ -522,7 +522,7 @@ { play mouse_over; setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; + setLocalVarBool ui_menuAButton (1); setLocalVarString ui_info_name "@" + tablelookup("mp/gameTypesTable.csv", 0, "vip", 1); setLocalVarString ui_info_desc "@" + tablelookup("mp/gameTypesTable.csv", 0, "vip", 2); setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "vip", 3); @@ -530,9 +530,9 @@ leaveFocus { setItemColor self backcolor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; - setLocalVarString ui_info_name "@NULL_EMPTY"; - setLocalVarString ui_info_desc "@NULL_EMPTY"; + setLocalVarBool ui_menuAButton (0); + setLocalVarString ui_info_name ("@NULL_EMPTY"); + setLocalVarString ui_info_desc ("@NULL_EMPTY"); setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "vip", 3); } action @@ -545,7 +545,7 @@ execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg"; close self; } - exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "vip", 1)) + "_CAPS"; + exp text "@" + tablelookup("mp/gameTypesTable.csv", 0, "vip", 1) + "_CAPS"; } itemDef { @@ -563,7 +563,7 @@ { play mouse_over; setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; + setLocalVarBool ui_menuAButton (1); setLocalVarString ui_info_name "@" + tablelookup("mp/gameTypesTable.csv", 0, "gtnw", 1); setLocalVarString ui_info_desc "@" + tablelookup("mp/gameTypesTable.csv", 0, "gtnw", 2); setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "gtnw", 3); @@ -571,9 +571,9 @@ leaveFocus { setItemColor self backcolor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; - setLocalVarString ui_info_name "@NULL_EMPTY"; - setLocalVarString ui_info_desc "@NULL_EMPTY"; + setLocalVarBool ui_menuAButton (0); + setLocalVarString ui_info_name ("@NULL_EMPTY"); + setLocalVarString ui_info_desc ("@NULL_EMPTY"); setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "gtnw", 3); } action @@ -586,7 +586,7 @@ execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg"; close self; } - exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "gtnw", 1)) + "_CAPS"; + exp text "@" + tablelookup("mp/gameTypesTable.csv", 0, "gtnw", 1) + "_CAPS"; } itemDef { @@ -604,7 +604,7 @@ { play mouse_over; setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; + setLocalVarBool ui_menuAButton (1); setLocalVarString ui_info_name "@" + tablelookup("mp/gameTypesTable.csv", 0, "oneflag", 1); setLocalVarString ui_info_desc "@" + tablelookup("mp/gameTypesTable.csv", 0, "oneflag", 2); setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "oneflag", 3); @@ -612,9 +612,9 @@ leaveFocus { setItemColor self backcolor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; - setLocalVarString ui_info_name "@NULL_EMPTY"; - setLocalVarString ui_info_desc "@NULL_EMPTY"; + setLocalVarBool ui_menuAButton (0); + setLocalVarString ui_info_name ("@NULL_EMPTY"); + setLocalVarString ui_info_desc ("@NULL_EMPTY"); setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "oneflag", 3); } action @@ -627,7 +627,7 @@ execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg"; close self; } - exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "oneflag", 1)) + "_CAPS"; + exp text "@" + tablelookup("mp/gameTypesTable.csv", 0, "oneflag", 1) + "_CAPS"; } itemDef { @@ -645,7 +645,7 @@ { play mouse_over; setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; + setLocalVarBool ui_menuAButton (1); setLocalVarString ui_info_name "@" + tablelookup("mp/gameTypesTable.csv", 0, "arena", 1); setLocalVarString ui_info_desc "@" + tablelookup("mp/gameTypesTable.csv", 0, "arena", 2); setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "arena", 3); @@ -653,9 +653,9 @@ leaveFocus { setItemColor self backcolor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; - setLocalVarString ui_info_name "@NULL_EMPTY"; - setLocalVarString ui_info_desc "@NULL_EMPTY"; + setLocalVarBool ui_menuAButton (0); + setLocalVarString ui_info_name ("@NULL_EMPTY"); + setLocalVarString ui_info_desc ("@NULL_EMPTY"); setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "arena", 3); } action @@ -668,13 +668,13 @@ execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg"; close self; } - exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "arena", 1)) + "_CAPS"; + exp text "@" + tablelookup("mp/gameTypesTable.csv", 0, "arena", 1) + "_CAPS"; } itemDef { text "@PLATFORM_BACK_CAPS" group "mw2_button" - rect 0 0 336 20 1 3 + rect -64 -20 336 20 1 3 style 1 type 1 visible 1 @@ -691,7 +691,7 @@ } leaveFocus { - setItemColor self backcolor 0 0 0 0; + setItemColor self backcolor 0 0 0 "0.0"; setLocalVarBool ui_menuAButton 1; } action diff --git a/ui_mp/settings_map.menu b/ui_mp/settings_map.menu index ba5ff23..7dbd6a3 100644 --- a/ui_mp/settings_map.menu +++ b/ui_mp/settings_map.menu @@ -37,7 +37,7 @@ rect 0 0 640 480 4 4 style 3 decoration - visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); + visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } @@ -50,7 +50,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -61,7 +61,7 @@ textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" - exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -215,7 +215,7 @@ rect -64 -20 336 20 1 3 style 1 type 1 - visible 1 + visible when(1); textalign 6 textalignx -60 textscale 0.375 @@ -226,13 +226,13 @@ { play mouse_over; setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; + setLocalVarBool ui_menuAButton (1); } leaveFocus { setItemColor self backcolor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -247,6 +247,7 @@ style 3 decoration visible when(getfocuseditemname() == "dlc_list_1"); + textscale 0.55 forecolor 0 0 0 1 background "menu_button_selection_bar" } @@ -266,17 +267,17 @@ disablecolor 1 1 1 0.5 onFocus { - setLocalVarString ui_info_name MP_ORIGINAL_MAPS; - setLocalVarString ui_info_desc NULL_EMPTY; - setLocalVarString ui_info_icon loadscreen_mp_bonusmaps; + setLocalVarString ui_info_name ("MP_ORIGINAL_MAPS"); + setLocalVarString ui_info_desc ("NULL_EMPTY"); + setLocalVarString ui_info_icon ("loadscreen_mp_bonusmaps"); play mouse_over; - setLocalVarInt ui_menuAButton 0; - setLocalVarString ui_choicegroup settings_map; + setLocalVarInt ui_menuAButton (0); + setLocalVarString ui_choicegroup ("settings_map"); } leaveFocus { setItemColor dlc_list_1 backcolor 0 0 0 0; - setLocalVarInt ui_menuAButton 0; + setLocalVarInt ui_menuAButton (0); } action { @@ -291,6 +292,7 @@ style 3 decoration visible when(getfocuseditemname() == "dlc_list_2"); + textscale 0.55 forecolor 0 0 0 1 background "menu_button_selection_bar" } @@ -310,17 +312,17 @@ disablecolor 1 1 1 0.5 onFocus { - setLocalVarString ui_info_name PATCH_DLC1; - setLocalVarString ui_info_desc PATCH_DESC_DLC1; - setLocalVarString ui_info_icon preview_stimulus_dlc; + setLocalVarString ui_info_name ("PATCH_DLC1"); + setLocalVarString ui_info_desc ("PATCH_DESC_DLC1"); + setLocalVarString ui_info_icon ("preview_stimulus_dlc"); play mouse_over; - setLocalVarInt ui_menuAButton 1; - setLocalVarString ui_choicegroup settings_map; + setLocalVarInt ui_menuAButton (1); + setLocalVarString ui_choicegroup ("settings_map"); } leaveFocus { 1 setItemColor dlc_list_2 backcolor 0 0 0 0; - setLocalVarInt ui_menuAButton 0; + setLocalVarInt ui_menuAButton (0); } action { @@ -335,6 +337,7 @@ style 3 decoration visible when(getfocuseditemname() == "dlc_list_3"); + textscale 0.55 forecolor 0 0 0 1 background "menu_button_selection_bar" } @@ -354,17 +357,17 @@ disablecolor 1 1 1 0.5 onFocus { - setLocalVarString ui_info_name PATCH_DLC2; - setLocalVarString ui_info_desc PATCH_DESC_DLC2; - setLocalVarString ui_info_icon preview_resurgence_dlc; + setLocalVarString ui_info_name ("PATCH_DLC2"); + setLocalVarString ui_info_desc ("PATCH_DESC_DLC2"); + setLocalVarString ui_info_icon ("preview_resurgence_dlc"); play mouse_over; - setLocalVarInt ui_menuAButton 2; - setLocalVarString ui_choicegroup settings_map; + setLocalVarInt ui_menuAButton (2); + setLocalVarString ui_choicegroup ("settings_map"); } leaveFocus { 1 setItemColor dlc_list_3 backcolor 0 0 0 0; - setLocalVarInt ui_menuAButton 0; + setLocalVarInt ui_menuAButton (0); } action { @@ -379,6 +382,7 @@ style 3 decoration visible when(getfocuseditemname() == "dlc_list_4"); + textscale 0.55 forecolor 0 0 0 1 background "menu_button_selection_bar" } @@ -398,17 +402,17 @@ disablecolor 1 1 1 0.5 onFocus { - setLocalVarString ui_info_name PATCH_IW4X_DLC; - setLocalVarString ui_info_desc PATCH_DESC_IW4X_DLC; - setLocalVarString ui_info_icon preview_codo_dlc; + setLocalVarString ui_info_name ("PATCH_IW4X_DLC"); + setLocalVarString ui_info_desc ("PATCH_DESC_IW4X_DLC"); + setLocalVarString ui_info_icon ("preview_codo_dlc"); play mouse_over; - setLocalVarInt ui_menuAButton 3; - setLocalVarString ui_choicegroup settings_map; + setLocalVarInt ui_menuAButton (3); + setLocalVarString ui_choicegroup ("settings_map"); } leaveFocus { 1 setItemColor dlc_list_4 backcolor 0 0 0 0; - setLocalVarInt ui_menuAButton 0; + setLocalVarInt ui_menuAButton (0); } action { @@ -423,6 +427,7 @@ style 3 decoration visible when(getfocuseditemname() == "dlc_list_5"); + textscale 0.55 forecolor 0 0 0 1 background "menu_button_selection_bar" } @@ -442,17 +447,17 @@ disablecolor 1 1 1 0.5 onFocus { - setLocalVarString ui_info_name PATCH_COD4_DLC; - setLocalVarString ui_info_desc PATCH_DESC_COD4_DLC; - setLocalVarString ui_info_icon preview_cod4_dlc; + setLocalVarString ui_info_name ("PATCH_COD4_DLC"); + setLocalVarString ui_info_desc ("PATCH_DESC_COD4_DLC"); + setLocalVarString ui_info_icon ("preview_cod4_dlc"); play mouse_over; - setLocalVarInt ui_menuAButton 4; - setLocalVarString ui_choicegroup settings_map; + setLocalVarInt ui_menuAButton (4); + setLocalVarString ui_choicegroup ("settings_map"); } leaveFocus { 1 setItemColor dlc_list_5 backcolor 0 0 0 0; - setLocalVarInt ui_menuAButton 0; + setLocalVarInt ui_menuAButton (0); } action { @@ -467,6 +472,7 @@ style 3 decoration visible when(getfocuseditemname() == "dlc_list_6"); + textscale 0.55 forecolor 0 0 0 1 background "menu_button_selection_bar" } @@ -486,17 +492,17 @@ disablecolor 1 1 1 0.5 onFocus { - setLocalVarString ui_info_name PATCH_MW3_DLC; - setLocalVarString ui_info_desc PATCH_DESC_MW3_DLC; - setLocalVarString ui_info_icon preview_mw3_dlc; + setLocalVarString ui_info_name ("PATCH_MW3_DLC"); + setLocalVarString ui_info_desc ("PATCH_DESC_MW3_DLC"); + setLocalVarString ui_info_icon ("preview_mw3_dlc"); play mouse_over; - setLocalVarInt ui_menuAButton 5; - setLocalVarString ui_choicegroup settings_map; + setLocalVarInt ui_menuAButton (5); + setLocalVarString ui_choicegroup ("settings_map"); } leaveFocus { 1 setItemColor dlc_list_6 backcolor 0 0 0 0; - setLocalVarInt ui_menuAButton 0; + setLocalVarInt ui_menuAButton (0); } action { @@ -511,6 +517,7 @@ style 3 decoration visible when(getfocuseditemname() == "dlc_list_custom"); + textscale 0.55 forecolor 0 0 0 1 background "menu_button_selection_bar" } @@ -530,17 +537,17 @@ disablecolor 1 1 1 0.5 onFocus { - setLocalVarString ui_info_name CUSTOM_MAPS_DLC; - setLocalVarString ui_info_desc DESC_CUSTOM_MAPS_DLC; - setLocalVarString ui_info_icon preview_custom_maps; + setLocalVarString ui_info_name ("CUSTOM_MAPS_DLC"); + setLocalVarString ui_info_desc ("DESC_CUSTOM_MAPS_DLC"); + setLocalVarString ui_info_icon ("preview_custom_maps"); play mouse_over; - setLocalVarInt ui_menuAButton 6; - setLocalVarString ui_choicegroup settings_map; + setLocalVarInt ui_menuAButton (6); + setLocalVarString ui_choicegroup ("settings_map"); } leaveFocus { 1 setItemColor dlc_list_custom backcolor 0 0 0 0; - setLocalVarInt ui_menuAButton 0; + setLocalVarInt ui_menuAButton (0); } action { @@ -566,16 +573,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_AFGHAN; - setLocalVarString ui_info_desc MPUI_DESC_MAP_AFGHAN; - setLocalVarString ui_info_icon preview_mp_afghan; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_AFGHAN"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_AFGHAN"); + setLocalVarString ui_info_icon ("preview_mp_afghan"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -603,16 +610,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_DERAIL; - setLocalVarString ui_info_desc MPUI_DESC_MAP_DERAIL; - setLocalVarString ui_info_icon preview_mp_derail; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_DERAIL"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_DERAIL"); + setLocalVarString ui_info_icon ("preview_mp_derail"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -640,16 +647,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_ESTATE; - setLocalVarString ui_info_desc MPUI_DESC_MAP_ESTATE; - setLocalVarString ui_info_icon preview_mp_estate; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_ESTATE"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_ESTATE"); + setLocalVarString ui_info_icon ("preview_mp_estate"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -677,16 +684,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_FAVELA; - setLocalVarString ui_info_desc MPUI_DESC_MAP_FAVELA; - setLocalVarString ui_info_icon preview_mp_favela; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_FAVELA"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_FAVELA"); + setLocalVarString ui_info_icon ("preview_mp_favela"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -714,16 +721,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_HIGHRISE; - setLocalVarString ui_info_desc MPUI_DESC_MAP_HIGHRISE; - setLocalVarString ui_info_icon preview_mp_highrise; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_HIGHRISE"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_HIGHRISE"); + setLocalVarString ui_info_icon ("preview_mp_highrise"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -751,16 +758,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_INVASION; - setLocalVarString ui_info_desc MPUI_DESC_MAP_INVASION; - setLocalVarString ui_info_icon preview_mp_invasion; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_INVASION"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_INVASION"); + setLocalVarString ui_info_icon ("preview_mp_invasion"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -788,16 +795,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_CHECKPOINT; - setLocalVarString ui_info_desc MPUI_DESC_MAP_CHECKPOINT; - setLocalVarString ui_info_icon preview_mp_checkpoint; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_CHECKPOINT"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_CHECKPOINT"); + setLocalVarString ui_info_icon ("preview_mp_checkpoint"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -825,16 +832,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_QUARRY; - setLocalVarString ui_info_desc MPUI_DESC_MAP_QUARRY; - setLocalVarString ui_info_icon preview_mp_quarry; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_QUARRY"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_QUARRY"); + setLocalVarString ui_info_icon ("preview_mp_quarry"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -862,16 +869,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_RUNDOWN; - setLocalVarString ui_info_desc MPUI_DESC_MAP_RUNDOWN; - setLocalVarString ui_info_icon preview_mp_rundown; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_RUNDOWN"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_RUNDOWN"); + setLocalVarString ui_info_icon ("preview_mp_rundown"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -899,16 +906,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_RUST; - setLocalVarString ui_info_desc MPUI_DESC_MAP_RUST; - setLocalVarString ui_info_icon preview_mp_rust; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_RUST"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_RUST"); + setLocalVarString ui_info_icon ("preview_mp_rust"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -936,16 +943,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_BONEYARD; - setLocalVarString ui_info_desc MPUI_DESC_MAP_BONEYARD; - setLocalVarString ui_info_icon preview_mp_boneyard; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_BONEYARD"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_BONEYARD"); + setLocalVarString ui_info_icon ("preview_mp_boneyard"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -973,16 +980,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_RAID; - setLocalVarString ui_info_desc MPUI_DESC_MAP_NIGHTSHIFT; - setLocalVarString ui_info_icon preview_mp_nightshift; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_RAID"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_NIGHTSHIFT"); + setLocalVarString ui_info_icon ("preview_mp_nightshift"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -1010,16 +1017,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_SUBBASE; - setLocalVarString ui_info_desc MPUI_DESC_MAP_SUBBASE; - setLocalVarString ui_info_icon preview_mp_subbase; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_SUBBASE"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_SUBBASE"); + setLocalVarString ui_info_icon ("preview_mp_subbase"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -1047,16 +1054,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_TERMINAL; - setLocalVarString ui_info_desc MPUI_DESC_MAP_TERMINAL; - setLocalVarString ui_info_icon preview_mp_terminal; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_TERMINAL"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_TERMINAL"); + setLocalVarString ui_info_icon ("preview_mp_terminal"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -1084,16 +1091,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_UNDERPASS; - setLocalVarString ui_info_desc MPUI_DESC_MAP_UNDERPASS; - setLocalVarString ui_info_icon preview_mp_underpass; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_UNDERPASS"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_UNDERPASS"); + setLocalVarString ui_info_icon ("preview_mp_underpass"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -1121,16 +1128,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_WASTELAND; - setLocalVarString ui_info_desc MPUI_DESC_MAP_BRECOURT; - setLocalVarString ui_info_icon preview_mp_brecourt; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_WASTELAND"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_BRECOURT"); + setLocalVarString ui_info_icon ("preview_mp_brecourt"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -1158,16 +1165,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name PATCH_COMPLEX; - setLocalVarString ui_info_desc PATCH_DESC_MAP_COMPLEX; - setLocalVarString ui_info_icon preview_mp_complex; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("PATCH_COMPLEX"); + setLocalVarString ui_info_desc ("PATCH_DESC_MAP_COMPLEX"); + setLocalVarString ui_info_icon ("preview_mp_complex"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -1195,16 +1202,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_CRASH; - setLocalVarString ui_info_desc MPUI_DESC_MAP_CRASH; - setLocalVarString ui_info_icon preview_mp_crash; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_CRASH"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_CRASH"); + setLocalVarString ui_info_icon ("preview_mp_crash"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -1232,16 +1239,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_OVERGROWN; - setLocalVarString ui_info_desc MPUI_DESC_MAP_OVERGROWN; - setLocalVarString ui_info_icon preview_mp_overgrown; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_OVERGROWN"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_OVERGROWN"); + setLocalVarString ui_info_icon ("preview_mp_overgrown"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -1269,16 +1276,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name PATCH_COMPACT; - setLocalVarString ui_info_desc PATCH_DESC_MAP_COMPACT; - setLocalVarString ui_info_icon preview_mp_compact; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("PATCH_COMPACT"); + setLocalVarString ui_info_desc ("PATCH_DESC_MAP_COMPACT"); + setLocalVarString ui_info_icon ("preview_mp_compact"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -1306,16 +1313,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name PATCH_STORM; - setLocalVarString ui_info_desc PATCH_DESC_MAP_STORM; - setLocalVarString ui_info_icon preview_mp_storm; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("PATCH_STORM"); + setLocalVarString ui_info_desc ("PATCH_DESC_MAP_STORM"); + setLocalVarString ui_info_icon ("preview_mp_storm"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -1343,16 +1350,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name PATCH_ABANDON; - setLocalVarString ui_info_desc PATCH_DESC_MAP_ABANDON; - setLocalVarString ui_info_icon preview_mp_abandon; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("PATCH_ABANDON"); + setLocalVarString ui_info_desc ("PATCH_DESC_MAP_ABANDON"); + setLocalVarString ui_info_icon ("preview_mp_abandon"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -1380,16 +1387,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name PATCH_FUEL2; - setLocalVarString ui_info_desc PATCH_DESC_MAP_FUEL2; - setLocalVarString ui_info_icon preview_mp_fuel2; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("PATCH_FUEL2"); + setLocalVarString ui_info_desc ("PATCH_DESC_MAP_FUEL2"); + setLocalVarString ui_info_icon ("preview_mp_fuel2"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -1417,16 +1424,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name PATCH_STRIKE; - setLocalVarString ui_info_desc MPUI_DESC_MAP_STRIKE; - setLocalVarString ui_info_icon preview_mp_strike; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("PATCH_STRIKE"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_STRIKE"); + setLocalVarString ui_info_icon ("preview_mp_strike"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -1454,16 +1461,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name PATCH_TRAILERPARK; - setLocalVarString ui_info_desc PATCH_DESC_MAP_TRAILERPARK; - setLocalVarString ui_info_icon preview_mp_trailerpark; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("PATCH_TRAILERPARK"); + setLocalVarString ui_info_desc ("PATCH_DESC_MAP_TRAILERPARK"); + setLocalVarString ui_info_icon ("preview_mp_trailerpark"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -1491,16 +1498,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name PATCH_VACANT; - setLocalVarString ui_info_desc MPUI_DESC_MAP_VACANT; - setLocalVarString ui_info_icon preview_mp_vacant; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("PATCH_VACANT"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_VACANT"); + setLocalVarString ui_info_icon ("preview_mp_vacant"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -1528,16 +1535,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_NUKED; - setLocalVarString ui_info_desc MPUI_DESC_MAP_NUKED; - setLocalVarString ui_info_icon preview_mp_nuked; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_NUKED"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_NUKED"); + setLocalVarString ui_info_icon ("preview_mp_nuked"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -1565,16 +1572,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_CROSSFIRE; - setLocalVarString ui_info_desc MPUI_DESC_MAP_CROSSFIRE; - setLocalVarString ui_info_icon preview_mp_cross_fire; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_CROSSFIRE"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_CROSSFIRE"); + setLocalVarString ui_info_icon ("preview_mp_cross_fire"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -1602,16 +1609,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_CARGOSHIP; - setLocalVarString ui_info_desc MPUI_DESC_MAP_CARGOSHIP; - setLocalVarString ui_info_icon preview_mp_cargoship; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_CARGOSHIP"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_CARGOSHIP"); + setLocalVarString ui_info_icon ("preview_mp_cargoship"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -1639,16 +1646,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_BLOC_SH; - setLocalVarString ui_info_desc MPUI_DESC_MAP_BLOC_SH; - setLocalVarString ui_info_icon preview_mp_bloc_sh; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_BLOC_SH"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_BLOC_SH"); + setLocalVarString ui_info_icon ("preview_mp_bloc_sh"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -1676,16 +1683,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_KILLHOUSE; - setLocalVarString ui_info_desc MPUI_DESC_MAP_KILLHOUSE; - setLocalVarString ui_info_icon preview_mp_killhouse; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_KILLHOUSE"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_KILLHOUSE"); + setLocalVarString ui_info_icon ("preview_mp_killhouse"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -1713,16 +1720,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_BOG_SH; - setLocalVarString ui_info_desc MPUI_DESC_MAP_BOG; - setLocalVarString ui_info_icon preview_mp_bog_sh; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_BOG_SH"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_BOG"); + setLocalVarString ui_info_icon ("preview_mp_bog_sh"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -1750,16 +1757,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_CARGOSHIP_SH; - setLocalVarString ui_info_desc MPUI_DESC_MAP_CARGOSHIP_SH; - setLocalVarString ui_info_icon preview_mp_cargoship_sh; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_CARGOSHIP_SH"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_CARGOSHIP_SH"); + setLocalVarString ui_info_icon ("preview_mp_cargoship_sh"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -1787,16 +1794,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_SHIPMENT; - setLocalVarString ui_info_desc MPUI_DESC_MAP_SHIPMENT; - setLocalVarString ui_info_icon preview_mp_shipment; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_SHIPMENT"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_SHIPMENT"); + setLocalVarString ui_info_icon ("preview_mp_shipment"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -1824,16 +1831,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_SHIPMENT_LONG; - setLocalVarString ui_info_desc MPUI_DESC_MAP_SHIPMENT_LONG; - setLocalVarString ui_info_icon preview_mp_shipment_long; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_SHIPMENT_LONG"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_SHIPMENT_LONG"); + setLocalVarString ui_info_icon ("preview_mp_shipment_long"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -1861,16 +1868,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_RUST_LONG; - setLocalVarString ui_info_desc MPUI_DESC_MAP_RUST_LONG; - setLocalVarString ui_info_icon preview_mp_rust_long; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_RUST_LONG"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_RUST_LONG"); + setLocalVarString ui_info_icon ("preview_mp_rust_long"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -1898,16 +1905,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_FIRINGRANGE; - setLocalVarString ui_info_desc MPUI_DESC_MAP_FIRINGRANGE; - setLocalVarString ui_info_icon preview_mp_firingrange; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_FIRINGRANGE"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_FIRINGRANGE"); + setLocalVarString ui_info_icon ("preview_mp_firingrange"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -1935,16 +1942,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_BLOC; - setLocalVarString ui_info_desc MPUI_DESC_MAP_BLOC; - setLocalVarString ui_info_icon preview_mp_bloc; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_BLOC"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_BLOC"); + setLocalVarString ui_info_icon ("preview_mp_bloc"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -1972,16 +1979,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_CRASH_TROPICAL; - setLocalVarString ui_info_desc MPUI_DESC_MAP_CRASH_TROPICAL; - setLocalVarString ui_info_icon preview_mp_crash_tropical; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_CRASH_TROPICAL"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_CRASH_TROPICAL"); + setLocalVarString ui_info_icon ("preview_mp_crash_tropical"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -2009,16 +2016,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_ESTATE_TROPICAL; - setLocalVarString ui_info_desc MPUI_DESC_MAP_ESTATE_TROPICAL; - setLocalVarString ui_info_icon preview_mp_estate_tropical; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_ESTATE_TROPICAL"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_ESTATE_TROPICAL"); + setLocalVarString ui_info_icon ("preview_mp_estate_tropical"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -2046,16 +2053,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_FAV_TROPICAL; - setLocalVarString ui_info_desc MPUI_DESC_MAP_FAV_TROPICAL; - setLocalVarString ui_info_icon preview_mp_fav_tropical; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_FAV_TROPICAL"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_FAV_TROPICAL"); + setLocalVarString ui_info_icon ("preview_mp_fav_tropical"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -2083,16 +2090,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_STORM_SPRING; - setLocalVarString ui_info_desc MPUI_DESC_MAP_STORM_SPRING; - setLocalVarString ui_info_icon preview_mp_storm_spring; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_STORM_SPRING"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_STORM_SPRING"); + setLocalVarString ui_info_icon ("preview_mp_storm_spring"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -2120,16 +2127,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_FARM; - setLocalVarString ui_info_desc MPUI_DESC_MAP_FARM; - setLocalVarString ui_info_icon preview_mp_farm; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_FARM"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_FARM"); + setLocalVarString ui_info_icon ("preview_mp_farm"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -2157,16 +2164,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_BACKLOT; - setLocalVarString ui_info_desc MPUI_DESC_MAP_BACKLOT; - setLocalVarString ui_info_icon preview_mp_backlot; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_BACKLOT"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_BACKLOT"); + setLocalVarString ui_info_icon ("preview_mp_backlot"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -2194,16 +2201,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_PIPELINE; - setLocalVarString ui_info_desc MPUI_DESC_PIPELINE; - setLocalVarString ui_info_icon preview_mp_pipeline; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_PIPELINE"); + setLocalVarString ui_info_desc ("MPUI_DESC_PIPELINE"); + setLocalVarString ui_info_icon ("preview_mp_pipeline"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -2231,16 +2238,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_COUNTDOWN; - setLocalVarString ui_info_desc MPUI_DESC_MAP_COUNTDOWN; - setLocalVarString ui_info_icon preview_mp_countdown; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_COUNTDOWN"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_COUNTDOWN"); + setLocalVarString ui_info_icon ("preview_mp_countdown"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -2268,16 +2275,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_CRASH_SNOW; - setLocalVarString ui_info_desc MPUI_DESC_MAP_CRASH_SNOW; - setLocalVarString ui_info_icon preview_mp_crash_snow; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_CRASH_SNOW"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_CRASH_SNOW"); + setLocalVarString ui_info_icon ("preview_mp_crash_snow"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -2305,16 +2312,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_CARENTAN; - setLocalVarString ui_info_desc MPUI_DESC_MAP_CARENTAN; - setLocalVarString ui_info_icon preview_mp_carentan; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_CARENTAN"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_CARENTAN"); + setLocalVarString ui_info_icon ("preview_mp_carentan"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -2342,16 +2349,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_BROADCAST; - setLocalVarString ui_info_desc MPUI_DESC_MAP_BROADCAST; - setLocalVarString ui_info_icon preview_mp_broadcast; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_BROADCAST"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_BROADCAST"); + setLocalVarString ui_info_icon ("preview_mp_broadcast"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -2379,16 +2386,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_SHOWDOWN; - setLocalVarString ui_info_desc MPUI_DESC_MAP_SHOWDOWN; - setLocalVarString ui_info_icon preview_mp_showdown; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_SHOWDOWN"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_SHOWDOWN"); + setLocalVarString ui_info_icon ("preview_mp_showdown"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -2416,16 +2423,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_CONVOY; - setLocalVarString ui_info_desc MPUI_DESC_MAP_CONVOY; - setLocalVarString ui_info_icon preview_mp_convoy; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_CONVOY"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_CONVOY"); + setLocalVarString ui_info_icon ("preview_mp_convoy"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -2453,16 +2460,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_CITYSTREETS; - setLocalVarString ui_info_desc MPUI_DESC_MAP_CITYSTREETS; - setLocalVarString ui_info_icon preview_mp_citystreets; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_CITYSTREETS"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_CITYSTREETS"); + setLocalVarString ui_info_icon ("preview_mp_citystreets"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -2490,16 +2497,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_LOCKDOWN; - setLocalVarString ui_info_desc MPUI_DESC_MAP_LOCKDOWN; - setLocalVarString ui_info_icon preview_mp_alpha; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_LOCKDOWN"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_LOCKDOWN"); + setLocalVarString ui_info_icon ("preview_mp_alpha"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -2527,16 +2534,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_MISSION; - setLocalVarString ui_info_desc MPUI_DESC_MAP_MISSION; - setLocalVarString ui_info_icon preview_mp_bravo; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_MISSION"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_MISSION"); + setLocalVarString ui_info_icon ("preview_mp_bravo"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -2564,16 +2571,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_DOME; - setLocalVarString ui_info_desc MPUI_DESC_MAP_DOME; - setLocalVarString ui_info_icon preview_mp_dome; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_DOME"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_DOME"); + setLocalVarString ui_info_icon ("preview_mp_dome"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -2601,16 +2608,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_HARDHAT; - setLocalVarString ui_info_desc MPUI_DESC_MAP_HARDHAT; - setLocalVarString ui_info_icon preview_mp_hardhat; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_HARDHAT"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_HARDHAT"); + setLocalVarString ui_info_icon ("preview_mp_hardhat"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -2638,16 +2645,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_RESISTANCE; - setLocalVarString ui_info_desc MPUI_DESC_MAP_RESISTANCE; - setLocalVarString ui_info_icon preview_mp_paris; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_RESISTANCE"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_RESISTANCE"); + setLocalVarString ui_info_icon ("preview_mp_paris"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -2675,16 +2682,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_ARKADEN; - setLocalVarString ui_info_desc MPUI_DESC_MAP_ARKADEN; - setLocalVarString ui_info_icon preview_mp_plaza2; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_ARKADEN"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_ARKADEN"); + setLocalVarString ui_info_icon ("preview_mp_plaza2"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -2712,16 +2719,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_SEATOWN; - setLocalVarString ui_info_desc MPUI_DESC_MAP_SEATOWN; - setLocalVarString ui_info_icon preview_mp_seatown; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_SEATOWN"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_SEATOWN"); + setLocalVarString ui_info_icon ("preview_mp_seatown"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -2749,16 +2756,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_UNDERGROUND; - setLocalVarString ui_info_desc MPUI_DESC_MAP_UNDERGROUND; - setLocalVarString ui_info_icon preview_mp_underground; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_UNDERGROUND"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_UNDERGROUND"); + setLocalVarString ui_info_icon ("preview_mp_underground"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -2786,16 +2793,16 @@ { play mouse_over; setItemColor self backColor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos 0; - setLocalVarString ui_info_name MPUI_VILLAGE; - setLocalVarString ui_info_desc MPUI_DESC_MAP_VILLAGE; - setLocalVarString ui_info_icon preview_mp_village; + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (0); + setLocalVarString ui_info_name ("MPUI_VILLAGE"); + setLocalVarString ui_info_desc ("MPUI_DESC_MAP_VILLAGE"); + setLocalVarString ui_info_icon ("preview_mp_village"); } leaveFocus { setItemColor self backColor 0 0 0 0; - setLocalVarBool ui_menuAButton 0; + setLocalVarBool ui_menuAButton (0); } action { @@ -2825,13 +2832,13 @@ { play mouse_over; setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; + setLocalVarBool ui_menuAButton (1); } leaveFocus { setItemColor self backcolor 0 0 0 0; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -2850,7 +2857,7 @@ type 6 border 1 borderSize 1 - visible when(dvarbool(widescreen) && (dvarint(iw4x_maps_dlc) == 99)); + visible when(dvarbool(widescreen) && dvarint(iw4x_maps_dlc) == 99); textalignx 6 textscale 0.4 textfont 1 @@ -2861,9 +2868,9 @@ { play mouse_over; setItemColor maplist bordercolor 1 1 1 1; - setLocalVarString ui_info_name localvarstring("ui_info_name"); - setLocalVarString ui_info_desc "Custom usermaps"; - setLocalVarString ui_info_icon loadscreen_mp_bonusmaps; + setLocalVarString ui_info_name (localvarstring("ui_info_name")); + setLocalVarString ui_info_desc ("Custom usermaps"); + setLocalVarString ui_info_icon ("loadscreen_mp_bonusmaps"); } leaveFocus { @@ -2889,7 +2896,7 @@ rect -282 50 272 153 3 1 style 3 decoration - visible when(((localvarstring("ui_info_icon") != "") && dvarbool(widescreen)) && (dvarint(iw4x_maps_dlc) != 99)); + visible when(localvarstring("ui_info_icon") != "" && dvarbool(widescreen) && dvarint(iw4x_maps_dlc) != 99); textscale 0.55 exp material localvarstring("ui_info_icon"); } @@ -2925,7 +2932,7 @@ type 6 border 1 borderSize 1 - visible when((!dvarbool(widescreen)) && (dvarint(iw4x_maps_dlc) == 99)); + visible when(!dvarbool(widescreen) && dvarint(iw4x_maps_dlc) == 99); textalignx 6 textscale 0.4 textfont 1 @@ -2936,9 +2943,9 @@ { play mouse_over; setItemColor maplist bordercolor 1 1 1 1; - setLocalVarString ui_info_name "Custom Maps"; - setLocalVarString ui_info_desc "Custom usermaps"; - setLocalVarString ui_info_icon loadscreen_mp_bonusmaps; + setLocalVarString ui_info_name ("Custom Maps"); + setLocalVarString ui_info_desc ("Custom usermaps"); + setLocalVarString ui_info_icon ("loadscreen_mp_bonusmaps"); } leaveFocus { @@ -2964,7 +2971,7 @@ rect -162 50 190 133 3 1 style 3 decoration - visible when(((localvarstring("ui_info_icon") != "") && (!dvarbool(widescreen))) && (dvarint(iw4x_maps_dlc) != 99)); + visible when(localvarstring("ui_info_icon") != "" && !dvarbool(widescreen) && dvarint(iw4x_maps_dlc) != 99); textscale 0.55 exp material localvarstring("ui_info_icon"); } diff --git a/ui_mp/startup_messages.menu b/ui_mp/startup_messages.menu index 6e74844..9b5826e 100644 --- a/ui_mp/startup_messages.menu +++ b/ui_mp/startup_messages.menu @@ -14,6 +14,9 @@ { focusfirst; } + onClose + { + } onESC { close self; @@ -57,7 +60,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -68,7 +71,7 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -78,7 +81,7 @@ visible 1 textscale 0.55 background "mockup_popup_bg_stencilfill" - exp rect h 24 + (5 * 20); + exp rect h (24 + 5 * 20); } itemDef { @@ -89,7 +92,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -100,7 +103,7 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -111,14 +114,14 @@ textscale 0.55 forecolor 1 1 1 0 background "small_box_lightfx" - exp rect h 24 + (5 * 20); + exp rect h (24 + 5 * 20); } itemDef { rect -64 -64 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tl" @@ -128,7 +131,7 @@ rect 0 -64 300 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_t" @@ -138,7 +141,7 @@ rect 300 -64 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tr" @@ -148,55 +151,55 @@ rect 300 0 64 0 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_r" - exp rect h 24 + (5 * 20); + exp rect h (24 + 5 * 20); } itemDef { rect 300 0 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_br" - exp rect y (0 - 0) + (24 + (5 * 20)); + exp rect y (0 - 0) + ((24 + 5 * 20)); } itemDef { rect 0 0 300 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_b" - exp rect y (0 - 0) + (24 + (5 * 20)); + exp rect y (0 - 0) + ((24 + 5 * 20)); } itemDef { rect -64 0 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_bl" - exp rect y (0 - 0) + (24 + (5 * 20)); + exp rect y (0 - 0) + ((24 + 5 * 20)); } itemDef { rect -64 0 64 0 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_l" - exp rect h 24 + (5 * 20); + exp rect h (24 + 5 * 20); } itemDef { @@ -251,12 +254,12 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; + setLocalVarBool ui_popupAButton (1); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); } action { diff --git a/ui_mp/stats_reset.menu b/ui_mp/stats_reset.menu index 7c3a335..d9f6c40 100644 --- a/ui_mp/stats_reset.menu +++ b/ui_mp/stats_reset.menu @@ -11,12 +11,12 @@ legacySplitScreenScale onOpen { - setLocalVarInt ui_centerPopup 1; + setLocalVarInt ui_centerPopup (1); setfocus passwordEntry; } onClose { - setLocalVarInt ui_centerPopup 0; + setLocalVarInt ui_centerPopup (0); } onESC { @@ -51,7 +51,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -62,7 +62,7 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -72,7 +72,7 @@ visible 1 textscale 0.55 background "mockup_popup_bg_stencilfill" - exp rect h 84 + (2 * 60); + exp rect h (84 + 2 * 60); } itemDef { @@ -83,7 +83,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -94,14 +94,14 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { rect -64 -64 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tl" @@ -111,7 +111,7 @@ rect 0 -64 860 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_t" @@ -121,7 +121,7 @@ rect 860 -64 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tr" @@ -131,33 +131,33 @@ rect 860 0 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_br" - exp rect y (0 - 0) + (84 + (2 * 60)); + exp rect y (0 - 0) + ((84 + 2 * 60)); } itemDef { rect 0 0 860 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_b" - exp rect y (0 - 0) + (84 + (2 * 60)); + exp rect y (0 - 0) + ((84 + 2 * 60)); } itemDef { rect -64 0 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_bl" - exp rect y (0 - 0) + (84 + (2 * 60)); + exp rect y (0 - 0) + ((84 + 2 * 60)); } itemDef { @@ -190,14 +190,14 @@ { play mouse_over; setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -213,7 +213,7 @@ rect 286 164 292 20 2 2 style 1 type 1 - visible 1 + visible when(1); textalign 4 textalignx 4 textscale 0.375 @@ -228,12 +228,12 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; + setLocalVarBool ui_popupAButton (1); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); } action { @@ -250,7 +250,7 @@ rect 286 184 292 20 2 2 style 1 type 1 - visible 1 + visible when(1); textalign 4 textalignx 4 textscale 0.375 @@ -265,12 +265,12 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; + setLocalVarBool ui_popupAButton (1); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); } action { diff --git a/ui_mp/stats_unlock.menu b/ui_mp/stats_unlock.menu index 6dc0acc..ab7005f 100644 --- a/ui_mp/stats_unlock.menu +++ b/ui_mp/stats_unlock.menu @@ -11,12 +11,12 @@ legacySplitScreenScale onOpen { - setLocalVarInt ui_centerPopup 1; + setLocalVarInt ui_centerPopup (1); setfocus passwordEntry; } onClose { - setLocalVarInt ui_centerPopup 0; + setLocalVarInt ui_centerPopup (0); } onESC { @@ -51,7 +51,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -62,7 +62,7 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -72,7 +72,7 @@ visible 1 textscale 0.55 background "mockup_popup_bg_stencilfill" - exp rect h 84 + (2 * 60); + exp rect h (84 + 2 * 60); } itemDef { @@ -83,7 +83,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -94,14 +94,14 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { rect -64 -64 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tl" @@ -111,7 +111,7 @@ rect 0 -64 860 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_t" @@ -121,7 +121,7 @@ rect 860 -64 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tr" @@ -131,33 +131,33 @@ rect 860 0 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_br" - exp rect y (0 - 0) + (84 + (2 * 60)); + exp rect y (0 - 0) + ((84 + 2 * 60)); } itemDef { rect 0 0 860 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_b" - exp rect y (0 - 0) + (84 + (2 * 60)); + exp rect y (0 - 0) + ((84 + 2 * 60)); } itemDef { rect -64 0 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_bl" - exp rect y (0 - 0) + (84 + (2 * 60)); + exp rect y (0 - 0) + ((84 + 2 * 60)); } itemDef { @@ -190,14 +190,14 @@ { play mouse_over; setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_menuAButton 1; - setLocalVarFloat ui_popupYPos getfocuseditemy(); + setLocalVarBool ui_menuAButton (1); + setLocalVarFloat ui_popupYPos (getfocuseditemy()); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; - setLocalVarString ui_hint_text "@NULL_EMPTY"; - setLocalVarBool ui_menuAButton 0; + setLocalVarString ui_hint_text ("@NULL_EMPTY"); + setLocalVarBool ui_menuAButton (0); } action { @@ -213,7 +213,7 @@ rect 286 164 292 20 2 2 style 1 type 1 - visible 1 + visible when(1); textalign 4 textalignx 4 textscale 0.375 @@ -228,12 +228,12 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; + setLocalVarBool ui_popupAButton (1); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); } action { @@ -250,7 +250,7 @@ rect 286 184 292 20 2 2 style 1 type 1 - visible 1 + visible when(1); textalign 4 textalignx 4 textscale 0.375 @@ -265,12 +265,12 @@ setItemColor mw2_popup_button backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; - setLocalVarBool ui_popupAButton 1; + setLocalVarBool ui_popupAButton (1); } leaveFocus { setItemColor self backcolor 1 1 1 0; - setLocalVarBool ui_popupAButton 0; + setLocalVarBool ui_popupAButton (0); } action { diff --git a/ui_mp/youarehost.menu b/ui_mp/youarehost.menu index 85ad1b7..3554cac 100644 --- a/ui_mp/youarehost.menu +++ b/ui_mp/youarehost.menu @@ -5,6 +5,7 @@ rect -150 -84 300 84 2 2 style 1 backcolor 1 1 1 1 + forecolor 0 0 0 0 focuscolor 1 1 1 1 background "white" popup @@ -57,7 +58,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -67,7 +68,7 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); + exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { @@ -76,7 +77,7 @@ decoration textscale 0.55 background "mockup_popup_bg_stencilfill" - exp rect h 24 + (3 * 20); + exp rect h 24 + 3 * 20; } itemDef { @@ -86,7 +87,7 @@ textscale 0.55 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -96,7 +97,7 @@ textscale 0.55 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" - exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); + exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { @@ -106,14 +107,14 @@ textscale 0.55 forecolor 1 1 1 0 background "small_box_lightfx" - exp rect h 24 + (3 * 20); + exp rect h 24 + 3 * 20; } itemDef { rect -214 -148 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tl" @@ -123,7 +124,7 @@ rect -150 -148 300 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_t" @@ -133,7 +134,7 @@ rect 150 -148 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tr" @@ -143,55 +144,55 @@ rect 150 -84 64 0 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_r" - exp rect h 24 + (3 * 20); + exp rect h 24 + 3 * 20; } itemDef { rect 150 -84 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_br" - exp rect y (0 - 0) + (24 + (3 * 20)); + exp rect y (0 - 0) + ((24 + 3 * 20)); } itemDef { rect -150 -84 300 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_b" - exp rect y (0 - 0) + (24 + (3 * 20)); + exp rect y (0 - 0) + ((24 + 3 * 20)); } itemDef { rect -214 -84 64 64 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_bl" - exp rect y (0 - 0) + (24 + (3 * 20)); + exp rect y (0 - 0) + ((24 + 3 * 20)); } itemDef { rect -214 -84 64 0 2 2 style 3 decoration - visible 1 + visible when(1); textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_l" - exp rect h 24 + (3 * 20); + exp rect h 24 + 3 * 20; } itemDef { diff --git a/zone_source/iw4x_code_post_gfx_mp.zone b/zone_source/iw4x_code_post_gfx_mp.zone index 7184989..a7146f0 100644 --- a/zone_source/iw4x_code_post_gfx_mp.zone +++ b/zone_source/iw4x_code_post_gfx_mp.zone @@ -1,98 +1,153 @@ // Call Of Duty: Modern Warfare 2 >game,IW4 -localize,iw4x_code_post_gfx_mp structureddatadef,mp/playerdata.def -material,,white -material,,black -material,,mockup_bg_glow -material,,gradient_fadein_fadebottom -material,,xpbar_stencilbase -material,,mw2_main_background -material,,mw2_popup_bg_fogstencil -material,,mw2_popup_bg_fogscroll -material,,mockup_popup_bg_stencilfill -material,,mw2_main_cloud_overlay -material,,menu_button_selection_bar -material,,minimap_scanlines -material,,gradient_fadein -material,,compass_map_default -material,,objective_line -material,,compassping_player -material,,ac130_overlay_grain -material,,stencil_base -material,,scanlines_stencil -material,,stencil_fill -material,,small_box_lightfx -material,,drop_shadow_tl -material,,drop_shadow_l -material,,drop_shadow_t -material,,drop_shadow_tr -material,,drop_shadow_r -material,,drop_shadow_br -material,,drop_shadow_b -material,,drop_shadow_bl -material,,popup_button_selection_bar -material,,popup_button_selection_bar_flipped -material,,menu_setting_selection_bar -material,,splatter_alt -material,,menu_rules_selection_bar -material,,$levelbriefing -material,,animbg_blur_front -material,,ballistic_overlay -material,,mw2_main_sp_image -material,,gradient_bottom -material,,line_horizontal -material,,shadow_inset -material,,logo_cod2 -material,,gradient_center -material,,gradient_slow_fadein -material,,specialty_new -material,,cardtitle_248x48 -material,,hud_dpad_xbox360 -material,,hud_dpad_ps3 -material,,playercard_short_bg -material,,hud_dpad_arrow_left -material,,playercard_bg -material,,hud_dpad_arrow_right -material,,gradient -material,,cardicon_locked -material,,server_hardware_header -material,,cardicon_headshot -material,,talkingicon -material,,popup_button_selection_bar_short -material,,specialty_locked +vertexdecl,ppcc0t0t0 +vertexshader,trivial_vertcol_simple.hlsl +pixelshader,trivial_vertcol_simple.hlsl +techniqueset,2d +image,$white +material,white +image,$black +material,xpbar_stencilbase +image,menu_cloud_overlay +material,mw2_popup_bg_fogstencil +material,mw2_popup_bg_fogscroll +material,mockup_popup_bg_stencilfill +image,small_box_lightfx +material,small_box_lightfx +image,dropshadow_tl +material,drop_shadow_tl +image,dropshadow_t +material,drop_shadow_t +image,dropshadow_tr +material,drop_shadow_tr +image,dropshadow_r +material,drop_shadow_r +image,dropshadow_br +material,drop_shadow_br +image,dropshadow_b +material,drop_shadow_b +image,dropshadow_bl +material,drop_shadow_bl +image,dropshadow_l +material,drop_shadow_l +image,gradient_fadein +material,gradient_fadein +image,mw2_popup_selection_bar +material,popup_button_selection_bar menu,player_popup_party menu,player_popup_publiclobby menu,player_popup_privatematch +image,mw2_selection_bar +material,menu_button_selection_bar menu,hostchangewarning menu,youarehost menu,popup_serverpassword menu,popup_joinpassword +image,menu_background +material,mw2_main_background +material,mw2_main_cloud_overlay +image,mockup_bgglow +material,mockup_bg_glow +image,mw2_selection_bar_144 +material,menu_rules_selection_bar +material,black menu,settings_map menu,settings_bonus_map menu,auconfirm +image,gradient_slow_fadein +material,gradient_slow_fadein +image,specialty_new +material,specialty_new menu,cac_popup menu,changelog +image,default +material,$levelbriefing +image,gradient_bottom +material,gradient_bottom menu,connect +image,bg_blur_front +material,animbg_blur_front +image,gradient_fadein_fadebottom +material,gradient_fadein_fadebottom +image,mw2pc_setting_selection_bar +material,menu_setting_selection_bar menu,controls_multi menu,createfavorite_popmenu +image,shadow_inset +material,shadow_inset +image,gradient_center +material,gradient_center menu,createserver +image,hud_dpad_xbox360 +material,hud_dpad_xbox360 +image,hud_dpad_arrow_left +material,hud_dpad_arrow_left +image,hud_dpad_arrow_right +material,hud_dpad_arrow_right menu,dpad_hd menu,filter_popmenu +vertexshader,splatter_alt.hlsl +pixelshader,splatter_alt.hlsl +techniqueset,splatter_alt +image,blood_defocus_color +image,blood_defocus_mask +material,splatter_alt +vertexshader,grain_overlay.hlsl +pixelshader,grain_overlay.hlsl +techniqueset,grain_overlay +image,ac130_overlay_grain +material,ac130_overlay_grain +image,gasmask_overlay +material,ballistic_overlay menu,hud_fullscreen +image,logo_cod2 +material,logo_cod2 menu,iw4x_credits menu,leavelobbywarning menu,main_text +image,menu_sp_image +material,mw2_main_sp_image menu,menu_first_launch +image,cardtitle_248x48 +material,cardtitle_248x48 menu,menu_online_barracks +image,playercard_short_bg +material,playercard_short_bg +image,playercard_bg +material,playercard_bg +image,gradient +material,gradient menu,menu_xboxlive_lobby menu,menu_xboxlive_privatelobby +image,minimap_scanlines +material,minimap_scanlines +image,compass_map_default +material,compass_map_default +image,objective_line +material,objective_line +image,compassping_player +material,compassping_player +material,stencil_base +image,scanlines +material,scanlines_stencil +material,stencil_fill menu,minimap_fullscreen menu,mods_menu menu,mod_download_popmenu menu,onlineupdate +image,cardicon_locked +material,cardicon_locked +image,server_hardware_header +material,server_hardware_header +image,cardicon_headshot +material,cardicon_headshot +image,voice_on_#0 +material,talkingicon menu,pc_join_unranked +image,line_horizontal +material,line_horizontal menu,pc_options_actions menu,pc_options_advanced_video menu,pc_options_audio @@ -104,6 +159,10 @@ menu,pc_options_movement menu,pc_options_multi menu,pc_options_video menu,playerdataread +image,mw2_popup_selection_bar_short +material,popup_button_selection_bar_short +image,specialty_locked +material,specialty_locked menu,popup_cac_assault_primary menu,popup_cac_handgun_secondary menu,popup_cac_primary_camo @@ -122,6 +181,8 @@ menu,security_increase_popmenu menu,serverinfo_popmenu menu,settings_gametype menu,startup_messages +image,mw2_popup_selection_bar_mirrored +material,popup_button_selection_bar_flipped menu,stats_reset menu,stats_unlock menu,pc_theater_menu