Heya. I'm trying to make the Warcraft 3 model 'War3_CityLowWall.m3' be tinted team-colored when used as a unit.
I created a model in the data editor and picked that file. Then I created an actor and chose the model I created. Then I created a unit (of type 'Structure'), and set the actor to that Unit Name, completing the chain.
Then I exported the texture that the model uses. ('war3_citystructures.dds') I looked at the texture for the armory in GIMP and saw that the only distinguishing characteristic is that it has transparency where the team colors are.
So I opened the exported texture in GIMP, used the Eraser tool to make the desired parts semi-transparent. (25% Opacity.) Exported the file as .dds (BC3/DXT5), imported it into the SC2 editor, and put it in Assets/Textures.
However, no team colors occur. I placed the unit in the map editor as different players (Red, Blue), and they all look the same.
How do you recolor a texture in GIMP to use team colors?
The m3 model has the definition of materials, on the material there is a setting so that the alpha layer of the diffuse map is used as the team color.
This can only be accomplished in 2 ways,
1. import in max, change the settings and export it again using the ArtTools.
2. Open a Hex editor, find the bit that needs changing and change it. (-> don't know which one so I'd go with 1 )
EDIT: I followed the instructions in this FAQ, but it isn't working.
EDIT EDIT: Whoa, okay, it worked. I just had the model in the wrong place. But even though I made the texture semi-transparent, the units are fully team-colored with no markings on them. And they're flashing bright colors randomly.
I have no idea what I did, but I got it to work now. I followed the instructions in the linked FAQ, and made the image semi-transparent, and saved it as DXT5. Then imported everything and put it in the right positions relative to Assets.
Heya. I'm trying to make the Warcraft 3 model 'War3_CityLowWall.m3' be tinted team-colored when used as a unit.
I created a model in the data editor and picked that file. Then I created an actor and chose the model I created. Then I created a unit (of type 'Structure'), and set the actor to that Unit Name, completing the chain.
Then I exported the texture that the model uses. ('war3_citystructures.dds') I looked at the texture for the armory in GIMP and saw that the only distinguishing characteristic is that it has transparency where the team colors are.
So I opened the exported texture in GIMP, used the Eraser tool to make the desired parts semi-transparent. (25% Opacity.) Exported the file as .dds (BC3/DXT5), imported it into the SC2 editor, and put it in Assets/Textures.
However, no team colors occur. I placed the unit in the map editor as different players (Red, Blue), and they all look the same.
How do you recolor a texture in GIMP to use team colors?
Team Color is actually defined otherwise.
The m3 model has the definition of materials, on the material there is a setting so that the alpha layer of the diffuse map is used as the team color. This can only be accomplished in 2 ways,
1. import in max, change the settings and export it again using the ArtTools.
2. Open a Hex editor, find the bit that needs changing and change it. (-> don't know which one so I'd go with 1 )
T.
My Starcraft II Tutorials Youtube Channel
My Basic Moddeling Tutorials Youtube Channel
My assets here
Can that be done in Blender with the m3 importer?
I don't have $3000.
EDIT: I followed the instructions in this FAQ, but it isn't working.
EDIT EDIT: Whoa, okay, it worked. I just had the model in the wrong place. But even though I made the texture semi-transparent, the units are fully team-colored with no markings on them. And they're flashing bright colors randomly.
I have no idea what I did, but I got it to work now. I followed the instructions in the linked FAQ, and made the image semi-transparent, and saved it as DXT5. Then imported everything and put it in the right positions relative to Assets.
I'm not sure what I was doing wrong before.
@Amaroq64: Go
BS on the 3000$ you have a student version that can be used for free for 3 years.
T.
My Starcraft II Tutorials Youtube Channel
My Basic Moddeling Tutorials Youtube Channel
My assets here
I'm not a student. Can non-students still use it for three years?