Frictional Games Forum (read-only)
[MDL ED] .mdl? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [MDL ED] .mdl? (/thread-12746.html)

Pages: 1 2


.mdl? - Tripication - 01-21-2012

Hey guys, im looking to try and import a Source.mdl file into blender, so that i can make it an Item entity, is this possible?


RE: .mdl? - Krymtel - 01-21-2012

(01-21-2012, 01:10 PM)Tripication Wrote: Hey guys, im looking to try and import a Source.mdl file into blender, so that i can make it an Item entity, is this possible?
You could import it into Maya with a .mdl importer and export it as a .dae file into Amnesia. Then just open it into the model editor and set the properties to be an Item.


RE: .mdl? - Statyk - 01-21-2012

I as well would like to convert a source model being used in Garry's Mod for a side-project. Where can I find this converter? If any are aware >>


RE: .mdl? - Your Computer - 01-22-2012

https://developer.valvesoftware.com/wiki/Mdldecompiler


RE: .mdl? - Tripication - 01-22-2012

Ok, now ima complete nub when it comes to modelling, now i have my "Ghastly Gibus"(dont ask why)in my blender, but if i export it as a .dae file, it wont even appear in the model editor...

I didn't use textures(just vertex painted)but it just wont appear, and its giving me the mc-shits. if someone would give it a shot, that would be excellent, heres the .blend. I dont even know if it will show up on anyone elses computer but im getting a chronic headache from this.

http://www.mediafire.com/?1sm9yyqi4d540lk



RE: .mdl? - Your Computer - 01-22-2012

If it has no textures, then it'll be "invisible." You should be able to select the mesh in the model editor, which would expose the wire frame.


RE: .mdl? - Tripication - 01-22-2012

Nothing at all, but i'll try texturing it
Actually, you were right, it did exist, it was just REALLY high up(to fit tf2 character underneat) Now does anyone know how to convert this model to an item, and what else i'll need to make it one?

I already textured it with the Dirt floor in the cellarbase(looks kinda like tattered leather) but how would i make it so that the player can pick it up and just have it in its inventory?
Ok, i managed to put it in the game, and i thought i managed to texture it with the dirt, but it doesn't appear, and everytime i load the map, the game crashed. So far all i have in the Level editor, is the wireframe...

Anything?


RE: .mdl? - Krymtel - 01-22-2012

Do you have the textures for the model? If you do, make a material file with the Material Editor.


RE: .mdl? - Tripication - 01-22-2012

(01-22-2012, 01:02 PM)Krymtel Wrote: Do you have the textures for the model? If you do, make a material file with the Material Editor.

Ok, i managed to get the game to load, but the texture is still missing, and i dont know how to make it an item. I have the following in it's own folder in the Entites>item folder.
[Image: 6th5W.png]

Ok, so i've put a the cellarbase_floor_alt.mat and cellarbase_floor_alt.dds in the folder, and it still didn't work. So then i renamed them to GhastlyGibbus.dds and GhastlyGibbus.mat and it still didnt work...


RE: .mdl? - Your Computer - 01-22-2012

Whenever i have issues with textures not showing up, i just load the model in the model viewer. The model viewer automatically generates a .mat file for the textures used by the .dae file. I normally don't worry about the model viewer crashing, so long as it generated the .mat file. If that doesn't help, try deleting the .msh file and re-importing in the model editor.