Page 11 of 12

Posted: Mon Mar 30, 2009 12:05 pm
by Raveen
I sent PNGs to Mesial so that may well be what he's used.

Posted: Tue Mar 31, 2009 3:48 am
by mesial
I used bmp.mdl's. :unsure: Please post a link to the turtorial of text mdl's and I'll make a new one.

Posted: Tue Mar 31, 2009 3:58 am
by Andon
I'll make you one here.

Go into notepad.

Type the following into it:

Code: Select all

use "model";
filenamebmp = ImportImageFromFile("Textures/filename.png", false);
save it as filenamebmp.mdl

So if it's the belters garrison, you would have this:

Code: Select all

use "model";
ss300bmp = ImportImageFromFile("Textures/ss300.png", false);
saved as ss300bmp.mdl

Put both files, the bmp.mdl file and the .png file, in the Textures folder, and alleg will pull them fine.

Posted: Tue Mar 31, 2009 4:42 am
by Quia
MDLThing makes said text files automatically, just set it to use the textures folder, and turn off transparency.

Posted: Tue Mar 31, 2009 9:38 am
by Raveen
When I tried MDL thing it crashed Alleg. I guess I did it wrong.

Posted: Tue Mar 31, 2009 6:07 pm
by Quia
If the files aren't in the path it expects, it will crash. That path here is relative to the artwork dir.

Code: Select all

ImportImageFromFile("textures/filename.png", false);
MDLThing can do a variety of paths, which is probably where you got screwed up.

Posted: Tue Mar 31, 2009 7:34 pm
by Andon
I believe that textures should be Textures, since it's case sensitive IIRC. I know it's case sensitive for filenames

Posted: Tue Mar 31, 2009 7:48 pm
by Quia
Agh, you're probably right. Everything else in that string is case sensitive. This is why I get a program to generate them for me, less chances of screwing things up. :blush:

Posted: Tue Mar 31, 2009 10:39 pm
by mesial
MDLthing does not work on my Vista.

Wow! Text based mdl's are alot simplier than I expected. I'll get on this, thanks!

Posted: Wed Apr 01, 2009 2:51 pm
by Adaven
Mesial, you still are using the "old" generic asteroids. ~2-3 years ago I made a better version that is more visible, less "shimmery" in R4, and less obvious that there are only 2 rocks used over and over. I highly suggest you replace bgrnd03 and bgrnd05 in you installers with this version. Actually I had assumed you already had when I originally released this revision, but I guess you missed it.

http://adaven6x7.googlepages.com/Lighterv1.bmps.zip - plain bmp files for if you want to convert to .png and text mdl's.

OR

http://adaven6x7.googlepages.com/Lighterv1.mdls.zip - bmp.mdl files