Results 1 to 6 of 6

Thread: where to find data\UI folder?

  1. #1
    Member Member scsscsfanfan's Avatar
    Join Date
    Sep 2002
    Location
    Adelaide, Australia
    Posts
    145

    Default where to find data\UI folder?

    I have been trying to creat new units according the guides. however, I can't find the folder as adviced on the board: data\UI.
    my game runs ok. dose this mean there was something wrong with the instalation.
    I've also noticed the "gray peasents" unit cards in some situations when you make one faction's unit to be avaliable to a different faction, someone on the board metioned this is a well known problem. I'm wondering has this anything to do with the missing UI folder problem?
    Could someone help me please?
    Last edited by scsscsfanfan; 10-13-2004 at 12:16.

  2. #2
    Senior Member Senior Member Duke John's Avatar
    Join Date
    May 2003
    Location
    Netherlands
    Posts
    2,917

    Default Re: where to find data\UI folder?

    This is a quote from the guide:
    I have made for a new unit all the above files (in newly created directories).

  3. #3
    Member Member scsscsfanfan's Avatar
    Join Date
    Sep 2002
    Location
    Adelaide, Australia
    Posts
    145

    Default Re: where to find data\UI folder?

    Thank Duke.
    I've read your post, but I just can not find the folder named UI under the "data" directory. dose this mean I have to re install it again? or I'm missing something here.
    thanks for help anyway.

  4. #4
    Senior Member Senior Member Duke John's Avatar
    Join Date
    May 2003
    Location
    Netherlands
    Posts
    2,917

    Default Re: where to find data\UI folder?

    No, I thought the hint was clear enough You need to create yourself the directory/folder "ui" in data.

  5. #5
    Member Member scsscsfanfan's Avatar
    Join Date
    Sep 2002
    Location
    Adelaide, Australia
    Posts
    145

    Default Re: where to find data\UI folder?

    Ha! I didn't think would be that simple! thanks. I'll try again.

  6. #6
    Member Member scsscsfanfan's Avatar
    Join Date
    Sep 2002
    Location
    Adelaide, Australia
    Posts
    145

    Default Re: where to find data\UI folder?

    more questions,
    Qiout: from TW.com, how to add units to a faction:
    After constant fiddling with this, I found a way of adding actual new units (although I don't think I'm the first one to do so).

    First, the export_descr_units.txt file. The easiest thing to do is figure out which kind of unit you want it to be, and copy the data for a similar existing unit. Rename it to what you like, and change the dictionary name (let's call this one Bob).

    Next, go into the export_descr_unit_enums.txt and add the three bits on the end for bob:
    Bob
    Bob_descr
    Bob_descr_short

    Third, go into the text folder, and open export_units.txt. At the bottom, put the description for each of the three items above:
    {Bob} Bob
    {Bob_descr}
    This is the long description of the unit in-game
    {Bob_descr_short}
    This is the short description... duh.

    You probably want to be able to actually use them in the game, so the next part is to add a unit card and an info picture. Create (or go to) the folder data\UI\UNIT INFO\Faction Name, and add a tga image (dim: 160 x 210), with the name of your unit tag followed by _INFO:
    Bob_INFO.tga
    Go to data\UI\UNITS\Faction Name, and add a card image (dim: 44 X 64) with a # sign and then your unit name:
    #Bob.tga

    This should allow you to use the unit in custom battles with the faction you specified in the descr_unit file.

    To add them to the campaign:
    Go to export_descr_buildings.txt. Under the building type of your choice, enter something like:
    recruit "Bob" 0 requires factions { roman, }

    Create (or go to) the folder data\UI\units\construction, and add an image (dim: 42 X 56) with a # sign and then your unit name:
    #Bob.tga


    now, where can I find those supplied/ existing tga files for the unit cards?

    thanks again

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