Results 1 to 25 of 25

Thread: Alletun's Eyecandy Tutorial

  1. #1
    Warhammer: Total War Team Member Alletun's Avatar
    Join Date
    Mar 2007
    Posts
    121

    Default Alletun's Eyecandy Tutorial

    Eyecandy Tutorial

    By : Alletun

    Hello! This is a simple tutorial i made while working on the 2d graphics for Wrath of the Norsemen mod for M2TW on TWC. Hopefully someone will find it usefull :) To make this tutorial easy to follow for even the newest modder i'll start with just a brief introduction where I set up the mod folder and makes everything ready for testing. After that i'll get to the interesting part!

    Setting up the environment

    To set up your environment ready for modding follow these steps.

    1) Unpacked the files. Do this by using the unpack_all in the M2TW/data/tools folder.

    2) Make a new folder called "wrath of the Norsemen" (or whatever your mod is called) in your M2TW root directory.

    3) Create a batch file . It's a .txt file (notepad), where i wrote "medieval2.exe @wrathnorsemen.cfg" in it. After that i closed it and renamed Wrathnorsemen.txt to Wrathnorsemen.bat

    4) Create a .cfg file, open it with notepad and write the following:

    [io]
    file_first = true

    [features]
    mod = Wrath of the Norsemen

    [log]
    to = logs/system.log.txt
    level = * error

    [video]
    movies = false


    Name it wrathnorsemen.cfg

    5) go into your "wrath of the Norsemen" folder and create a folder called "data", inside that folder, create two new folder called "loading_screen" and "menu"

    Now that our game is set up for testing, we're ready for the fun part: The Graphics!!

    Graphics

    Photoshop is used to make the graphics in this tutorial, but any photoediting software can be used such as GIMP, Painter and so on. I assume a base knowledge of the photoshop functions, but i wil try and explain as good as possible. All files that will be altered/edited is always copied to the mod folder, so the original files remain intact.

    The tutorial is from here devided into 4 parts: 1)Custom Splash Screen 2) Loading bar 3) Main Menu and beyond 4) Faction Symbols.

    Custom Splash screen
    The splash screen i create for WotN looks like this:


    This is how i made it:
    1)
    Go to your M2TW\Data\menu folder and copy the file called _m2_border.tga to M2TW\wrath of the Norsemen\data\menu

    2)
    Open that _m2_border.tga file in photoshop

    3)
    Create a new layer (ctrl+n) and fill it with black (shift+f5, then choose black from the drop down)

    4)
    Go on google and find an image of a nice old map. The higher resolution the better. Old maps make for great background images.

    5)
    Paste the map into a new layer, and transform it until the fills out the image. Use ctrl+t, and hold down shift when transforming to keep proportions.

    6)
    For a nice effect, take the Erase tool and erase the sides. make sure your erase brush is a round brush, 0% hardness, and about 25% opacity.
    This is how it looks like so far:


    7)
    Now go to Mayang and pick a texture you like.
    Copy that texture into a new layer.

    8)
    Change the "Blending Options" of that layer to Multiply, or any of the other blending modes. Experiment and see what looks best for your texture.
    I put mine on Multiply, and this is how it looks:


    9)
    Now it's time for the text. Write the name of your mod in a new layer. Here i start by writing "Wrath" in the font called "Viking-Normal" (www.dafont.com)
    After that I double click the layer to open up the Layer Styles menu.
    Add Drop shadow and Bevel & emboss with the settings shown in the image.


    10)
    I then wrote the rest of the name as i did in step 9.

    11)
    After that i added the WotN logo that i had created at an earlier time (the horse). if you want to create a logo/emblem for your mod, see further in this tut of how to make a symbol/faction emblem.

    12)
    Save your file as both a .tga called _m2_border.tga (overwrites the old one) and as .psd so you can always go back and correct.

    13)
    Congratulations! you've created your first simple custom splash screen! i added more minor effects to it, if you want further info, feel free to send me a PM.

    Custom loading bar

    1)
    Go to your M2TW\Data\loading_screen folder and copy the file called "loading_bar.tga" to M2TW\wrath of the Norsemen\data\loading screen

    2)
    Open that loading_bar.tga file in photoshop

    3)
    This is what you will see:

    The loading bar that on the buttom side of the red line is the base loading bar, and is the one that's showing when nothing is loaded yet. The loading bar on the top of the red line is the bare that will gradually become visible as the game loads.
    NOTE that the loading bar we're going to create must stay within the confines of the two blue bars, or else!

    4)
    To add some barbarian-isme to the mod, i chose to use a sword as the new loading bar. I found the sword via google and i had to cut of the two metal bars protecting the hand in order to stay within the confines of the original loading bar.


    5)
    Then i added blood to the top sword. The blood was added by using the brushtool and then painting in the blood using a strong red color on a new layer. This bloodlayer was then set to "Multiply" blendingmode


    6)
    Now that the loadingbar is done, save it as loading_bar.tga. (remember to keep the .psd file (photoshop file) if you want to come back and redo something)

    Main Menu

    I'll start this chapter about the main menu with a small cosmetic change: changing the color of the buttons in the main menu
    To do this go to: Medieval II Total War\data\menu

    copy these files to Medieval II Total War\Wrath of the Norsemen\data\menu:
    _m2_single_player_panels.tga
    _m2_load_game_panels.tga

    Open the above files in photoshop and alter the color on them as you wish.

    The color can be altered by using Ctrl+U and then sliding back and forth on the sliders.

    Heres what i did. The below image is a Before/after shot of the _m2_load_game_panels.tga file.
    on the fleur de lys on the right i just took Saturation in Ctrl+u to -100.


    When you've given them the colors you like save them (with the same name and as .tga files)

    Main menu itself and the campaign menu

    First, lets get rid of the medieval2 logo in the main menu and replacing it with our own logo:

    The file mtw2.lnt (Medieval II Total War\data\menu\mtw2.lnt) states how the layout is set up.
    Copy this from \data\menu to Medieval II Total War\Wrath of the Norsemen\data\menu

    You can view the contents of this file through notepad.

    Look for this piece of code (it can be hard to find, so use the search function to find it):
    Code:
    <UI piece>Medieval_II
          <identifier>UIP_EMPTY_ART</identifier>
          <Parameters>
            <x>264</x>
            <y>2</y>
            <width>490</width>
            <height>171</height>
            <locked>false</locked>
          </Parameters>
          <object_data></object_data>
          <object_id>BI_main_menu</object_id>
        </UI piece>
    If you delete it, the Medieval logo will go away, but you could also just remove the phrase UIP_EMPTY_ART like this:
    Code:
    <UI piece>Medieval_II
          <identifier></identifier>        //UIP_EMPTY_ART
          <Parameters>
            <x>264</x>
            <y>2</y>
            <width>490</width>
            <height>171</height>
            <locked>false</locked>
          </Parameters>
          <object_data></object_data>
          <object_id>BI_main_menu</object_id>
        </UI piece>
    Now you make a background image and make your logo on it. The background image is made very much like the Custom Splash screen, but with one big difference: There must be two big dark "bars" on the top and bottom, like this:


    What you see above is my modified _m2_border.tga file.

    1)
    Copy the original _m2_border.tga file from the medieval2\data\menu folder to your mods \data\menu folder.

    2)
    Open the file and begin making it as the Custom Splash Screen

    3)
    Where the bars on the original file was, put in your own as the top most layers. These bars will be important in the Campaign menu

    4)
    Write the name of your mod up in the top. Be sure to leave some room for the faction symbols that will be displayed in the campaign menu.


    5)
    I wont go into more detail about how to make the custom _m2_border.tga file, but if your having problems please PM me.

    If you launch your mod from the .bat file we created earlier and go through the different menus like Load Game and Options you will notice something irritating: The Medieval 2 logo we removed earlier is in vanilla replaced by title banners when you move through the different menus. Eg. in Load Game a big Load game banner will be displayed on the top bar.

    These title banners are blocking the view from our mods logo, which we put into the _m2_border.tga file. so what we want to do is remove these title banners. For this we shall again open our modded mtw2.lnt file.

    1)
    Open the mtw2.lnt file (which we put in Medieval II Total War\Wrath of the Norsemen\data\menu)

    2)
    Open Search and search for "Title", the third hit you get will probably be a line that says:
    <UI piece>new_game_title
    the code that lie between this and the next </UI piece> is code that belongs to the position and such of the New game Title banner (it's the banner when your in the single player menu).

    3)
    The line just beneath this says:
    <identifier>UIP_EMPTY_ART</identifier>
    Remove or clip this out as show in this image:


    4)
    When this is done you go onto the next UI_Piece with a Title in it (should be <UI piece>imperial_campaign_title) and do delete UIP_Empty_ART and so on...

    Sometimes it's not enough to just delete the UIP_EMPTY_ART but you have to delete the <object_id>empty_art</object_id> as well. I discovered which through trial and error.

    This is boring and repetitive work since there are a LOT of title banners, so for your convenience you can download my file:
    http://rapidshare.com/files/20482587/mtw2.lnt.html

    I would recommend that you play around with your file and try changing the parameters to see what happens. NOTE: dont fool around in the original file though, always have a backup copy (hard earned experience lol)

    Now we have a Beautiful main menu that will serve us well.

    Faction emblems

    As above you'll need Photoshop (any version from 6 and up) to make the gfx, and preferably a Wacom tablet, but a normal Mouse will do just fine too.
    when graphics for m2tw you can go two ways with it: stylized or realistic. Stylized is kind of how the vanilla symbols are. we'll be aiming for Realism!
    Here follows my symbol for the Kingdom of England:

    1)
    Open photoshop, and make a new canvas size 500x500 and fill it with black (shift + F5)

    2)
    Go on google and seach for a photography of a shield, and copy it into your canvas. I found this one:
    http://rubens.anu.edu.au/raid4/turke...s/DSCN6342.JPG

    3)
    The image is huge, so we need to resize it. Do this by pressing Ctrl + T and, while holding down shift, minimize the shield until it takes up a good portion of your canvas. So far it looks like this:


    4)
    Take the erase tool (E) and delete the background wall from the photo. Make sure you erase with a round, hard edged brush:



    5)
    You have probably noticed that the top of the shield is missing. This is probably the hardest part of the tutorial, because we have to paint something entirely from scratch. We address this by using the Clone-Stamp tool combined with the Brush tool. First select the clone-stamp tool (S), and make sure it has these settings:


    6)
    Make a new layer (Ctrl + Shift + N). Pres and hold down the alt key and the curser changes into a bullseye. Click this bullseye on a part of the neighboring shield rim. You can now copy the part you selected with the bullseye onto the missing shield rim. This is Hard! for a first timer it takes alot of practice and alot of bullseye samples to get it right. If your relatively new to photoshop I suggest you find a different shield than i did. This is how mine looks like after repetitively sampling and painting. i used the brush tool to paint in the base and then the clone-stamp tool to add the photo-realism:


    7)
    Take your erase tool and erase the middle section of the shield:


    8)
    Go to mayang (http://www.mayang.com/textures/) and find a good wood texture. One of these are good:
    http://www.mayang.com/textures/perl/...ks_5160263.JPG
    http://www.mayang.com/textures/perl/...ds_6190214.JPG

    9)
    paste the wood texture into your canvas, and place the layer beneath your shield layer. Use Ctrl+T to rotate and minimize the wood.

    10)
    Make sure your wood layer is selected and press Ctrl+M. This bring up the Curves tool. It is THE most power tool to manipulate lighting, colors and a whole punch of other things. Make it something like this:

    After this you could use the Brush tool to make the wood look better (i did that on my symbols).

    11)
    So, to sum up what we have so far: A border and a background. and both of them are on separate layers to that we can change their colors independently.


    12)
    Now we need to find the symbol itself. Im making the English symbols so i go on google and try and find a good symbol:



    13)
    And now for something completly different: Color editing. select your rim layer and open up curves (ctrl+M) or color balance (Ctrl+B). Color Balance is pretty straight forward, and i recommend it to people not so accustomed to photoshop. But for the best result use curves. First select red and drag the line upwards (putting more red into the color), then select green and pull the line downwards (to remove green from the color):



    14)
    Do the same for the wooden background

    15)
    OPTINAL: take the brushtool and lightly paint some scratches and dirt onto the shield, it will make the shield look better in preview, but it wont be visible in the game.

    16)
    Congratulations! you've made your first faction symbol!



    For how to add the symbol into the game i recommend alpaca's tutorial:
    https://forums.totalwar.org/vb/showthread.php?t=81326

    Some of my Symbols put into a menu im making for the Stainless Steel modification:


    My faction symbols, which you are free to put into your mod (but kindly leave me a note):
    http://www.twcenter.net/forums/showthread.php?t=92839

    Ingame Interface

    COMING SOON!

    Conclusion:
    Hope you can use this tutorial!
    (Im not a terribly good modder so there might be a better way of handling the text files such as mtw2.lnt. Please post your thoughts.)

    Dont be discouraged if your graphics don't look like a Rembrandt the first time, practice makes perfect!

    As a final note i would like to say: this WONT make your mod a better mod, but it will make your mod stand out and add a certain amount of uniqueness to it!

    Happy modding :)

    Last edited by alpaca; 04-14-2007 at 23:49.

  2. #2
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Alletun's Eyecandy Tutorial

    Well this should be useful for anyone doing a bit of 2d editing.
    Nice stuff

  3. #3

    Default Re: Alletun's Eyecandy Tutorial

    i want to logo tut...and many more :)

  4. #4
    Warhammer: Total War Team Member Alletun's Avatar
    Join Date
    Mar 2007
    Posts
    121

    Default Re: Alletun's Eyecandy Tutorial

    They're in production. I expect to release them shortly after the mod "Stainless Steel" has been released. in about 2 weeks. stay tuned ;)

  5. #5

    Default Re: Alletun's Eyecandy Tutorial

    beautiful, such a depth in that faction symbol

  6. #6
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Alletun's Eyecandy Tutorial

    By the way, Alletun: Feel free to incorporate or link to my tutorial about adding a new faction icon (although that's mainly to show people how to use the sd converter...)

  7. #7
    Warhammer: Total War Team Member Alletun's Avatar
    Join Date
    Mar 2007
    Posts
    121

    Default Re: Alletun's Eyecandy Tutorial

    Cool tut, i will make sure i link to it.

  8. #8

    Default Re: Alletun's Eyecandy Tutorial

    i dont want faction symbol at interface (at campaign map) ,i need tut,mabye tempalte for "faction selection" at starting new campaign....

  9. #9
    Warhammer: Total War Team Member Alletun's Avatar
    Join Date
    Mar 2007
    Posts
    121

    Default Re: Alletun's Eyecandy Tutorial

    Hi methoz

    could you explain some more what it is you want? then i can write it into the tutorial.

  10. #10
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Alletun's Eyecandy Tutorial

    Also check this tutorial for reference, it may answer your question: http://www.twcenter.net/forums/showthread.php?t=79274

  11. #11
    IW Director, MA Mapper Member Ilsamir Lord's Avatar
    Join Date
    Nov 2005
    Posts
    367

    Default Re: Alletun's Eyecandy Tutorial

    Superb stuff. This is really useful for me, as I'm just up to the 2d editing stage :) .
    VISIT OUR FORUM

    An Original Fantasy Concept

  12. #12

    Default Re: Alletun's Eyecandy Tutorial

    i think,its dead :(

  13. #13
    Warhammer: Total War Team Member Alletun's Avatar
    Join Date
    Mar 2007
    Posts
    121

    Default Re: Alletun's Eyecandy Tutorial

    nah im just busy with other stuff atm. Now that stainless steel 3.0 is release, i will soon release my faction shield package that contains all the faction symbols.

  14. #14
    Warhammer: Total War Team Member Alletun's Avatar
    Join Date
    Mar 2007
    Posts
    121

    Default Re: Alletun's Eyecandy Tutorial

    I dont seem to be able to edit my first post so here's the faction symbol chapter:

    Faction Symbols:

    As above you'll need Photoshop (any version from 6 and up) to make the gfx, and preferably a Wacom tablet, but a normal Mouse will do just fine too.
    when graphics for m2tw you can go two ways with it: stylized or realistic. Stylized is kind of how the vanilla symbols are. we'll be aiming for Realism!
    Here follows my symbol for the Kingdom of England:

    1)
    Open photoshop, and make a new canvas size 500x500 and fill it with black (shift + F5)

    2)
    Go on google and seach for a photography of a shield, and copy it into your canvas. I found this one:
    http://rubens.anu.edu.au/raid4/turke...s/DSCN6342.JPG

    3)
    The image is huge, so we need to resize it. Do this by pressing Ctrl + T and, while holding down shift, minimize the shield until it takes up a good portion of your canvas. So far it looks like this:


    4)
    Take the erase tool (E) and delete the background wall from the photo. Make sure you erase with a round, hard edged brush:



    5)
    You have probably noticed that the top of the shield is missing. This is probably the hardest part of the tutorial, because we have to paint something entirely from scratch. We address this by using the Clone-Stamp tool combined with the Brush tool. First select the clone-stamp tool (S), and make sure it has these settings:


    6)
    Make a new layer (Ctrl + Shift + N). Pres and hold down the alt key and the curser changes into a bullseye. Click this bullseye on a part of the neighboring shield rim. You can now copy the part you selected with the bullseye onto the missing shield rim. This is Hard! for a first timer it takes alot of practice and alot of bullseye samples to get it right. If your relatively new to photoshop I suggest you find a different shield than i did. This is how mine looks like after repetitively sampling and painting. i used the brush tool to paint in the base and then the clone-stamp tool to add the photo-realism:


    7)
    Take your erase tool and erase the middle section of the shield:


    8)
    Go to mayang (http://www.mayang.com/textures/) and find a good wood texture. One of these are good:
    http://www.mayang.com/textures/perl/...ks_5160263.JPG
    http://www.mayang.com/textures/perl/...ds_6190214.JPG

    9)
    paste the wood texture into your canvas, and place the layer beneath your shield layer. Use Ctrl+T to rotate and minimize the wood.

    10)
    Make sure your wood layer is selected and press Ctrl+M. This bring up the Curves tool. It is THE most power tool to manipulate lighting, colors and a whole punch of other things. Make it something like this:

    After this you could use the Brush tool to make the wood look better (i did that on my symbols).

    11)
    So, to sum up what we have so far: A border and a background. and both of them are on separate layers to that we can change their colors independently.


    12)
    Now we need to find the symbol itself. Im making the English symbols so i go on google and try and find a good symbol:



    13)
    And now for something completly different: Color editing. select your rim layer and open up curves (ctrl+M) or color balance (Ctrl+B). Color Balance is pretty straight forward, and i recommend it to people not so accustomed to photoshop. But for the best result use curves. First select red and drag the line upwards (putting more red into the color), then select green and pull the line downwards (to remove green from the color):



    14)
    Do the same for the wooden background

    15)
    OPTINAL: take the brushtool and lightly paint some scratches and dirt onto the shield, it will make the shield look better in preview, but it wont be visible in the game.

    16)
    Congratulations! you've made your first faction symbol!



    For how to add the symbol into the game i recommend alpaca's tutorial:
    https://forums.totalwar.org/vb/showthread.php?t=81326

    Some of my Symbols put into a menu im making for the Stainless Steel modification:


    My faction symbols, which you are free to put into your mod (but kindly leave me a note):
    http://www.twcenter.net/forums/showthread.php?t=92839

  15. #15
    Member Member Herkus's Avatar
    Join Date
    Feb 2006
    Location
    Latvia, Riga
    Posts
    173

    Default Re: Alletun's Eyecandy Tutorial

    Wow, this is a really good stuff. Thanks a lot Alletun.
    Though to be honest at first looking at your faction symbols, I hoped that you are making them completely by hand, not using photos.
    But anyway - great job.

  16. #16

    Default Re: Alletun's Eyecandy Tutorial

    Thanks a lot, really great tutorial.

  17. #17
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Alletun's Eyecandy Tutorial

    Hey alletun: Junior members can't edit their posts. If you want I can copy it in for you, but if you want to become a normal member you should post a bit more

    Nice tutorial by the way.

  18. #18
    Warhammer: Total War Team Member Alletun's Avatar
    Join Date
    Mar 2007
    Posts
    121

    Default Re: Alletun's Eyecandy Tutorial

    Yes please copy and i will post some more also i have a questions: I've released all my faction symbols for download on twcenter, and i would like to do the same here. But where post that thread? any specific subforums for small mods?

    Hehe Herkus, most of my symbols are about 40-50% handpainted (the background wood isn't a photo). i went heavy with the photos in the tut to make it easier and faster for newcomers to use.

    and thanks for all the nice responses

  19. #19
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Alletun's Eyecandy Tutorial

    Yep, you can use the "mods in development" forum for that.

  20. #20

    Default Re: Alletun's Eyecandy Tutorial

    For the splash screen, I think you should be modding splash.tga no _m2_borders.tga

    Great guide:D

    RM3

  21. #21
    Warhammer: Total War Team Member Alletun's Avatar
    Join Date
    Mar 2007
    Posts
    121

    Default Re: Alletun's Eyecandy Tutorial

    Thanks bringing that to my attention ;) i hadn't noticed that. I will edit it as soon as i can.

  22. #22
    IW Director, MA Mapper Member Ilsamir Lord's Avatar
    Join Date
    Nov 2005
    Posts
    367

    Default Re: Alletun's Eyecandy Tutorial

    Will the in-game interface tutorial contain info on the campaign banners? That would be right up my alley :)
    VISIT OUR FORUM

    An Original Fantasy Concept

  23. #23

    Default Re: Alletun's Eyecandy Tutorial

    errrrrm. I did everything you said and you forgot to say (splash) but my game crashes when I use my new custom splash. does it matter if you save it as 16, 24 or 32 pixels? should I uncheck compress?

  24. #24
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Alletun's Eyecandy Tutorial

    Quote Originally Posted by Beregorn
    errrrrm. I did everything you said and you forgot to say (splash) but my game crashes when I use my new custom splash. does it matter if you save it as 16, 24 or 32 pixels? should I uncheck compress?
    You need to use 24bpp (or 32bpp if you have an image with an alpha layer) and no compression.

  25. #25
    Warhammer: Total War Team Member Alletun's Avatar
    Join Date
    Mar 2007
    Posts
    121

    Default Re: Alletun's Eyecandy Tutorial

    Quote Originally Posted by Ilsamir Lord
    Will the in-game interface tutorial contain info on the campaign banners? That would be right up my alley :)
    i dont know that yet. maybe. but the tutorial is some time off since im now lead modeler/skinner/2d guy in Wrath of the Norsemen

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO