Jump to content

Tactic style on human profile


Recommended Posts

I'm trying to get tactical style on  human profile.xml from Rensie's skin, but I'm struggling to understand what is wrong because it's not appearing even if moved in one of the upper rows. I've checked on OPZ skin if the id="npTs" is correct and seems to be the right one

<!-- Pitch -->
		<widget class="non_player_tactics_overview_panel" file="none" id="tact" default_width="-1">
			<record id="object_property">
				<integer id="get_property" value="objt" />
				<integer id="set_property" value="objt" />
			</record>
			<layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true"/>

			<container class="plain_box">
				<layout class="arrange_horizontal_attachment" layout="-3,-2" offset="0" gap="10" />
				<layout class="stick_to_sides_attachment" alignment="vertical" apply_to_children="true" inset="0" />

				<widget class="pitch_with_tactics" id="attp"  icon_flags="show_selection_image,dont_fade_icons" >
					<boolean id="pitch_is_read_only" value="true" />
					<boolean id="vertical" value="true" />
					<boolean id="pitch_dont_draw_indicators" value="true" />
					<integer id="pitch_kit_height" value="0" />
					<integer id="pitch_alignment" value="centre_x,top" />
				</widget>

				<widget class="table" id="tacT" layout="-1" mode="fill_rows" row_height="22">
					<record id="default_properties" col="0" />
					<!-- Preferred Formation-->
					<widget class="label" row="0" font="label" colour="white" alignment="left,bottom">
						<translation id="text" translation_id="229988" type="use" value="Preferred Formation" />
					</widget>
					<!-- Playing mentality-->
					<widget class="label" row="2" font="label" colour="white" alignment="left,bottom">
						<translation id="text" translation_id="242539" type="use" value="Playing Mentality" />
					</widget>
					<!-- Pressing style-->
					<widget class="label" row="4" font="label" colour="white" alignment="left,bottom">
						<translation id="text" translation_id="242534" type="use" value="Pressing Style" />
					</widget>
					<!-- Marking style-->
					<widget class="label" row="6" font="label" colour="white" alignment="left,bottom">
						<translation id="text" translation_id="242547" type="use" value="Marking Style" />
					</widget>
					<!-- Coaching style -->
					<widget class="label" row="8" font="label" colour="white" alignment="left,bottom">
						<translation id="text" translation_id="242543" type="use" value="Coaching Style" />
					</widget> 
					<!-- Tactical style -->
					<widget class="label" row="10" font="label" colour="white" alignment="left,bottom">
						<translation id="text" translation_id="466531" type="use" value="Tactical Style[COMMENT: FR 23334; tactics panel; title for a button to allow the user to choose a tactical style]" />	
					</widget>		
				 			 			 
					<widget class="label" id="prfo" row="1" />
					<widget class="label" id="plma" row="3" />
					<widget class="label" id="prst" row="5" />
					<widget class="label" id="mars" row="7" />
					<widget class="label" id="coas" row="9" /> 		
					<widget class="label" id="npTs" row="11" />
					
					<!--  VIA OPZ <container>
          <layout class="arrange_vertical_attachment" layout="-4,-3" offset="0" gap="0" />
          <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" apply_to_children="true" />
          
          <widget class="tactical_style_label" spec="text,large" id="leTF" colour="text" font="title1" size="11" alignment="centre_x,bottom,can_scale">
            <record id="object_property">
              <integer id="get_property" value="npTs" />
            </record>
          </widget>
         
          <widget class="label" spec="text,small" alignment="centre_x,top,can_scale" font="title1" colour="accent">
        <translation id="text" translation_id="466531" type="use" value="Tactical Style[COMMENT: FR 23334; tactics panel; title for a button to allow the user to choose a tactical style]" />
          </widget>
		  		  
        </container>-->						
															
				</widget>
				
			</container>
			
</widget>

 

fm_2021-02-12_12-37-02.png

Link to post
Share on other sites
  • 1 month later...

For anyone interested, I've found the code in Tad&Twenty FM20 skin https://www.fmscout.com/a-tad20.html

 

    <widget class="label" font="label" auto_size="vertical">
                    <translation id="text" translation_id="466531" type="use" value="Tactical Style[COMMENT: FR 23334; tactics panel; title for a button to allow the user to choose a tactical style]" />
                </widget>       
                <widget class="tactical_style_label" id="leTF" size="large" alignment="left,bottom" auto_size="vertical">
                    <record id="object_property">
                        <integer id="get_property" value="npTs" />
                    </record>
                </widget>        

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...