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

    Alpaca Thanks for that. I hadn't down loaded the retrofit mod so I guess I need to. I've still been using the SD files from your converter.

  2. #2

    Default Re: Tutorial: Adding a new faction symbol

    OK it worked Just needed to remember everything starts counting from zero.
    Last edited by wilddog; 11-08-2007 at 19:23.

  3. #3
    Ranting madman of the .org Senior Member Fly Shoot Champion, Helicopter Champion, Pedestrian Killer Champion, Sharpshooter Champion, NFS Underground Champion Rhyfelwyr's Avatar
    Join Date
    Oct 2006
    Location
    In a hopeless place with no future
    Posts
    8,646

    Default Re: Tutorial: Adding a new faction symbol

    Great tutorial Alpaca, got it working 1st time (and thats a 1st for me when modding!)

    What would I need to do to get the logo to appear outwith camaigns, and even on the select faction screen?

    EDIT: I tried editing the logo there, replaced it with the venetians using copy/paste. However, when looking at the coordinate info I get really low values, eg 2.23, 1.45 etc. Not 119 or big values like in the tutorial. I set 2 of the values in the text file to 2 and 3, the other two are still 0 obviously. Works in game fine. Tried resetting the figures closer to the values you get, symbo still appeared fine ingame, but when I clicked on it the white shine was a bit out of place.

    Also are there any tools for editing battlemap banners?
    Last edited by Rhyfelwyr; 12-19-2007 at 17:49.
    At the end of the day politics is just trash compared to the Gospel.

  4. #4

    Default Re: Tutorial: Adding a new faction symbol

    Just a word of caution. There is I believe a size limit associated with the .SD files in particular the shared.sd which leads to a memory leakage.

    I was being lazy and using the same TGA at 512*512 for both shared and strat as an extra file. However I noticed a corruption and after playing around narrowed it down to the shared.sd. I resolved it by using a much smaller file for the extra shared one and now it seems OK. Basically the SD file at 120,818 memory size was corrupting and a new one at 91,006 seems to be OK (sizes are read from the log file in trace).

  5. #5
    Voluntary Suspension Voluntary Suspension stilgar's Avatar
    Join Date
    Jun 2007
    Posts
    67

    Default Re: Tutorial: Adding a new faction symbol

    Hello alpaca, and first thanks for your great work.

    I was trying to two factions symbol, I tryed the first, it works. But when I added the second it doesn't want to work.

    This is what I made :
    Code:
    shared.sd
    
    tga=modpage.tga
    
    entry=SMALL_FACTION_LOGO_WALES
    left=67
    top=0
    bottom=+33
    right=+22
    
    entry=SMALL_FACTION_LOGO_TEUTONIC_ORDER
    left=160
    top=0
    bottom=+33
    right=+22
    Code:
    strategy.sd
    
    tga=modpage.tga
    
    entry=FACTION_LOGO_WALES
    top=0
    left=0
    bottom=74
    right=66
    
    entry=FACTION_LOGO_TEUTONIC_ORDER
    top=0
    left=94
    bottom=74
    right=160
    Here is the modpage.tga :


    And this is the error I had :



    Thanks for your work

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

    Default Re: Tutorial: Adding a new faction symbol

    Sorry, I don't really know. Did you extract all the files in the archive to the same directory?

  7. #7

    Default Re: Tutorial: Adding a new faction symbol

    Alpaca, I've added a new .tga file containing faction symbols, using the retrofit .xml files, yet something strange happens: first of all, some areas within a faction icon are unclickable (the icon doesn't light up); secondly, the shape of the lit-up icon is different from the icon's shape, or even the alpha's shape.

    I'm suspecting that both problems have to do with the 'clickable' shape, which you mentioned in your tutorial, but I found nowhere specified in the .xml files. What do you think? Is there some 'clickable area file' that I don't know about?




    PS. I haven't changed the SMALL_FACTION_LOGO yet, I doubt it should affect anything.
    Last edited by SigniferOne; 04-27-2008 at 22:08.

  8. #8

    Default Re: Tutorial: Adding a new faction symbol

    I am making a modd for kingdom, and I can't get this to work

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