Updates

Allegiance discussion not belonging in another forum.
Raveen
Posts: 9104
Joined: Wed Mar 16, 2005 8:00 am
Location: Birmingham, UK
Contact:

Post by Raveen »

I sent PNGs to Mesial so that may well be what he's used.
ImageImage
Spidey: Can't think of a reason I'd need to know anything
mesial
Posts: 3009
Joined: Sun Dec 26, 2004 8:00 am
Location: Florida

Post 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.
Allegiance Terror Alert Level: HIGH
Andon
Posts: 5453
Joined: Sun Jun 03, 2007 8:29 pm
Location: Maryland, USA
Contact:

Post 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.
Image
ImageImage
Quia
Posts: 159
Joined: Sun Feb 12, 2006 8:00 am

Post by Quia »

MDLThing makes said text files automatically, just set it to use the textures folder, and turn off transparency.
ImageImage
Raveen
Posts: 9104
Joined: Wed Mar 16, 2005 8:00 am
Location: Birmingham, UK
Contact:

Post by Raveen »

When I tried MDL thing it crashed Alleg. I guess I did it wrong.
ImageImage
Spidey: Can't think of a reason I'd need to know anything
Quia
Posts: 159
Joined: Sun Feb 12, 2006 8:00 am

Post 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.
ImageImage
Andon
Posts: 5453
Joined: Sun Jun 03, 2007 8:29 pm
Location: Maryland, USA
Contact:

Post by Andon »

I believe that textures should be Textures, since it's case sensitive IIRC. I know it's case sensitive for filenames
Image
ImageImage
Quia
Posts: 159
Joined: Sun Feb 12, 2006 8:00 am

Post 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:
ImageImage
mesial
Posts: 3009
Joined: Sun Dec 26, 2004 8:00 am
Location: Florida

Post 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!
Allegiance Terror Alert Level: HIGH
Adaven
Posts: 1959
Joined: Sat Oct 25, 2003 7:00 am
Location: Greater Ozarks

Post 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
Post Reply