MDLThing
-
Grimmwolf_GB
- Posts: 3711
- Joined: Wed Jul 02, 2003 7:00 am
- Location: Germany
- Contact:
-
Your_Persona
- Posts: 773
- Joined: Sat Dec 04, 2004 8:00 am
- Contact:
mdlThing1.3.1madpeople 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
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.
I'm not Hamlet. I don't take part any more. My words have nothing to tell me anymore.
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
will need to do more investigation later...
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);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.
[img]http://www.freeallegiance.org/forums/st ... erator.gif" alt="IPB Image">
<img src="http://adaven6x7.googlepages.com/PKBanner3copy.png[/img]
<img src="http://adaven6x7.googlepages.com/PKBanner3copy.png[/img]
-
Your_Persona
- Posts: 773
- Joined: Sat Dec 04, 2004 8:00 am
- Contact:
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);Code: Select all
use "model";
fx09bmp = ImportImageFromFile("Textures/Effects/mycoolshieldfx.png", true);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.
I'm not Hamlet. I don't take part any more. My words have nothing to tell me anymore.
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
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:
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.
I'm not Hamlet. I don't take part any more. My words have nothing to tell me anymore.
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" />
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" />


-
Your_Persona
- Posts: 773
- Joined: Sat Dec 04, 2004 8:00 am
- Contact:
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.
I'm not Hamlet. I don't take part any more. My words have nothing to tell me anymore.

