Results 1 to 7 of 7

Thread: Unit Card problem

  1. #1

    Default Unit Card problem

    When I try to change a units card, it doesn't show in the game, instead it gives me the vanilla one. I have searched for every 'UI' it could be looking at, and I have changed them all. Nothing works. The vanilla unit cards for those units no longer even exist, but it still displays them?!
    Down with the enemies of Byzantium!
    The Bartix thread is good for your health!

  2. #2

    Default Re : Unit Card problem

    Yep, although you can't see them, the vanilla cards unit are contained into a files *.pack in data/packs directory. The engine game search there for vanilla units informations and it's probably hard coded. Personnaly, to avoid this problem i change the unit name into model_battle.txt and descr_unit.txt, then, engine game will proceed like with news units for UI cards and textures...
    Try the Napoleonic Mod for ETW


  3. #3

    Default Re: Re : Unit Card problem

    ^^^ thats your best bet. Change the names in the text files then make a UI folder in the data folder and away you go.
    Creator of The Crusades a complete modification for Barbarian Invasion
    Can a man love a mod? No, probably not. But here, at The Crusades, we believe in unnatural loves stories!

  4. #4

    Default Re: Re : Unit Card problem

    Thats what I was thinking but I hoped there was an easier way. I have to change descr_strat as well.

    Oh yeah I have used Vercingetorix's Xpak and I even changed the pack version ( with backing up ) but no luck. Looks like your option then.
    Down with the enemies of Byzantium!
    The Bartix thread is good for your health!

  5. #5
    CeltiberoRamiroI Member Monkwarrior's Avatar
    Join Date
    Apr 2004
    Location
    Salduie/Caesaraugusta/ Sarakusta/Saragossa
    Posts
    828

    Default Re: Unit Card problem

    It is simpler than it seems.

    You must change in export_descr_unit only the dictionary name.
    This is the method I use:
    Code:
    type             barb peltast gaul
    dictionary       barb_peltast_gaul2      ; Skirmisher Warband
    (note the 2 at the end)

    The next step is to change the same in export_units (text folder):
    Code:
    {barb_peltast_gaul2}	
    {barb_peltast_gaul2_descr}
    {barb_peltast_gaul2_descr_short}
    And finally, add the 2 (or whatever you add) at the end of the unit card name (#barb_peltast_gaul2.tga) and info picture (barb_peltast_gaul2_info.tga).

    That's all, because all the other files use the "type" instead of the "dictionary" name.

  6. #6

    Default Re: Unit Card problem

    Why does this happen? I have changed various unit cards before, and they seemed to work...
    Down with the enemies of Byzantium!
    The Bartix thread is good for your health!

  7. #7

    Default Re: Unit Card problem

    if you aren't changing the dictionary name in the edu then the game is looking for the vanilla card in the packs first before it looks in data/ui folder. If it finds the card in the packs it uses that one. Changing the name is effectively the same as deleting the pack file as the game cannot find the card in the pack it then looks for it in data/ui.
    Creator of The Crusades a complete modification for Barbarian Invasion
    Can a man love a mod? No, probably not. But here, at The Crusades, we believe in unnatural loves stories!

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