Hi thanks TechieUK, this is still causing me a problem, I tried to export the smd again with various degrees of success. Not sure where I would have changed the ref_smd to a skeletal animation if I did do that. I thought I had the phys_mesh set to flat so I changed that to smooth it was not that either.
I used various blenders from 2.67 to 2.69 and there is strange/odd things happening.
For some reason blender 2.67 and blender 2.69 can export the the SMD using my QC file(using SMD add on) but for some reason it can't complie the model I don't know why this is happening.
As a comparison I used GUIStudio using the exported Smd's from blender 2.67/2.69 and complied the model in GUIStudio even in GUIStudio it has the same problem leaking elements I don't know why.
![Image](http://imageshack.us/a/img19/4210/v9rp.png)
Using Blender 2.68 I export the SMD with the QC file and it exports like the other blenders. though for some reason it complies in GUIStudio.
![Image](http://imageshack.us/a/img541/5296/1zhm.png)
I also tried to complie the model in blender 2.68 I guess with success. How is it compling the model in Blender 2.68 but not Blender 2.67 and blender 2.69?? this is really confusing.
There is still a problem, in hammer it does not show the material and I am sure I have named it correctly but it is still not showing up. I understand that the material name in blender must be named the same as the VMT and VTF file in this case
bridgewall1tex. I put the complied model from blender 2.68 into notepad ++ at the bottom it has the texture
bridgewall1tex which is what I named the texture.
![Image](http://imageshack.us/a/img545/1761/zygy.png)
can anyone help does anyone know what is wrong. I could send the blender file if that is needed.
![Image](http://imageshack.us/a/img545/4531/vd43.png)
This was the complied output from GUIStudio and Blender 2.68
![Image](http://imageshack.us/a/img839/444/qte8.png)
- Code: Select all
Created command line: "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\bin\studiomdl.exe" -game "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\ep2" -nop4 -nox360 "F:\blender things\Own_HL2_props_blender\blender walls\Wall1\Wall QC files\bridgewall1.qc"
qdir: "f:\blender things\own_hl2_props_blender\blender walls\wall1\wall qc files\"
gamedir: "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\ep2\"
g_path: "F:\blender things\Own_HL2_props_blender\blender walls\Wall1\Wall QC files\bridgewall1.qc"
Building binary model files...
Working on "bridgewall1.qc"
SMD MODEL bridgewall1_ref.smd
SMD MODEL bridgewall1_phys.smd
Model has 1 convex sub-parts
Collision model completed.
---------------------
writing C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\ep2\models/buriamodels\ch1area1\bridgewall\bridgewall1.mdl:
bones 964 bytes (1)
animations 112 bytes (1 anims) (1 frames) [0:00]
sequences 220 bytes (1 seq)
ik/pose 164 bytes
eyeballs 0 bytes (0 eyeballs)
flexes 0 bytes (0 flexes)
textures 76 bytes
keyvalues 0 bytes
bone transforms 0 bytes
Collision model volume 45696.00 in^3
collision 0 bytes
total 1820
---------------------
writing C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\ep2\models/buriamodels\ch1area1\bridgewall\bridgewall1.vvd:
vertices 82512 bytes (1719 vertices)
tangents 27504 bytes (1719 vertices)
total 110080 bytes
---------------------
Generating optimized mesh "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\ep2\models/buriamodels\ch1area1\bridgewall\bridgewall1.sw.vtx":
body parts: 8 bytes
models: 20 bytes
model LODs: 12 bytes
meshes: 9 bytes
strip groups: 25 bytes
strips: 27 bytes
verts: 15471 bytes
indices: 15000 bytes
bone changes: 16 bytes
everything: 30612 bytes
---------------------
Generating optimized mesh "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\ep2\models/buriamodels\ch1area1\bridgewall\bridgewall1.dx80.vtx":
body parts: 8 bytes
models: 20 bytes
model LODs: 12 bytes
meshes: 9 bytes
strip groups: 25 bytes
strips: 27 bytes
verts: 15471 bytes
indices: 15000 bytes
bone changes: 16 bytes
everything: 30612 bytes
---------------------
Generating optimized mesh "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\ep2\models/buriamodels\ch1area1\bridgewall\bridgewall1.dx90.vtx":
body parts: 8 bytes
models: 20 bytes
model LODs: 12 bytes
meshes: 9 bytes
strip groups: 25 bytes
strips: 27 bytes
verts: 15471 bytes
indices: 15000 bytes
bone changes: 16 bytes
everything: 30612 bytes
Completed "bridgewall1.qc"