STEAM GROUP
Blender Source Tools BleST
STEAM GROUP
Blender Source Tools BleST
261
IN-GAME
1,676
ONLINE
Founded
8 November, 2013
Showing 1-3 of 3 entries
3
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 entries