Results 1 to 30 of 72

Thread: Tutorial: Adding a new faction symbol

Hybrid View

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

    Default Re: Tutorial: Adding a new faction symbol

    Hi, alpaca. Thanks for your reply.

    Please forgive me but I'm still a little confused :P

    ok, let me summarize my understanding
    1, I put my 1st faction symbol in 1.tga, and by using your converter I get strategy.sd(a) & shared.sd(a)

    2, I leave the strategy.sd(a) & shared.sd(a) in your converter's folder(instead of moving them to ui folder)

    3, I put 2nd faction symbol in 1.tga, too, just different place with the 1st one

    4, I re-write coordinates in modpage_strat.txt and modpage_shared.txt to point them to the 2nd faction symbol's location.

    5, Then I run your converter again and get strategy.sd(b) & shared.sd(b)

    6, strategy.sd(b) & shared.sd(b) is what I wanted.

    Am I right?

  2. #2

    Default Re: Tutorial: Adding a new faction symbol

    That's basically it but you don't need to do steps 1 and 2 as you're overwriting them anyway in the later steps.

  3. #3

    Default Re: Tutorial: Adding a new faction symbol

    I don't understand.
    I thought the converter will read information from strategy.sd(a) & shared.sd(a).

    If I don't do step 1&2, how will the converter know anything about the 1st faction symbol?

    Oh, I know you mean I just have to write 2 entries in modpage_strat.txt and modpage_shared.txt. And then the converter will read the 2 factions' symbols together. Thanks a lot!
    Last edited by zxiang1983; 04-22-2007 at 09:19.

  4. #4

    Default Re: Tutorial: Adding a new faction symbol

    Yes you just add whatever you want to the new TGA file you are using and add in as many corresponding entries into the two modpage files. Create the new *.sd files and then use them.

    You don't need to add and compile one symbol at a time.

    If you see any strange results its normally just because you got your coordinates wrong.

  5. #5
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Tutorial: Adding a new faction symbol

    Yeah the converter doesn't use the .sd files at all when compiling them, you add two icons to the tga and the description file you want to use and compile. That's it

  6. #6

    Default Re: Tutorial: Adding a new faction symbol

    You've got a bug with entry name lengths.

    I've reproduced

    SMALL_FACTION_LOGO_KHW
    SMALL_FACTION_LOGO_ABA

    works

    SMALL_FACTION_LOGO_KHWAREZM
    SMALL_FACTION_LOGO_ABBASSID

    does not.


    Other conditions during this occurance:

    I have two seperate tgas 1 for strat 1 for shared.
    Each has 12 seperate entries for a total of 24 entries.

    I know your example has a long entry name, but under some condition the entry names lengths start to matter.

  7. #7
    Discipulus et Magister Member Lord Condormanius's Avatar
    Join Date
    Nov 2006
    Location
    New Haven, CT USA
    Posts
    346

    Default Re: Tutorial: Adding a new faction symbol

    Quote Originally Posted by tornnight
    You've got a bug with entry name lengths.

    I've reproduced

    SMALL_FACTION_LOGO_KHW
    SMALL_FACTION_LOGO_ABA

    works

    SMALL_FACTION_LOGO_KHWAREZM
    SMALL_FACTION_LOGO_ABBASSID

    does not.


    Other conditions during this occurance:

    I have two seperate tgas 1 for strat 1 for shared.
    Each has 12 seperate entries for a total of 24 entries.

    I know your example has a long entry name, but under some condition the entry names lengths start to matter.
    SMALL_FACTION_LOGO_TOULOUSE
    SMALL_FACTION_LOGO_BURGUNDY
    SMALL_FACTION_LOGO_ARMENIA
    SMALL_FACTION_LOGO_IRELAND
    SMALL_FACTION_LOGO_WALES

    all work for me...
    Last edited by Lord Condormanius; 05-01-2007 at 06:06.
    "You cannot simultaneously prevent and prepare for war."
    -Albert Einstein

    "Beer is proof that God loves us and wants us to be happy."
    -Benjamin Franklin

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO