• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Help Me Add Team Colors to a Model with Photoshop & Magos?

Status
Not open for further replies.
Level 3
Joined
Sep 14, 2011
Messages
47
If anyone would be willing, I would really appreciate a hand with this. I've read the tutorials but they haven't been as clear as I would have hoped.

Here's what I've done so far:

1. Exported the texture I want with Magos, as a .tga.
2. Opened it with Photoshop.
3. Selected the area I'd like to have a team color.
4. Doubled clicked the alpha channel and chose "Selected Areas". This turned most of it black, except for a few spots that stayed white in the selection area (weird).
5. Selected all layers and saved as a .tga.
6. Converted to a .blp via warcraft3viewer.
7. Opened my model and replaced all references to the texture with a custom path.
8. Put my texture in a folder according to the same path.
9. Opened the model in Magos (to find that they are now invisible textures).

I'm probably CLOSE but no cigar. Love any help you might have!

Thank-you!
 
Level 51
Joined
Dec 8, 2008
Messages
4,358
You need to go to the material manager (in the top bar) and edit the material with team colour. To find out which one it is, simply CTRL + Click on the tcoloured part on the model. Then create a new material layer in the opened material. Double click it and give it the "Replaceable ID 1" texture. Then select the other material layer and select filter mode: Blend. That should work.
 
Level 3
Joined
Sep 14, 2011
Messages
47
Thanks for your help Fan. :ogre_hurrhurr: I'm still having a bit of trouble understanding how all the textures work together. I'm trying to add team colours to the cape texture of an existing model (notice how there are 4 references to it in the texture section below?!). Here is the header from the .mdl file, and here is the model I am using. Does anyone know how it might have to be changed?

Code:
Textures 17 {
	Bitmap {
		Image "UI\Glues\SinglePlayer\NightElfCampaign3D\NightElfArcher.blp",
	}
	Bitmap {
		Image "",
		ReplaceableId 1,
	}
	Bitmap {
		Image "Textures\star2_32.blp",
	}
	Bitmap {
		Image "Textures\gutz.blp",
	}
	Bitmap {
		Image "UI\Glues\SinglePlayer\NightElfCampaign3D\Cape.blp",
	}
	Bitmap {
		Image "UI\Glues\SinglePlayer\NightElfCampaign3D\NightElfArmor.blp",
	}
	Bitmap {
		Image "UI\Glues\SinglePlayer\NightElfCampaign3D\Bow.blp",
	}
	Bitmap {
		Image "UI\Glues\SinglePlayer\NightElfCampaign3D\Arrow.blp",
	}
	Bitmap {
		Image "UI\Glues\SinglePlayer\NightElfCampaign3D\Cape.blp",
	}
	Bitmap {
		Image "UI\Glues\SinglePlayer\NightElfCampaign3D\Cape.blp",
	}
	Bitmap {
		Image "UI\Glues\SinglePlayer\NightElfCampaign3D\Cape.blp",
	}
	Bitmap {
		Image "UI\Glues\SinglePlayer\NightElfCampaign3D\NightElfArmor.blp",
	}
	Bitmap {
		Image "UI\Glues\SinglePlayer\NightElfCampaign3D\Chains.blp",
	}
	Bitmap {
		Image "UI\Glues\SinglePlayer\NightElfCampaign3D\NightElfArmor.blp",
	}
	Bitmap {
		Image "UI\Glues\SinglePlayer\NightElfCampaign3D\NightElfArmor.blp",
	}
	Bitmap {
		Image "UI\Glues\SinglePlayer\NightElfCampaign3D\Arrow.blp",
	}
	Bitmap {
		Image "Textures\Leaf4x4.blp",
	}
}
Materials 17 {
	Material {
		Layer {
			FilterMode Transparent,
			static TextureID 0,
		}
	}
	Material {
		Layer {
			FilterMode None,
			Unshaded,
			static TextureID 1,
		}
		Layer {
			FilterMode Blend,
			static TextureID 0,
		}
	}
	Material {
		Layer {
			FilterMode Transparent,
			static TextureID 3,
			Alpha 5 {
				Linear,
				199333: 1.000000,
				199500: 1.000000,
				201167: 1.000000,
				255267: 1.000000,
				259333: 0.000000,
			}
		}
	}
	Material {
		Layer {
			FilterMode Transparent,
			TwoSided,
			static TextureID 4,
		}
	}
	Material {
		Layer {
			FilterMode None,
			TwoSided,
			static TextureID 5,
		}
	}
	Material {
		Layer {
			FilterMode None,
			TwoSided,
			static TextureID 6,
		}
	}
	Material {
		Layer {
			FilterMode None,
			TwoSided,
			static TextureID 7,
		}
	}
	Material {
		Layer {
			FilterMode None,
			TwoSided,
			static TextureID 8,
		}
	}
	Material {
		Layer {
			FilterMode Additive,
			Unshaded,
			TwoSided,
			static TextureID 9,
		}
	}
	Material {
		Layer {
			FilterMode None,
			TwoSided,
			static TextureID 8,
		}
	}
	Material {
		Layer {
			FilterMode None,
			TwoSided,
			static TextureID 9,
		}
	}
	Material {
		Layer {
			FilterMode Transparent,
			TwoSided,
			static TextureID 10,
		}
	}
	Material {
		Layer {
			FilterMode None,
			static TextureID 11,
		}
	}
	Material {
		Layer {
			FilterMode Transparent,
			static TextureID 12,
		}
	}
	Material {
		Layer {
			FilterMode None,
			static TextureID 13,
		}
	}
	Material {
		Layer {
			FilterMode None,
			static TextureID 14,
		}
	}
	Material {
		Layer {
			FilterMode None,
			static TextureID 15,
		}
	}
 
Level 3
Joined
Sep 14, 2011
Messages
47
Wait, Downloading the model now.
Edit
The model cannot be team colored unless you use another texture that can be team colored. If you want and with the permission of the author of the model, I'll do some re-texture of the model. Just send me that the author has given you permission to edit his model.

That's awful nice of you. I will see if I can get permission and be in touch. Thanks!
 
Status
Not open for further replies.
Top