Results 1 to 9 of 9

Thread: How you can make a alpha textur (cod2)

  1. #1
    Lieutenant Loveboy's Avatar
    Join Date
    Nov 2012
    Posts
    546
    Thanks
    229
    Thanked 72 Times in 46 Posts

    How you can make a alpha textur (cod2)

    Hello Guys,
    i want to show you how you can make a Textur with alpha in Call of Duty 2.
    For this tutorial you need DDS Converter 2 and GIMP.
    DDS Converter 2 Download: http://www.gamefront.com/files/files...verter_v21.exe
    GIMP Download: http://gimp.softonic.de/


    Open your GIMP and click on File -> New
    Now you will see this:
    Click image for larger version. 

Name:	step1.jpg 
Views:	127 
Size:	454.4 KB 
ID:	257

    you must click on "More Settings"
    and then there stay: Felling: Background colour. You must change it to: transparent
    Click image for larger version. 

Name:	step2.jpg 
Views:	123 
Size:	267.2 KB 
ID:	258

    you will see now the alpha texture (invisible textur)
    Click image for larger version. 

Name:	step3.jpg 
Views:	117 
Size:	635.2 KB 
ID:	259

    now you can paint something what you want
    Click image for larger version. 

Name:	step4.jpg 
Views:	118 
Size:	694.4 KB 
ID:	260

    Save this picture.

    File -> Export -> your Desktop -> name it to myalphatextur.png -> save.
    Click image for larger version. 

Name:	step5.jpg 
Views:	124 
Size:	291.7 KB 
ID:	261
    then..
    Click image for larger version. 

Name:	step6.jpg 
Views:	121 
Size:	305.6 KB 
ID:	262

    Now you have the file on your Desktop
    Click image for larger version. 

Name:	step7.jpg 
Views:	111 
Size:	291.3 KB 
ID:	263

    Now open the DDS Converter 2. You write there your file (myalphatexture.png) or klick on that.
    Make from (input format .PNG to (Output format .TGA
    Then you click on the button .\ (next to c:\users\computer name\desktop)
    Click image for larger version. 

Name:	step8.jpg 
Views:	126 
Size:	315.1 KB 
ID:	264

    Now click on Convert, now its converting to your desktop.
    Click image for larger version. 

Name:	step9.jpg 
Views:	107 
Size:	296.9 KB 
ID:	265

    Put your .TGA file in c\programme files(x86)\activision\call of duty 2)
    Click image for larger version. 

Name:	step10.jpg 
Views:	119 
Size:	219.1 KB 
ID:	266

    Now you click on bin and then on asset_manager.exe
    Do this settings for a alpha textur:
    Click image for larger version. 

Name:	step11.jpg 
Views:	157 
Size:	158.5 KB 
ID:	267

    Click on File -> Save as

    write there myalphatexture.gdt
    and then on save.
    Click image for larger version. 

Name:	step12.jpg 
Views:	123 
Size:	228.7 KB 
ID:	268

    Click F10 (PC Convert -> Current asset only)

    Now you will get a material and a image name: myalphatexture(.iwi)

  2. The Following 4 Users Say Thank You to Loveboy For This Useful Post:

    guiismiti (15th September 2014),kung foo man (3rd May 2013),Ni3ls (7th May 2013),serthy (3rd May 2013)

  3. #2
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,010
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    Nice detailed tutorial
    timescale 0.01

  4. The Following User Says Thank You to kung foo man For This Useful Post:

    Loveboy (3rd May 2013)

  5. #3
    Lieutenant Loveboy's Avatar
    Join Date
    Nov 2012
    Posts
    546
    Thanks
    229
    Thanked 72 Times in 46 Posts
    Thank you

  6. #4
    Private
    Join Date
    May 2013
    Posts
    27
    Thanks
    0
    Thanked 19 Times in 11 Posts
    FYI: There is a DDS plug-in available for GIMP. Eliminates the need for the external DDS Converter.

  7. The Following User Says Thank You to PatmanSan For This Useful Post:

    kung foo man (4th May 2013)

  8. #5
    Corporal guiismiti's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    244
    Thanks
    121
    Thanked 42 Times in 31 Posts
    I got a problem trying to create a working TGA.
    I'm defining killIcon\gfx/icons/hud@airstrikebomb.tga in my airstrikebomb_mp. The tga was made according to the tutorial.
    Any help? I've been on it for hours now.

  9. #6
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    CoD2 uses two different kind of textures: iwi + material and @.tga files. Those @.tga files are leftovers from CoD1 can and should not be used as modding source. You should create a simple tga in Gimp and convert it to iwi + material file via the asset manager, as this will work in all cases.

  10. The Following User Says Thank You to serthy For This Useful Post:

    guiismiti (16th September 2014)

  11. #7
    Corporal guiismiti's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    244
    Thanks
    121
    Thanked 42 Times in 31 Posts
    Well I followed the steps over and over and over, tried changing a few things, it will still give me 50 bytes iwi and material. I'm done with it, thanks anyway.

  12. #8
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by serthy View Post
    CoD2 uses two different kind of textures: iwi + material and @.tga files. Those @.tga files are leftovers from CoD1 can and should not be used as modding source. You should create a simple tga in Gimp and convert it to iwi + material file via the asset manager, as this will work in all cases.
    COD2 uses ONE kind of texture - .IWI. The materials files are image parameter files. They inform the engine what parameters to use when drawing the shader types. As such, they aren't actually textures themselves.

    COD2's materials files are paralleled in COD1 in the .STYPE files (found in the "shadertypes" folder). .STYPE is a file format used in early versions of 3D Studio Max, which is the 3D modelling program used in COD1 and United Offensive. As we know, COD2 used Maya 6.0 but Maya's materials files are not the same as COD2's materials files. So, the materials file format in COD2 is proprietary but it is based on Maya's one.

    The .TGA files in COD2 are not left over from COD1. They are in fact the first prototype of materials files. The file extension is thus misleading - it is not a targa file at all. It is a materials file, with a strange file extension (i.e. .TGA). All the .TGA files in COD2 are in the materials folders. Not the image folder. Hence, this is a dead give-away that they are not in fact image files at all.

    Very early in the development of COD2, when all the engine functions had not been finalized, Infinity Ward abandoned using this form of materials file, and developed the one we are most familiar with. This is why the game only has a few .TGA files in it. The .TGA materials files reference the .DDS files also found in the materials folder. Again these are not standard .DDS files. They are in fact prototype .IWI files, as the .IWI file header is included in COD2's .DDS file. You cannot open these .DDS files in standard image programs like Photoshop or GIMP. This is because of the proprietary header. Again, these files are from a very early build of COD2, before they finalised the .IWI format they would use up until the present.
    Last edited by Tally; 16th September 2014 at 03:23.

  13. The Following 2 Users Say Thank You to Tally For This Useful Post:

    kung foo man (16th September 2014),Ni3ls (16th September 2014)

  14. #9
    Private Wesleyw3zep's Avatar
    Join Date
    Feb 2016
    Posts
    38
    Thanks
    1
    Thanked 4 Times in 4 Posts
    Very nice !!! so i made that logo for my game server now. Do you know where i can find a tutorial on how to fix the logo in the right top corner?:P



    Quote Originally Posted by Loveboy View Post
    Hello Guys,
    i want to show you how you can make a Textur with alpha in Call of Duty 2.
    For this tutorial you need DDS Converter 2 and GIMP.
    DDS Converter 2 Download: http://www.gamefront.com/files/files...verter_v21.exe
    GIMP Download: http://gimp.softonic.de/


    Open your GIMP and click on File -> New
    Now you will see this:
    Click image for larger version. 

Name:	step1.jpg 
Views:	127 
Size:	454.4 KB 
ID:	257

    you must click on "More Settings"
    and then there stay: Felling: Background colour. You must change it to: transparent
    Click image for larger version. 

Name:	step2.jpg 
Views:	123 
Size:	267.2 KB 
ID:	258

    you will see now the alpha texture (invisible textur)
    Click image for larger version. 

Name:	step3.jpg 
Views:	117 
Size:	635.2 KB 
ID:	259

    now you can paint something what you want
    Click image for larger version. 

Name:	step4.jpg 
Views:	118 
Size:	694.4 KB 
ID:	260

    Save this picture.

    File -> Export -> your Desktop -> name it to myalphatextur.png -> save.
    Click image for larger version. 

Name:	step5.jpg 
Views:	124 
Size:	291.7 KB 
ID:	261
    then..
    Click image for larger version. 

Name:	step6.jpg 
Views:	121 
Size:	305.6 KB 
ID:	262

    Now you have the file on your Desktop
    Click image for larger version. 

Name:	step7.jpg 
Views:	111 
Size:	291.3 KB 
ID:	263

    Now open the DDS Converter 2. You write there your file (myalphatexture.png) or klick on that.
    Make from (input format .PNG to (Output format .TGA
    Then you click on the button .\ (next to c:\users\computer name\desktop)
    Click image for larger version. 

Name:	step8.jpg 
Views:	126 
Size:	315.1 KB 
ID:	264

    Now click on Convert, now its converting to your desktop.
    Click image for larger version. 

Name:	step9.jpg 
Views:	107 
Size:	296.9 KB 
ID:	265

    Put your .TGA file in c\programme files(x86)\activision\call of duty 2)
    Click image for larger version. 

Name:	step10.jpg 
Views:	119 
Size:	219.1 KB 
ID:	266

    Now you click on bin and then on asset_manager.exe
    Do this settings for a alpha textur:
    Click image for larger version. 

Name:	step11.jpg 
Views:	157 
Size:	158.5 KB 
ID:	267

    Click on File -> Save as

    write there myalphatexture.gdt
    and then on save.
    Click image for larger version. 

Name:	step12.jpg 
Views:	123 
Size:	228.7 KB 
ID:	268

    Click F10 (PC Convert -> Current asset only)

    Now you will get a material and a image name: myalphatexture(.iwi)

Posting Permissions

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