Results 1 to 6 of 6

Thread: Pack file question.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Modestus's Avatar Protector Domesticus
    Join Date
    Jun 2005
    Location
    On a ship in the middle of the Mediterranean.
    Posts
    4,037

    Default Pack file question.

    I have made a custom unit that works in my game so one of my modded pack files looks like this.

    [IMG][/IMG]


    What I don't understand is that this file also includes information for the vanilla units. This seemed unnecessary so I assumed I could remove this information and my modded pack file would only consist of the relevant information for my custom unit and the game would load all the vanilla pack files and then take the relevant information from the mod pack but it wont.

    I also seem to need separate modded pack files for the textures such as diffuse file

    [IMG][/IMG]


    surely they can be combined into one pack with only the information needed for the new unit?

  2. #2
    Modestus's Avatar Protector Domesticus
    Join Date
    Jun 2005
    Location
    On a ship in the middle of the Mediterranean.
    Posts
    4,037

    Default Re: Pack file question.

    You can ignore the above because I managed to get most things into the one pack file.

    Progress so far.....

    [IMG][/IMG]


    I still seem to be having a problem with the icon on the custom battle menu and the name of the unit on screen. I have edited the text file I think correctly but still no show.

    I am going to guess that I have the unit named incorrectly in one of the DB files,what columns names must match the text file for the name to show?

    And do you really need all the information about the vanilla units in your modded pack file? For example do you need the unit stats for a cannon when my mod is only a new line infantry.
    When I remove what I consider to be unnecessary information about the vanilla units the game crashes.

    Any help appreciated.

  3. #3

    Default Re: Pack file question.

    On the Icons: youll just have to put a second file in the pack, same name as the original icon, with the extension: "YourUnitName_mask.tga" size 1x1px should work. Alpha only.

    cheers

  4. #4
    Modestus's Avatar Protector Domesticus
    Join Date
    Jun 2005
    Location
    On a ship in the middle of the Mediterranean.
    Posts
    4,037

    Default Re: Pack file question.

    I don't understand , I unpacked all the icons to have a look and none have alpha channels?
    Transparent backgrounds yes but no alpha channel.

    What am I missing here besides an alpha channel?

  5. #5

    Default Re: Pack file question.

    I posted this before the Database Error. Don't know if youve read it.

    It don't has to be an alpha chanel. I meant transparancy. I allways mix up alphas and transparency. sorry.

  6. #6
    Modestus's Avatar Protector Domesticus
    Join Date
    Jun 2005
    Location
    On a ship in the middle of the Mediterranean.
    Posts
    4,037

    Default Re: Pack file question.

    Quote Originally Posted by Donz View Post
    I posted this before the Database Error. Don't know if youve read it.

    It don't has to be an alpha chanel. I meant transparancy. I allways mix up alphas and transparency. sorry.
    Got what you said, I replied but thats gone as well.

    Anyhow you were right about the second file, working now.

    Cheers modestus.

Posting Permissions

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