Results 1 to 13 of 13

Thread: Sprite generator problem

Hybrid View

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

    Icon1 Sprite generator problem

    i created a new sprite with the sprite generator, but the sprite .tgs is all black

    anyone knows why?

  2. #2
    Lusted's Avatar Look to the stars
    Join Date
    Jan 2005
    Location
    Brighton, Sussex, England.
    Posts
    18,184

    Default

    You need to have anti-alias(spelling?) turne doff.
    Creator of:
    Lands to Conquer Gold for Medieval II: Kingdoms
    Terrae Expugnandae Gold Open Beta for RTW 1.5
    Proud ex-Moderator and ex-Administrator of TWC from Jan 06 to June 07
    Awarded the Rank of Opifex for outstanding contributions to the TW mod community.
    Awarded the Rank of Divus for oustanding work during my times as Administrator.

  3. #3

    Default

    ok, i've done, but it created a lot of .tga files,is it ok?
    Last edited by dragases1453; January 03, 2006 at 08:15 AM.

  4. #4

    Default Re: Sprite generator problem

    I have the same problem, I turned of anti-aliasing, but all I get a lot of tga while, with only a few sprites on it. Need help desperately.

  5. #5

    Default Re: Sprite generator problem

    The files you'll get are supposed to be .spr AND .tga, you will then need a converter to make the .tga ones into .dds files.

  6. #6

    Default Re: Sprite generator problem

    It`s normal. You`ll get one .spr file for each unit you made sprites for and a number of .tga files. You might get only one or two tga files per unit(happens especially with cavalry units), but you might get considerable more. Like 6 or so .tga files for the pikemen. The .tga files are teh ones that store teh images with teh unit in action so if a unit takes more space you`ll get more files. Open one and you`ll see.
    Also, as said above, the .tga files need to be converted to .dds. Just make sure that their name after conversion ends in .tga.dds and not just .dds.

  7. #7

    Default Re: Sprite generator problem

    The problem is that I don't get 1-6 .tga files for one unit, I'll get like 40 or more for one unit. And looks different then the ones in the pack files, when converted from .texture to .dds. It has a lot smaller number of sprites on it (see the attached image).

  8. #8

    Default Re: Sprite generator problem

    That is again fine. You get different sprites depending on the number of factions that can have each unit - and yes this is how they look. After the sprite generation process is complete just take the .tga files, convert them to .dds and then rename them to blablabla.tga.dds (as said above). Then put all .spr and .tga.dds files into the sprites folder.

  9. #9

    Default Re: Sprite generator problem

    Ok, I made another test with tsars_guard. The result is 40 .tga files and one .spr and for one faction only (russia).Is this ok?

  10. #10

    Default Re: Sprite generator problem

    I checked the sprite files for tsars_guard in the packed (vannilla) files and there are only 2 texture files and 1 spr file. And they look a lot different, then the file I've attached earlier.

  11. #11
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,751
    Blog Entries
    3

    Default Re: Sprite generator problem

    Make sure you're not using 32-bit settings, make sure 32-bit is set to false in the preferences.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  12. #12

    Default Re: Sprite generator problem

    I can't find "32-bit" in the preferences nor anything similar. What should I enter to set 32-bit to false?

  13. #13
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,751
    Blog Entries
    3

    Default Re: Sprite generator problem

    It's in the preferences.txt file in the preferences folder.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

Posting Permissions

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