• How to bonemerge a prop to a bone and inflate the bone?
    6 replies, posted
1. How to bonemerge a prop to a bone? 2. How to inflate the bone to 0?
1) You can't [B]BONEMERGE [/B]a prop to a [B]BONE[/B]. You can try using parenting a prop to a bone using Ent:FollowBone, but it's buggy the last time I tried, You can also parent it using Ent:Fire("SetParentAttachment" , "attachment name") + Ent:SetParent( Ent2 ) to an [B]ATTACHMENT[/B] 2) [URL]http://wiki.garrysmod.com/page/Entity/ManipulateBoneScale[/URL]
RobotBoy, I've made bonemergeable prop.
[QUOTE=I'm great;42947167]RobotBoy, I've made bonemergeable prop.[/QUOTE] Bonemerge means child entities will align their bones with parent entities. This means your prop must have same bones ( Name and length ) as the thing you want to bonemerge it to. If that's what you need, then you do this: 1) Parent your "bonemerge" prop to whatever entity you need 2) Do Ent:AddEffects(EF_BONEMERGE) 3) In some cases you'll need to do Ent:Fire("SetParentAttachment","AnyValidAttachmentOnParent") for bonemerge to work. If you are unsure if your prop is bonemerge-able, use my tool called "Easy Bonemerge Tool" to test your prop.
Yup. My prop has the same bones just as default citizen. And I need to attach it to any ragdoll with defautl bones. Should I parent my prop to prop_ragdoll or whatever is it called?
[QUOTE=I'm great;42952943]Yup. My prop has the same bones just as default citizen. And I need to attach it to any ragdoll with defautl bones. Should I parent my prop to prop_ragdoll or whatever is it called?[/QUOTE] I just told you what to do.
I don't know how to make a ragdoll after OnKilledNPC hook and I don't know how to write ragdolls in lua. Prop_ragdoll?
Sorry, you need to Log In to post a reply to this thread.