• DefineBones generated with Zero Value
    8 replies, posted
So I'm trying to compile a model for Gmod that has over 300 Bones, and I'm trying to use $definebone to weed out all the unneeded bones. When I have Crowbar generate a qci with the Definebone values, the coordinates all come out as zero. Here's what I mean: $definebone "b_C_Base" "" 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 $definebone "b_C_Pelvis" "b_C_Base" 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 $definebone "b_R_Leg1" "b_C_Pelvis" 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 //$definebone "b_R_Leg3Helper" "b_R_Leg1" 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 //$definebone "b_R_KneeBUHelper" "b_R_Leg3Helper" 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 //$definebone "b_R_Leg2Helper" "b_R_Leg1" 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 $definebone "b_R_Leg2" "b_R_Leg1" 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 //$definebone "b_R_KneeHelper" "b_R_Leg2" 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 //$definebone "b_R_KneeBHelper" "b_R_KneeHelper" 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 //$definebone "b_R_Ankle4Helper" "b_R_Leg2" 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 //$definebone "b_R_KneeBDHelper" "b_R_Ankle4Helper" 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 //$definebone "b_R_Ankle3Helper" "b_R_Leg2" 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 //$definebone "b_R_Ankle2Helper" "b_R_Leg2" 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 $definebone "b_R_Foot" "b_R_Leg2" 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 //$definebone "b_R_AnkleBHelper" "b_R_Foot" 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 //$definebone "b_R_AnkleFHelper" "b_R_Foot" 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 $definebone "b_R_Toe" "b_R_Foot" 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 Now I wasn't thinking it'd be much of a problem, since in hlmv it looks like this by default: https://i.imgur.com/2SEqmlH.png But when I attempt to view the Physics tab, it goes like this: https://i.imgur.com/6cQVczd.png I'm assuming it has to do with something and the zero valued $definebones, so if anyone has any idea what's causing it, let me know. Thanks!
post a screen of the "Model" tab sfv -> gmod is a pain in the ass. too much can go wrong trying to "automate" the process. i manually remove the bones by hand
Here's what the "Model" tab looks like: https://i.imgur.com/PlARphO.png
you probably removed bones that the physics objects were rigged to 65 is kinda low for a SFV
Could be the case, lemme try editing the DefineBone qci a bit. also detreter, you have me on your friends list on Steam, perhaps you should talk to me more there about this issue?
300 bones? Isn't the limit at 256 bones, and then how did you compile it?
I sent it through Crowbar and had it just spit out a qci with all the define bones, then I proceeded to comment out the bones I wanted to have discarded. I commented them out on purpose, for just in case I needed them again, so yeah. I'll keep trying things, and see what works.
Sorry for double posting, but I feel the 0.000000 and such values are being the reason for the oddity. Like I said in the first place, when Crowbar generates the $definebone qci, it causes the coordinates of those values to be zero. Gotta figure out why it's doing that, though.
Crowbar can't handle more than 256 bones for defining even though the bone limit was updated to 512, the definebones limit was not.
Sorry, you need to Log In to post a reply to this thread.