hi there, newbie here!
i'm having some difficulties putting custom object into Quake. i made a static mesh in Blender and exported in .mdl. next i renamed it to armor.mdl and put it into mymod/progs - just to see how it looks. problem is that it's not showing up neither in the editor, nor in the game. can somebody help, plz? thanks in advance.
EDIT:
realised it was too small to see. incrementing the size made it visible, but now the model is all black. also importing the .mdl back into Blender the textures are missing, idk why. any ideas?
Announcement
Collapse
No announcement yet.
custom .mdl invisible in Darkplaces
Collapse
X
-
custom .mdl invisible in Darkplaces
Last edited by vladdrak; 03-20-2015, 11:53 AM. -
[solved]
i remade the object and the texture, don't ask why it's working now. on my 2nd attempt i used ps instead of gimp and png instead of tga.
-
i thought of that too and changed it to simply "armor.tga" after posting, but that wouldn't help either. maybe i should mention that the Material is also "armor.tga"Originally posted by talisa View Postoh i see right away what you did wrong: remove the textures/ before the texture-name in the value field.
you dont need to tel the engine to look in the textures folder, it will automatically look in the textures folder.
and because cuz you put textures/armor.tga there, the engine will be looking for textures/textures/armor.tga
so just change the value so it only says armor.tga
Leave a comment:
-
oh i see right away what you did wrong: remove the textures/ before the texture-name in the value field.
you dont need to tel the engine to look in the textures folder, it will automatically look in the textures folder.
and because cuz you put textures/armor.tga there, the engine will be looking for textures/textures/armor.tga
so just change the value so it only says armor.tga
Leave a comment:
-
i uploaded the blend, targa and md3 files in case someone would take a look into it. could be something trivial, but i can't figure out what exactly.
http://www.megafileupload.com/en/fil...armor-zip.htmlLast edited by vladdrak; 03-22-2015, 06:22 AM.
Leave a comment:
-
i did all you said, but now no matter how i scale it, it remains invisibleOriginally posted by talisa View Posti have no experience with exporting models as mdl, but i'd recommend using md3 instead since mdl has very high position-imprecision with vertex-positions
there is also no reason whatsoever to use the old mdl format since modern engines support md3 which is overall a much better format
you can get an md3 exporter for blender here:
http://jkhub.org/files/file/1413-ble...-plugin-suite/
i use that one myself, its very easy to use.
all you need to do is make sure to manually triangulate your model before exporting,
and add a custom property with name set to 'md3shader' and value set to the name of texture you want your model to use.
then put the md3 in progs folder and manually rename the file-extension to mdl,
and drop the texture in the 'textures' folder
Attached FilesLast edited by vladdrak; 03-22-2015, 03:14 AM.
Leave a comment:
-
Not 100% for DP, but, if it spawns in the floor it will fall off the map; right?
edit, wait, i thought this was the other thread where his model was invisible.
edit, edit: oh he changed the entire OP.
^^What GB said.
Leave a comment:
-
Is it halfway through the floor in game or does it only look like it?
If it is, it's probably just a lighting problem to do with where the origin of the model is.
In that case MD3 won't fix this issue.
Leave a comment:
-
Make sure you have the appropriate texture selected in the UV editing menu of Blender before exporting. Also make sure your colors are Quake palette compliant. Loading the MDL file in QME is a great way to check if everything is correct quickly.
Leave a comment:
-
i have no experience with exporting models as mdl, but i'd recommend using md3 instead since mdl has very high position-imprecision with vertex-positions
there is also no reason whatsoever to use the old mdl format since modern engines support md3 which is overall a much better format
you can get an md3 exporter for blender here:
http://jkhub.org/files/file/1413-ble...-plugin-suite/
i use that one myself, its very easy to use.
all you need to do is make sure to manually triangulate your model before exporting,
and add a custom property with name set to 'md3shader' and value set to the name of texture you want your model to use.
then put the md3 in progs folder and manually rename the file-extension to mdl,
and drop the texture in the 'textures' folder
Leave a comment:

Leave a comment: