Exporting OBJ from DeleD to Sandbox
Posted: December 6th, 2012, 11:01 am
OK so I am on Windows using the latest builds of each program. I have folders in the Sandbox/packages/model directory. Inside each folder is a tris.obj, a skin.jpg, and a obj.cfg.
Here are the settings I have for the DeleD OBJ Export plugin:
Considering these settings, what should I use to guarantee import into Sandbox? Here is my obj.cfg:
I enter the game, go to Edit Mode, press E, adjust position to look down, type this at the console window after pressing the tilde key:
That was my last experiment with this tonight. Then I press F3, go to Entities, click on Brushes or Models or whatever it is, scroll way down, and click on my mesh, which is just an icon of a box or something. In the game window a small wireframe box appears with sparkly stuff inside and I get an error message saying ,"...could not open package..."
Like I said, weird thing was that I did get the model in once. It was super huge. I scaled it wrong. Fixed that. the mesh is now 32 step height, 128 step width, something like 160 step length. So it should be importing correctly.
Any help you can give me would be appreciated. I have to go to sleep now. Dozing off in my chair...
- DreamBliss
Here are the settings I have for the DeleD OBJ Export plugin:
Code: Select all
Filename
Texture Folder
Scale
Triangulate
- None
- Non-convex Polygons
- All
Normals
- None
- Face
- Smooth
- Crease Angle, Angle
Material File (checkbox)
Tex Coords (checkbox)
Code: Select all
mdlscale 100
mdlambient 0
mdlspec -1
mdlcollide 1
Code: Select all
mmodel +nonenone
mmodel +noneface
mmodel +nonesmooth
mmodel +noneca
mmodel +ncpnone
mmodel +ncpface
mmodel +ncpsmooth
mmodel +ncpca
mmodel +apnone
mmodel +apsmooth
mmodel +apface
mmodel +apca
Like I said, weird thing was that I did get the model in once. It was super huge. I scaled it wrong. Fixed that. the mesh is now 32 step height, 128 step width, something like 160 step length. So it should be importing correctly.
Any help you can give me would be appreciated. I have to go to sleep now. Dozing off in my chair...
- DreamBliss