PDA

View Full Version : Four channels on pet marking


SilverdragonEstate
1st Apr 2012, 02:35 PM
Okay, so I'm a beginner at custom content creating, and I'm a little stuck.
I'm trying to create a custom horse marking with striped hooves (like appys have) and wanted them to have four channels, one for each hoof, like the vanilla hoof marking.

But the problem is, it won't work. I've made the dds with four channels (I've even tested not even editing them but just resaving the cloned hoof marking texture) and then saved it, replaced the texture in the package editor, saved and then opened up Sims to check.

But what happens is instead of showing recolorable stripes(/flat color in case of test files) on each of the hooves it just shows the fourth/alpha channel. BUT the other three channels are there in the color picker panel but the markings themselves don't show up and editing these channels have no visible effect. I've attached a picture which shows my test (where I haven't edited the texture but simply resaved the original hoof texture)

I'm pretty sure it has something to do with the settings I use when saving the dds. I followed a tutorial that was about making custom t-shirts, but it was the only one I could find about color channels, and it said to save the dds with the "DXT1 ARGB 4 bpp | 1 bit alpha", and also to check the "generate MIP maps", both of which I've done. But I'm suspecting they're not the correct options, or is there something else I've missed?

CmarNYC
1st Apr 2012, 06:36 PM
Your picture isn't showing up...

You need both for the DDS to be set up right and the CASP to be set up right for four color channels. Try cloning a game marking that has four colors - the only one I've found so far is adMarkings_StarC4_0x0bbf6c22648b6f6c. (Non-regional markings show up on all animals.) If you want a regional marking, look for one with four colors but I haven't seen any. Regional markings probably should be done separately for each hoof anyway since each leg is a separate region.

For the dog stars marking, the DDS format is DXT5. You should be able to clone that marking, extract the image, edit it, reimport it, and have your four-color marking.

Edit: Never mind - I found the hooves marking and it's four-color. Again the DDS format is DXT5 so that's worth a try although in theory DXT1 should work, but the game can be picky about image format.

Second edit: I was able to clone the hooves marking, extract and edit the dds to add a spot of each color to the body, and it works perfectly.

SilverdragonEstate
2nd Apr 2012, 12:12 PM
It worked to save it as DXT5, thanks!

(I actually tried to upload the image twice, but it never showed up :<)