Results 1 to 6 of 6

Thread: unit cards small prob

Hybrid View

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

    Default unit cards small prob

    when adding unit cards, I put the one .tga which is called #<directory_unitname> in ui\units\parthia\, and the other info card in ui\unit_info\parthia. but it just would not work and still show me the grey peasant. is there a common problem with adding cards for parthia? the directory names are 100% correct.
    Persian Empire Mod

    "[...] portraying Iranians as monsters, troglodytes, degenerates, and demons is “artistic entertainment”, but other nationalities are exempt from this “art form” as this would be “tasteless and politically incorrect” and would be regarded as a “hate crime”."

  2. #2

    Default Re: unit cards small prob

    the unitcard name has to be the excact name of the unit
    and in capitals
    for example
    #SPARTAN_HOPLITE_PYLOS
    SPARTAN_HOPLITE_PYLOS_INFO


  3. #3

    Default Re: unit cards small prob

    yes they are.. see here:

    type immortals
    dictionary immortals
    category infantry
    class spearmen
    voice_type Medium_1
    soldier persian_immortals, 60, 0, 0.8
    (...)
    and the filenames are:
    UI\UNITS\PARTHIA\#IMMORTALS.tga
    and
    UI\UNIT_INFO\PARTHIA\IMMORTALS_INFO.tga

    the unit itself works and has the correct model and everything, just not the cards in the menues

    and I didn't quite catch up with this pak extracting. I'm using patch 1.5 and alexander addon. I've extracted ui_01.pak, replaced the files I want to be replaced, but how do I repack it?
    Last edited by tehhaxxor23; May 30, 2007 at 05:10 PM.
    Persian Empire Mod

    "[...] portraying Iranians as monsters, troglodytes, degenerates, and demons is “artistic entertainment”, but other nationalities are exempt from this “art form” as this would be “tasteless and politically incorrect” and would be regarded as a “hate crime”."

  4. #4

    Default Re: unit cards small prob

    Quote Originally Posted by tehhaxxor23 View Post
    yes they are.. see here:


    and the filenames are:
    UI\UNITS\PARTHIA\#IMMORTALS.tga
    and
    UI\UNIT_INFO\PARTHIA\IMMORTALS_INFO.tga

    the unit itself works and has the correct model and everything, just not the cards in the menues

    and I didn't quite catch up with this pak extracting. I'm using patch 1.5 and alexander addon. I've extracted ui_01.pak, replaced the files I want to be replaced, but how do I repack it?


    copy your ui folder from pak extractor into your data directory and then do the putting the ui cards but the name of your UI cards should be:
    #PERSIAN_IMMORTALS.TGA
    PERSIAN_IMMORTALS_INFO.TGA
    it should of been that


  5. #5

    Default Re: unit cards small prob

    and I didn't quite catch up with this pak extracting. I'm using patch 1.5 and alexander addon. I've extracted ui_01.pak, replaced the files I want to be replaced, but how do I repack it?
    You don't need to. What you need to do is move your UI pak file to a safe location, and in its place create a blank .txt file with an identical name to the pak file in the pak folder. So long as your newly made cards are in the appropriate directories, it should show up in game.

    Try looking at this for further instruction.



  6. #6

    Default Re: unit cards small prob

    ok this is unbelievable. the problem was the flag mercenary_unit in the export_descr_units.txt. WHAT THE WTFBBQ.
    Persian Empire Mod

    "[...] portraying Iranians as monsters, troglodytes, degenerates, and demons is “artistic entertainment”, but other nationalities are exempt from this “art form” as this would be “tasteless and politically incorrect” and would be regarded as a “hate crime”."

Posting Permissions

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