Page 1 of 4 1234 LastLast
Results 1 to 20 of 69

Thread: Lesson Two : Vanilla Mesh Retexturing & Input

  1. #1
    B. Ward's Avatar ★★★★ RockNRolla ★★★★
    Join Date
    Feb 2007
    Location
    East Coast, United States
    Posts
    4,376

    Default Lesson Two : Vanilla Mesh Retexturing & Input

    Introduction


    • In this lesson we will complete a retexture of the Feudal Knight as well as its appropriate attachment_set and view the changes in the game engine.


    File Setup


    • Please ensure that you have downloaded alpaca's dds/texture converter which can be found here.
    • Also ensure that you have downloaded the dds plugin for your image editing program of choice as well.



    Let's begin, shall we?

    First open en_lmail_hmail_template.psd. This should open in
    Photoshop as well as The Gimp. Your file should look like this.

    Spoiler Alert, click show to read: 






    Now open final heater_template_diff.psd. This should open in Photoshop as well as The Gimp without issue as well. It should look like the diagram below.

    Spoiler Alert, click show to read: 






    Now using your knowledge gained from Lesson One, complete the texture set for both en_lmail_hmail_template.psd and final heater_template_diff.psd. Feel free to add symbols, patterns, or anything else to your texture. Remember your texture will only be limited by your creativity. Here is how I have completed my texture sets.

    Spoiler Alert, click show to read: 






    Spoiler Alert, click show to read: 






    Now we must save our files and prepare them for game engine integration. You should have the .dds plugin for your image editor installed and ready to go. Examine your file to make sure you are happy with the results and 'Save As' (Ctrl + Shift + S). Make sure you select to save it in the .dds format and the nVidia dds box should come up with a host of saving options. Follow the graphical guides below for either Photoshop or The Gimp below.


    • Compression = DXT5
    • Generate MIP maps
    • Mipmap Filter = Box

    Spoiler Alert, click show to read: 






    Spoiler Alert, click show to read: 






    Once you've saved your files, you will need to convert them to .texture files so the game engine can read them. The use the converter you will need python installed on your system. You can download that for free here. You will need your files in the same directory as the converter to work. I'm sure we all know how to create a folder to place your files in, so I'm not going to go through that process. Once you have your .dds files in the same directory as the converter, run 'convert_all_dds.bat' and it should create .texture files of your .dds files as seen below. Also note that I've renamed the files to 'en_lmail_hmail_england.texture' and 'final heater_england_diff.texture' as should you.

    Spoiler Alert, click show to read: 






    Now we're ready to place our new files in our mod folder and see them in action in the game engine. Unpack the mod folder to your Medival II Total War directory like the diagram below.

    Spoiler Alert, click show to read: 






    Next, we have to place our two files in their appropriate destinations so the game can properly detect them. The file en_lmail_hmail_england.texture will go into the following directory: Basic_Mesh_Texturing\data\unit_models\_units\en_lmail_hmail\textures\ and the file final heater_england_diff.texture will go into the following directory:
    Basic_Mesh_Texturing\data\unit_models\attachmentsets\. Create these directories if they do not exist already. Once you have completed that, go back to your Medieval II Total War directory and run 'Basic_Mesh_Texturing_cfgFixer.bat' to create up your .cfg file based on your current preferences. Once you have completed this, we are ready to run our class mod and see our in game changes. So let's run our mod by running the .bat file 'Basic_Mesh_Texturing.bat' and start a custom battle using England. You should be able to set up a custom battle without issue, so there will be no screens for that process. Now give your army one unit of Feudal Knights and one unit of Dismounted Feudal Knights. Load up the custom battle and view your brand new textures Feudal Knights. Mine can be seen in the screens below.

    Spoiler Alert, click show to read: 






    Spoiler Alert, click show to read: 






    Spoiler Alert, click show to read: 






    And there you have it. Your brand new textures showing up in game. Now that wasn't so hard, now was it? Feel free to try out new things with your textures and just let your creativity take hold. Your creativity is the biggest aspect of texturing. Following a few basic steps will get you past the technical aspect, the rest is up to you. This concludes Lesson Two and at this point in the course you should have the basic working knowledge to retexture an existing vanilla .mesh and get it working in the game engine. Please post if you have any problems and please post your results in this thread. I would like to see your actual texture and then how it looks in the game engine. Happy modding.

    Cheers,
    B.Ward
    Last edited by Harry Lime; October 22, 2008 at 12:54 PM.

  2. #2
    B. Ward's Avatar ★★★★ RockNRolla ★★★★
    Join Date
    Feb 2007
    Location
    East Coast, United States
    Posts
    4,376

    Default Re: Lesson Two : Vanilla Mesh Retexturing & Input

    Lesson Posted

  3. #3
    Y_filip's Avatar Tiro
    Join Date
    Mar 2008
    Location
    in the galaxy far-far away
    Posts
    212

    Default Re: Lesson Two : Vanilla Mesh Retexturing & Input

    hello

    can you tell me how to change the clothes texture
    [SIGPIC][/SIGPIC]

  4. #4
    B. Ward's Avatar ★★★★ RockNRolla ★★★★
    Join Date
    Feb 2007
    Location
    East Coast, United States
    Posts
    4,376

    Default Re: Lesson Two : Vanilla Mesh Retexturing & Input

    Please refer to Lesson One for that information.

  5. #5
    Hobbes's Avatar Vicarius Provinciae
    Join Date
    May 2008
    Location
    Hobs Crk
    Posts
    10,732

    Default Re: Lesson Two : Vanilla Mesh Retexturing & Input

    DDS: It appears your image may be a volume map,
    but not all layers are the same size, thus a volume
    map cannot be written.

    Error opening C:\Documents and Settings\USER\TWC\Material\en_lmail_hmail_template2.dds

    Saving: C:\Documents and Settings\USER\TWC\Material\en_lmail_hmail_template2.dds' failed:

    DDS image plug-in could not save image

    why does this happen??

    BLM - ANTIFA - A.C.A.B. - ANARCHY - ANTI-NATIONALISM

  6. #6
    sinople's Avatar These Romans are crazy!
    Join Date
    Apr 2007
    Location
    France
    Posts
    2,447

    Default Re: Lesson Two : Vanilla Mesh Retexturing & Input

    I have problems to convert my file .psd to .dds

    Here is what I can choose to convert :
    Spoiler Alert, click show to read: 


    Here is the result
    Spoiler Alert, click show to read: 



    Any idea ?

  7. #7
    B. Ward's Avatar ★★★★ RockNRolla ★★★★
    Join Date
    Feb 2007
    Location
    East Coast, United States
    Posts
    4,376

    Default Re: Lesson Two : Vanilla Mesh Retexturing & Input

    What version are you using?

  8. #8
    Hobbes's Avatar Vicarius Provinciae
    Join Date
    May 2008
    Location
    Hobs Crk
    Posts
    10,732

    Default Re: Lesson Two : Vanilla Mesh Retexturing & Input

    What about my problem?

    BLM - ANTIFA - A.C.A.B. - ANARCHY - ANTI-NATIONALISM

  9. #9
    B. Ward's Avatar ★★★★ RockNRolla ★★★★
    Join Date
    Feb 2007
    Location
    East Coast, United States
    Posts
    4,376

    Default Re: Lesson Two : Vanilla Mesh Retexturing & Input

    The question is for both? What version are you using?

  10. #10

    Default Re: Lesson Two : Vanilla Mesh Retexturing & Input

    You guys have to merge down every layer first , i got the same error but that fix it, right click on the layer and hit merge down until you get only the background layer, remember to add the alpha channel after this and save it.
    Contribuitor IBIICB-WOTN-Modeler-Scripter


  11. #11
    B. Ward's Avatar ★★★★ RockNRolla ★★★★
    Join Date
    Feb 2007
    Location
    East Coast, United States
    Posts
    4,376

    Default Re: Lesson Two : Vanilla Mesh Retexturing & Input

    Try that and see if that works. I didn't have to merge down though. Not really a gimp user, just wanted to at least have some screens for the gimp users though.

  12. #12
    Hobbes's Avatar Vicarius Provinciae
    Join Date
    May 2008
    Location
    Hobs Crk
    Posts
    10,732

    Default Re: Lesson Two : Vanilla Mesh Retexturing & Input

    gimp 2.0
    python 2.6

    what is the python for?

    BLM - ANTIFA - A.C.A.B. - ANARCHY - ANTI-NATIONALISM

  13. #13
    B. Ward's Avatar ★★★★ RockNRolla ★★★★
    Join Date
    Feb 2007
    Location
    East Coast, United States
    Posts
    4,376

    Default Re: Lesson Two : Vanilla Mesh Retexturing & Input

    I have gimp 2.6 installed and haven't seen any issues. Also python is for the dds/texture converter. Try installing gimp 2.6 and see if that helps.

  14. #14
    Jaguar Paw's Avatar Senator
    Join Date
    Jan 2008
    Location
    Maryland, USA
    Posts
    1,303

    Default Re: Lesson Two : Vanilla Mesh Retexturing & Input

    B. Ward, is there a time deadline for this assignment? If it is posted, sorry I must have overlooked it. Thanks.
    Member: The Frontier. Researcher, Skinner, and Modeler.












    Member: The Frontier Researcher

  15. #15
    B. Ward's Avatar ★★★★ RockNRolla ★★★★
    Join Date
    Feb 2007
    Location
    East Coast, United States
    Posts
    4,376

    Default Re: Lesson Two : Vanilla Mesh Retexturing & Input

    Lessons are once a week. So around next Monday or Tuesday.

  16. #16
    Hobbes's Avatar Vicarius Provinciae
    Join Date
    May 2008
    Location
    Hobs Crk
    Posts
    10,732

    Default Re: Lesson Two : Vanilla Mesh Retexturing & Input

    ok.

    BLM - ANTIFA - A.C.A.B. - ANARCHY - ANTI-NATIONALISM

  17. #17
    Jaguar Paw's Avatar Senator
    Join Date
    Jan 2008
    Location
    Maryland, USA
    Posts
    1,303

    Default Re: Lesson Two : Vanilla Mesh Retexturing & Input

    Quote Originally Posted by B. Ward View Post
    Lessons are once a week. So around next Monday or Tuesday.

    Thanks BW, I'm almost done, just didn't want to hold anyone up.
    Last edited by Jaguar Paw; October 23, 2008 at 12:25 PM. Reason: add text
    Member: The Frontier. Researcher, Skinner, and Modeler.












    Member: The Frontier Researcher

  18. #18
    Hobbes's Avatar Vicarius Provinciae
    Join Date
    May 2008
    Location
    Hobs Crk
    Posts
    10,732

    Default Re: Lesson Two : Vanilla Mesh Retexturing & Input

    still the same results....



    arghh!!! I just found out that I own a photoshop CD!!!
    Last edited by Hobbes; October 23, 2008 at 12:38 PM.

    BLM - ANTIFA - A.C.A.B. - ANARCHY - ANTI-NATIONALISM

  19. #19
    B. Ward's Avatar ★★★★ RockNRolla ★★★★
    Join Date
    Feb 2007
    Location
    East Coast, United States
    Posts
    4,376

    Default Re: Lesson Two : Vanilla Mesh Retexturing & Input

    It's all good. No rush.

  20. #20

    Default Re: Lesson Two : Vanilla Mesh Retexturing & Input

    my results gona come in late this week

Page 1 of 4 1234 LastLast

Posting Permissions

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