| 11-15-2005, 12:43 AM | #1 |
I'm trying to make some lightsabers that would be attached to the hero's hand when you held it. But when I try UV mapping the viewer only shows red. This is because of the team color, I found - when I change the team color the saber's color changes. How do I make the saber's color independent of the team color? Someone else has done this same thing except he used team color to change the saber's color. If I can get away with not doing that, I would love to. thanks ahead of time. |
| 11-15-2005, 05:49 PM | #2 |
What program are you using to create the lightsaber? |
| 11-15-2005, 11:43 PM | #3 |
Oinkerwinkle's vertex modifier. I suppose it's possible that I need to do the image differently; I'm very new to modeling (basically all I do is cut things out of people), and this is my first attempt at UV mapping...The picture I'm using to UV map is simply a solid square of the color I want. I suppose that might cause problems... |
| 11-16-2005, 01:42 AM | #4 |
I'm going to implement the sabers as they are right now; because I'm creating several heros that are good at different things I decided it would be easiest to have each hero have a different team color that is identical to the lightsaber color they would use. Still, if I could let the players customize their lightsaber's color, that would be cool. Also if I use one of these images for a doodad will it show up white or the color I want? (cyan crystals) |
| 11-16-2005, 10:37 AM | #5 |
Post the MDL and the Texture here. I will fix it for you, then explain what was wrong and how you can fix it next time. I do not know how it would appear as a doodad. |
| 11-16-2005, 02:18 PM | #6 |
Ok, here. the image I used for UV mapping looks even more stupid than it sounds... -.- oh well. Blue Image Uncolored Lightsaber "blue" lightsaber |
| 11-16-2005, 03:53 PM | #7 |
Wow, talk about making mistakes. Uncolored Code:
Textures 1 {
Bitmap {
Image "Textureswhite.blp",
}
}Problem 1, why set the texture to white.blp? Blue Code:
Textures 1 {
Bitmap {
Image "C:Documents and SettingsSamwise CottleWarIII toolsStarWars RPGsilver.jpg",
}
}Problem 2, since when does everyone who plays your map use your computer? The path for a texture MUST be in the location relative to the root of the map. So, lightsaber/blue.blp should have its path set to the same in the import manager. (Not use the other slash, Wc3c disables the correct one) |
| 11-16-2005, 06:00 PM | #8 |
I set the uncolored one to white because it's the "base" - I would be taking that one, changing the color, and then saving it as something else. And you're suggesting I put the file somewhere else. Well, where is that place? I haven't even imported the file to the map yet, I use the warcraft 3 viewer. |
| 11-16-2005, 10:47 PM | #9 |
Oh boy.. Okay listen, the texture needs to be relative to the model. So the path for the texture (if in the same folder as the model) should be "blue.blp" If you were to make a subfolder called 'Textures' inside the folder where the model is, then the path would be "Textures/blue.blp" Understand? It's all relative. |
| 11-16-2005, 11:25 PM | #10 |
Oh, sorry. That's what you meant. Ok. I'll make that change... |
| 11-16-2005, 11:30 PM | #11 |
Ok, well, now it shows up white again. EDIT: Converted JPG to BLP. Now it is showing team color again. The path is simply "blue.blp" now. |
| 11-17-2005, 01:09 AM | #12 |
Now I am brilliantly confused. Like I said before, the path was "blue.blp" because "blue" was in the same folder as "bluesaber". But "blue.blp" was NOT the name of the file, it was "bluetx.blp". So, still wondering how it picked up the color from an image that didn't exist, I changed the path to the correct file, and suddenly, it's white again... |
| 11-17-2005, 09:19 PM | #13 |
First of all, please stop double and tripple posting. Use the EDIT button. The Warcraft 3 Viwer registers TEAMCOLOR for geosets that have an INVALID texture. So if the texture is non existant, it appears TEAMCOLOR. Understand? |
| 11-17-2005, 09:45 PM | #14 |
Yes, that explains why it showed team color as a JPG and when the filename was incorrect. But why is it showing up white when the filename is correct and (as far as I know) valid? EDIT: Because it's not valid I bet. I read one of your posts in Textures/Skinning and realized: - the file isn't a good size (200x200) - I probably should try saving as a TGA first, it wouldn't hurt, then converting it EDIT2: It works! I've done it! Thanks for your patience and help ![]() |
