Garry's Mod

Garry's Mod

338 ratings
Gear Assembly Tool
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun
File Size
0.266 MB
Jan 31, 2015 @ 1:43pm
Jun 11 @ 1:47pm
35 Change Notes ( view )

Subscribe to download
Gear Assembly Tool

In 1 collection by [Sk$Bh]Trick or treat KID!
DVD's addon collection
250 items

This script can give you the ability to connect prop-segmented gear pieces fast. It is optimized and brings the gear building time consuming to a minimum. It uses pre-defined radius-vectors to snap the segments the best way there is in Garry's Mod

Feature List
  • Gear precise alignment relative to the mass-center
  • Extendable database via text file or a lua script[]
  • Extendable database via text file load list[] and list prefixes[] categories[]
  • Switching database storage between Lua table and SQL
  • Spawning pieces on the map
  • Snapping/spawning at the center if checked
  • Snapping the first piece yaw to user defined angle
  • Automatic gear-anchor constraint creation when building
  • Custom point position angle and orientation adviser
  • Advanced duplicator can be used on the gearbox created
  • Custom entity properties ( weld, freeze, no-collide )
  • User can disable phys-gun grabbing on a piece
  • Ability to list up the most used pieces on the server ( E + Right )
  • Ability to search among the most server popular pieces by Lua patterns[]
  • Ability to export server and client database as a file
  • Tool-tips for every button are available and can be translated easily
  • Ability to spawn scripted gear switches of other class
  • Ability to modify the bodygroups and skins of a gear piece ( with duping )
  • Gear surface behavior automatically set to super-ice ( Optimal performance )

For detailed manual, please refer to


Git repository:

Report errors to:


Reuploading and source stealing will not be tolerated !
Selling it is also out of option, as the open source suggests !

If you want to support me and you like what I do:
< >
[Sk$Bh]Trick or treat KID!  [author] May 12 @ 8:27am 
@moosjuice 8 hours ago

Cheers! Updated and thanks! Go nuts ;)
moosjuice May 12 @ 12:02am 
Yeah, I believe that will effect the same result as the yes-anchor-selected automatic axis system. That is more important IMO because it is based on a feature in the addon, while the feature of making world axis possible being either removed or fully implemented can only match vanilla and wiremod. Finally I can make a comment that doesn't sound like it should begin with Dear Diary xD.
[Sk$Bh]Trick or treat KID!  [author] May 11 @ 12:26pm 
@moosjuice 13 hours ago

Ah, so in other words you simply need a feature for the anchor to be selected when you create the first gear and utilize the same anchor entity for the rest of the gearbox ?

Is my assumption is correct?

If so, I will simply make it a flag which toggles the feature ( Turned off will behave as it is now. A.k.a the trace entity is anchor only for the first gear, otherwise when turned on will update the anchor when you do not use the meshing function. This way every time when you trace-constrain the first gear and the trace entity is valid, and it is not world, the anchor will be changed ).
moosjuice May 10 @ 10:37pm 
I have to deeply apologize here, completely fooled myself. my contraption links to 3 gears via e2. When I spawned my contraption, 1 was locked, 1 appeared to be locked and 1 bounced out of the gearbox. rather than being included with my adv dupe 2 dupe because it was linked to the e2, I thought it was linked somehow to the gear assembly because of some sort of code reference that it makes behind the scenes, and confused which gear was the first gear. The real problem was I forgot to create any anchor to any of the gears. I also mixed up which gear was getting an automatic anchor, with no anchor selected, the first gear gets an automatic anchor and the stacked gears get no anchors. So I still have a complaint! There IS no-anchor-selected automatic axis creation for the first gear, it will self detect a prop that's directly below it, and when you stack a gear on that, there is no "self" (maybe I should've said making a local axis) axis.
[Sk$Bh]Trick or treat KID!  [author] May 10 @ 7:27am 
@moosjuice 1 hour ago

This opyion has always existed. I will vote against automatic axis creation when the axis option is not chosen from the interface. I can utilize the world for the first gear when anchor is not available. But since you build contraptions you will have to use anchor anyway to make your gearbox.
moosjuice May 10 @ 6:08am 
Not to be annoying, but did you forget you already have in there a "Free Spawn" option? I'm glad we are trying to get rid of the QoL pitfalls. Also I would just add that the first gear could also use an automatic self axis.
[Sk$Bh]Trick or treat KID!  [author] May 10 @ 5:43am 
@moosjuice 31 minutes ago

Ah, fair enough. I do admit that there is a point when chosing axis and spawning on the world the tool must constrain the gear to the world if an axis is not chosen. When the users just wants to spawn the gear without constraining it they must select "Skip linking".
moosjuice May 10 @ 5:02am 
Ah, but only when the anchor is a flat plane and not the world, while in wiremod and vanilla wheels are indeed constrained onto the world. This had me choosing the first gear as the "anchor" (because nothing else was clickable from that frame of mind and a little semantics that I will get into) and assuming the axis being made around this was the only axis possible. Also I have to admit fault here because the interface does say "anchor/base" in the tooltip, which is less vague. The first gear in my mind doesn't have anything to anchor to, while the second gear is restricted to the area around the first gear. And watching your 1st video, I falsely assumed for every connection in the beginning of your 2nd video you needed to whip out the Axis - Centre. So someone will eventually get it if they see the word base, you don't have to change it.
[Sk$Bh]Trick or treat KID!  [author] May 8 @ 12:21am 
@moosjuice 1 hour ago

The axis constraintis are available when you chose "Consraint type" from the interface then Axis. The axis is always created at the gear mass center and is automatically constrained to the trace prop on spawn or anchor when chosen
moosjuice May 7 @ 10:36pm 
Axis - Centre is actually mandatory to use with this addon, I was on a server and had no idea where else to click in the interface. While browsing the workshop people won't run into problems, but encountering it on the servers a message of "there is no option in this addon that will make the gears spin" would save a lot of time and they could get to the appreciation of this addon much faster.