HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Need some help!

02-06-2006, 05:03 PM#1
Dionesiist
Hello there. I tried to make a crystal model following Olof's tutorial, but I can't convert it back, cuz it says this: "Error reading model file: Error (line 1): expected "square 1/2", but found "square 1/2"
Warning (line 1): expected 1243072 "square 1/2", but found 95636372"
If anyone can help me!
02-06-2006, 05:43 PM#2
Whitehorn
You screwed up the MDL section somewhere.

Why didn't you post this in the MDL Editing forum? Again!
02-06-2006, 06:56 PM#3
TDR
moved...
02-06-2006, 07:28 PM#4
Dionesiist
Can you help me or not? Maybe Olof can (It's his tutorial)
02-06-2006, 07:33 PM#5
Whitehorn
You have to explain what you did and show us some code.
02-06-2006, 07:50 PM#6
Dionesiist
Well, I just followed what Olof's tutorial said. I didn't understand this part really: "Copying the Materials
it's almost the same with the materials
copy this:

Code:
Material {
Layer {
FilterMode None,
static TextureID 0,
}
}and put it below it like this:

Code:
Materials 1 {
Material {
Layer {
FilterMode None,
static TextureID 0,
}
}
Material {
Layer {
FilterMode None,
static TextureID 0,
}
}
}once you've copied it, you need to change a few things in the code, change it to:

Code:
Materials 1 {
Material {
Layer {
FilterMode None,
static TextureID 0,
}
}
Material {
Layer {
FilterMode Additive,
static TextureID 1,
}
}
}as you can see, I only changed the "FilterMode" and the "TextureID" on one material, I left the first material unchanged."
And I don't understand if I must replace the first thing or write that stuff under it. I desperately need help!!!
Well, I'll try it again...
02-06-2006, 08:25 PM#7
taplonaplo
i don't really understand ur problem. U need a new material for the ctystal effect to handle alpha channel in a different way (additive make it paritally transparent), so u mustn't overwrite the first material. About the texture ids its quiet useless to have 2 of the same texture, but doesn't count.

about the error, u didn't put a "}" somewhere, but don't ask me where
02-06-2006, 08:29 PM#8
Whitehorn
What else did you edit?
02-06-2006, 08:54 PM#9
Jacek
Use War3ModelEditor to open your mdl. Model editor shows more detailed error info.
02-07-2006, 06:58 AM#10
Dionesiist
I managed to convert it, but there is one geoset that is blank and the second that is visible. Better said, I can't create the second geoset, the layer that's over the model!
02-07-2006, 06:44 PM#11
taplonaplo
Have u set the material id for the 2nd geoset?
02-08-2006, 08:37 AM#12
Dionesiist
Aye
02-08-2006, 01:21 PM#13
Jacek
Why you don't just attach the model and let us look on it?
02-09-2006, 05:42 AM#14
Dionesiist
Oops, In my rage, I accidentaly deleted it.
02-10-2006, 07:49 AM#15
olofmoleman
from what I can tell from all the posts, it looks like you screwed up the code somewhere. But I can't help any further, that tutorial explains it the best I can. So I suggest you start over and read the tutorial carefully.