HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

MLD converter doesn't convert to MDX

07-09-2004, 07:31 AM#1
VenomX2
I have followed the sticked tutorial to the letter to add Hero glow. I saved the file and tried to converting it to MDX, but it gave me an error :

-----
Error reading model file :

Warning (line 1):Expected 1243072 "<1/2", but found 82856952
Warning (line 1):Unexpected token "<1/2"
Error (line 1):Expected "<1/2", but found "<1/2"
-----

Anyone had the same problem? It convert unmodified MDL's fine, but when I modify it is doesn't work. Help?

UPDATE : It seems that by removing the MATERIAL part that was added, it helps the file to export properly. However, isn't that part needed for the glow to work? Because the MESH that was added for the glow shows the UNIT's texture instead of the glow.

Any ideas?
07-09-2004, 11:51 AM#2
megaerathia
Quote:
Originally Posted by VenomX2
I have followed the sticked tutorial to the letter to add Hero glow. I saved the file and tried to converting it to MDX, but it gave me an error :

-----
Error reading model file :

Warning (line 1):Expected 1243072 "<1/2", but found 82856952
Warning (line 1):Unexpected token "<1/2"
Error (line 1):Expected "<1/2", but found "<1/2"
-----

Anyone had the same problem? It convert unmodified MDL's fine, but when I modify it is doesn't work. Help?

UPDATE : It seems that by removing the MATERIAL part that was added, it helps the file to export properly. However, isn't that part needed for the glow to work? Because the MESH that was added for the glow shows the UNIT's texture instead of the glow.

Any ideas?

The material is

Code:
 
Material {
  Layer {
   FilterMode Additive,
   Unshaded,
   static TextureID (number count from 0),
   Alpha 14 {
	Linear,
	167: 0.75,
	2000: 0.75,
	3667: 0.75,
	6800: 0.75,
	10000: 0.75,
	13000: 0.75,
	16500: 0.75,
	18667: 0.75,
	20500: 0,
	21000: 0,
	32400: 0.75,
	35733: 0,
	51833: 0.75,
	55167: 0.75,
   }
  }
 }


And texture is:

Code:
 Bitmap {
  Image "",
  ReplaceableId 2,
 }  


I believe you did something wrong with the mdl send me it...
07-09-2004, 09:58 PM#3
Ari
In general, the converter doesn't give very clear error messages, but when it gives you errors, it almost always means you goofed someplace. Common errors for me are typos (adding colons instead of commas, or vice versa, misspellings, etc) or in rare cases, accidentally typing something as the *very* first character in the mdl.
07-10-2004, 05:46 AM#4
BlinkBoy
Retry it if the error comes again check that every thing be in order, try obseving from other models, that is important, otherwise you will always get that error, also if you are adding a glow, try cheking that you didn't messed up any pivot point or object id.