Difference between revisions of "Tutorial: Custom Pet Markings"
PharaohHound (Talk | contribs) |
PharaohHound (Talk | contribs) |
||
(5 intermediate revisions by one user not shown) | |||
Line 26: | Line 26: | ||
*[http://www.den.simlogical.com/denforum/index.php?topic=189.0 s3pe]. | *[http://www.den.simlogical.com/denforum/index.php?topic=189.0 s3pe]. | ||
*[http://www.den.simlogical.com/denforum/index.php?topic=190.0 s3oc]. You must have version 12-0204-2341 or later, earlier versions cannot clone the markings correctly. | *[http://www.den.simlogical.com/denforum/index.php?topic=190.0 s3oc]. You must have version 12-0204-2341 or later, earlier versions cannot clone the markings correctly. | ||
− | *An image editing program capable of working with DDS and PNG files. | + | *An image editing program capable of working with DDS and PNG files. The three most common are: |
− | **'''Photoshop | + | **'''Adobe Photoshop''' (and '''Photoshop Elements''') are PAY programs. Both must have the [https://developer.nvidia.com/nvidia-texture-tools-adobe-photoshop Nvidia Texture Tools plugin]. Photoshop (and PSE) cannot open DDS images without a plugin. Select either the 64 bit or 32 bit depending on which version of Photoshop you're running. For this tutorial, I am using Adobe Photoshop CS5 (64 bit). |
− | **'''GIMP | + | **'''[http://www.gimp.org/ GIMP]''' is FREE. You must have the [http://code.google.com/p/gimp-dds GIMP DDS plugin] |
+ | **'''[http://www.getpaint.net/ Paint.NET]''' is FREE, and supports DDS natively (no plug-in required) | ||
*Not necessary, but good to have: a graphics tablet to paint your marking with. I am using a Wacom Intuos3. | *Not necessary, but good to have: a graphics tablet to paint your marking with. I am using a Wacom Intuos3. | ||
Line 145: | Line 146: | ||
[[image:Marking_tut_s3oc_clone.jpg|360px|center]] | [[image:Marking_tut_s3oc_clone.jpg|360px|center]] | ||
− | You will be met with a screen that asks you to choose options for your cloned file. Make sure | + | You will be met with a screen that asks you to choose options for your cloned file. Make sure "Renumber/rename internally" are ticked. Below "Renumber/rename internally", there is a text box for "Unique name". Change it to a simple, descriptive name of your marking, with your creator name if you want. In my case, I am changing it to PharaohHound_DalSpots1. |
+ | |||
+ | There are two different ways to get a custom thumbnail for your marking. See the section below. You'll need to choose which option you want now, as you can't easily change it later. | ||
+ | |||
+ | In the upper right of the screen, change the text under "Unknown1" to a short, descriptive name of your marking. I am changing it to PH_DalSpots1. Once you've decided how to do your thumbnail (see the next section), Press "Start", select your project folder, and s3oc will clone the marking and place it in the folder. You can now close s3oc. | ||
+ | |||
+ | ===Thumbnail=== | ||
+ | If you want the game to generate a thumbnail for you (in the same style as the other in-game thumbnails) do NOT tick "Include thumbnails". This is the easiest method, as the game will do all the work for you, but it will only generate thumbnails if there are none in the package. If you want to create a custom thumbnail for your marking in Photoshop, which will appear both in the list of markings and on the "flat pet" that we place freeform markings on, tick "Include thumbnails" (as shown on the above picture). | ||
==Exporting the Resources== | ==Exporting the Resources== | ||
Line 154: | Line 162: | ||
The first one is the DDS file that contains the actual texture for the marking, it has an _IMG tag in s3pe. If you have DDS preview enabled in s3pe (look in the "Settings" menu), you will see an image of the marking in the preview window. The colours will look strange, this is normal. The background is black, and the marking will be red. If you have cloned a multichannel marking, other colours will appear. | The first one is the DDS file that contains the actual texture for the marking, it has an _IMG tag in s3pe. If you have DDS preview enabled in s3pe (look in the "Settings" menu), you will see an image of the marking in the preview window. The colours will look strange, this is normal. The background is black, and the marking will be red. If you have cloned a multichannel marking, other colours will appear. | ||
− | + | If you ticked "include thumbnails" and want to make your own thumbnail, we also need those resources. There should be three resources with the "THUM" tag. Click on all three in turn, you should see that they are three different sizes, large, medium and small. We need the large thumbnail, the rest can be ignored. | |
− | Select both the DDS and the proper thumbnail using Ctrl, then right click on one. In the menu that pops up, mouseover "Export", and select "To file...". Select your project folder, and export the resources. The texture will export as a .dds file, the thumbnail will export as a .png file. | + | Select both the DDS and the proper thumbnail (if applicable) using Ctrl, then right click on one. In the menu that pops up, mouseover "Export", and select "To file...". Select your project folder, and export the resources. The texture will export as a .dds file, the thumbnail will export as a .png file. |
We are done in s3pe for the moment, however, leave it open but minimized. We will need it again. | We are done in s3pe for the moment, however, leave it open but minimized. We will need it again. | ||
Line 172: | Line 180: | ||
I don't want to just tweak and EA marking, I want to remove their marking and start fresh. Select the bucket tool and fill the entire channel black. You will be painting your marking in white on black. Paint your marking as you will. Once you're done, Save your marking, as a DXT5 with no mipmaps, overwriting the original DDS you exported. | I don't want to just tweak and EA marking, I want to remove their marking and start fresh. Select the bucket tool and fill the entire channel black. You will be painting your marking in white on black. Paint your marking as you will. Once you're done, Save your marking, as a DXT5 with no mipmaps, overwriting the original DDS you exported. | ||
− | ===Creating the Thumbnail=== | + | ===Creating the Thumbnail (Optional)=== |
− | Once you're done editing the DDS, making sure you have only the Red channel selected, select all (Ctrl A), then copy (Ctrl C). Create a new image, in Photoshop it will come preloaded with the settings of the selection you've just copied. Paste (Ctrl V) the selection into your new image. | + | If you did not tick "include thumbnails" when cloning, ignore this section. If did tick "include thumbnails" and are creating your own thumbnail, here's how. Once you're done editing the DDS, making sure you have only the Red channel selected, select all (Ctrl A), then copy (Ctrl C). Create a new image, in Photoshop it will come preloaded with the settings of the selection you've just copied. Paste (Ctrl V) the selection into your new image. |
[[image:Marking_tut_PS_thumb_preinvert.jpg|300px|center]] | [[image:Marking_tut_PS_thumb_preinvert.jpg|300px|center]] | ||
Line 188: | Line 196: | ||
==Putting it All Together== | ==Putting it All Together== | ||
− | Mosey on back to s3pe. If you closed the program, reopen your package file. Now, select the DDS from the list of resources. Right click on it, and in the popup menu select "Replace". If it doesn't take you to your project folder, find that folder. Assuming you've kept your folder neat and tidy, there should be only one image that s3pe can use to replace. Select it. If you have DDS preview enabled, you should see the old EA marking replaced with your new, shiny marking. | + | Mosey on back to s3pe. If you closed the program, reopen your package file. Now, select the DDS from the list of resources. Right click on it, and in the popup menu select "Replace". If it doesn't take you to your project folder, find that folder. Assuming you've kept your folder neat and tidy, there should be only one image that s3pe can use to replace. Select it. If you have DDS preview enabled, you should see the old EA marking replaced with your new, shiny marking. If you didn't create your own thumbnail, save your package, then you're done! |
− | + | If you did create a custom thumbnail, replace the correct thumbnail (the largest image with the THUM tag) using the same procedure as for the DDS. Once you're done, save your package. | |
===Changing Catalogue Sort (Optional)=== | ===Changing Catalogue Sort (Optional)=== |
Latest revision as of 17:54, 8 November 2014
Tutorials by Category | |
---|---|
CAS | Patterns | Objects | Building | Worlds | Modding | Modding Reference |
[edit] Introduction
What's the difference between a marking and a regional marking? |
---|
A marking is movable, rotatable and scalable. You can drag it around and resize it, but you can't place it on the underside of a pet. A regional marking has a fixed place and size, you can't drag it around or resize it. Regional markings do, however, allow you to place markings in areas that regular markings can't go, and create more complex shapes that wrap around the animal. |
Ever wanted to make your favourite pup some stylish new markings? This tutorial will show you how.
- What this tutorial will teach you to do:
- Clone the right CAS part
- Export it and import the texture files into your imaging program
- Reassemble all of the new texture files in s3pe
- What this tutorial will not teach you to do:
- Create pets in TS3
- Hand-paint textures in your imaging program
- Use the basic functions of your imaging program
- Create Regional Markings. If you want to, there is a tutorial here
[edit] You Will Need
- s3pe.
- s3oc. You must have version 12-0204-2341 or later, earlier versions cannot clone the markings correctly.
- An image editing program capable of working with DDS and PNG files. The three most common are:
- Adobe Photoshop (and Photoshop Elements) are PAY programs. Both must have the Nvidia Texture Tools plugin. Photoshop (and PSE) cannot open DDS images without a plugin. Select either the 64 bit or 32 bit depending on which version of Photoshop you're running. For this tutorial, I am using Adobe Photoshop CS5 (64 bit).
- GIMP is FREE. You must have the GIMP DDS plugin
- Paint.NET is FREE, and supports DDS natively (no plug-in required)
- Not necessary, but good to have: a graphics tablet to paint your marking with. I am using a Wacom Intuos3.
[edit] Preparations
Before we start doing anything, we need to plan what our marking will be. Start by figuring out why you are creating your marking. For me, I am looking to supplement the game's lacking selection of spotted markings. I use books and a Google images search to find good reference pictures of markings like the one I want to make.
Creating markings can result in a mess of files, I would strongly recommend you create a project folder to keep yourself organized.
[edit] Cloning
Once you've decided on a direction for your marking, you will need to clone a premade EA marking to base your marking off of, using s3oc.
Open s3oc and select "(experimental) CAS Part" from the Cloning menu, wait patiently for it to load all of the parts.
You will be greeted with a very long list of files, organized alphabetically. Files are organized as follows, I have included Regional Markings for reference.
Dog | Cat | Horse | |
Marking | adMarkings | acMarkings | ahMarkings |
Regional Marking | adRegions | acRegions | ahRegions |
However, all markings work with all species, so which species you clone from is basically irrelevant (this is not true for Regional Markings).
Certain markings have multiple recolourable channels, you can see this in-game; some markings have multiple palettes to recolour, while some only have one. If you already have experience working with multichannel DDS images, feel free to make a marking with multiple channels. If you do not, I would strongly recommend starting with a single-channel marking. I will not be specifically detailing how to make a multichannel marking. The table below details the number of channels for all markings.
Marking name | Channels |
---|---|
acMarkings_bigOvalB | 1 |
acMarkings_FlameA1 | 1 |
acMarkings_SplotchA2 | 2 |
acMarkings_splotchB2 | 2 |
acMarkings_SplotchC2 | 2 |
acMarkings_spotBlen | 2 |
acMarkings_StripesA | 1 |
acMarkings_tri | 1 |
adMarkings_blaze | 1 |
adMarkings_brindles | 2? |
adMarkings_speckles | 1 |
adMarkings_splotchA | ? |
adMarkings_spot | 3? |
adMarkings_spotBlen | 2 |
adMarkings_spotsDal | 1 |
adMarkings_StarA1 | 1 |
adMarkings_StarC4 | 3 |
adMarkings_stripeA | 1 |
adMarkings_stripeBl | 1 |
ahMarkings_Blotch | 1 |
ahMarkings_Butterfly | 3 |
ahMarkings_CowSpot | 1 |
ahMarkings_Flower | 3 |
ahMarkings_Heart | 3 |
ahMarkings_Lollipop | 3 |
ahMarkings_MuddySpo | 1? |
ahMarkings_PolkaDot | 2 |
ahMarkings_spotA | 1 |
ahMarkings_spotB | 1 |
ahMarkings_spotBlen(dB) | 2? |
ahMarkings_spotBlen(dA) | 2 |
ahMarkings_spotC2 | 2 |
ahMarkings_Spots | 2 |
Whatever you decide to do, clone a marking that has the same number of channels as the marking you want to make. In my case, I am making a single-channel marking, so I will be cloning adMarkings_spotsDal. Select that CAS part, then click "Clone or Fix".
You will be met with a screen that asks you to choose options for your cloned file. Make sure "Renumber/rename internally" are ticked. Below "Renumber/rename internally", there is a text box for "Unique name". Change it to a simple, descriptive name of your marking, with your creator name if you want. In my case, I am changing it to PharaohHound_DalSpots1.
There are two different ways to get a custom thumbnail for your marking. See the section below. You'll need to choose which option you want now, as you can't easily change it later.
In the upper right of the screen, change the text under "Unknown1" to a short, descriptive name of your marking. I am changing it to PH_DalSpots1. Once you've decided how to do your thumbnail (see the next section), Press "Start", select your project folder, and s3oc will clone the marking and place it in the folder. You can now close s3oc.
[edit] Thumbnail
If you want the game to generate a thumbnail for you (in the same style as the other in-game thumbnails) do NOT tick "Include thumbnails". This is the easiest method, as the game will do all the work for you, but it will only generate thumbnails if there are none in the package. If you want to create a custom thumbnail for your marking in Photoshop, which will appear both in the list of markings and on the "flat pet" that we place freeform markings on, tick "Include thumbnails" (as shown on the above picture).
[edit] Exporting the Resources
Fire up s3pe and open your cloned package. You will see a list of resources that should look like the following image. The two resources that are particularly relevant to us right now are selected.
The first one is the DDS file that contains the actual texture for the marking, it has an _IMG tag in s3pe. If you have DDS preview enabled in s3pe (look in the "Settings" menu), you will see an image of the marking in the preview window. The colours will look strange, this is normal. The background is black, and the marking will be red. If you have cloned a multichannel marking, other colours will appear.
If you ticked "include thumbnails" and want to make your own thumbnail, we also need those resources. There should be three resources with the "THUM" tag. Click on all three in turn, you should see that they are three different sizes, large, medium and small. We need the large thumbnail, the rest can be ignored.
Select both the DDS and the proper thumbnail (if applicable) using Ctrl, then right click on one. In the menu that pops up, mouseover "Export", and select "To file...". Select your project folder, and export the resources. The texture will export as a .dds file, the thumbnail will export as a .png file.
We are done in s3pe for the moment, however, leave it open but minimized. We will need it again.
[edit] Image Editing
[edit] Creating Your Marking Texture
Now comes the fun part: we get to paint our new marking! All of the following descriptions and images are based on my imaging program, Adobe Photoshop CS5. If you have some experience in your chosen program, you should be able to adapt the directions.
Firstly, we need to import the DDS and PNG we exported from our package. We will be working on the DDS for now. Make sure you have your Channels window open (if it's not, open it via the "Windows" menu). When you open the image it will have all 4 channels selected, and the marking will appear red as the following image.
Select only the Red channel by clicking on it. This should cause the marking to turn white, while the background remains black.
I don't want to just tweak and EA marking, I want to remove their marking and start fresh. Select the bucket tool and fill the entire channel black. You will be painting your marking in white on black. Paint your marking as you will. Once you're done, Save your marking, as a DXT5 with no mipmaps, overwriting the original DDS you exported.
[edit] Creating the Thumbnail (Optional)
If you did not tick "include thumbnails" when cloning, ignore this section. If did tick "include thumbnails" and are creating your own thumbnail, here's how. Once you're done editing the DDS, making sure you have only the Red channel selected, select all (Ctrl A), then copy (Ctrl C). Create a new image, in Photoshop it will come preloaded with the settings of the selection you've just copied. Paste (Ctrl V) the selection into your new image.
Invert the colours, you will now have a "positive" image of your marking.
If you see anything you would like to tweak, go back to your DDS and fix, then add it back into your new image. Otherwise, merge all visible layers (Ctrl Shift E). This flattens all of the layers into the background layer. Duplicate that layer then delete the original background layer. Use the magic wand tool to select the white background, and lightly feather the selection edges. Delete the selection.
You should be left with your markings in black with a transparent background. Remember that PNG that we opened in Photoshop a while back? From your new image, select the markings and drag them into the PNG. They will be much too large, scale them down (make sure to hold down Shift so the image doesn't stretch) so that the height of the new layers matches the PNG. It will be not quite as wide as the PNG, so just centre it horizontally. Delete the original layer from the PNG. You should be left with a PNG that features only your marking. I have also added a small custom logo to the corner of mine.
Save the image, this time overwrite the PNG you exported from s3pe. You are now done with Photoshop, you can close it.
[edit] Putting it All Together
Mosey on back to s3pe. If you closed the program, reopen your package file. Now, select the DDS from the list of resources. Right click on it, and in the popup menu select "Replace". If it doesn't take you to your project folder, find that folder. Assuming you've kept your folder neat and tidy, there should be only one image that s3pe can use to replace. Select it. If you have DDS preview enabled, you should see the old EA marking replaced with your new, shiny marking. If you didn't create your own thumbnail, save your package, then you're done!
If you did create a custom thumbnail, replace the correct thumbnail (the largest image with the THUM tag) using the same procedure as for the DDS. Once you're done, save your package.
[edit] Changing Catalogue Sort (Optional)
Want to really get fancy? You can change where in the Create-a-Pet catalogue your marking appears. This is especially useful if (like me) you're creating a set of markings cloned from different source markings, but you want them to all be next to each other in the catalogue. In s3pe, find the resource with the tag CASP. Click it, then at the bottom of the screen click "Grid". A window will pop up with a list of different properties.
The only one we're concerned with is "SortPriority". Items are sorted in the catalogue from largest number to smallest. I am changing the value on mine to 51, which will place them about 2/3 down the catalogue. Enter your chosen value, press "commit", save your package, and you're done.
[edit] Closing Remarks
So, now you're completely done! Find your package (rename it if you like), then drop it in your game to test. If everything has worked out, you should see your marking in the markings catalogue with a nice matching thumbnail. Sometimes things don't quite look the way you anticipated; spots that you thought would be larger are actually kinda small. This is nothing to fret about, simply go back and adjust your texture (adjust the thumbnail while you're at it!)
[edit] Got Questions?
If you've got problems or questions, ask at the tutorial thread on MTS.
Tutorials by Category | |
---|---|
CAS | Patterns | Objects | Building | Worlds | Modding | Modding Reference |