| 05-13-2005, 05:42 PM | #1 |
Guest | After hours of testing I thought I will try to get my answer here, hope you can help... I have a normal rectangle model (mdl), build up with gmax. Now I want to add different blp directories to the mdl file, so that I can toggle between different textures in WE in doodad section when changing the stat variations... (The blp files are a few textures from mpq section"TerrainArt\..." that have the same appearance, so that unwrapping it one time, the next textures should be placed the same way) I thought that would work, but I just can't figure it out how to do that. Perhaps I have to use the imported mdx-file as a destructible and change the option : replaceable Texture-ID to any number which I can refer to, when I edited the mdl file... Would be glad for help... Content: I can reach my aim through importing the same Model many times only with different texture each time, but my question is: Can't I just add the texture informationes to one mdl file, so that I have to import the model only 1 time and then change its textures anyhow? For example by creating many doodads or destructibles or whatever and changing a special option ? to for example numbers ? 1 - would mean textureID1 in the mdl, so that the model only uses this texture 2 - would mean textureID2 in the mdl, so that the model only uses that texture and so on |
| 05-13-2005, 10:04 PM | #2 |
So do you mean multiple textures on one model ? |
| 05-13-2005, 10:33 PM | #3 |
Guest | Yes, multiple textures which the mdl file includes and where you only have to toggle later. Must be possible or ? I mean importing the same model arround 20 times for only to let have it different textures is really stupid. Then my whole map will be messed up because of the increasing size with each imported model... |
| 05-18-2005, 02:09 PM | #4 |
Guest | So, final question then. What are the following attributes, in object-editor, good for ??? -> Grafic - Replaceable Texture-File -> Grafic - Replaceable Texture-ID -> Grafic - Model-File - Has light model |
| 08-06-2006, 08:53 PM | #5 |
Oh well, finally I'm far enough, so that I can say that it IS possible to have multiple textures on 1 model! Atm I use it for a unit and it actually works quite simple. You just have to use some more animation sequences and a bigger material like this: Code:
Material {
Layer {
FilterMode Transparent,
TextureID 12 {
DontInterp,
0: 1,
200: 2,
400: 3,
600: 4,
800: 5,
1000: 6,
2000: 7,
2200: 8,
2400: 9,
2600: 10,
4000: 11,
4200: 12,
}
}
}This add only for solved thread! |
| 08-07-2006, 09:24 AM | #6 |
The solution is, at least for destructibles, replaceableIDs. Locked for threadomancy. |
