- Joined
- Mar 7, 2005
- Messages
- 824
Spent more than a half hour searching the forum, but couldn't find anything helpful..
So my problem is, that I'm currently trying to use InGame Textures instead of custom textures, to reduce the size of the model drastically. But My problem now is, that I've used two textures, because I only needed some parts of them.. As I exported the model into *.mdl file format, and opened it with notepad to change the settings in it, I saw, that there's only one texture path.. but I used two, the strange thing is, that there are two materials given, but only one texture..
I tried to copy&paste it and changed paths etc. but only the first texture is working, for closer look, it seems the model is using the first texture again for the other parts of the model, too, while I used the other texture for it.. so there must be something wrong with the path and the setting, did I forgot to change something in there?
As you can see there're 2 Materials, and I changed the texture part to this.. but don't works (except the first texture, is working well on the model, but the second is screwed)
Damn, I hate it.. spent nearly an hour with searching the forums for help, tried a lot of things, and after this post I looked at the "Texture ID" part.. both were 0, so I set the second to 1, and it works.. that's... grr.. sry for this post.. problem SOLVED
So my problem is, that I'm currently trying to use InGame Textures instead of custom textures, to reduce the size of the model drastically. But My problem now is, that I've used two textures, because I only needed some parts of them.. As I exported the model into *.mdl file format, and opened it with notepad to change the settings in it, I saw, that there's only one texture path.. but I used two, the strange thing is, that there are two materials given, but only one texture..
I tried to copy&paste it and changed paths etc. but only the first texture is working, for closer look, it seems the model is using the first texture again for the other parts of the model, too, while I used the other texture for it.. so there must be something wrong with the path and the setting, did I forgot to change something in there?
Code:
Materials 2 {
Material {
Layer { // incomplete
FilterMode None,
static TextureID 0,
}
}
Material {
Layer { // incomplete
FilterMode None,
static TextureID 0,
}
}
}
Textures 2 {
Bitmap {
Image "Textures\AnyHandleRedWrapped.blp",
}
Bitmap {
Image "Textures\FrostMorne.blp",
}
}
Damn, I hate it.. spent nearly an hour with searching the forums for help, tried a lot of things, and after this post I looked at the "Texture ID" part.. both were 0, so I set the second to 1, and it works.. that's... grr.. sry for this post.. problem SOLVED