Garry's Mod

Garry's Mod

407 ratings
Gear Assembly Tool
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun
File Size
Posted
Updated
323.204 KB
31 Jan, 2015 @ 1:43pm
8 Jun, 2023 @ 1:35am
48 Change Notes ( view )

Subscribe to download
Gear Assembly Tool

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


Description
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[github.com]
  • Extendable database via text file load list[github.com] and list prefixes[github.com] categories[github.com]
  • 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[www.lua.org]
  • 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 Readme.md

Readme: https://github.com/dvdvideo1234/GearAssemblyTool/blob/master/readme.md

Git repository: https://github.com/dvdvideo1234/GearAssemblyTool

Report errors to: https://github.com/dvdvideo1234/GearAssemblyTool/issues

Releases: https://github.com/dvdvideo1234/GearAssemblyTool/releases

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:

paypal.me/DeyanVasilev
116 Comments
[Sk$Bh]Trick or treat KID!  [author] 3 Dec, 2024 @ 10:44pm 
@TheUltimateDemon 3 hours ago

Well the flag is just is.. It ignores the type so the user may not accidentally mesh gears of different types that will supposedly not mesh with each other. However at the time of developing it I did not have such tools developed as I have now, so that is mislead of the current database. I have to put all the ones that mesh together nicely in a single TYPE and create categories for each of them, currently however I do not have time to spare on it so we have that. I will update this after the PR I do for TA.
TheUltimateDemon 3 Dec, 2024 @ 7:00pm 
That, doesn't, make sense...
If it says "Ignore Gearbox Type", And if it were checked it would "Ignore" the Gearbox mechanic and wouldn't spawn the vertical gears. If you ask me it just seems like they're switched, I'm sure you can tell me otherwise.

But Thanks Again. 👍
[Sk$Bh]Trick or treat KID!  [author] 3 Dec, 2024 @ 2:21am 
@TheUltimateDemon 5 hours ago

Yep.. Attest you shared it. It seems to me that "Ignore gearbox type" is not checked. I use this flag if you need to stack gears of different types. Some types do fit to each other but the majoity do not. Second if you need to mech gears you need to ise stacking so please set "Pieces count" to something different than zero... To stack one item 1, to stack to 2 and so on...
TheUltimateDemon 2 Dec, 2024 @ 8:33pm 
I've tried shift clicking the two gear types well over 20 times with absolutely no success. Here's what happens, I have "Draw Holder Ghost" Selected, but when I want to spawn a vertical Gear to mesh with a spur gear, the preview holder ghost just disappears entirely, as if it refuses to spawn. I should have told you that right from the get-go (>ლ).

But hey, at least the Rack problem now has a somewhat solution So Thanks man. 👍
(I say somewhat because sliders are kind of a pain of precision for me)
[Sk$Bh]Trick or treat KID!  [author] 1 Dec, 2024 @ 2:03pm 
@TheUltimateDemon 3 hours ago

Please see the followng issue as it is impossible to explain here due to message limit of 1K characters. Formatting does not work also. Lets continue in the github page.

https://github.com/dvdvideo1234/GearAssemblyTool/issues/5
TheUltimateDemon 1 Dec, 2024 @ 10:07am 
1: Triple Click - Type - Enter, 3-5 seconds tops. Eh, No matter, to each their own, no need to remove them.

2: Racks snap for you, But not for me for whatever reason. And what I'm trying to get at is With normal rack and Pinion Gears, Pinions rotate to move Racks in a linear motion forward and/or backwards. But when I spawn one in, the rack acts like it's connected in the center with an axel, making it rotate. I, don't think that's how it's supposed to work... ?

3: If The authors intended Verticals being paired with flats, then why can't I snap flats onto the Verticals? Or is that your intention, to not have verticals paired with flats, if so then why is that?
[Sk$Bh]Trick or treat KID!  [author] 30 Nov, 2024 @ 3:16pm 
1. BAS
Unnecessary... TA and GA are designed to be time efficient. Well, I cannot just remove them. So many people like using them. How many clicks and typing do you need to just enter a value in the small GUI box ot increament it with 5 for example. I made my GUI round to the 5-th character so you must delete all the integer and fractional values. But OK.
2. Rack/Pinion gears
I just tested the racks and they snap to the pinions just fine. Racks are racks. Pinions are pinions. I've used different types for them intentionally. Not every rack will fit every pinion gear.
3. Vertical bevel gears
They have a slightly different purpose than the regular 45 dregree bevel gears. I parametrized them like that because the PHX authors originally intended these to be paired and fit with "PHX Regular Flat"
TheUltimateDemon 30 Nov, 2024 @ 6:14am 
I just feel like the extra buttons are unnecessary, you can simply Type in the numbers, but thanks anyway. And a few more questions, Why are racks(PHX Spotted racks and PHX Teeth Flat) treated as if they're pinion gears, I thought racks don't rotate? And what good are the Type 2 Bevel Gears(PHX Vertical), all I can do with them is connect two of the same size on top of one another, are they supposed to be used as bevel gears?
[Sk$Bh]Trick or treat KID!  [author] 29 Nov, 2024 @ 11:06pm 
@TheUltimateDemon 12 hours ago

The grid is called the "Smart Snap". You can search for it in the workshop and easily subscriibe. As for the bottons, the "new" ones are the same like the "old" ones, but only button-assisted ( https://github.com/dvdvideo1234/TrackAssemblyTool/wiki/Additional-features#button-controlled-slider-panels ). And by that I mean the buttons that are being drawn to interact with the slider above and do different things. Like negating, incrementing, snappint at a value, aplying default value and so on.
TheUltimateDemon 29 Nov, 2024 @ 10:05am 
I say the videos are out of date because I'M Seeing a lot More buttons than what the video has, let alone a grid I apparently don't have.