Results 1 to 16 of 16

Thread: Problem with changing the textures of a unit

  1. #1
    antares24's Avatar Campidoctor
    Join Date
    Nov 2004
    Location
    Rome, Italy
    Posts
    1,597

    Default Problem with changing the textures of a unit

    hello guys , i have a problem (rep for everyone who help me of course) i wanted to change the textures of some of the Italian States units, so i first followed the tutorial on how to create a custom unit to add some new units to their roster, with the textures that i wanted.

    The first new unit that i have created is one of line infantry, it work perfectly, it march, fight etc with no problems, except that the new texture that i give it have this problem:



    in this case i have tried to use the very beautiful textures made by ToonTotalWar for one of his british units.

    i tried a different way too, seeying that a modder, general cornwallis, have created an Italian States retexture file, i looked at it to see the file structure and noticed that he just putted in it new textures for the Italian states units, with no db files, so i tried that way too, changing the texture of the line infantry with the one that i wanted, but the result is the same as above. Units with "black" ghostly textures, while instead the units of general cornwallis seems to work fine.

    What i'm doing wrong?

    Thanks in advance!
    Last edited by antares24; June 24, 2009 at 12:14 PM.
    Factum est illud, fieri infectum non potest

    "Out of every 100 men, 10 shouldn’t even be there, 80 are just targets, nine are the real fighters, and we are lucky to have them, for they make the battle. Ah, but the one, one is a warrior and he will bring the others back.” Heraclitus

  2. #2
    Civis
    Join Date
    May 2009
    Location
    Southern Germany at the Swiss Border
    Posts
    155

    Default Re: Problem with changing the textures of a unit

    Look at the gloss.dds and make it completly black, then it would be ok...



    First of all open up the gloss.dds



    decode the alpha content



    file the whole file black



    Then decode the rgb channel

    then save your dds as [unit]_gloss_map.dds

    no changes to the normal needed just change the name to [unit]_normal.dds



    Hope that helps you out, if you want the complete tut for unitcreation drop me a pn,
    Last edited by Tobler75; June 24, 2009 at 01:57 PM.

    MODMEMBER SKINNING/RESEARCH

    ---DON'T MENTION THE WAR!---

  3. #3
    antares24's Avatar Campidoctor
    Join Date
    Nov 2004
    Location
    Rome, Italy
    Posts
    1,597

    Default Re: Problem with changing the textures of a unit

    thanks for the answer, i'll try this asap
    Factum est illud, fieri infectum non potest

    "Out of every 100 men, 10 shouldn’t even be there, 80 are just targets, nine are the real fighters, and we are lucky to have them, for they make the battle. Ah, but the one, one is a warrior and he will bring the others back.” Heraclitus

  4. #4
    Civis
    Join Date
    May 2009
    Location
    Southern Germany at the Swiss Border
    Posts
    155

    Default Re: Problem with changing the textures of a unit

    If it didn't work out, you can upload the file and i will take a look at it, have a nice and productive weekend

    MODMEMBER SKINNING/RESEARCH

    ---DON'T MENTION THE WAR!---

  5. #5

    Default Re: Problem with changing the textures of a unit

    Im having the same problem. I use photoshop. How can I fix it?
    My Tools, Tutorials and Resources

    Was running out of space, so see the full list here!

    Consider the postage stamp: its usefulness consists in the ability to stick to one thing till it gets there.- Josh Billings
    The creatures outside looked from pig to man, and from man to pig, and from pig to man again; but already it was impossible to say which was which.- George Orwell

  6. #6
    Civis
    Join Date
    May 2009
    Location
    Southern Germany at the Swiss Border
    Posts
    155

    Default Re: Problem with changing the textures of a unit

    Quote Originally Posted by EmpireFan View Post
    Im having the same problem. I use photoshop. How can I fix it?
    Well, at least that's no problem related to any program like ps and gimp, in finishing my hannover pack for the ctw mod, my horse units similarly like yours shined in lovely red and it seems that it has resulted of
    1) a not blackend gloss_map
    2) the files like the blackened gloss_map was not in the unitmodels folder in the [unit].pack

    It all comes together with the gloss_map.dds, if it doesn't fit the whole texture gets red or black, if your messing around with the diffuse the units will have white spots on their uniform, i'll often get requests of my own skinners at my mod and it always seems that too much or too less attention to normal and gloss_map could mess your work up

    MODMEMBER SKINNING/RESEARCH

    ---DON'T MENTION THE WAR!---

  7. #7

    Default Re: Problem with changing the textures of a unit

    fixed mine...wasnt a gloss map problem. seemed I was (due to a typo) telling the model to use a wrong skin.
    Thanks for reply anyway
    My Tools, Tutorials and Resources

    Was running out of space, so see the full list here!

    Consider the postage stamp: its usefulness consists in the ability to stick to one thing till it gets there.- Josh Billings
    The creatures outside looked from pig to man, and from man to pig, and from pig to man again; but already it was impossible to say which was which.- George Orwell

  8. #8
    Civis
    Join Date
    May 2009
    Location
    Southern Germany at the Swiss Border
    Posts
    155

    Default Re: Problem with changing the textures of a unit

    Confirm on that, same happened to me when i finished my work on the hannoverian units and some of the units wern't copied in the file, it seems that the red shining is the unskinned model, black is a unblackened gloss_map, and white spots have something to do with messing around with contrast and blend in the diffuse,

    MODMEMBER SKINNING/RESEARCH

    ---DON'T MENTION THE WAR!---

  9. #9

    Default Re: Problem with changing the textures of a unit

    To even get better results do not just black out the whole gloss.map. Just delete or black out the Alpha Channel (deleting it is even easier) this way you don't get into conflict with the faction Color.
    Use the rd channel to sharpen highlights (i.e. metal darker) and the green to make highlights brighter (the lighter grey, the brighter in game). The blue channel is for the dirt on uniforms, but the effect is not very intensive, so you might go without it.

    And take care also of the normal. This file adds a surface structure in the model and make the uniforms look more plastic and realistic. If add details in diffuse and don't add them in the normal, they very likely looking flat and jst painted on the uniform. If you remove details, and don't remove them in the normal, you still see shadows of those ereased details.
    Bladerunner
    Koeniglich Preussische Marine
    Sealords Virtual Fleets

    Sealords Minimod: http://www.twcenter.net/forums/showthread.php?t=274322
    Sealords Total War Mod: http://www.twcenter.net/forums/showthread.php?t=246265

  10. #10
    gary's Avatar Domesticus
    Join Date
    Mar 2005
    Location
    Newcastle Upon Tyne. North of England.
    Posts
    2,077

    Default Re: Problem with changing the textures of a unit

    Quote Originally Posted by Tobler75 View Post
    Look at the gloss.dds and make it completly black, then it would be ok...



    First of all open up the gloss.dds



    decode the alpha content



    file the whole file black



    Then decode the rgb channel

    then save your dds as [unit]_gloss_map.dds

    no changes to the normal needed just change the name to [unit]_normal.dds



    Hope that helps you out, if you want the complete tut for unitcreation drop me a pn,
    t would have helped but the problem is your photoshop is all in german so i am having trouble copying what you did as not sure what bax to open and close.....
    My Granfather Frederick Avery.Battalion Boxing champion. Regiment.The Kings Own Yorkshire Light Infantry. dorcorated D.C.M. M.M.
    campaigns

    (India.1930) (Norway 1940) (Fontenay le Pesnil) (North-West Europe1944-45) (Argoub Se!lah)
    (Sicily, 1943 Salerno) (Minturno) (Anzio Gemmano Ridge)
    "Burma, 1942"
    My grandfather was a hero, modest, quiet and wounded twice, in hand to hand combat at Casino Italy.

  11. #11
    Civis
    Join Date
    May 2009
    Location
    Southern Germany at the Swiss Border
    Posts
    155

    Default Re: Problem with changing the textures of a unit

    Well, i am aware of that problem that my "gimp" is on german, i tried to switch it on german but that is not possible, like i wrote here or in another thread I would write another tutorial for unit skinning, may be this weekend if I make a new unit, or in two weeks when I return from my vacations in Berlin. But at the moment i am researching the gloss maps and the normals and how to work with them, so it would be more reasonable to wait till i am finished with that...

    Sorry that I couldn't help you

    MODMEMBER SKINNING/RESEARCH

    ---DON'T MENTION THE WAR!---

  12. #12

    Default Re: Problem with changing the textures of a unit

    Could someone tell me how to change the actual colors of a texture?

  13. #13

    Default Re: Problem with changing the textures of a unit

    Quote Originally Posted by LEMONAIDS View Post
    Could someone tell me how to change the actual colors of a texture?
    You mean the faction colors? In that case, you need to edit the factions table from patch.pack and change the RGB values in columns R5 G5 and B5. If you're talking about how to edit a texture in general, you'll need an editor such Photoshop or GIMP.

  14. #14

    Default Re: Problem with changing the textures of a unit

    yeah i fiddle around with photoshop but I always get the mud people
    (likewise above) what im trying to do is give boots (or paint black) the feet of
    U.S. line infantry. Is this possible? because im feel retarded.

  15. #15

    Default Re: Problem with changing the textures of a unit

    Did you also check what was suggested above?

    If you don't want the faction-colour on you unit, you need an extra ..._gloss_map.dds for the unit. In this Gloss-Map you need to make the alpha-channel all black (listed at channels in Photoshop, next to Layers). Otherwise you will get a mixture of faction-color and skin-color.
    Bladerunner
    Koeniglich Preussische Marine
    Sealords Virtual Fleets

    Sealords Minimod: http://www.twcenter.net/forums/showthread.php?t=274322
    Sealords Total War Mod: http://www.twcenter.net/forums/showthread.php?t=246265

  16. #16
    Cheshire Cat's Avatar Civis
    Join Date
    Apr 2009
    Location
    North of England and proud of it
    Posts
    174

    Default Re: Problem with changing the textures of a unit

    Guys ive managed to redo the Russian line infantry to how i want them but im having problems with the ottoman_nizam_y_infantry_diffuse , ive changed the colours to what i want and added a gloss map blacked out, im saving it in gimp thx to Erasmus cant think of anything else other than the naming of the texture is wrong cos theres I and Y for Cedid infantry so i tried both of them still nothing pls help im stumped...

    Edit sorry ment to put ottoman_nizam_y_cedid_infantry_diffuse instead of above just
    mispell ..still having problems

    Edit. getting a volume map error on saving aswell how do i solve that? thx in advance.
    Last edited by Cheshire Cat; July 09, 2009 at 05:36 AM. Reason: misspelling

Posting Permissions

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