STEAM GROUP
Blender Source Tools BleST
STEAM GROUP
Blender Source Tools BleST
378
IN-GAME
2,199
ONLINE
Founded
8 November, 2013
All Discussions > Help > Topic Details
sangreelah 16 Dec, 2024 @ 8:43am
Problem exporting as SMD from Blender Source Tools
Hello guys,

I hope I am posting on the right section; if not I apologize, this is my first posting.

I am having real trouble exporting correctly from BleST. I am trying to export the default cube as a prop for Garry's Mod as a learning exercise for the full workflow; I have 3 cubes sharing the same origin named "defaultcube", "defaultcube_idle"(with a placeholder animation), and "defaultcube_phys" (slightly larger to act as collision box),

The problem I am experiencing is quite confusing to me, I hope someone can make sense of it. The export process works perfectly: it exports 3 files in the specified location with the expected names (defautcube.smd, defaultcube_phys.smd, & defaultcube_idle.smd); the issue is that when I check those files the headers are off:

As an example, this is the header (sorry I don't know the actual name of that field) for defaultcube_idle.smd:

version 1
nodes
0 "root" -1
end
skeleton
time 0
0 0 0 0 0 0 0
end
triangles
<u>defaultcube.001</u>

After some troubleshooting I pinpointed the problem: Source tools were correctly using object names to create the SMD file names, but using the object's data block to name internally the objects; I changed the names of the data block of each object to the correct name, and everything works.

However, I don't think this hack is feasible while exporting many objects for it'd involve renaming the data block as many times as objects exported, which doesn't seem like a very efficient workflow. Can anybody tell me what am I missing?

Can anybody recognize the problem? I don't see any options concerning export-naming, so I am totally at a loss. I am working on Windows 10, and Blender 4.31 running Source Tools version 3.3.1; please let me know if you need any further information.


Please help!

Thanks in advance.
< >
Showing 1-3 of 3 comments
ChLoe Scott 16 Dec, 2024 @ 11:39am 
Try putting the QC like this
$modelname "(insert name)".mdl(make sure it's in the folder you picked)
$body anon "(insert name)".SMD
$cdmatireials"(material path)/(material file name)"
$Sequence idle "(copy and paste the SMD name) fps 30

That should work as it sounds similar to what I had.if that doesn't work idk what to tell you.good luck 🤞
sangreelah 16 Dec, 2024 @ 12:55pm 
Thank you for your answer. I will test it as soon as I get home.
sangreelah 17 Dec, 2024 @ 4:07am 
Yeah, that worked. Thank you for your help.
< >
Showing 1-3 of 3 comments
Per page: 1530 50

All Discussions > Help > Topic Details