Page 1 of 2 12 LastLast
Results 1 to 20 of 25

Thread: Making Unit Cards with Gimp

  1. #1
    Hader's Avatar Things are very seldom what they seem. In my experience, they’re usually a damn sight worse.
    took an arrow to the knee spy of the council

    Join Date
    Mar 2006
    Posts
    13,192
    Blog Entries
    1

    Default Making Unit Cards with Gimp

    Making Unit Cards with Gimp

    First off, thanks go out to Publius for teaching me this stuff. You were a great help man! Thanks!

    Preparation- First you will need Gimp, of course, my tutorial may work with other image editing programs but don’t take my word for it. You will also need a picture of the unit in any pose you like, take this unit for example.



    Usually what I do to get a good picture is set a unit in loose formation (makes it easier to make card later on) and make them perform some sort of action, like just running to a location or attacking a unit. If you want a great angle, use the movie cam.

    Step 1- Open the image in Gimp and click the “Select Hand Drawn Regions” button in the toolbar. See below if you do not get it.



    Step 2- Next you need to set the alpha channel. Go to Layers, Transparency, then click Add Alpha Channel.



    Step 3- You are now ready to begin outlining the unit. This is the most annoying, frustrating part of this whole process. It takes a lot of time, trust me, but it is worth the great card quality in the end.

    To outline the unit, you need to zoom in very close so you can get a precise measure around the units picture. Usually you should zoom to about 800% on any original image, but on cropped ones it might be more like 400%.
    For this tutorial I will use 400% so as to easily see what I am doing.

    After you zoom, begin tracing around one part of the unit, like this. You see the line up against his head? You should be tracing like that.



    After tracing one part of the unit, begin tracing outside into area not part of the actual guy, like this.



    Then you can either connect with the start point or just release the mouse button and you will see this.



    After you see the flashing dotted line around the area you just selected, go to Layers, Transparency, then click Threshold Alpha.



    A box will come up with a sliding bar like the one shown below.



    Slide the bar all the way over to the right and click OK. You will see the checkerboard come up in the area you selected. After this click any where on screen to erase the dotted line still around the selected area.



    Repeat these easy steps and this time go around the entire unit, make sure you get only parts of that unit in. After a few more times it should look something like this.



    Remember you are basically just getting out that negative space (not part of the unit) so all you can really see is the unit itself. In the end you should have checkerboard all around the unit so you can distinctly tell the shape of the unit.

    Once you have made everything around the unit an alpha, click the “Select Rectangular Regions” button on the Gimp main window. It is very near the “Select Hand Drawn Regions” button. With this tool selected, just lasso the unit like so.



    -As you can see I have not done the entire unit, but you should have.

    Scale the image down to a good size before the next step, that way it fits onto the card good. To do this go to Image on the toolbar and click Scale Image. Note that you may have to experiment with different sizes to see what you like the best.

    Now that it is selected Copy it (Edit, Copy or CTRL+C) and then Paste it onto the card template. The below template is just an example, I do not yet know where to find the vanilla template yet. I will edit as soon as I do though.






    As you can see the area behind our unit is visible, note that it will not be visible when you have selected it as an alpha channel. You should only see the unit itself and the background of the card template, nothing else.

    Well you are done! Save the image, both the card and the unit's whole image with the alpha layer, first as a tga file so you can come back to his card and edit it later and then as a .jpg for a finalized card. I do not know how to implement these cards into the game though, I can only take you so far at this time.

    So, this is how to save:
    1) Save the original image, probably already saved somewhere else, but make sure you have it.
    2) Save the edited alpha as a .tgas somewhere else as to come back and edit it in the future
    3) Save the unit on the card template as a tgas file to make it able to implement into the game.


    Credits: Me, Hader, for making this tutorial; I would also like to give a big thanks to Publius who taught me this, he deserves credit too. Thanks for everything man.

    This is my work so please respect it, nothing over the top. Thanks for choosing my tutorial.

    Open to all comments, go ahead and post. Rep points wouldn't be bad either ... but no really, what do you think? I would like some positive feedback so I can improve. Thank you.
    Last edited by Hader; April 23, 2006 at 11:02 AM.

  2. #2
    Spartan1015's Avatar Semisalis
    Join Date
    Apr 2006
    Location
    Earth, or you want to say Mars
    Posts
    472

    Default Re: Tutorial: Making Unit Cards with Gimp

    THANK YOU SO MUCH!
    but do u know how to work the ATG spartan unit cards, they come up as a black peasant...........

  3. #3
    Hader's Avatar Things are very seldom what they seem. In my experience, they’re usually a damn sight worse.
    took an arrow to the knee spy of the council

    Join Date
    Mar 2006
    Posts
    13,192
    Blog Entries
    1

    Default Re: Tutorial: Making Unit Cards with Gimp

    Soon I should get the vanilla template uploaded for any one that wants it.
    EDIT: Try this link

    http://img176.imageshack.us/img176/1...emplate7fy.jpg
    Last edited by Hader; April 22, 2006 at 06:57 PM.

  4. #4

    Default Re: Tutorial: Making Unit Cards with Gimp

    Nice job Hader. Spartan1015 - you are going to need to add in the ui files into the proper directories with the proper names. You may also have to use the pak extractor (find in the dl section) in order to get them in game, although some of the units work without this



  5. #5
    Hader's Avatar Things are very seldom what they seem. In my experience, they’re usually a damn sight worse.
    took an arrow to the knee spy of the council

    Join Date
    Mar 2006
    Posts
    13,192
    Blog Entries
    1

    Default Re: Tutorial: Making Unit Cards with Gimp

    Try this download for the vanilla card template. There is an alternative imageshack link if you like.

    Download zip- http://www.megaupload.com/?d=DN9DQTRV

    Alternative imageshck link- http://img176.imageshack.us/img176/...template7fy.jpg

  6. #6

    Default Re: Tutorial: Making Unit Cards with Gimp

    Nice job Hader! Very informative, and in simple enough terms for even me to be able to understand it.

    Patron of Felixion, Ulyaoth, Reidy, Ran Taro and Darth Red
    Co-Founder of the House of Caesars


  7. #7
    Hader's Avatar Things are very seldom what they seem. In my experience, they’re usually a damn sight worse.
    took an arrow to the knee spy of the council

    Join Date
    Mar 2006
    Posts
    13,192
    Blog Entries
    1

    Default Re: Tutorial: Making Unit Cards with Gimp

    Thanks, I hope this helps people who want to know as much as I did. It seemed so hard yet it was so easy.

  8. #8

    Default Re: Tutorial: Making Unit Cards with Gimp

    WAA! Nice one. Ive just made and imported my first custom made UI card!
    Cheers man
    Have some rep points!
    A Mod for Med2 Kingdoms:

    THERA:REDUX

    Click here:
    https://www.moddb.com/mods/thera-redux


  9. #9
    Hader's Avatar Things are very seldom what they seem. In my experience, they’re usually a damn sight worse.
    took an arrow to the knee spy of the council

    Join Date
    Mar 2006
    Posts
    13,192
    Blog Entries
    1

    Default Re: Tutorial: Making Unit Cards with Gimp

    Quote Originally Posted by CrayonVonCaesar
    WAA! Nice one. Ive just made and imported my first custom made UI card!
    Cheers man
    Have some rep points!
    Nice, if you would like to post it here, go ahead, or just PM it to me.
    Last edited by Hader; April 23, 2006 at 10:37 AM.

  10. #10
    Zuwxiv's Avatar Bear Claus
    Join Date
    Jun 2004
    Location
    California
    Posts
    4,361

    Default Re: Tutorial: Making Unit Cards with Gimp

    Very good tutorial... Hello reputation points!

    Currently worshipping Necrobrit *********** Thought is Quick
    I'm back for the TWCrack

  11. #11
    Hader's Avatar Things are very seldom what they seem. In my experience, they’re usually a damn sight worse.
    took an arrow to the knee spy of the council

    Join Date
    Mar 2006
    Posts
    13,192
    Blog Entries
    1

    Default Re: Tutorial: Making Unit Cards with Gimp

    I want to point out a major change to the tutorial, VERY IMPORTANT.

    So, this is how to save:
    1) Save the original image, probably already saved somewhere else, but make sure you have it.
    2) Save the edited alpha as a .tgas somewhere else as to come back and edit it in the future
    3) Save the unit on the card template as a tgas file to make it able to implement into the game.
    Last edited by Hader; April 23, 2006 at 11:01 AM.

  12. #12

    Default Re: Tutorial: Making Unit Cards with Gimp

    Well, jpegs are good for putting pictures onto imageshack and such as they dramatically reduce file size, but I dont think you would want to use them as a "final version" as quality will tend to be lower with this file format (also, I do not think jpeg format allows for retention of alpha channel)



  13. #13
    Hader's Avatar Things are very seldom what they seem. In my experience, they’re usually a damn sight worse.
    took an arrow to the knee spy of the council

    Join Date
    Mar 2006
    Posts
    13,192
    Blog Entries
    1

    Default Re: Tutorial: Making Unit Cards with Gimp

    Quote Originally Posted by Publius
    Well, jpegs are good for putting pictures onto imageshack and such as they dramatically reduce file size, but I dont think you would want to use them as a "final version" as quality will tend to be lower with this file format (also, I do not think jpeg format allows for retention of alpha channel)
    Well I just want to make sure others know that you can't save it as .jpg and expect the alpha channel to still be there.

  14. #14

    Default Re: Tutorial: Making Unit Cards with Gimp

    I guess I am just a little confused by your post - does it say use jpg for the final version (step 3)?



  15. #15
    Hader's Avatar Things are very seldom what they seem. In my experience, they’re usually a damn sight worse.
    took an arrow to the knee spy of the council

    Join Date
    Mar 2006
    Posts
    13,192
    Blog Entries
    1

    Default Re: Tutorial: Making Unit Cards with Gimp

    Yes, I guess I can change that. What I mean is that is your "final version" that you will use for the card, however if you find that you want to change it a little bit you need to have the tgas one saved as well.

  16. #16
    Leonidas The Lion's Avatar Until we win! Or die.
    Content Emeritus

    Join Date
    Apr 2006
    Location
    UK/Der Freistaat Griechenland
    Posts
    10,406

    Default Re: Tutorial: Making Unit Cards with Gimp

    First off how do we get a picture of the unit

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

    Default Re: Tutorial: Making Unit Cards with Gimp

    You either take a pic of it in a custom battle, or if you have 3ds max you render the unit. If you are taking pics of the unit in custom battle, may i recommend you use FRAPs to take the pics with.
    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.

  18. #18
    Leonidas The Lion's Avatar Until we win! Or die.
    Content Emeritus

    Join Date
    Apr 2006
    Location
    UK/Der Freistaat Griechenland
    Posts
    10,406

    Default Re: Tutorial: Making Unit Cards with Gimp

    Thanks

  19. #19

    Default Re: Tutorial: Making Unit Cards with Gimp

    but do u know how to work the ATG spartan unit cards, they come up as a black peasant...........
    Try this



  20. #20
    killerrabbit's Avatar Senator
    Join Date
    Jan 2009
    Location
    The Hague
    Posts
    1,377

    Default Re: Tutorial: Making Unit Cards with Gimp

    thanks man, Just to show you how greatful I am... I am gonna post my first unit card here..

    Attachment 31123

    "Nothing is true, everything is permitted."

Page 1 of 2 12 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
  •