- - How to SetParent
(https://forums.alliedmods.net/showthread.php?t=261708)
Chdata
02-17-2017 17:52
Re: How to SetParent
Quote:
Originally Posted by Mitchell
(Post 2495898)
I have a work example in my WeaponAttachementAPI: https://github.com/MitchDizzle/Weapo...I.sp#L102-L111
I use it to find the end of a player's barrel by parenting the same weapon model as a prop_dynamic to their player model and using setparentattachment on a info_target to get the abs position from.
I asked for these sigs to be added to sm a few times, but paychonic said it is not useful.
Just like equipwearable.
404UserNotFound
02-21-2017 20:18
Re: How to SetParent
Quote:
Originally Posted by friagram
(Post 2497337)
I asked for these sigs to be added to sm a few times, but paychonic said it is not useful.
Just like equipwearable.
How and why are bone-related things "not useful"? They'd be useful for someone recreating Gmod sandbox things who may or may not want to make some form of bone manipulation for TF2 (if that's even possible). A bone lookup would be great...but I guess you could just use HLMV to find the bone names. So I guess it makes sense as to why it wouldn't be useful.
Still, I want to mess with bones in a way similar to this:
yknow, like setting the bone position of the scouts arms so he's got like a 20 foot wingspan.
psychonic
02-21-2017 20:51
Re: How to SetParent
Quote:
Originally Posted by friagram
(Post 2497337)
I asked for these sigs to be added to sm a few times, but paychonic said it is not useful.
Just like equipwearable.
I don't recall "paychonic" saying that, but it's very possible that it happened. If you want to submit a PR to add those to SDKTools with gamedata for the top few games, I'll be happy to review.