Jump to content
Sign in to follow this  
You need to play a total of 1 battles to post in this section.
principat121

Looking for Help - finding the UI position of a picture

2 comments in this topic

Recommended Posts

[BLITZ]
Modder
4,964 posts
9,170 battles

Hello guys,

 

With the patch 0.8.3 WG changed the position of the small yellow bar indication an unique commander from the top right to the bottom right corner of the ingame portrait.

 

Examples (pics from my commanders mod)

 

pre-0.8.3 (old)

Spoiler

5af417e9343aa_USA1.jpg.391cc7031e014b0649f35880986040e9.jpg.25a2bc2288c7bc82f43001160b8cbbc4.jpg5aff39521d9d3_D11.jpg.ce5d71f21d00bedb83a50379c92d70ad.jpg.85b0e9526a540942fa4736869f6127ac.jpg

 

post-0.8.3.1 (new)

Spoiler

shot-19_04.26_11_17.38-0696.jpg.d9430f08b429dd0f8dd066b3348d8e0c.jpgshot-19_04.26_11.18_04-0218.jpg.eabad55390c782909548a67ada070d14.jpg

 

 

 

I really like the old version much more, because it was much more distinguishably. So I want to change the appearance.

 

But how?!

 

The file (icon_crew_unique.png) is located in the subfolder .../gui/crew_commander/. The really problem is, I do not how where the parameters are located that define the position of that specific UI element. Please help me, fellow modders. There are alot of xml-files in the subfolder .../gui/unbound/. But there are 17 (!) files including the mentioned file:

Spoiler

0.thumb.jpg.2c89b8301df724380bc6677ee76bfd2b.jpg

 

So, are that enough hints for a more capable modder then me tp help me?

Share this post


Link to post
Share on other sites
[NIKE]
Modder
253 posts
22,854 battles

It's in    gui\crew_commander\icon_crew_unique.png

 

Oups sorry i missed the "position" part. I ll check it and i ll get back.

 

Edit:

 

Found it.

It's in dock.xml

 

</block>
    <block className="UniqueCrewIcon">
        <bind name="tooltip" value="'MultiParagraphHelpTooltip'; {    _tooltipHeader: 'IDS_UNIQUE_CREW',
                                                    _multiParagraphArray: [{_paragraphText: 'IDS_UNIQUE_CREW_DESCRIPTION'}],
                                                    _width: 300 }"/>
        <style>
            <width value="41px"/>
            <height value="41px"/>
        </style>
        <bind name="style" value="'backgroundImage'; 'url:../crew_commander/icon_crew_unique.png'"/>
    </block>

Share this post


Link to post
Share on other sites
Sign in to follow this  

×