Jump to content
Sports Interactive Community

TG040

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 "What we've got here is a failure to communicate"

About TG040

  • Rank
    Amateur
  1. On the club overview screen my Hall of Fame widget is not showing any of the names . I do have people in my Hall of Fame, but they just aren't showing up. Using code from the TCS skin. Code 1 on club overview page (hall of fame part) <!-- MIDDLE SECTION --> <container class="horizontal_adaptive_container" gap="16" draw_vertical_dividers="true"> <container minimum_width="1000" default_width="-1" priority="1" > <layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true"/> <container class="vertical_adaptive_container"> <!-- TABBED CONTAINER --> <container class="bordered_box" appearance="tcs/boxes/bordered/paper" red_replacement="woz_bg" blue_replacement="woz_3rd" default_height="-1" minimum_height="430"> <layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true"/> <container class="tabbed_container" default_item="ttNf" save_session_state="true"> <!-- TEAM INFO --> <container id="ttNf" draw_vertical_dividers="true"> <translation id="title" type="use" translation_id="232994" value="Information" /> <layout class="stick_to_sides_attachment" alignment="all" inset="2" apply_to_children="true"/> <container> <layout class="horizontal_arrange" horizontal_layout="320,-1,430" /> <container> <layout class="vertical_arrange" vertical_layout="-8,2,-5" /> <!--staff--> <!-- HALL OF FAME --> <widget class="club_overview_details_panel" file="club/tcs/legends" id="tsle" > <translation id="title" translation_id="319618" type="use" value="Hall of Fame" /> </widget> <widget class="horizontal_subtle_divider"/> <!-- KITS --> <widget class="club_overview_kits_panel" id="tctK" default_item="true" > <translation id="title" translation_id="319448" type="use" value="Kits" /> <record id="object_property" get_property="objt" set_property="objt"/> </widget> </container> <widget class="pitch_with_tactics" id="pwtc" priority="1" icon_flags="show_name,show_extra_details,show_number,use_player_kits_back,dont_show_team_names,drop_initial_if_possible,show_preview_info_popup" player_icon_file="player icons/newclub" pitch_draw_markings="true" line_width="1.4" pitch_line_colour="white"> <boolean id="vertical" value="true" /> <boolean id="pitch_dont_draw_indicators" value="true" /> <integer id="pitch_perspective" value="0.020000" /> <integer id="pitch_vertical_padding" value="0" /> <string id="pitch_draw_grass" value="true" /> <string id="pitch_base_appearance" value="" /> <string id="pitch_pattern" value="" /> <integer id="pitch_alignment" value="centre_x,centre_y" /> </widget> <container draw_horizontal_dividers="true"> <attachment_group class="vertical_arrange" vertical_alignment="fill" /> <container class="client_object_viewer_selector_panel" id="cos2" default_height="200" priority="2" minimum_height="150" > <layout class="stick_to_sides_attachment" alignment="all" inset="4" apply_to_children="true" /> <!-- LEAGUE HISTORY --> <widget class="club_league_history_graph" id="clhg" default_item="true"> <translation id="title" translation_id="319446" type="use" value="League History[COMMENT: title for the league position history on the club overview panel]" /> </widget> <!-- CONTRACT EXPIRY DATES --> <widget class="team_snapshot_contract_panel" id="tsco"> <translation id="title" translation_id="255039" type="use" value="Contract Expiry Dates[COMMENT: team contract snapshot panel heading]" /> </widget> <!-- FINANCE AND SALARY --> <widget class="finances_short_wage_summary_panel" id="fina"> <translation id="title" translation_id="329952" type="use" value="Finance &amp; Salary[COMMENT: manager snapshot/home: wage &amp; finances summary panel heading]" /> </widget> <!-- TEAMS --> <widget class="team_container_overview_teams_panel" id="tcot" default_item="true"> <translation id="title" translation_id="229362" type="use" value="Teams" /> </widget> <!-- KITS --> <widget class="club_overview_kits_panel" id="tcTK" default_item="true" > <translation id="title" translation_id="319448" type="use" value="Kits" /> <record id="object_property" get_property="objt" set_property="objt"/> </widget> <!-- PENDING TRANSFERS --> <widget class="team_transfer_snapshot_panel" id="Tran" > <translation id="title" translation_id="296337" type="use" value="Pending Transfers" /> </widget> <!-- CLUB BACKGROUND --> <widget class="team_container_information_background_panel" id="Cbac"> <translation id="title" translation_id="333728" type="use" value="Club Background[COMMENT: title for panel showing a club's background]" /> </widget> <!-- TEAM INJURIES --> <widget class="team_snapshot_injury_panel" id="tsin" > <translation id="title" translation_id="298734" type="use" value="Team Injuries[COMMENT:title for a box containing a list of a team's injuries]" /> </widget> </container> <container class="client_object_viewer_selector_panel" id="cos1" default_height="200" priority="2" minimum_height="150"> <layout class="stick_to_sides_attachment" alignment="all" inset="4" apply_to_children="true" /> <!-- HALL OF FAME --> <widget class="club_overview_details_panel" file="club/tcs/legends" id="tsle" default_item="true"> <translation id="title" translation_id="319618" type="use" value="Hall of Fame" /> </widget> <!-- LEAGUE HISTORY --> <widget class="club_league_history_graph" id="clhg" > <translation id="title" translation_id="319446" type="use" value="League History[COMMENT: title for the league position history on the club overview panel]" /> </widget> <!-- CONTRACT EXPIRY DATES --> <widget class="team_snapshot_contract_panel" id="tsco"> <translation id="title" translation_id="255039" type="use" value="Contract Expiry Dates[COMMENT: team contract snapshot panel heading]" /> </widget> <!-- FINANCE AND SALARY --> <widget class="finances_short_wage_summary_panel" id="fina"> <translation id="title" translation_id="329952" type="use" value="Finance &amp; Salary[COMMENT: manager snapshot/home: wage &amp; finances summary panel heading]" /> </widget> <!-- KITS --> <widget class="club_overview_kits_panel" id="tcTK" default_item="true" > <translation id="title" translation_id="319448" type="use" value="Kits" /> <record id="object_property" get_property="objt" set_property="objt"/> </widget> <!-- TEAMS --> <widget class="team_container_overview_teams_panel" id="tcot" default_item="true"> <translation id="title" translation_id="229362" type="use" value="Teams" /> </widget> <!-- PENDING TRANSFERS --> <widget class="team_transfer_snapshot_panel" id="Tran" > <translation id="title" translation_id="296337" type="use" value="Pending Transfers" /> </widget> <!-- CLUB BACKGROUND --> <widget class="team_container_information_background_panel" id="Cbac"> <translation id="title" translation_id="333728" type="use" value="Club Background[COMMENT: title for panel showing a club's background]" /> </widget> <!-- TEAM INJURIES --> <widget class="team_snapshot_injury_panel" id="tsin" > <translation id="title" translation_id="298734" type="use" value="Team Injuries[COMMENT:title for a box containing a list of a team's injuries]" /> </widget> </container> </container> </container> </container> References legends xml from TCS <!-- THIS PANEL SHOWS ON THE "HALL OF FAME" WIDGET ON THE CLUB OVERVIEW SELECTOR --> <panel draw_horizontal_dividers="true"> <!-- SIMPLE LAYOUT. WE SPLIT THE PANEL IN TWO HORIZONTAL SECTIONS WITH THE FAVOURED PERSONNEL OCCUPYING THE TOP HALF --> <attachment_group class="vertical_arrange" vertical_alignment="fill" vertical_gap="16" horizontal_inset="0"/> <!-- FAVOURED PERSONNEL --> <container class="subsection_box"> <translation id="title" translation_id="247454" type="use" value="Favoured Personnel" /> <layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true" /> <widget class="legend_list_table" id="Cfap"> <record id="object_property"> <integer id="get_property" value="Cfap" /> </record> </widget> </container> <!-- SECOND HALF --> <container draw_vertical_dividers="true"> <!-- WE THEN SPLIT THE SECOND HALF INTO TWO VERTICAL SECTIONS WITH THE LEGENDS AND ICONS ON EITHER HALF --> <attachment_group class="horizontal_arrange" horizontal_alignment="fill" horizontal_gap="16" /> <!-- ICONS --> <container class="subsection_box"> <translation id="title" translation_id="289355" type="use" value="Icons[COMMENT: heading; team_information_panel; list of legends persons to current club]" /> <layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true" /> <widget class="legend_list_table" id="Csvp"> <record id="object_property"> <integer id="get_property" value="Csvp" /> </record> </widget> </container> <!-- LEGENDS --> <container class="subsection_box"> <translation id="title" translation_id="281393" type="use" value="Legends[COMMENT: heading; team_information_panel; list of legends persons to current club]" /> <layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true" /> <widget class="legend_list_table" id="TLeg"> <record id="object_property"> <integer id="get_property" value="TLeg" /> </record> </widget> </container> </container> </panel>
  2. Hi, I'm currently modify a skin to display the place of birth in the players personal details panel. I mostly got it to work (see screenshot 1), however it displays both the place of birth and the country/nation that city is in. My objective is for it to only display the city/place of birth without the nation, see screenshot 2. : I looked into the files of this skin (Tad Twenty) and I couldn't find anything regarding the place of birth in their players personal details panel.xml For this I think, I need to find the right object_property. Below is the code that I currently use. Which object_property do I need? Or is there another solution to my problem? <container> <attachment_group class="vertical_arrange_autosize" vertical_offset="0" vertical_gap="0" horizontal_alignment="horizontal" horizontal_inset="0" /> <widget class="editable_client_object_property_panel" id="dobl" auto_size="vertical" colour="secondary" size="9.5" format="[%date#1-short]"> <record id="widget_info" class="game_formatted_label" auto_size="vertical" /> <record id="object_property" get_property="Pdob" /> </widget> <widget class="place_of_birth_label" id="cobw" auto_size="vertical" size = "10"> <record id="object_property" get_property="Pcob"/> </widget> </container>
×
×
  • Create New...