// Parenting Tool\
By Nanospork (Non-FP name)
tl;dr Version: Parenting (super weld) that doesn't blow. Download below.
Version 0.55 (With Dupe Support!) now out.
We all know parenting sucks. A lot. Most parenting tools out there suffer from:
-Incompatibility with multiplayer
-Server-crashing or prop-deleting glitches
Upon realizing this, I set out to make a super parenting tool. For those who don’t know, Parenting is when the game engine locks one entity’s movement to another. It is absolutely secure, unlike welding, and causes significantly less lag. But almost all the currently existing parenting tools suffer from the above issues. The tool I have created, however, has these fixes:
-Child props (props that have been parented) can be fully undone.
-Child props can be reverted to standard physics props via right-click.
-All children can be removed from an entity via reload.
-Significantly better collision than other parenting tools:
This is achieved through a little tip I gained while mapping - dynamic props parent a hell of a lot better than physics props. Therefore, I wrote up the system to convert physics props to dynamic props for parenting - and back. This ensures players do not fall or slide through child props they’re on, and that children have proper, full collision with other props.
-Props can be parented in chains (parent A to B, B to C, C to D; however, after that you can’t parent E to B, but you could parent E to D)
-Fixes to prevent disappearing props (parenting to a child, etc.) and server crashes.
-Option to freeze un-parented props. (Stuff will stay still until you unfreeze it with the physgun if you unparent it either individually through right-click or all at once with reload- makes for much neater mass unparenting.)
Remaining limitations (hopefully to be overcome in later versions or changes to the source engine)
[release]-Parented props cannot have anything attached to them. All traces just go straight through parented props to the world or whatever’s behind them (the right-click remove uses a special technique that unfortunately only works built into the tool.)
-Collision is only still bugged in two ways:
- Players have no friction against parented props (full collision, you’ll just slide if it moves from under you. You can still walk on it normally.)
- Parented props will go through entities on one condition: The entity being collided with is frozen, or an entity behind it stopping its movement is frozen. This means stuff will go through the world, but you could do that with Advanced Ballsocket anyway.
-Weight, buoyancy, and similar physical properties are void.[/release]
It’s not perfect due to the limitations of the Source Engine, but I hope you’re all happy with it anyway. So long as you don’t use it for a moving surface you walk on or for, say, landing gear, it works perfectly. Any kind of decorations, walls inside a structure or vehicle, railings, what have you, it’s all good.
Release Notes: May 30, 2009 - 0.55 - Dupe support added. May 27, 2009 - 0.50 - Released. Hopefully bug-free and fully compatible with multiplayer.