Page 1 of 2 12 LastLast
Results 1 to 20 of 31

Thread: Problem with banners again

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Problem with banners again

    I still don't understand how files in UI folder influence on the game, so i have trubles with it.
    As you probably know, to adding new factions in my mod i'm using graphic files from Region Mod.
    I've added now one arabian and one greek faction using graphic for Georgia and Hedjaz from Region mod.
    I don't know how and why, but it doesn't look good.
    How to fix it?
    I guess, that line
    <sprite index="305" name="FACTION_LOGO_HEDJAZ" page="5" left="146" right="211" top="88" bottom="155" x_offset="0" y_offset="0" alpha="1" cursor="0"/>
    points the placement of banner to the game but i have no idea how to check it.

    And effect looks like this:

  2. #2

    Default Re: Problem with banners again

    That's the Saxon logo. Change it to FACTION_LOGO_SAXONS.
    & put your logo over the saxon one.

  3. #3

    Default Re: Problem with banners again

    Because it should be o saxon logo. The problem is not with saxont. The problem is with Saxon and Hedjaz.
    Saxon use hedjaz logo and hedjaz doesn't use any logos
    After changing you suggested it looks like this:

  4. #4

    Default Re: Problem with banners again

    That's not possible if you are doing what i told you then you shouldn't see the dragon or Saxon symbol.

  5. #5

    Default Re: Problem with banners again

    That's not possible if you are doing what i told you then you shouldn't see the dragon or Saxon symbol.
    i don't know if it is possible or not. I olny showed you screenshots i've made after doing what you recommended me.

  6. #6

  7. #7

    Default Re: Problem with banners again

    i only changed FACTION_LOGO_HEDJAZ to FACTION_LOGO_SAXONS and FACTION_LOGO_SAXONS to FACTION_LOGO_HEDJAZ.

  8. #8

    Default Re: Problem with banners again

    No that's not what i told you. After changing to FACTION_LOGO_SAXONS there is a pic in the UI folder having the Saxon logo on it you have to put the logo on the Saxon one and then save the .tga file.
    Then you will see your logo in campaign.
    The saxon logo is in stratpage_01.tga and small logo is in sharedpage_01.tga.

    So you understand now what i'm saying?

  9. #9

    Default Re: Problem with banners again

    To tell you the truth i have no idea what you mean As i sad you i'm completly ignorant in this matter. I only can guess what's going on.

  10. #10

    Default Re: Problem with banners again

    Lol come on man it's easy just read my previous post or the whole thread carefully i can't put it more simple than that.

    If you still don't get it then don't hesitate i'll try to explain one more time otherwise i will mod the files for you as you leave me no choice.

  11. #11

    Default Re: Problem with banners again

    i've read it again but i still cannot understand what could be wrong. You've wrote about pic containing banners. I think I have all of files i need to make it
    maybe i really should ask you for your help in this case...
    Unforrtunalety my wife call me to the bed, so i'll ask you for that tomorrow
    bye!

  12. #12

    Default Re: Problem with banners again

    Ishan
    you told me yesterday, that you can help me with my problem. I still can't understand this files (espetially i don't know what means:
    page="5" left="146" right="211" top="88" bottom="155" x_offset="0" y_offset="0" alpha="1" cursor="0"/>
    and how to get information i need to this part of entry.
    So may i account for yor help?

  13. #13
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Problem with banners again

    Let me just explain the sequence of files:

    1. descr_sm_factions
    Here the name of the symbols is defined
    Code:
    logo_index                    FACTION_LOGO_HEDJAZ
    small_logo_index                SMALL_FACTION_LOGO_HEDJAZ
    2. shared.sd
    Here the position of the small faction logo is defined. "page 3"in the last line means it is placed on the sharedpage_regpro_01.tga file - counting of pages starts with zero.
    Code:
            <texture_pages count="4">
                <page file="sharedpage_01.tga" width="512" height="512" force32bit="0"/>
                <page file="sharedpage_00.tga" width="512" height="512" force32bit="0"/>
                <page file="editor_shared01.tga" width="256" height="256" force32bit="0"/>
                <page file="sharedpage_regpro_01.tga" width="256" height="128" force32bit="0"/>
            </texture_pages>
                <sprite index="343" name="SMALL_FACTION_LOGO_HEDJAZ" page="3" left="73" right="101" top="60" bottom="89" x_offset="0" y_offset="0" alpha="1" cursor="0"/>
    3. strategy.sd
    Here the position of the big faction logo is defined. "page 5"in the last line means it is placed on the stratpage_regpro_01.tga file.
    Code:
            <texture_pages count="6">
                <page file="stratpage_01.tga" width="512" height="512" force32bit="0"/>
                <page file="stratpage_02.tga" width="512" height="512" force32bit="0"/>
                <page file="stratpage_03.tga" width="243" height="250" force32bit="0"/>
                <page file="editor_strat01.tga" width="256" height="256" force32bit="0"/>
                <page file="stratpage_04.tga" width="512" height="512" force32bit="0"/>
                <page file="stratpage_regpro_01.tga" width="512" height="256" force32bit="0"/>
            </texture_pages>
                <sprite index="309" name="FACTION_LOGO_HEDJAZ" page="5" left="146" right="211" top="88" bottom="155" x_offset="0" y_offset="0" alpha="1" cursor="0"/>
    4. the tga files
    I have enlarged the portion of the stratpage_regpro_01.tga file where the symbol is located and used the ruler to mark the 'left=146" entry. This should explain to you how the other values are defined.



    .
    Last edited by Gigantus; December 06, 2010 at 09:59 AM.










  14. #14

    Default Re: Problem with banners again

    And if you still don't get it then upload the files, you leave us no choice.
    But try to understand Gig's post it's not that hard.

  15. #15

    Default Re: Problem with banners again

    i think i get you now, but i can't do it properly and after my changes the game crasches every time.
    May i ask you for help in fix my problem with hedjaz and georgia (saxons) icons and making new entries for lithuania (page 2 in sharepage and stratpage) and kievian (i have no idea how nemed it properly in english) russia (page 7 in stratpage - the last symbol - and page 8 in sharepage)?
    Last edited by attyla; November 29, 2010 at 12:20 PM.

  16. #16

    Default Re: Problem with banners again

    i really don't know what i'm doing wrong... I've tried to do it many times and i made nothing. The game don't crasches anymore, but my doing dont make differences...

  17. #17

    Default Re: Problem with banners again

    Another case:
    As you can see on the picture, the vinner has no banner of faction. How to fix it?

  18. #18

    Default Re: Problem with banners again

    Can someone check uploaded files, please?

  19. #19
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Problem with banners again

    The co-ordinates\entries for that symbol in shared.sd.xml are not correct. The number displayed appears to be situated on shared_page01.tga at the co-ordinates 130, 260.

    What is the name of that faction?

    Looking at the symptons, it appears as if the SD file is not generating from the XML file.

    May ask what you are exactly doing? These graphic files are from the Region and Provinces mod and that mod has the maximum number of factions - it is not possible to add another faction in that mod.
    Last edited by Gigantus; December 05, 2010 at 09:36 AM.










  20. #20

    Default Re: Problem with banners again

    i've added Armenia, Hedjaz/oman, kiev and georgia factions to the standard kit of factions from vanilla and i'm going to add Lithuania and Bulgaria. Unfortunately, i can't set about banners visible on the strat map.
    I'm using graphics from Region & Provinces and teutonic mods, because i can't make it myself.
    I simply added kievian and lithuanian banner to set of banners from R&P, but it doesn't work (i mean the game can run, but instead of banners on the stratmap i only can see grey places for banners.
    it looks like this:

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •