MDLThing

A place to discuss user-created Allegiance 3D models, textures, images, and other visual ingame content.
Grimmwolf_GB
Posts: 3711
Joined: Wed Jul 02, 2003 7:00 am
Location: Germany
Contact:

Post by Grimmwolf_GB »

post them here with a disclaimer and we post you the bugs we encounter.
Your_Persona
Posts: 773
Joined: Sat Dec 04, 2004 8:00 am
Contact:

Post by Your_Persona »

madpeople wrote:QUOTE (madpeople @ Feb 18 2008, 10:31 AM) re YP changes to mdlthing

where is the convert all selected button? (why do i have to manually select all then right click then select convert)

a button that converts all and doesn't use the /images path might be useful too, guess that's down to personal preference
mdlThing1.3.1

Gives you a select all/deselect all button, and a check box to use the images subfolder.


ohh, and to my knowledge it should work like:
c:\program files\microsoft games\Allegiance\artwork\textures\myimagebmp.mdl
c:\program files\microsoft games\Allegiance\artwork\textures\images\myimage.png
and without the textures folder:
c:\program files\microsoft games\Allegiance\artwork\myimagebmp.mdl
c:\program files\microsoft games\Allegiance\artwork\images\myimage.png
Last edited by Your_Persona on Tue Apr 01, 2008 12:45 am, edited 1 time in total.
-->>Elitism<<--
I'm not Hamlet. I don't take part any more. My words have nothing to tell me anymore.
madpeople
Posts: 4787
Joined: Tue Dec 16, 2003 8:00 am
Location: England

Post by madpeople »

the other thing i forgot to add was to make it accept not just png and jpg but any fileformat supported by the freeimage.dll (i tried to use a .bmp with it...)

p.s. have you tried using it to replace a few textures? i haven't been able to get it to work yet :/ right now i think it is a problem with allegiance reading them, and not the format of the output of the converter as that looks similar to what kg said it should be.

does anyone remember what the true/false thing was for, there is a text bmp.mdl in the art folder with

Code: Select all

use "model"; 
mainbkgnd2bmp = ImportImageFromFile("mainbkgnd2.png", false);
will need to do more investigation later...
Adaven
Posts: 1959
Joined: Sat Oct 25, 2003 7:00 am
Location: Greater Ozarks

Post by Adaven »

I think it enables/disables Chroma-Key transparency (black = clear). I remember a post a long time ago mentioning something about color.
Last edited by Adaven on Tue Feb 19, 2008 9:56 pm, edited 1 time in total.
Your_Persona
Posts: 773
Joined: Sat Dec 04, 2004 8:00 am
Contact:

Post by Your_Persona »

Adaven wrote:QUOTE (Adaven @ Feb 19 2008, 08:04 AM) I think it enables/disables Chroma-Key transparency (black = clear). I remember a post a long time mentioning something about color.

I just noticed that I'm outputing

Code: Select all

use "model";
jamieTaylorbmp = ImportImageFromFile("images\jamieTaylor.jpg", true);
but the reference is

Code: Select all

use "model"; 
fx09bmp = ImportImageFromFile("Textures/Effects/mycoolshieldfx.png", true);
can anyone test if the direction of the / matters.
also is the path relative to the artwork directory, or the txtmdl?

I cant test this /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
-->>Elitism<<--
I'm not Hamlet. I don't take part any more. My words have nothing to tell me anymore.
madpeople
Posts: 4787
Joined: Tue Dec 16, 2003 8:00 am
Location: England

Post by madpeople »

changing the \ s to / s made it work

the path is relative from the /artwork directory.

if you want to use the textures folder you need "Textures/" at the start, even if your bmp.mdl is in the /textures folder already.

requested changes to mdlthing:
a check box for "use textures folder" which puts "Textures/" at the start of the path
a check box to not use the output folder and to output to the folder it is currently in
make it read from a .ini the default settings of the check boxes on startup. (and let it write to that file when you change them, or maybe on a button press instead)
read all image formats supported by freeimage.dll instead of just png and jpg
convert all button
Your_Persona
Posts: 773
Joined: Sat Dec 04, 2004 8:00 am
Contact:

Post by Your_Persona »

Changed \ to /Added convert all buttonAdded Textures folder optionOptions now persist between sessionsYou can now select most freeimage supported typesmdlThing1.3.1
Last edited by Your_Persona on Tue Apr 01, 2008 12:45 am, edited 1 time in total.
-->>Elitism<<--
I'm not Hamlet. I don't take part any more. My words have nothing to tell me anymore.
Quia
Posts: 159
Joined: Sun Feb 12, 2006 8:00 am

Post by Quia »

Feature request /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />

A switch for the black transparency true/false line in the mdl. true = transparent, false = opaque. Right now it makes mdl's with black transparent and I keep on forgetting to change it to false. /doh.gif" style="vertical-align:middle" emoid=":doh:" border="0" alt="doh.gif" />
ImageImage
Your_Persona
Posts: 773
Joined: Sat Dec 04, 2004 8:00 am
Contact:

Post by Your_Persona »

Quia wrote:QUOTE (Quia @ Mar 23 2008, 11:21 PM) Feature request /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />

A switch for the black transparency true/false line in the mdl. true = transparent, false = opaque. Right now it makes mdl's with black transparent and I keep on forgetting to change it to false. /doh.gif" style="vertical-align:middle" emoid=":doh:" border="0" alt="doh.gif" />

Complete

mdlThing1.3.1
Last edited by Your_Persona on Tue Apr 01, 2008 12:45 am, edited 1 time in total.
-->>Elitism<<--
I'm not Hamlet. I don't take part any more. My words have nothing to tell me anymore.
Quia
Posts: 159
Joined: Sun Feb 12, 2006 8:00 am

Post by Quia »

Doah! YP, the capital 'F' on false makes the game crash.
ImageImage
Post Reply