Results 1 to 6 of 6

Thread: where to find data\UI folder?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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.

  2. #2
    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