Jump to content

titlebar logo


DrazdaCZ
 Share

Recommended Posts

<widget class="picture" id="ppic" image_alignment="top, left" height="100" width="100" scale_picture="true" keep_aspect_ratio="true" priority="1">
       <layout class="stick_to_sides_attachment" alignment="top" inset="0"/>
             <layout class="stick_to_sides_attachment" alignment="left" inset="170"/>
        <boolean id="scale_picture" value="true" />
        <boolean id="keep_aspect_ratio" value="true" />
        <flags id="image_alignment" value="left"/>
 
        <attachment class="test_setting_attachment" get_setting="show_portraits" default_value="true" set_property="hidn">
          <list id="value">
            <boolean value="false" />
          </list>
        </attachment>
 
        <layout class="stick_to_sides_attachment" alignment="all" inset="0" />
 
        <record id="object_property">
          <list id="get_properties">
            <record>
              <integer id="get_property" value="fcgn" />
              <!--Facegen data request-->
            </record>
            <record>
              <integer id="get_property" value="Pfke" />
              <!--Fake name request-->
            </record>
            <record>
              <integer id="get_property" value="prpc" />
              <integer id="set_property" value="valu" />
            </record>
          </list>
        </record>
      </widget>

 

 

I suppose it could be this

Link to post
Share on other sites

14 minutes ago, wkdsoul said:

xml you want is generic/titlebar.xml

Look for the widgets towards the bottom, prob "facegen" and "picture" classes

<widget class="picture" id="ppic" image_alignment="top, left" height="100" width="100" scale_picture="true" keep_aspect_ratio="true" priority="1">
       <layout class="stick_to_sides_attachment" alignment="top" inset="0"/>
             <layout class="stick_to_sides_attachment" alignment="left" inset="170"/>
        <boolean id="scale_picture" value="true" />
        <boolean id="keep_aspect_ratio" value="true" />
        <flags id="image_alignment" value="left"/>
 
        <attachment class="test_setting_attachment" get_setting="show_portraits" default_value="true" set_property="hidn">
          <list id="value">
            <boolean value="false" />
          </list>
        </attachment>
 
        <layout class="stick_to_sides_attachment" alignment="all" inset="0" />
 
        <record id="object_property">
          <list id="get_properties">
            <record>
              <integer id="get_property" value="fcgn" />
              <!--Facegen data request-->
            </record>
            <record>
              <integer id="get_property" value="Pfke" />
              <!--Fake name request-->
            </record>
            <record>
              <integer id="get_property" value="prpc" />
              <integer id="set_property" value="valu" />
            </record>
          </list>
        </record>
      </widget>

 

 

I suppose it could be this

Link to post
Share on other sites

5 minutes ago, wkdsoul said:

Is here another <widget class="picture"  in the xml. 

<widget class = "picture" is displayed to me three times in XML and I don't know which one and it wouldn't be possible to send it to you to see before listing it here?

Link to post
Share on other sites

7 minutes ago, wkdsoul said:

 <integer id = "get_property" value = " mnpc " />

podívejte se na tuto hodnotu, nebo ji odstraňte, zkuste to a pokud to nefunguje, přejděte na další. 

this value is not found so i don't know what it could be

Link to post
Share on other sites

8 minutes ago, DrazdaCZ said:

this value is not found so i don't know what it could be

That value is there.  remove all this code fromt he middle. 

        <widget class="picture" id="lftB" auto_size="all">
        <layout class="stick_to_sides_attachment" alignment="vertical" inset="0"/>
 <layout class="stick_to_sides_attachment" alignment="left" inset="20"/>
        <record id="object_property">
            <integer id="get_property" value="mbpc"/>
            <integer id="set_property" value="file"/>
        </record>    
    </widget>
                
    <widget class="picture" id="ppic" image_alignment="top, left" height="100" width="100" scale_picture="true" keep_aspect_ratio="true" priority="1">
       <layout class="stick_to_sides_attachment" alignment="top" inset="0"/>
             <layout class="stick_to_sides_attachment" alignment="left" inset="170"/>
        <boolean id="scale_picture" value="true" />
        <boolean id="keep_aspect_ratio" value="true" />
        <flags id="image_alignment" value="left"/>
 
        <attachment class="test_setting_attachment" get_setting="show_portraits" default_value="true" set_property="hidn">
          <list id="value">
            <boolean value="false" />
          </list>
        </attachment>
 
        <layout class="stick_to_sides_attachment" alignment="all" inset="0" />
 
        <record id="object_property">
          <list id="get_properties">
            <record>
              <integer id="get_property" value="fcgn" />
              <!--Facegen data request-->
            </record>
            <record>
              <integer id="get_property" value="Pfke" />
              <!--Fake name request-->
            </record>
            <record>
              <integer id="get_property" value="prpc" />
              <integer id="set_property" value="valu" />
            </record>
          </list>
        </record>
      </widget>
 

Link to post
Share on other sites

6 minutes ago, wkdsoul said:

That value is there.  remove all this code fromt he middle. 

        <widget class="picture" id="lftB" auto_size="all">
        <layout class="stick_to_sides_attachment" alignment="vertical" inset="0"/>
 <layout class="stick_to_sides_attachment" alignment="left" inset="20"/>
        <record id="object_property">
            <integer id="get_property" value="mbpc"/>
            <integer id="set_property" value="file"/>
        </record>    
    </widget>
                
    <widget class="picture" id="ppic" image_alignment="top, left" height="100" width="100" scale_picture="true" keep_aspect_ratio="true" priority="1">
       <layout class="stick_to_sides_attachment" alignment="top" inset="0"/>
             <layout class="stick_to_sides_attachment" alignment="left" inset="170"/>
        <boolean id="scale_picture" value="true" />
        <boolean id="keep_aspect_ratio" value="true" />
        <flags id="image_alignment" value="left"/>
 
        <attachment class="test_setting_attachment" get_setting="show_portraits" default_value="true" set_property="hidn">
          <list id="value">
            <boolean value="false" />
          </list>
        </attachment>
 
        <layout class="stick_to_sides_attachment" alignment="all" inset="0" />
 
        <record id="object_property">
          <list id="get_properties">
            <record>
              <integer id="get_property" value="fcgn" />
              <!--Facegen data request-->
            </record>
            <record>
              <integer id="get_property" value="Pfke" />
              <!--Fake name request-->
            </record>
            <record>
              <integer id="get_property" value="prpc" />
              <integer id="set_property" value="valu" />
            </record>
          </list>
        </record>
      </widget>
 

it could be that but I guess I deleted something wrong and the game can't load it so would you try to delete it?

Link to post
Share on other sites

8 minutes ago, wkdsoul said:

That value is there.  remove all this code fromt he middle. 

        <widget class="picture" id="lftB" auto_size="all">
        <layout class="stick_to_sides_attachment" alignment="vertical" inset="0"/>
 <layout class="stick_to_sides_attachment" alignment="left" inset="20"/>
        <record id="object_property">
            <integer id="get_property" value="mbpc"/>
            <integer id="set_property" value="file"/>
        </record>    
    </widget>
                
    <widget class="picture" id="ppic" image_alignment="top, left" height="100" width="100" scale_picture="true" keep_aspect_ratio="true" priority="1">
       <layout class="stick_to_sides_attachment" alignment="top" inset="0"/>
             <layout class="stick_to_sides_attachment" alignment="left" inset="170"/>
        <boolean id="scale_picture" value="true" />
        <boolean id="keep_aspect_ratio" value="true" />
        <flags id="image_alignment" value="left"/>
 
        <attachment class="test_setting_attachment" get_setting="show_portraits" default_value="true" set_property="hidn">
          <list id="value">
            <boolean value="false" />
          </list>
        </attachment>
 
        <layout class="stick_to_sides_attachment" alignment="all" inset="0" />
 
        <record id="object_property">
          <list id="get_properties">
            <record>
              <integer id="get_property" value="fcgn" />
              <!--Facegen data request-->
            </record>
            <record>
              <integer id="get_property" value="Pfke" />
              <!--Fake name request-->
            </record>
            <record>
              <integer id="get_property" value="prpc" />
              <integer id="set_property" value="valu" />
            </record>
          </list>
        </record>
      </widget>
 

 

20210325210817_1.jpg

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...