Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <package>
- <trigger name="PlayerStatsResultRankedMList"/>
- <trigger name="PlayerStatsResultCasualMList"/>
- <trigger name="PlayerStatsResultMList"/>
- <trigger name="PlayerStatsStatus"/>
- <trigger name="PlayerStatsResult"/>
- <!-- show_stats -->
- <form
- name="PlayerStats"
- host="!masterserver"
- method="get"
- target="/client_requester.php"
- statustrigger="PlayerStatsStatus"
- resulttrigger="PlayerStatsResult"
- resultparam0="nickname"
- resultparam1="name"
- resultparam2="rank"
- resultparam3="level"
- resultparam4="account_id"
- resultparam5="acc_games_played"
- resultparam6="acc_wins"
- resultparam7="acc_losses"
- resultparam8="acc_concedes"
- resultparam9="acc_concedevotes"
- resultparam10="acc_buybacks"
- resultparam11="acc_discos"
- resultparam12="acc_kicked"
- resultparam13="acc_pub_skill"
- resultparam14="acc_pub_count"
- resultparam15="acc_amm_solo_rating"
- resultparam16="acc_amm_solo_count"
- resultparam17="acc_amm_team_rating"
- resultparam18="acc_amm_team_count"
- resultparam19="acc_avg_score"
- resultparam20="acc_herokills"
- resultparam21="acc_herodmg"
- resultparam22="acc_heroexp"
- resultparam23="acc_herokillsgold"
- resultparam24="acc_heroassists"
- resultparam25="acc_deaths"
- resultparam26="acc_goldlost2death"
- resultparam27="acc_secs_dead"
- resultparam28="acc_teamcreepkills"
- resultparam29="acc_teamcreepdmg"
- resultparam30="acc_teamcreepexp"
- resultparam31="acc_teamcreepgold"
- resultparam32="acc_neutralcreepkills"
- resultparam33="acc_neutralcreepdmg"
- resultparam34="acc_neutralcreepexp"
- resultparam35="acc_neutralcreepgold"
- resultparam36="acc_bdmg"
- resultparam37="acc_bdmgexp"
- resultparam38="acc_razed"
- resultparam39="acc_bgold"
- resultparam40="acc_denies"
- resultparam41="acc_exp_denied"
- resultparam42="acc_gold"
- resultparam43="acc_gold_spend"
- resultparam44="acc_exp"
- resultparam45="acc_actions"
- resultparam46="acc_secs"
- resultparam47="acc_consumables"
- resultparam48="acc_wards"
- resultparam49="acc_em_played"
- resultparam50="maxXP"
- resultparam51="last_activity"
- resultparam52="matchIds"
- resultparam53="matchDates"
- resultparam54="favHero1"
- resultparam55="favHero2"
- resultparam56="favHero3"
- resultparam57="favHero4"
- resultparam58="favHero5"
- resultparam59="favHero1Time"
- resultparam60="favHero2Time"
- resultparam61="favHero3Time"
- resultparam62="favHero4Time"
- resultparam63="favHero5Time"
- resultparam64="xp2nextLevel"
- resultparam65="xpPercent"
- resultparam66="percentEM"
- resultparam67="k_d_a"
- resultparam68="avgGameLength"
- resultparam69="avgXP_min"
- resultparam70="avgDenies"
- resultparam71="avgCreepKills"
- resultparam72="avgNeutralKills"
- resultparam73="avgActions_min"
- resultparam74="avgWardsUsed"
- resultparam75="create_date"
- resultparam76="favHero1name"
- resultparam77="favHero2name"
- resultparam78="favHero3name"
- resultparam79="favHero4name"
- resultparam80="favHero5name"
- resultparam81="favHero1id"
- resultparam82="favHero2id"
- resultparam83="favHero3id"
- resultparam84="favHero4id"
- resultparam85="favHero5id"
- resultparam86="error"
- resultparam87="acc_level"
- resultparam88="selected_upgrades"
- resultparam89="cs_games_played"
- resultparam90="rnk_games_played"
- resultparam91="cs_discos"
- resultparam92="rnk_discos"
- resultparam93="acc_bloodlust"
- resultparam94="acc_doublekill"
- resultparam95="acc_triplekill"
- resultparam96="acc_quadkill"
- resultparam97="acc_annihilation"
- resultparam98="acc_ks3"
- resultparam99="acc_ks4"
- resultparam100="acc_ks5"
- resultparam101="acc_ks6"
- resultparam102="acc_ks7"
- resultparam103="acc_ks8"
- resultparam104="acc_ks9"
- resultparam105="acc_ks10"
- resultparam106="acc_ks15"
- resultparam107="acc_smackdown"
- resultparam108="acc_humiliation"
- resultparam109="acc_nemesis"
- resultparam110="acc_retribution"
- resultparam111="total_level_exp"
- resultparam112="acc_time_earning_exp"
- resultparam113="level"
- resultparam114="level_exp"
- resultparam115="discos"
- resultparam116="possible_discos"
- resultparam117="games_played"
- resultparam118="account_type"
- resultparam119="standing"
- resultparam120="level_percent"
- resultparam121="max_exp"
- resultparam122="min_exp"
- resultparam123="mid_games_played"
- resultparam124="mid_discos"
- />
- <trigger name="PlayerStatsStatusRanked"/>
- <trigger name="PlayerStatsResultRanked"/>
- <form
- name="PlayerStatsRanked"
- host="!masterserver"
- method="get"
- target="/client_requester.php"
- statustrigger="PlayerStatsStatusRanked"
- resulttrigger="PlayerStatsResultRanked"
- resultparam0="nickname"
- resultparam1="name"
- resultparam2="rank"
- resultparam3="rnk_level"
- resultparam4="account_id"
- resultparam5="rnk_games_played"
- resultparam6="rnk_wins"
- resultparam7="rnk_losses"
- resultparam8="rnk_concedes"
- resultparam9="rnk_concedevotes"
- resultparam10="rnk_buybacks"
- resultparam11="rnk_discos"
- resultparam12="rnk_kicked"
- resultparam13="smr"
- resultparam14="rnk_pub_count"
- resultparam15="rnk_amm_solo_rating"
- resultparam16="rnk_amm_solo_count"
- resultparam17="rnk_amm_team_rating"
- resultparam18="rnk_amm_team_count"
- resultparam19="rnk_avg_score"
- resultparam20="rnk_herokills"
- resultparam21="rnk_herodmg"
- resultparam22="rnk_heroexp"
- resultparam23="rnk_herokillsgold"
- resultparam24="rnk_heroassists"
- resultparam25="rnk_deaths"
- resultparam26="rnk_goldlost2death"
- resultparam27="rnk_secs_dead"
- resultparam28="rnk_teamcreepkills"
- resultparam29="rnk_teamcreepdmg"
- resultparam30="rnk_teamcreepexp"
- resultparam31="rnk_teamcreepgold"
- resultparam32="rnk_neutralcreepkills"
- resultparam33="rnk_neutralcreepdmg"
- resultparam34="rnk_neutralcreepexp"
- resultparam35="rnk_neutralcreepgold"
- resultparam36="rnk_bdmg"
- resultparam37="rnk_bdmgexp"
- resultparam38="rnk_razed"
- resultparam39="rnk_bgold"
- resultparam40="rnk_denies"
- resultparam41="rnk_exp_denied"
- resultparam42="rnk_gold"
- resultparam43="rnk_gold_spend"
- resultparam44="rnk_exp"
- resultparam45="rnk_actions"
- resultparam46="rnk_secs"
- resultparam47="rnk_consumables"
- resultparam48="rnk_wards"
- resultparam49="rnk_em_played"
- resultparam50="maxXP"
- resultparam51="last_activity"
- resultparam52="matchIds"
- resultparam53="matchDates"
- resultparam54="favHero1"
- resultparam55="favHero2"
- resultparam56="favHero3"
- resultparam57="favHero4"
- resultparam58="favHero5"
- resultparam59="favHero1Time"
- resultparam60="favHero2Time"
- resultparam61="favHero3Time"
- resultparam62="favHero4Time"
- resultparam63="favHero5Time"
- resultparam64="xp2nextLevel"
- resultparam65="xpPercent"
- resultparam66="percentEM"
- resultparam67="k_d_a"
- resultparam68="avgGameLength"
- resultparam69="avgXP_min"
- resultparam70="avgDenies"
- resultparam71="avgCreepKills"
- resultparam72="avgNeutralKills"
- resultparam73="avgActions_min"
- resultparam74="avgWardsUsed"
- resultparam75="create_date"
- resultparam76="favHero1name"
- resultparam77="favHero2name"
- resultparam78="favHero3name"
- resultparam79="favHero4name"
- resultparam80="favHero5name"
- resultparam81="favHero1id"
- resultparam82="favHero2id"
- resultparam83="favHero3id"
- resultparam84="favHero4id"
- resultparam85="favHero5id"
- resultparam86="error"
- resultparam87="rnk_level"
- resultparam88="selected_upgrades"
- resultparam89="acc_games_played"
- resultparam90="cs_games_played"
- resultparam91="cs_discos"
- resultparam92="acc_discos"
- resultparam93="rnk_bloodlust"
- resultparam94="rnk_doublekill"
- resultparam95="rnk_triplekill"
- resultparam96="rnk_quadkill"
- resultparam97="rnk_annihilation"
- resultparam98="rnk_ks3"
- resultparam99="rnk_ks4"
- resultparam100="rnk_ks5"
- resultparam101="rnk_ks6"
- resultparam102="rnk_ks7"
- resultparam103="rnk_ks8"
- resultparam104="rnk_ks9"
- resultparam105="rnk_ks10"
- resultparam106="rnk_ks15"
- resultparam107="rnk_smackdown"
- resultparam108="rnk_humiliation"
- resultparam109="rnk_nemesis"
- resultparam110="rnk_retribution"
- resultparam111="total_level_exp"
- resultparam112="rnk_time_earning_exp"
- resultparam113="level"
- resultparam114="level_exp"
- resultparam115="discos"
- resultparam116="possible_discos"
- resultparam117="games_played"
- resultparam118="account_type"
- resultparam119="standing"
- resultparam120="level_percent"
- resultparam121="max_exp"
- resultparam122="min_exp"
- resultparam123="mid_games_played"
- resultparam124="mid_discos"
- />
- <trigger name="PlayerStatsStatusCasual"/>
- <trigger name="PlayerStatsResultCasual"/>
- <form
- name="PlayerStatsCasual"
- host="!masterserver"
- method="get"
- target="/client_requester.php"
- statustrigger="PlayerStatsStatusCasual"
- resulttrigger="PlayerStatsResultCasual"
- resultparam0="nickname"
- resultparam1="name"
- resultparam2="rank"
- resultparam3="cs_level"
- resultparam4="account_id"
- resultparam5="cs_games_played"
- resultparam6="cs_wins"
- resultparam7="cs_losses"
- resultparam8="cs_concedes"
- resultparam9="cs_concedevotes"
- resultparam10="cs_buybacks"
- resultparam11="cs_discos"
- resultparam12="cs_kicked"
- resultparam13="cs_amm_team_rating"
- resultparam14="cs_pub_count"
- resultparam15="cs_amm_solo_rating"
- resultparam16="cs_amm_solo_count"
- resultparam17="cs_amm_team_rating"
- resultparam18="cs_amm_team_count"
- resultparam19="cs_avg_score"
- resultparam20="cs_herokills"
- resultparam21="cs_herodmg"
- resultparam22="cs_heroexp"
- resultparam23="cs_herokillsgold"
- resultparam24="cs_heroassists"
- resultparam25="cs_deaths"
- resultparam26="cs_goldlost2death"
- resultparam27="cs_secs_dead"
- resultparam28="cs_teamcreepkills"
- resultparam29="cs_teamcreepdmg"
- resultparam30="cs_teamcreepexp"
- resultparam31="cs_teamcreepgold"
- resultparam32="cs_neutralcreepkills"
- resultparam33="cs_neutralcreepdmg"
- resultparam34="cs_neutralcreepexp"
- resultparam35="cs_neutralcreepgold"
- resultparam36="cs_bdmg"
- resultparam37="cs_bdmgexp"
- resultparam38="cs_razed"
- resultparam39="cs_bgold"
- resultparam40="cs_denies"
- resultparam41="cs_exp_denied"
- resultparam42="cs_gold"
- resultparam43="cs_gold_spend"
- resultparam44="cs_exp"
- resultparam45="cs_actions"
- resultparam46="cs_secs"
- resultparam47="cs_consumables"
- resultparam48="cs_wards"
- resultparam49="cs_em_played"
- resultparam50="maxXP"
- resultparam51="last_activity"
- resultparam52="matchIds"
- resultparam53="matchDates"
- resultparam54="favHero1"
- resultparam55="favHero2"
- resultparam56="favHero3"
- resultparam57="favHero4"
- resultparam58="favHero5"
- resultparam59="favHero1Time"
- resultparam60="favHero2Time"
- resultparam61="favHero3Time"
- resultparam62="favHero4Time"
- resultparam63="favHero5Time"
- resultparam64="xp2nextLevel"
- resultparam65="xpPercent"
- resultparam66="percentEM"
- resultparam67="k_d_a"
- resultparam68="avgGameLength"
- resultparam69="avgXP_min"
- resultparam70="avgDenies"
- resultparam71="avgCreepKills"
- resultparam72="avgNeutralKills"
- resultparam73="avgActions_min"
- resultparam74="avgWardsUsed"
- resultparam75="create_date"
- resultparam76="favHero1name"
- resultparam77="favHero2name"
- resultparam78="favHero3name"
- resultparam79="favHero4name"
- resultparam80="favHero5name"
- resultparam81="favHero1id"
- resultparam82="favHero2id"
- resultparam83="favHero3id"
- resultparam84="favHero4id"
- resultparam85="favHero5id"
- resultparam86="error"
- resultparam87="cs_level"
- resultparam88="selected_upgrades"
- resultparam89="acc_games_played"
- resultparam90="rnk_games_played"
- resultparam91="acc_discos"
- resultparam92="rnk_discos"
- resultparam93="cs_bloodlust"
- resultparam94="cs_doublekill"
- resultparam95="cs_triplekill"
- resultparam96="cs_quadkill"
- resultparam97="cs_annihilation"
- resultparam98="cs_ks3"
- resultparam99="cs_ks4"
- resultparam100="cs_ks5"
- resultparam101="cs_ks6"
- resultparam102="cs_ks7"
- resultparam103="cs_ks8"
- resultparam104="cs_ks9"
- resultparam105="cs_ks10"
- resultparam106="cs_ks15"
- resultparam107="cs_smackdown"
- resultparam108="cs_humiliation"
- resultparam109="cs_nemesis"
- resultparam110="cs_retribution"
- resultparam111="total_level_exp"
- resultparam112="cs_time_earning_exp"
- resultparam113="level"
- resultparam114="level_exp"
- resultparam115="discos"
- resultparam116="possible_discos"
- resultparam117="games_played"
- resultparam118="account_type"
- resultparam119="standing"
- resultparam120="level_percent"
- resultparam121="max_exp"
- resultparam122="min_exp"
- resultparam123="mid_games_played"
- resultparam124="mid_discos"
- />
- <!-- Favorite Heroes -->
- <panel name="playerstats_parse_icon" width="0" height="0" noclick="true" color="invisible" onload="CreateString('_playerstats_hero_icon_temp'); CreateString('_playerstats_hero_icon_output');"
- onevent="
- if(StringEquals(_playerstats_hero_icon_temp,'forsakenarcher'), Set('_playerstats_hero_icon_temp', 'forsaken_archer'));
- if(StringEquals(_playerstats_hero_icon_temp,'corrupteddisciple'), Set('_playerstats_hero_icon_temp', 'corrupted_disciple'));
- if(StringEquals(_playerstats_hero_icon_temp,'sandwraith'), Set('_playerstats_hero_icon_temp', 'sand_wraith'));
- if(StringEquals(_playerstats_hero_icon_temp,'witchslayer'), Set('_playerstats_hero_icon_temp', 'witch_slayer'));
- if(StringEquals(_playerstats_hero_icon_temp,'dwarfmagi'), Set('_playerstats_hero_icon_temp', 'dwarf_magi'));
- if(StringEquals(_playerstats_hero_icon_temp,'flintbeastwood'), Set('_playerstats_hero_icon_temp', 'flint_beastwood'));
- if(StringEquals(_playerstats_hero_icon_temp,'doctorrepulsor'), Set('_playerstats_hero_icon_temp', 'doctor_repulsor'));
- if(StringEquals(_playerstats_hero_icon_temp,'bombardier'), Set('_playerstats_hero_icon_temp', 'bomb'));
- if(StringEquals(_playerstats_hero_icon_temp,'emeraldwarden'), Set('_playerstats_hero_icon_temp', 'emerald_warden'));
- if(StringEquals(_playerstats_hero_icon_temp,'monkeyking'), Set('_playerstats_hero_icon_temp', 'monkey_king'));
- if(StringEquals(_playerstats_hero_icon_temp,'masterofarms'), Set('_playerstats_hero_icon_temp', 'master_of_arms'));
- If(!StringEmpty(_playerstats_hero_icon_temp), Set('_playerstats_hero_icon_output', '/heroes/' # _playerstats_hero_icon_temp # '/icon.tga'), Set('_playerstats_hero_icon_output', '/ui/common/ability_coverup.tga'));
- if(StringEquals(_playerstats_hero_icon_temp,'hiro'), Set('_playerstats_hero_icon_output', '/heroes/hiro/icons/hero.tga'));
- if(StringEquals(_playerstats_hero_icon_temp,'pollywogpriest'), Set('_playerstats_hero_icon_output', '/heroes/pollywogpriest/icons/hero.tga'));
- if(StringEquals(_playerstats_hero_icon_temp,'electrician'), Set('_playerstats_hero_icon_output', '/heroes/electrician/icons/hero.tga'));
- if(StringEquals(_playerstats_hero_icon_temp,'rocky'), Set('_playerstats_hero_icon_output', '/heroes/rocky/hero.tga'));
- if(StringEquals(_playerstats_hero_icon_temp,'hammerstorm'), Set('_playerstats_hero_icon_output', '/heroes/hammerstorm/icons/hero.tga'));
- if(StringEquals(_playerstats_hero_icon_temp,'krixi'), Set('_playerstats_hero_icon_output', '/heroes/krixi/icons/hero.tga'));
- if(StringEquals(_playerstats_hero_icon_temp,'yogi'), Set('_playerstats_hero_icon_output', '/heroes/yogi/icons/hero.tga'));
- if(StringEquals(_playerstats_hero_icon_temp,'kunas'), Set('_playerstats_hero_icon_output', '/heroes/kunas/icons/hero.tga'));
- if(StringEquals(_playerstats_hero_icon_temp,'cthulhuphant'), Set('_playerstats_hero_icon_output', '/heroes/cthulhuphant/alt/icon.tga'));
- "
- />
- <panel
- name="player_stats_submit"
- noclick="true"
- color="invisible"
- onload="CreateString('_player_stats_searchname');"
- onevent="
- If(
- StringEquals(_playerstats_show_panel, 'stats_panel_ranked'),
- CallEvent('player_stats_submit_ranked')
- );
- If(
- StringEquals(_playerstats_show_panel, 'stats_panel_public'),
- CallEvent('player_stats_submit_public')
- );
- If(
- StringEquals(_playerstats_show_panel, 'stats_panel_casual'),
- CallEvent('player_stats_submit_casual')
- );
- "
- />
- <panel
- name="player_stats_submit_public"
- noclick="true"
- color="invisible"
- onevent="SubmitForm('PlayerStats', 'f', 'show_stats', 'nickname', StripClanTag(_player_stats_searchname), 'cookie', GetCookie(), 'table', 'player');"
- />
- <panel
- name="player_stats_submit_ranked"
- noclick="true"
- color="invisible"
- onevent="SubmitForm('PlayerStatsRanked', 'f', 'show_stats', 'nickname', StripClanTag(_player_stats_searchname), 'cookie', GetCookie(), 'table', 'ranked');"
- />
- <panel
- name="player_stats_submit_casual"
- noclick="true"
- color="invisible"
- onevent="SubmitForm('PlayerStatsCasual', 'f', 'show_stats', 'nickname', StripClanTag(_player_stats_searchname), 'cookie', GetCookie(), 'table', 'casual');"
- />
- <template name="stats_lastmatches_match">
- <panel float="right" x=".5h" noclick="true">
- <label textvalign="center" font="dyn_9" width="8.0h" shadow="true" color=".8 .8 .8 1" noclick="true" watch="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(_playerstats_matchlist_match{matchnum}_date);">{match_date}</label>
- <label textvalign="center" font="dyn_9" width="8.0h" shadow="true" color="white" noclick="true" watch="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(_playerstats_matchlist_match{matchnum}_id);">{match_id}</label>
- <instance
- name="button2"
- width="4.0h"
- height="2.0h"
- borderthickness="0.6h"
- align="center" valign="center"
- font="dyn_9"
- label="general_view"
- onclick="Trigger('matchstats_viewuser', _player_stats_searchname); _stats_last_replay_id = _playerstats_matchlist_match{matchnum}_id; _stats_last_match_id = _playerstats_matchlist_match{matchnum}_id; Set('_mainmenu_currentpanel', 'match_stats'); CallEvent('MainMenuPanelSwitcher');"
- />
- </panel>
- </template>
- <template name="stats_lastmatches_matchhelper">
- <panel
- color="invisible"
- noclick="true"
- onload="CreateString('_playerstats_matchlist_match{matchnum}_id'); CreateString('_playerstats_matchlist_match{matchnum}_date');"
- watch="{resulttrigger=PlayerStatsResult}"
- ontrigger="
- Set('_playerstats_matchlist_match{matchnum}_id', Trim(SubString(param52, ({matchnum} * 10), 10)));
- Set('_playerstats_matchlist_match{matchnum}_date', SubString(param53, ({matchnum} * 10), 10));
- "
- watch1="{resulttrigger=PlayerStatsResult}MList"
- ontrigger1="
- Call('{match_listbox}', 'If(!HasListItem(_playerstats_matchlist_match{matchnum}_id) and !StringEmpty(_playerstats_matchlist_match{matchnum}_id), AddTemplateListItem(\'stats_lastmatches_match\', _playerstats_matchlist_match{matchnum}_id, \'match_id\', _playerstats_matchlist_match{matchnum}_id, \'match_date\', _playerstats_matchlist_match{matchnum}_date, \'matchnum\', \'{matchnum}\'));');
- If({matchnum} == 0, Call('matchreplays_selectedplayer_dropdown', 'ClearItems();'));
- Call('matchreplays_selectedplayer_dropdown', 'If(!HasListItem(_player_stats_searchname) and !StringEmpty(_player_stats_searchname), Split(AddTemplateListItem(\'Ncombobox_item\', _player_stats_searchname, \'label\', _player_stats_searchname), SetSelectedItemByValue(_player_stats_searchname))); If(!HasListItem(GetAccountName()), AddTemplateListItem(\'Ncombobox_item\', GetAccountName(), \'label\', GetAccountName())); SetVisible(GetNumListItems() gt 1);');
- "
- />
- </template>
- <template name="statistic">
- <panel height="50" width="99%" color="invisible">
- <frame texture="/ui/frames/rounded_bg_white.tga" borderthickness="4" color="#560001"/>
- <frame texture="/ui/frames/roundframe.tga" color="#662222" borderthickness="4"/>
- <panel width="50" align="left" color="invisible">
- <panel x="3" width="44" height="44" color="red" valign="center"/>
- <image x="4" valign="center" width="42" height="42" texture="{icon}"/>
- </panel>
- <panel width="-53" align="right" color="invisible">
- <label width="100%" height="60%" valign="top" textvalign="center" align="left" font="chat_14" color="white" shadow="true">{label}</label> <!-- header label -->
- <label width="100%" height="60%" valign="bottom" textvalign="center" align="center" font="chat_14" color="yellow" shadow="true" watch1="{triggername1}" ontrigger1="{triggereffect1}" watch2="{triggername2}" ontrigger2="{triggereffect2}" watch3="{triggername3}" ontrigger3="{triggereffect3}">{stat}</label> <!-- header label -->
- </panel>
- </panel>
- </template>
- <template name="flavorkills">
- <panel height="2.0h" noclick="1">
- <label width="65%" height="100%" align="left" textalign="right" textvalign="center" font="dyn_10" color="{labeltextcolor}" shadow="1" content="{id}" noclick="1" />
- <label x="19%" width="100%" height="100%" textalign="center" textvalign="center" font="dyn_10" color="{labeltextcolor}" shadow="1" content=":" noclick="1" />
- <label width="27%" height="100%" align="right" textalign="left" textvalign="center" font="dyn_10" color="white" shadow="1" noclick="1" content="0" watch="{resulttrigger}" ontrigger="{ontrigger}" />
- </panel>
- </template>
- <template name="player_stats_panel">
- <instance name="stats_lastmatches_matchhelper" matchnum="0" match_listbox="{match_listbox}" resulttrigger="{resulttrigger=PlayerStatsResult}" />
- <instance name="stats_lastmatches_matchhelper" matchnum="1" match_listbox="{match_listbox}" resulttrigger="{resulttrigger=PlayerStatsResult}" />
- <instance name="stats_lastmatches_matchhelper" matchnum="2" match_listbox="{match_listbox}" resulttrigger="{resulttrigger=PlayerStatsResult}" />
- <instance name="stats_lastmatches_matchhelper" matchnum="3" match_listbox="{match_listbox}" resulttrigger="{resulttrigger=PlayerStatsResult}" />
- <instance name="stats_lastmatches_matchhelper" matchnum="4" match_listbox="{match_listbox}" resulttrigger="{resulttrigger=PlayerStatsResult}" />
- <instance name="stats_lastmatches_matchhelper" matchnum="5" match_listbox="{match_listbox}" resulttrigger="{resulttrigger=PlayerStatsResult}" />
- <instance name="stats_lastmatches_matchhelper" matchnum="6" match_listbox="{match_listbox}" resulttrigger="{resulttrigger=PlayerStatsResult}" />
- <instance name="stats_lastmatches_matchhelper" matchnum="7" match_listbox="{match_listbox}" resulttrigger="{resulttrigger=PlayerStatsResult}" />
- <instance name="stats_lastmatches_matchhelper" matchnum="8" match_listbox="{match_listbox}" resulttrigger="{resulttrigger=PlayerStatsResult}" />
- <instance name="stats_lastmatches_matchhelper" matchnum="9" match_listbox="{match_listbox}" resulttrigger="{resulttrigger=PlayerStatsResult}" />
- <instance name="stats_lastmatches_matchhelper" matchnum="10" match_listbox="{match_listbox}" resulttrigger="{resulttrigger=PlayerStatsResult}" />
- <instance name="stats_lastmatches_matchhelper" matchnum="11" match_listbox="{match_listbox}" resulttrigger="{resulttrigger=PlayerStatsResult}" />
- <instance name="stats_lastmatches_matchhelper" matchnum="12" match_listbox="{match_listbox}" resulttrigger="{resulttrigger=PlayerStatsResult}" />
- <instance name="stats_lastmatches_matchhelper" matchnum="13" match_listbox="{match_listbox}" resulttrigger="{resulttrigger=PlayerStatsResult}" />
- <instance name="stats_lastmatches_matchhelper" matchnum="14" match_listbox="{match_listbox}" resulttrigger="{resulttrigger=PlayerStatsResult}" />
- <instance name="stats_lastmatches_matchhelper" matchnum="15" match_listbox="{match_listbox}" resulttrigger="{resulttrigger=PlayerStatsResult}" />
- <instance name="stats_lastmatches_matchhelper" matchnum="16" match_listbox="{match_listbox}" resulttrigger="{resulttrigger=PlayerStatsResult}" />
- <instance name="stats_lastmatches_matchhelper" matchnum="17" match_listbox="{match_listbox}" resulttrigger="{resulttrigger=PlayerStatsResult}" />
- <instance name="stats_lastmatches_matchhelper" matchnum="18" match_listbox="{match_listbox}" resulttrigger="{resulttrigger=PlayerStatsResult}" />
- <instance name="stats_lastmatches_matchhelper" matchnum="19" match_listbox="{match_listbox}" resulttrigger="{resulttrigger=PlayerStatsResult}" />
- <instance name="stats_lastmatches_matchhelper" matchnum="20" match_listbox="{match_listbox}" resulttrigger="{resulttrigger=PlayerStatsResult}" />
- <panel y="1.0h" width="-2.0h" height="-2.5h" align="center" noclick="true" visible="{visible=false}" group="PlayerStatsPanels" name="{panel_name}">
- <!-- Right -->
- <panel align="right" width="23.6h" float="bottom" padding="0.2h">
- <instance name="header_bar" height="2.8h" lbl="player_stats_last_20_matches" color="{barcolor=1 1 1 1}" lbl_font="dyn_11" show_close="1" onclick="Set('_mainmenu_currentpanel', 'player_stats'); CallEvent('MainMenuPanelSwitcher');" />
- <panel width="100%" align="center" height="2.4h" noclick="1">
- <instance name="header_bar" color="{darkbarcolor=.7 .7 .7 1}" height="2.4h" show_close="0"/>
- <panel x="0.5h" float="right" noclick="true">
- <label width="8.0h" height="100%" textvalign="center" font="dyn_11" color="white" shadow="true" noclick="true" content="general_date" />
- <label height="8.0h" textvalign="center" font="dyn_11" color="white" shadow="true" noclick="true" content="player_stats_matchid" />
- </panel>
- </panel>
- <panel height="-5.6h" noclick="true">
- <frame color="invisible" bordercolor="{framecolor=#455166}" borderthickness="1" noclick="true" />
- <listbox
- name="{match_listbox}"
- height="-1.0h" width="-0.6h"
- align="center" valign="center"
- color="invisible"
- font="dyn_10"
- itemwidth="100%"
- itemheight="2.9h"
- select="false"
- clearselection="true"
- hoverselect="false"
- hoverhighlight="true"
- highlight="under"
- highlightcolor="{itemhighlight=#46adff42}"
- highlightbordercolor="invisible"
- selectedcolor="#346dff52"
- selectedbordercolor="invisible"
- backgroundimage="/ui/fe2/elements/comm_item_bg.tga"
- backgroundimagecolor="{itembgcolor=#1d2f3b}"
- colortransition="true"
- colortransitiontime="250"
- exteriorscrollbars="false"
- scrollbarplaceholder="true"
- scrollbarsize="2.0h"
- scrolltexture="/ui/info/combobox.tga"
- handleheight="2.0h"
- watch="{resulttrigger=PlayerStatsResult}"
- ontrigger="
- ClearItems();
- Trigger('{resulttrigger=PlayerStatsResult}MList');
- "
- />
- <!-- No History -->
- <panel visible="true" watch="{resulttrigger=PlayerStatsResult}" ontrigger="SetVisible(StringEmpty(_playerstats_matchlist_match0_id));">
- <frame color="0 0 0 .8" bordercolor="{framecolor=#455166}" borderthickness="1" noclick="true" />
- <label height="100%" width="-8.0h" align="center" textalign="center" textvalign="center" wrap="true" font="dyn_10" color="white" content="player_stats_nohistory"/>
- </panel>
- </panel>
- </panel>
- <!-- Left -->
- <panel align="left" width="-24.1h" noclick="true" reverse="true">
- <panel width="100%" height="2.5h" noclick="true">
- <instance name="header_bar" height="2.8h" lbl="player_stats_header" color="{barcolor=1 1 1 1}" lbl_font="dyn_11" show_close="0" />
- </panel>
- <!-- Player Overview (Left) -->
- <panel width="-52.0h" height="-3.0h" align="left" valign="bottom" noclick="true">
- <!-- User Details -->
- <panel width="-4.0h" height="9.0h" y="12.5h" align="center">
- <frame texture="/ui/frames/rounded_bg_white.tga" borderthickness="0.6h" color="#1f1f1f" noclick="1"/>
- <frame texture="/ui/frames/roundframe.tga" borderthickness="0.6h" color="#666666" noclick="1" />
- <panel width="110%" height="12.5h" y="-8.5h" align="center" color="0 0 0 1">
- <frame color="invisible" bordercolor=".4 .4 .4 1" borderthickness="1" noclick="1" />
- <panel width="-1h" height="-1h" x=".5h" y=".5h">
- <panel width="9.5h" height="9.5h">
- <avatar
- texture="/ui/common/ability_coverup.tga"
- watch="{resulttrigger=PlayerStatsResult}"
- ontrigger=
- "
- SetTexture('/ui/common/ability_coverup.tga');
- If(StringEmpty(GetAccountIconTexturePathFromUpgrades(param88, param4)),
- SetAvatar('http://www.heroesofnewerth.com/getAvatar.php?id=' # param4),
- SetTexture(GetAccountIconTexturePathFromUpgrades(param88, param4))
- );
- "
- />
- </panel>
- <panel align="right" width="-10.5h" valign="center" float="bottom">
- <panel width="100%" height="2.6h">
- <label
- height="2.6h"
- font="dyn_16"
- color="#ffab01"
- textvalign="center"
- watch="{resulttrigger=PlayerStatsResult}"
- ontrigger=
- "
- If(StringEmpty(GetChatNameColorStringFromUpgrades(param88)),
- SetColor('#FFAB01'),
- SetColor(GetChatNameColorStringFromUpgrades(param88))
- );
- SetGlow(GetChatNameGlowFromUpgrades(param88));
- SetText(param0);
- "
- contents="-"
- />
- <image
- width="2.6h"
- height="2.6h"
- align="right"
- valign="center"
- watch="{resulttrigger=PlayerStatsResult}"
- ontrigger=
- "
- If(StringEmpty(GetChatSymbolTexturePathFromUpgrades(param88)),
- If(StringEmpty(GetChatNameColorTexturePathFromUpgrades(param88)),
- SetVisible(false),
- Split(SetVisible(true), SetTexture(GetChatNameColorTexturePathFromUpgrades(param88)))
- ),
- Split(SetVisible(true), SetTexture(GetChatSymbolTexturePathFromUpgrades(param88)))
- );
- "
- onmouseover="
- Trigger(
- 'StoreImagePreviewInit',
- GetWidth(),
- GetHeight(),
- GetAbsoluteX(),
- GetAbsoluteY(),
- false,
- GetTexture()
- );
- Trigger('StoreImagePreviewVis', true, '250%');
- "
- onmouseout="
- DoEvent(1);
- "
- onhide="
- DoEvent(1);
- "
- onevent1="
- Trigger('StoreImagePreviewVis', false, '100%');
- "
- />
- </panel>
- <panel height="1.8h" align="center">
- <label width="100%" height="100%" textalign="left" textvalign="top" font="dyn_9" color="1 1 1 1" shadow="1" noclick="1" watch="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(param1);" />
- <label width="100%" height="100%" textalign="right" textvalign="top" font="dyn_9" color="1 1 1 1" shadow="1" noclick="1" watch="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(param2);" />
- </panel>
- <panel height="5h" width="100%" onmouseover="##ShowWidget('accountstats_tip');##" onmouseout="##HideWidget('accountstats_tip');##" noclick="1" >
- <frame texture="/ui/info/backdrop.tga" borderthickness="1.0h" color=".6 .6 .6 1" rendermode="grayscale" noclick="1" />
- <frame color=".05 .07 .1 .5" bordercolor="#666666" borderthickness="1" noclick="1" />
- <if condition="!cl_GarenaEnable">
- <!-- F2P -->
- <label y="0.5h" x="6.0h" width="-4.0h" height="1.8h" align="center" textalign="left" textvalign="top" font="dyn_10" color="1 1 1 1" shadow="1" noclick="1" content="general_basic"
- watch="{resulttrigger=PlayerStatsResult}"
- ontrigger="
- If(param119 ge accountStanding_verifiedThreshold or param119 == 0,
- SetText(Translate('general_verified')),
- SetText(Translate('general_basic'))
- );"
- />
- <image color="1 1 1 1" y="0.1h" x="5h" width="2.4h" height="2.4h" valign="top" align="left" visible="1" texture="/ui/icons/basic.tga" noclick="0"
- watch="{resulttrigger=PlayerStatsResult}"
- ontrigger="
- If(param119 ge accountStanding_verifiedThreshold or param119 == 0,
- Split(SetOnMouseover('ShowWidget(\'general_verified\');'), SetTexture('/ui/icons/verified.tga')),
- Split(SetOnMouseover('ShowWidget(\'general_basic\');'), SetTexture('/ui/icons/basic.tga'))
- ); "
- onmouseout="HideWidget('general_verified'); HideWidget('general_basic');" onhide="HideWidget('general_verified'); HideWidget('general_basic');"
- />
- </if>
- <panel height="-1h" width="100@" align="right" color="0 0 0 .5" x="-.5h" valign="center">
- <frame color="invisible" bordercolor="#666666" borderthickness="1" noclick="1" />
- <label height="100%" width="100%" textalign="center" textvalign="center" font="dyn_14" color="1 1 1 1" shadow="1" noclick="1" watch="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(param113);" />
- </panel>
- <panel valign="bottom" height="2h" y="-.5h" x=".5h" width="-6.5h" align="left" color="invisible" noclick="1">
- <image texture="/ui/legion/behind_bar.tga" color="#170045" noclick="1" />
- <panel width="0" watch="{resulttrigger=PlayerStatsResult}" ontrigger="If(param114 gt 0, SetWidth(FtoP(GetAccountPercentNextLevel(param114))), SetWidth(0));" noclick="1">
- <image texture="/ui/legion/behind_bar.tga" color="#ac00f5" noclick="1" />
- <image align="right" texture="/ui/legion/behind_bar.tga" color="1 1 1 .5" noclick="1"/>
- </panel>
- <image width="-0.6h" align="center" texture="/ui/elements/bar_highlight.tga" noclick="1"/>
- <frame color="invisible" bordercolor="#666666" borderthickness="1" noclick="1" />
- </panel>
- <!-- Public Games Blocker
- <panel visible="{pubgameblock=false}">
- <frame color="0 0 0 .9" bordercolor="{framecolor=#455166}" borderthickness="1" noclick="true" />
- <label height="100%" width="-2.0h" align="center" textalign="center" textvalign="center" wrap="true" font="dyn_10" color="white" content="player_stats_nostreakstats"/>
- </panel>
- -->
- </panel>
- </panel>
- </panel>
- <!-- Created / Login Dates -->
- <panel y="-0.5h" width="-1.0h" height="1.5h" align="center" valign="bottom" grow="true">
- <label color="white" font="dyn_9" align="left" watch="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(Translate('player_stats_account_age', 'age', param75));" />
- <label color="white" font="dyn_9" align="right" textalign="right" watch="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(Translate('player_stats_last_match', 'last', param51));" />
- </panel>
- </panel>
- <panel width="100%" align="center" float="bottom" grow="true">
- <panel height="4.5h" />
- <panel width="100%" height="2h" float="right">
- <label width="33.3%" color="#ffab01" shadow="1" font="dyn_11" textvalign="top" textalign="center" noclick="1">player_stats_matches</label>
- <label width="33.3%" color="#ffab01" shadow="1" font="dyn_11" textvalign="top" textalign="center" noclick="1">player_stats_disconnects</label>
- <label width="33.3%" color="#ffab01" shadow="1" font="dyn_11" textvalign="top" textalign="center" noclick="1">player_stats_leave_percent</label>
- </panel>
- <panel width="100%" height="2h" float="right">
- <!-- Matches Played -->
- <label width="33.3%" color="white" shadow="1" font="dyn_11" textvalign="center" textalign="center" onmouseover="ShowWidget('stats_tip_matches_played');" onmouseout="HideWidget('stats_tip_matches_played');" watch="{resulttrigger=PlayerStatsResult}" ontrigger="
- SetText(Round(param5+param89+param90+param123) # ' (' # param5 # ')');
- " />
- <!-- Discos -->
- <label width="33.3%" color="white" shadow="1" font="dyn_11" textvalign="center" textalign="center" onmouseover="ShowWidget('stats_tip_disconnects');" onmouseout="HideWidget('stats_tip_disconnects');" watch="{resulttrigger=PlayerStatsResult}" ontrigger="
- SetText(Round(param11+param91+param92+param124) # ' (' # param11 # ')');
- " />
- <!-- Leave % -->
- <label width="33.3%" color="white" shadow="1" font="dyn_11" textvalign="center" textalign="center" watch="{resulttrigger=PlayerStatsResult}" ontrigger="
- If(
- param11 gt 0 or param91 gt 0 or param92 gt 0 or param124 gt 0,
- SetText(FtoA(FtoP((param11+param91+param92+param124) / (param5+param89+param90+param123)), 1) # '%'),
- SetText('0%')
- );
- " />
- </panel>
- </panel>
- </panel>
- <!-- Acct Overview Stats -->
- <panel y="-12.4h" grow="true" width="100%" valign="bottom" noclick="1" float="bottom" padding="0.7h">
- <!-- MMR / PSR -->
- <panel height="1.8h" noclick="true">
- <label width="47%" height="100%" align="left" textalign="right" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content="" onshow="
- If(
- StringEquals('{panel_name}', 'stats_panel_ranked'),
- SetText(Translate('player_stats_mmr'))
- );
- If(
- StringEquals('{panel_name}', 'stats_panel_casual'),
- SetText(Translate('player_stats_mmr'))
- );
- If(
- StringEquals('{panel_name}', 'stats_panel_public'),
- SetText(Translate('player_stats_psr'))
- );
- " noclick="1" />
- <label width="100%" height="100%" textalign="center" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content=":" noclick="1" />
- <label width="47%" height="100%" align="right" textalign="left" textvalign="center" font="dyn_11" color="white" shadow="1" noclick="1" content="-" watch="{resulttrigger=PlayerStatsResult}"
- ontrigger="
- SetText(
- If(
- StringEquals('{panel_name}', 'stats_panel_public'),
- ClampRank(param13, 0),
- ClampRank(param17, 2)
- )
- );
- "
- />
- </panel>
- <!-- Wins -->
- <panel height="1.8h" noclick="true">
- <label width="47%" height="100%" align="left" textalign="right" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content="player_stats_wins" noclick="1" />
- <label width="100%" height="100%" textalign="center" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content=":" noclick="1" />
- <label width="47%" height="100%" align="right" textalign="left" textvalign="center" font="dyn_11" color="white" shadow="1" noclick="1" watch="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(param6);" />
- </panel>
- <!-- Losses -->
- <panel height="1.8h" noclick="true">
- <label width="47%" height="100%" align="left" textalign="right" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content="player_stats_losses" noclick="1" />
- <label width="100%" height="100%" textalign="center" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content=":" noclick="1" />
- <label width="47%" height="100%" align="right" textalign="left" textvalign="center" font="dyn_11" color="white" shadow="1" noclick="1" watch="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(param7);" />
- </panel>
- <!-- Win % -->
- <panel height="1.8h" noclick="true">
- <label width="47%" height="100%" align="left" textalign="right" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content="player_stats_winning_percentage" noclick="1" />
- <label width="100%" height="100%" textalign="center" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content=":" noclick="1" />
- <label width="47%" height="100%" align="right" textalign="left" textvalign="center" font="dyn_11" color="white" shadow="1" noclick="1" watch="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(Translate('player_stats_win_percent', 'percent', FtoP(param6 / (param6 + param7), 0)));" />
- </panel>
- </panel>
- <!-- Most Played Heroes -->
- <panel y="0" width="-2.0h" height="11.0h" align="center" valign="bottom" noclick="bottom">
- <frame texture="/ui/frames/rounded_bg_white.tga" borderthickness="0.6h" color="{panelbgcolor=#141e27}" noclick="1"/>
- <frame texture="/ui/frames/roundframe.tga" borderthickness="0.6h" color="{framecolor=#455166}" noclick="1" />
- <panel grow="true" width="100%" float="bottom" padding=".2h">
- <label y="0.2h" textalign="center" height="2.2h" textvalign="center" color="{labeltextcolor=#3abde7}" shadow="true" font="dyn_12">player_stats_mostplayed</label>
- <panel height="8h" width="100%" align="center" float="right">
- <panel width="20%" float="bottom" padding=".5h">
- <panel align="center" width="75@" height="75%">
- <image texture="/ui/common/ability_coverup.tga" watch="{resulttrigger=PlayerStatsResult}" ontrigger="Set('_playerstats_hero_icon_temp', param54); CallEvent('playerstats_parse_icon'); SetTexture(_playerstats_hero_icon_output);" />
- <frame color="invisible" bordercolor=".2 .2 .2 1" borderthickness="1" noclick="true" />
- </panel>
- <label textalign="center" align="center" font="dyn_11" color="white" watch="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(Round(param59) # '%');">-</label>
- </panel>
- <panel width="20%" float="bottom" padding=".5h">
- <panel align="center" width="75@" height="75%">
- <image texture="/ui/common/ability_coverup.tga" watch="{resulttrigger=PlayerStatsResult}" ontrigger="Set('_playerstats_hero_icon_temp', param55); CallEvent('playerstats_parse_icon'); SetTexture(_playerstats_hero_icon_output);" />
- <frame color="invisible" bordercolor=".2 .2 .2 1" borderthickness="1" noclick="true" />
- </panel>
- <label textalign="center" align="center" font="dyn_11" color="white" watch="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(Round(param60) # '%');">-</label>
- </panel>
- <panel width="20%" float="bottom" padding=".5h">
- <panel align="center" width="75@" height="75%">
- <image texture="/ui/common/ability_coverup.tga" watch="{resulttrigger=PlayerStatsResult}" ontrigger="Set('_playerstats_hero_icon_temp', param56); CallEvent('playerstats_parse_icon'); SetTexture(_playerstats_hero_icon_output);" />
- <frame color="invisible" bordercolor=".2 .2 .2 1" borderthickness="1" noclick="true" />
- </panel>
- <label textalign="center" align="center" font="dyn_11" color="white" watch="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(Round(param61) # '%');">-</label>
- </panel>
- <panel width="20%" float="bottom" padding=".5h">
- <panel align="center" width="75@" height="75%">
- <image texture="/ui/common/ability_coverup.tga" watch="{resulttrigger=PlayerStatsResult}" ontrigger="Set('_playerstats_hero_icon_temp', param57); CallEvent('playerstats_parse_icon'); SetTexture(_playerstats_hero_icon_output);" />
- <frame color="invisible" bordercolor=".2 .2 .2 1" borderthickness="1" noclick="true" />
- </panel>
- <label textalign="center" align="center" font="dyn_11" color="white" watch="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(Round(param62) # '%');">-</label>
- </panel>
- <panel width="20%" float="bottom" padding=".5h">
- <panel align="center" width="75@" height="75%">
- <image texture="/ui/common/ability_coverup.tga" watch="{resulttrigger=PlayerStatsResult}" ontrigger="Set('_playerstats_hero_icon_temp', param58); CallEvent('playerstats_parse_icon'); SetTexture(_playerstats_hero_icon_output);" />
- <frame color="invisible" bordercolor=".2 .2 .2 1" borderthickness="1" noclick="true" />
- </panel>
- <label textalign="center" align="center" font="dyn_11" color="white" watch="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(Round(param63) # '%');">-</label>
- </panel>
- </panel>
- </panel>
- </panel>
- <!-- Fetch -->
- <panel y="0" height="3.5h">
- <frame texture="/ui/info/backdrop.tga" borderthickness="2.0h" color="{fetchbgcolor=1 1 1 .5}" noclick="1" />
- <frame color=".05 .07 .1 .5" bordercolor="{framecolor=#455166}" borderthickness="1" noclick="1" />
- <panel x="0.5h" height="100%" float="right">
- <label fitx="true" fitxpadding="0.5h" height="100%" textvalign="center" font="dyn_10" color="white" shadow="true" content="player_stats_player_name"/>
- <panel height="2.5h" width="14.0h" valign="center" color="0 0 0 1" noclick="true">
- <frame color="invisible" bordercolor="#7b8c9b" borderthickness="1" noclick="1" />
- <textbox
- name="{panel_name}_textbox"
- y="0.4h"
- width="-1.0h"
- valign="center" align="center"
- maxlength="40"
- textalign="left" textvalign="center"
- font="dyn_10"
- textcolor="white"
- shadow="false"
- color="invisible"
- onshow="SetFocus(true);"
- onenter="Set('_player_stats_searchname', this); If(IsVisible(), CallEvent('player_stats_submit')); EraseInputLine();"
- onesc="EraseInputLine();"
- onchange="CreateString('ui_autocompleteTextBox', name); ChatAutoCompleteNick(this);"
- onlosefocus="Set(stats_add_friend_auto, false);"
- />
- </panel>
- </panel>
- <instance
- name="button2"
- x="-3.0h"
- height="2.5h" width="9.0h"
- align="right" valign="center"
- font="dyn_11"
- label="ccstats_button_fetch"
- onclick="Call(ui_autocompleteTextBox, 'Set(\'_player_stats_searchname\', this); CallEvent(\'player_stats_submit\'); EraseInputLine();');"
- />
- <instance name="tip_mark" tip_id="stat_tip_fetch" x="-0.5h" width="2.3h" height="2.3h" align="right" valign="center" />
- <panel onload="CreateBool('stats_add_friend_auto', false);" x="-15.6h" y="-2.9h" width="17.0h" height="15.0h" align="right" valign="top" visible="false" color="invisible" watch="ChatAutoCompleteClear" ontrigger="SetVisible(false);" watch2="ChatAutoCompleteAdd" ontrigger2="if(stats_add_friend_auto, SetVisible(true));">
- <instance name="autocomplete_list" listbox_name="autocomplete_stats_list_{stattype}" height="10.3h" align="right" valign="bottom" />
- </panel>
- </panel>
- </panel>
- <!-- Player Stats (Mid) -->
- <panel x="-23.0h" width="28.5h" height="-3.0h" align="right" valign="bottom" noclick="true">
- <!-- Lifetime Stats -->
- <panel height="15.0h" noclick="true">
- <instance name="header_bar" lbl="player_stats_lifetime_header" color="{darkbarcolor=.7 .7 .7 1}" height="2.4h" />
- <!-- Op: AE -->
- <instance
- name="button2"
- x="-0.3h" y="0.1h"
- width="6.0h" height="2.1h"
- align="right"
- font="dyn_9"
- label="purch_reset"
- borderthickness="0.6h"
- visible="false"
- onclick="Set('_mainmenu_currentpanel', 'form_reset_stats'); CallEvent('MainMenuPanelSwitcher');"
- watch="{resulttrigger=PlayerStatsResult}"
- ontrigger="SetVisible(param4 == GetAccountID());"
- />
- <panel height="-2.6h" valign="bottom" noclick="true">
- <frame color="0 0 0 .8" bordercolor="{framecolor=#455166}" borderthickness="1" noclick="true" />
- <panel x="1.0h" y="0.6h" grow="true" width="100%" noclick="1" float="bottom" padding="0.2h">
- <panel height="2.2h" color="invisible" noclick="1">
- <label width="45%" height="100%" align="left" textalign="right" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content="player_stats_kills" noclick="1" />
- <label x="-2%" width="100%" height="100%" textalign="center" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content=":" noclick="1" />
- <label width="49%" height="100%" align="right" textalign="left" textvalign="center" font="dyn_11" color="white" shadow="1" noclick="1" content="-" watch="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(param20);" />
- </panel>
- <panel height="2.2h" color="invisible" noclick="1">
- <label width="45%" height="100%" align="left" textalign="right" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content="player_stats_deaths" noclick="1" />
- <label x="-2%" width="100%" height="100%" textalign="center" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content=":" noclick="1" />
- <label width="49%" height="100%" align="right" textalign="left" textvalign="center" font="dyn_11" color="white" shadow="1" noclick="1" content="-" watch="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(param25);" />
- </panel>
- <panel height="2.2h" color="invisible" noclick="1">
- <label width="45%" height="100%" align="left" textalign="right" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content="player_stats_assists" noclick="1" />
- <label x="-2%" width="100%" height="100%" textalign="center" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content=":" noclick="1" />
- <label width="49%" height="100%" align="right" textalign="left" textvalign="center" font="dyn_11" color="white" shadow="1" noclick="1" content="-" watch="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(param24);" />
- </panel>
- <panel height="2.2h" color="invisible" noclick="1">
- <label width="45%" height="100%" align="left" textalign="right" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content="player_stats_kd_ratio" noclick="1" />
- <label x="-2%" width="100%" height="100%" textalign="center" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content=":" noclick="1" />
- <label width="49%" height="100%" align="right" textalign="left" textvalign="center" font="dyn_11" color="white" shadow="1" noclick="1" content="-" watch="{resulttrigger=PlayerStatsResult}" ontrigger="if(param25 gt 0, SetText(FtoA(param20 / param25, 2) # ':1'), If(param20 gt 0, SetText(20 # ':0'), SetText('0:0')));" />
- </panel>
- <panel height="2.2h" color="invisible" noclick="1">
- <label width="45%" height="100%" align="left" textalign="right" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content="player_stats_kad_ratio" noclick="1" />
- <label x="-2%" width="100%" height="100%" textalign="center" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content=":" noclick="1" />
- <label width="49%" height="100%" align="right" textalign="left" textvalign="center" font="dyn_11" color="white" shadow="1" noclick="1" content="-" watch="{resulttrigger=PlayerStatsResult}" ontrigger="if(param25 gt 0, SetText(FtoA((param20 + param24) / param25, 2) # ':1'), If((param20 + param24) gt 0, SetText(20 # ':0'), SetText('0:0')));" />
- </panel>
- </panel>
- </panel>
- </panel>
- <panel height="-15.5h" valign="bottom" noclick="true">
- <instance name="header_bar" lbl="player_stats_averages_header" color="{darkbarcolor=.7 .7 .7 1}" height="2.4h" />
- <!-- Op: AE -->
- <instance
- name="button2"
- x="-0.3h" y="0.1h"
- width="6.0h" height="2.1h"
- align="right"
- font="dyn_9"
- label="purch_reset"
- borderthickness="0.6h"
- visible="false"
- onclick="Set('_mainmenu_currentpanel', 'form_reset_stats'); CallEvent('MainMenuPanelSwitcher');"
- watch="{resulttrigger=PlayerStatsResult}"
- ontrigger="SetVisible(param4 == GetAccountID());"
- />
- <panel height="-2.6h" valign="bottom" noclick="true">
- <frame color="0 0 0 .8" bordercolor="{framecolor=#455166}" borderthickness="1" noclick="true" />
- <panel x="1.0h" y="0.6h" grow="true" width="100%" noclick="1" float="bottom" padding="0.3h">
- <panel height="2.2h" noclick="true">
- <label width="45%" height="100%" align="left" textalign="right" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content="player_avg_game_length" noclick="1" />
- <label x="-2%" width="100%" height="100%" textalign="center" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content=":" noclick="1" />
- <label width="49%" height="100%" align="right" textalign="left" textvalign="center" font="dyn_11" color="white" shadow="1" noclick="1" content="-" watch="{resulttrigger=PlayerStatsResult}" ontrigger="if((param68) gt 0, SetText(FtoT((param68) * 1000, 1, 0, '0')), SetText('00:00'));" />
- </panel>
- <panel height="2.2h" noclick="true">
- <label width="44%" height="100%" align="left" textalign="right" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content="player_avg_kda" noclick="1" />
- <label x="-2%" width="100%" height="100%" textalign="center" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content=":" noclick="1" />
- <label width="49%" height="100%" align="right" textalign="left" textvalign="center" font="dyn_11" color="white" shadow="1" noclick="1" content="-" watch="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(param67);" />
- </panel>
- <panel height="2.2h" noclick="true">
- <label width="44%" height="100%" align="left" textalign="right" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content="player_avg_creep_kills" noclick="1" />
- <label x="-2%" width="100%" height="100%" textalign="center" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content=":" noclick="1" />
- <label width="49%" height="100%" align="right" textalign="left" textvalign="center" font="dyn_11" color="white" shadow="1" noclick="1" content="-" watch="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(FtoA(param71, 1));" />
- </panel>
- <panel height="2.2h" noclick="true">
- <label width="44%" height="100%" align="left" textalign="right" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content="player_avg_creep_denies" noclick="1" />
- <label x="-2%" width="100%" height="100%" textalign="center" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content=":" noclick="1" />
- <label width="49%" height="100%" align="right" textalign="left" textvalign="center" font="dyn_11" color="white" shadow="1" noclick="1" content="-" watch="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(FtoA(param70, 1));" />
- </panel>
- <panel height="2.2h" noclick="true">
- <label width="44%" height="100%" align="left" textalign="right" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content="player_stats_experience_earned" noclick="1" />
- <label x="-2%" width="100%" height="100%" textalign="center" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content=":" noclick="1" />
- <label width="49%" height="100%" align="right" textalign="left" textvalign="center" font="dyn_11" color="white" shadow="1" noclick="1" content="-" watch="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(FtoA(param44 / param5, 1, 3, ','));" />
- </panel>
- <panel height="2.2h" noclick="true">
- <label width="44%" height="100%" align="left" textalign="right" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content="player_stats_experience_per_minute" noclick="1" />
- <label x="-2%" width="100%" height="100%" textalign="center" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content=":" noclick="1" />
- <label width="49%" height="100%" align="right" textalign="left" textvalign="center" font="dyn_11" color="white" shadow="1" noclick="1" content="-" watch="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(FtoA(param69, 1));" />
- </panel>
- <panel height="2.2h" noclick="true">
- <label width="44%" height="100%" align="left" textalign="right" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content="player_stats_gold_per_minute" noclick="1" />
- <label x="-2%" width="100%" height="100%" textalign="center" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content=":" noclick="1" />
- <label width="49%" height="100%" align="right" textalign="left" textvalign="center" font="dyn_11" color="white" shadow="1" noclick="1" content="-" watch="{resulttrigger=PlayerStatsResult}" ontrigger="if(param112 gt 0, SetText(FtoA(param42 / (param112/60), 1)), SetText('0'));" />
- </panel>
- <panel height="2.2h" noclick="true">
- <label width="44%" height="100%" align="left" textalign="right" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content="player_stats_wards" noclick="1" />
- <label x="-2%" width="100%" height="100%" textalign="center" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content=":" noclick="1" />
- <label width="49%" height="100%" align="right" textalign="left" textvalign="center" font="dyn_11" color="white" shadow="1" noclick="1" content="-" watch="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(FtoA(param74, 1));" />
- </panel>
- <panel height="2.2h" noclick="true">
- <label width="44%" height="100%" align="left" textalign="right" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content="player_stats_apm" noclick="1" />
- <label x="-2%" width="100%" height="100%" textalign="center" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content=":" noclick="1" />
- <label width="49%" height="100%" align="right" textalign="left" textvalign="center" font="dyn_11" color="white" shadow="1" noclick="1" content="-" watch="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(FtoA(param73, 1));" />
- </panel>
- <panel height="2.2h" noclick="true">
- <label width="44%" height="100%" align="left" textalign="right" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content="player_stats_neutral_creeps" noclick="1" />
- <label x="-2%" width="100%" height="100%" textalign="center" textvalign="center" font="dyn_11" color="{labeltextcolor=#3abde7}" shadow="1" content=":" noclick="1" />
- <label width="49%" height="100%" align="right" textalign="left" textvalign="center" font="dyn_11" color="white" shadow="1" noclick="1" content="-" watch="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(FtoA(param72, 1));" />
- </panel>
- </panel>
- </panel>
- </panel>
- </panel>
- <!-- Moar Stats (Right) -->
- <panel width="22.5h" height="-3.0h" align="right" valign="bottom" noclick="true">
- <panel width="15.0h" height="12.4h" align="center" noclick="true">
- <panel y="-1.5h" width="15.6h" height="13.5h" noclick="true" color="1 1 1 .3">
- <image noclick="true"
- ontrigger9lua="UIManager.GetInterface('main'):HoNMainF('RegisterTexture', '/ui/icons/bronze_smackdown.tga', 'playerstats', self)" resourcecontext="playerstats" watch9="MainRegisterTextures"
- />
- <label fity="true" y="-3%" valign="center" textalign="center" font="dyn_12" color="1 1 1 1" noclick="true" content="0" watch="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(param107);" />
- </panel>
- <label y="-0.1h" fity="true" valign="bottom" textalign="center" font="dyn_14" color="#f8ebc6" noclick="true" content="player_stats_smackdowns" />
- </panel>
- <panel height="-12.2h" valign="bottom" noclick="true" float="bottom">
- <instance name="flavorkills" id="player_stats_humiliated" labeltextcolor="{labeltextcolor=#3abde7}" resulttrigger="{resulttrigger}" ontrigger="SetText(param108);"/>
- <panel width="100%" height="5">
- <panel width="80%" align="center" valign="center" height="1" color=".3 .3 .3 1" />
- </panel>
- <instance name="flavorkills" id="player_stats_serialkiller" labeltextcolor="{labeltextcolor=#3abde7}" resulttrigger="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(param98);"/>
- <instance name="flavorkills" id="player_stats_ultimatewarrior" labeltextcolor="{labeltextcolor=#3abde7}" resulttrigger="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(param99);"/>
- <instance name="flavorkills" id="player_stats_legndary" labeltextcolor="{labeltextcolor=#3abde7}" resulttrigger="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(param100);"/>
- <instance name="flavorkills" id="player_stats_onslaught" labeltextcolor="{labeltextcolor=#3abde7}" resulttrigger="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(param101);"/>
- <instance name="flavorkills" id="player_stats_savagesick" labeltextcolor="{labeltextcolor=#3abde7}" resulttrigger="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(param102);"/>
- <instance name="flavorkills" id="player_stats_dominating" labeltextcolor="{labeltextcolor=#3abde7}" resulttrigger="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(param103);"/>
- <instance name="flavorkills" id="player_stats_champion" labeltextcolor="{labeltextcolor=#3abde7}" resulttrigger="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(param104);"/>
- <instance name="flavorkills" id="player_stats_bloodbath" labeltextcolor="{labeltextcolor=#3abde7}" resulttrigger="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(param105);"/>
- <instance name="flavorkills" id="player_stats_immortal" labeltextcolor="{labeltextcolor=#3abde7}" resulttrigger="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(param106);"/>
- <panel width="100%" height="5">
- <panel width="80%" align="center" valign="center" height="1" color=".3 .3 .3 1" />
- </panel>
- <instance name="flavorkills" id="player_stats_doubletap" labeltextcolor="{labeltextcolor=#3abde7}" resulttrigger="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(param94);"/>
- <instance name="flavorkills" id="player_stats_hattrick" labeltextcolor="{labeltextcolor=#3abde7}" resulttrigger="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(param95);"/>
- <instance name="flavorkills" id="player_stats_quadkill" labeltextcolor="{labeltextcolor=#3abde7}" resulttrigger="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(param96);"/>
- <instance name="flavorkills" id="player_stats_annihilated" labeltextcolor="{labeltextcolor=#3abde7}" resulttrigger="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(param97);"/>
- <panel width="100%" height="5">
- <panel width="80%" align="center" valign="center" height="1" color=".3 .3 .3 1" />
- </panel>
- <instance name="flavorkills" id="player_stats_bloodlust" labeltextcolor="{labeltextcolor=#3abde7}" resulttrigger="{resulttrigger=PlayerStatsResult}" ontrigger="SetText(param93);"/>
- </panel>
- <!-- Public Games No Stats -->
- <panel visible="{pubgameblock=false}">
- <frame color="0 0 0 .8" bordercolor="{framecolor=#455166}" borderthickness="1" noclick="true" />
- <label height="100%" width="-8.0h" align="center" textalign="center" textvalign="center" wrap="true" font="dyn_10" color="white" content="player_stats_nostreakstats"/>
- </panel>
- </panel>
- </panel>
- </panel>
- <!-- Request status -->
- <panel name="stats_status_box_{panel_name}" color="0 0 0 .7" blockinput="true" visible="false" watch="{statustrigger=PlayerStatsStatus}" ontrigger="SetVisible(param == 1 || param == 3);">
- <panel width="28.0h" height="10.0h" align="center" valign="center" noclick="0" cangrab="1">
- <frame color="0 0 0 .8" bordercolor="{framecolor=#455166}" borderthickness="1" noclick="1" />
- <panel y="-0.5h" width="-1.0h" height="-3.4h" align="center" valign="bottom" noclick="1">
- <frame texture="/ui/frames/tooltip_bg.tga" color="{popupbgcolor=#2c4b6c}" noclick="1"/>
- <frame color="invisible" bordercolor="{framecolor=#455166}" borderthickness="1" noclick="1" />
- <panel width="-1.0h" height="-1.0h" align="center" valign="center" color="invisible" noclick="1">
- <panel height="3.0h" align="center" float="right" padding=".5h" grow="true">
- <animatedimage width="100@" height="100%" texture="/ui/elements/throb/throb.tga" noclick="true" loop="1" fps="30" onshow="StartAnim(1);" />
- <label height="-1.0h" fitx="true" valign="center" textalign="left" font="dyn_10" textcolor="white" shadow="false" color="white">main_stats_retrieving_stats</label>
- </panel>
- <panel height="2.4h" valign="bottom" color="invisible" noclick="1" watch="{statustrigger=PlayerStatsStatus}" ontrigger="SetVisible(param == 1 || param == 3);">
- <instance
- name="button2"
- width="10.0h" height="2.4h"
- align="left"
- valign="center"
- label="main_stats_cancel"
- onclick="Call('stats_status_box_{panel_name}', 'FadeOut(250);');"
- />
- <instance
- name="button2"
- width="10.0h" height="2.4h"
- align="right"
- valign="center"
- label="main_stats_retry"
- onclick="If(IsVisible(), CallEvent('player_stats_submit'));"
- enabled="false"
- />
- </panel>
- </panel>
- </panel>
- <instance
- name="header_bar"
- color="{barcolor=1 1 1 1}"
- buttonsize="1.8h"
- height="2.4h"
- width="-2"
- y="1"
- align="center"
- lbl=""
- show_close="1"
- onclick="Call('main_stats_info_box', 'FadeOut(250);');"
- />
- </panel>
- </panel>
- <!-- General Error -->
- <panel name="stats_error_{panel_name}" valign="bottom" height="-4.0h" color="0 0 0 .7" blockinput="true" visible="false" watch="{resulttrigger=PlayerStatsResult}" ontrigger="SetVisible(param86 == 1 or param86 == 2);">
- <panel width="38.0h" grow="true" align="center" valign="center" noclick="0">
- <frame color="0 0 0 .8" bordercolor="{framecolor=#455166}" borderthickness="1" noclick="1" />
- <panel grow="true" width="100%" float="bottom" padding="0.5h">
- <instance
- name="header_bar"
- color="{barcolor=1 1 1 1}"
- buttonsize="1.8h"
- height="2.6h"
- width="-2"
- align="center"
- lbl="general_error"
- show_close="1"
- onclick="Call('stats_error_{panel_name}', 'FadeOut(250);');"
- />
- <panel width="100%" grow="true">
- <label fity="true" fitypadding="0.5h" width="-1.0h" align="center" textalign="left" font="dyn_10" wrap="true" textcolor="white" shadow="true" color="white" content="main_stats_error_message"/>
- </panel>
- </panel>
- </panel>
- </panel>
- </template>
- <template name="stats_head_tab_button">
- <panel width="{width}" height="100%" noclick="true">
- <button
- width="100%" height="100%"
- group="{group}"
- name="{button_name}"
- color="invisible"
- visible="{visible=true}"
- watch="{watch}"
- enabled="{enabled=true}"
- ontrigger="{ontrigger}"
- onmouseover="PlaySound('/shared/sounds/ui/button_over_01.wav'); If(!StringEmpty('{id}'), Call('{id}', 'SetAnim(0, \'start\');')); If(!StringEmpty('{id}'), Call('{id}', 'SetEffect(0, \'/ui/effects/nebula/button_smoke.effect\');')); {onmouseover}"
- onmouseout="{onmouseout}"
- onclick="PlaySound('{sound=/shared/sounds/ui/button_click_01.wav}'); {onclick}"
- onenter="PlaySound('{sound='/shared/sounds/ui/button_click_01.wav}'); {onenter}"
- onshow="{onshow}"
- hotkey="{hotkey}"
- onhotkey="PlaySound('{sound=/shared/sounds/ui/button_click_01.wav'}'); {onhotkey}"
- >
- <widgetstate statename="up">
- <label font="{font=dyn_11}" shadow="true" color="white" textalign="center" textvalign="center">{label}</label>
- </widgetstate>
- <widgetstate statename="over">
- <frame texture="/ui/frames/rounded_button_bg_white.tga" borderthickness="0.5h" rendermode="additive" color="0.2 0.2 0.2 1"/>
- <label font="{font=dyn_11}" shadow="true" color="white" textalign="center" textvalign="center">{label}</label>
- </widgetstate>
- <widgetstate statename="down" x="1" y="1">
- <label font="{font=dyn_11}" shadow="true" color="white" textalign="center" textvalign="center">{label}</label>
- </widgetstate>
- <widgetstate statename="disabled">
- <frame texture="/ui/frames/rounded_button_bg_white.tga" borderthickness="0.5h" color=".3 .3 .3 .7"/>
- <label font="{font=dyn_11}" shadow="true" color="white" textalign="center" textvalign="center">{label}</label>
- </widgetstate>
- </button>
- <panel name="{type}_cover" group="stats_tab_cover" visible="{cover_isvis=false}">
- <frame texture="/ui/info/button_down.tga" borderthickness="0.4h" color="0 0 0 0.6"/>
- <label font="dyn_11" shadow="true" color="white" textalign="center" textvalign="center">{label}</label>
- </panel>
- </panel>
- </template>
- <template name="player_stats">
- <panel y="-110%" align="center" width="-11.0h" name="player_stats" visible="{visible=0}" noclick="true" valign="center">
- <panel x="0" y="-100%" height="203.6%" width="-15@" align="center" texture="mainmenu/upper_frame_center.tga"/>
- <panel x="20h" y="-100%" height="203.6%" width="50@" align="right" texture="mainmenu/upper_frame_right.tga"/>
- <panel x="-20h" y="-100%" height="203.6%" width="50@" align="left" texture="mainmenu/upper_frame_left.tga"/>
- <instance name="player_stats_panel" panel_name="stats_panel_ranked" stattype="ranked" match_listbox="stats_matches_list_ranked" resulttrigger="PlayerStatsResultRanked" statustrigger="PlayerStatsStatusRanked" visible="true" />
- <instance name="player_stats_panel" panel_name="stats_panel_casual" stattype="casual" match_listbox="stats_matches_list_casual" resulttrigger="PlayerStatsResultCasual" statustrigger="PlayerStatsStatusCasual" labeltextcolor="#3AE77B" framecolor="#456645" barcolor=".4 1 .4 1" darkbarcolor=".7 1 .7 1" panelbgcolor="#162714" itemhighlight="#46FF6442" itembgcolor="#213B1D" fetchbgcolor=".6 1 .6 .5" levelgroupcolor=".5 1 .5 1" popupbgcolor="#2C6C2C" visible="false" />
- <instance name="player_stats_panel" panel_name="stats_panel_public" stattype="public" match_listbox="stats_matches_list_public" resulttrigger="PlayerStatsResult" statustrigger="PlayerStatsStatus" labeltextcolor="#c22e2e" framecolor="#664545" barcolor=".6 .4 .4 1" darkbarcolor=".5 .3 .3 1" panelbgcolor="#271414" itemhighlight="#46FF6442" itembgcolor="#3b1d1d" fetchbgcolor=".6 .4 .4 1" levelgroupcolor=".5 .3 .3 1 1" popupbgcolor="#6c2c2c" pubgameblock="true" visible="false" />
- <panel x="-25.0h" y="1.2h" height="2.5h" align="right" grow="true" float="right" padding="0.5h" onload="ShowOnly('ranked_cover'); cmd('setsave _playerstats_show_panel ' # 'stats_panel_ranked'); ShowOnly('stats_panel_ranked'); If(IsVisible(), CallEvent('player_stats_submit'));">
- <panel width="1.0h" height="100%">
- <panel x="-1" height="100%" width="1" align="center" color="0 0 0 .7" />
- <panel x="0" height="100%" width="1" align="center" color="1 1 1 .3" />
- </panel>
- <instance name="stats_head_tab_button" width="19h" label="web_form_resetstats_rankedstats" type="ranked" cover_isvis="false" onclick="ShowOnly('ranked_cover'); cmd('setsave _playerstats_show_panel ' # 'stats_panel_ranked'); ShowOnly('stats_panel_ranked'); If(IsVisible(), CallEvent('player_stats_submit'));" onmouseover="" onmouseout="" />
- <panel width="1.0h" height="100%">
- <panel x="-1" height="100%" width="1" align="center" color="0 0 0 .7" />
- <panel x="0" height="100%" width="1" align="center" color="1 1 1 .3" />
- </panel>
- <instance name="stats_head_tab_button" width="19h" label="web_form_resetstats_casualstats" type="casual" cover_isvis="false" onclick="ShowOnly('casual_cover'); cmd('setsave _playerstats_show_panel ' # 'stats_panel_casual'); ShowOnly('stats_panel_casual'); If(IsVisible(), CallEvent('player_stats_submit'));" onmouseover="" onmouseout="" />
- <panel width="1.0h" height="100%">
- <panel x="-1" height="100%" width="1" align="center" color="0 0 0 .7" />
- <panel x="0" height="100%" width="1" align="center" color="1 1 1 .3" />
- </panel>
- <instance name="stats_head_tab_button" width="19h" label="web_form_resetstats_pubstats" type="public" cover_isvis="false" onclick="ShowOnly('public_cover'); cmd('setsave _playerstats_show_panel ' # 'stats_panel_public'); ShowOnly('stats_panel_public'); If(IsVisible(), CallEvent('player_stats_submit'));" onmouseover="" onmouseout="" />
- </panel>
- </panel>
- </template>
- </package>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement