STEAM GROUP
Blender Source Tools BleST
STEAM GROUP
Blender Source Tools BleST
355
IN-GAME
2,031
ONLINE
Founded
8 November, 2013
All Discussions > Help > Topic Details
GottoGure 23 Oct, 2015 @ 8:34am
[Solve]Having problem about export model to dmx file.
i'm newbie about blender and i try to export model to dmx but it's got weight error

here is picture http://imgur.com/GoLD8Yu

ps. i'm doing follow original was smd file but i have too much bone so i have to export to dmx and got this error
Last edited by GottoGure; 14 Dec, 2015 @ 8:12pm
< >
Showing 1-15 of 19 comments
Zappy 23 Oct, 2015 @ 8:38am 
If any vertice of a mesh has more than 3 weight links (is rigged to more than 3 bones), Blender Source Tools will either tell you "too many weight links, you can't compile this model" or "too many weight links, I'll just cull it down to 3 for you" depending on the "weight link cull threshold" in the Source export properties, of which you are getting the second message. As long as you keep a Blender session of it, you should be fine.
GottoGure 23 Oct, 2015 @ 9:01am 
Thank you for you anwser between i'm still noob at blender (start learn week ago)

i try to export XNA file and i can't delete bone name Example : are right shouder 2 ctr

if i delete it when i'm try to pose in blender model shape it's gone weird

i'll try but still idk how to do it _(:3jz)_
Last edited by GottoGure; 23 Oct, 2015 @ 9:23am
xdshot 23 Oct, 2015 @ 10:04am 
Try exporting model into smd format if possible.
xdshot 23 Oct, 2015 @ 10:11am 
Or try using this script. It removes exeeded weitghting on object's vertices. Select your mesh in Object Mode and run this script(I ussgest making reserve duplicate of object in case if you need to edit that):

# Purpose: Source supports 3 infuences per vertex
# this snippet will remove excess influences from the selected
# objects
import bpy

def removeExcessVtxFrom(obj, imax):
for v in obj.data.vertices:
if len(v.groups) > imax:
vgs = []
for vg in v.groups:
vgs += [(vg.weight, vg.group)]
vgs.sort()
diff = len(v.groups) - imax
vgs = vgs[:diff]
for (w,g) in vgs:
obj.vertex_groups[g].remove([v.index])

for o in bpy.context.selected_objects:
if o.type == 'MESH':
removeExcessVtxFrom(o, 3)
print ('Removed extra influences form', o.name)
GottoGure 23 Oct, 2015 @ 10:13am 
@ xDShot™ i trying to smd too but i have too much bone the most problem is XNA my model have "ctr" bone i try to delete it but when change to pose mode in blender it was cripple so i'm will try to delete some bone which i don't want it (mostly) on head model it have face bone like eye leash and lips before i go to sleep (it's midnight here so after this i'll go to bed i'll come to read comment later thank you for any anwser might help me.) :D

Edit (00:15) : i just see xDShot™ 2nd comment how i use that script? (i have to go file... or something?)

Edit *2 : here this picture about bone on my model http://imgur.com/7vR8nV2

*Warning NSFW but Doge was block it so i think it's ok.

Edit *3 Thank you xDShot™ i'll do it later it almost 1 am. gtg sleep XD
Last edited by GottoGure; 23 Oct, 2015 @ 5:25pm
xdshot 23 Oct, 2015 @ 10:26am 
There is a stripped top-right corner on 3D view. Press and hold it and drag it down. In upper new window switch into Text Editor, press New and paste the code above. Select your object, back it up and press Run Script.
Zappy 23 Oct, 2015 @ 12:06pm 
Originally posted by xDShot™:
Or try using this script. It removes exeeded weitghting on object's vertices.
But BLENDER SOURCE TOOLS already does that.
Artfunkel 23 Oct, 2015 @ 12:22pm 
There is a built-in weight limit feature. Adjust the Weight Link Cull Threshold value, which is in the Export panel. Whack it all the way up to 1 if you don't want to edit the mesh.

The Tools' code accounts for changes to the limit too (it's higher in Source 2).
GottoGure 24 Oct, 2015 @ 2:09am 
@Artfunkel sorry for slow repiles (because i have to do laundry at the morning)

i try to change weight link cull Threshold to 1 it won't work and i try to 0.5 and still have same massage error.
Zappy 24 Oct, 2015 @ 2:13am 
Originally posted by Zappy:
- Blender Source Tools will either tell you "too many weight links, you can't compile this model" or "too many weight links, I'll just cull it down to 3 for you" - of which you are getting the second message. -
It either tells you "too many influences" or "I'll cull it down for you", of which you get the latter message if you set the scene threshold to 1, which will allow you to compile the model for Source.
GottoGure 24 Oct, 2015 @ 2:19am 
@Zappy i'm grateful for your help but i'm doing NSFW model i didn't want you to see it XD (i didn't want get kick on my steam account so i can't send it to you, i'm terrible sorry.)



but pelase tell me how to do it or throw some guide to me i might try to do it. :3
Last edited by GottoGure; 24 Oct, 2015 @ 2:21am
Zappy 24 Oct, 2015 @ 3:10am 
In the Source export panel, set the weight link cull threshold to 1, and export. Done. That's all you need to do to export it so you can compile it for Source. Like I've said at least three times now.
GottoGure 24 Oct, 2015 @ 7:30pm 
@Zappy i try to set weight link cull threshold to 1 and still got error maybe there have problem with mesh or something i dont' sure (it's wasn't my model but i'm import form XNA) here this my short video export DMX

https://www.youtube.com/watch?v=U6MwxPSV33w

also thank you everyone for help me out for few days it's end by i'm export smd but i have to delete so bone (mostly face pose bone) now i think my model kinda derping now XD
Last edited by GottoGure; 24 Oct, 2015 @ 7:39pm
Zappy 25 Oct, 2015 @ 12:36am 
Do you even read?

It either gives you the
"TOO MANY INFLUENCES, YOU WILL NOT BE ABLE TO COMPILE THIS DMX MODEL FOR SOURCE"
or
"I'LL CULL IT DOWN FOR YOU SO YOU CAN COMPILE THIS FOR SOURCE"
message, and it's giving you the
"I'LL CULL IT DOWN FOR YOU SO YOU CAN COMPILE THIS FOR SOURCE"
message, just like I've been saying ALL ALONG.
Last edited by Zappy; 25 Oct, 2015 @ 12:37am
GottoGure 25 Oct, 2015 @ 12:53am 
@Zappy i read it but i don't get it (i'm too dunce) ;w; but i delete some bone

and export to .smd file instead. and sorry for made you angry or something.
< >
Showing 1-15 of 19 comments
Per page: 1530 50

All Discussions > Help > Topic Details
Date Posted: 23 Oct, 2015 @ 8:34am
Posts: 19