| 07-14-2004, 04:11 AM | #1 |
I've followed the tutorial to the letter, even used the Jaina model as explained to get the glow. The problem is that whenever I add this part : Code:
Material {
Layer {
FilterMode Additive,
Unshaded,
static TextureID 3,
Alpha 1 {
Linear,
3333: 0.75,
}... it causes the conversion to give me an error and the model can't be converted. Removing that will have it converted with no problem. I've tried this with dozens of models, and eveytime I add this part the model won't convert until I remove it. Now, its either the tutorial that is the problem or I'm doing something wrong with this part. Can anyone help me? I really need to make this work. |
| 07-14-2004, 04:14 AM | #2 |
I've moved your post to the General Development board. Hopefully this will be helpful. |
| 07-14-2004, 05:24 AM | #3 |
And I've moved you to the modelling forum. |
| 07-14-2004, 05:54 AM | #4 | |
Quote:
Thanks... I wasn't quite sure where to send it since it was about a tutorial. But the modelling forum is logical since it is about modelling... |
| 07-14-2004, 09:29 AM | #5 |
I actually don't know what the problem is, but i edited your post just added (Code) and (/Code) but use [ and ] instead of ( and ). Ã?f you post an mdl that you have tried doing it in we might be able to help you. |
| 07-14-2004, 04:50 PM | #6 | |
Quote:
Your post doesn't really make clear what your level of familiarity with the mdl format is, so if this represents stuff you've already tried, my apologies. As you may know, you can't literally paste in stuff from one model into another. In the snippet of code above, there are two things which are highly model-specific. static TextureID 3, <-- This is refering to the glow texture that MUST exist in this model. Moreover, if the texture is not the 4th texture listed (numbering starts at 0), then the number will have to be changed to reflect that (ie, if it's the 6th texture, change it to 5). If there are more than 4 textures, you'll merely be using the wrong one, as written, but if there are fewer, you'll get a conversion error. 3333: 0.75, <---- this is refering to a specific keyframe in the Jaina model. It may or may not be present in YOUR model. If not, then obviously, this must be altered. References to keyframes that don't exist could certainly be a cause of your problem. Make sure that this is changed to a number that exists in the defined aniamtion keyframes (listed at the top of the model). Off the top of my head, I cannot remember what animation keyframe 3333 is in in the Jaina model. If it's the *very* first keyframe, then you should change it to the first in yours. If it isn't change it to the keyframe from a similarly named animation in your model. Hope that helps. |
| 07-16-2004, 09:38 AM | #7 | |
Quote:
Actually, thats what the Tutorial said to do. To paste that and then change the Texture ID accordingly. But I was given a much better and simplier tutorial and added glow to 3 models already without any sort of problem. Thanks. |
| 07-16-2004, 05:11 PM | #8 |
I'm not clear on why you posted. Are you having trouble? *Were* you having trouble? Is the trouble fixed? |
| 07-16-2004, 05:18 PM | #9 | |
Quote:
|
