Garry's Mod

Garry's Mod

41 ratings
Transmission Tool
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Realism
File Size
Posted
Updated
24.204 KB
17 Apr, 2021 @ 11:21am
6 May, 2021 @ 10:34am
8 Change Notes ( view )

Subscribe to download
Transmission Tool

In 1 collection by WFL
AVBS Collection
49 items
Description
This tool allows you to create a transmission between two props with different gearing and torque ratios, acting like a ballsocket that can transfer power around corners.

Simply click on the first prop, then the second prop to create the transmission.

This tool does not create a fixed constraint, so the props are free to move around however they like. Increasing the transmission ratio decreases speed and increases torque, useful for creating gearboxes.

Use R to remove the transmission.

----------------------------------------------------------------------

This tool has E2 Support. Syntax:

===============================

To create/update a transmission:

Entity:transmission(<Entity2>, <"Entity 1 Orientation">, <"Entity 2 Orientation">, <gear ratio>, <reversed?(0/1)>)

Example: Entity:transmission(Entity2, "up", "right", 3, 0) creates a transmission that has a ratio of 3:1 between Entity and Entity2, with a rotational orientation of up and right that is not reversed.


Orientation is the ("Up") axis of the specific prop, either "up", "right" or "forward".

===============================

To remove a transmission simply use:

Entity:removeTransmission()
10 Comments
SniperGnome 29 Dec, 2022 @ 6:01pm 
CreateConVar: Cannot override an existing console command! (transmission_real)
1. CreateConVars - gamemodes/sandbox/entities/weapons/gmod_tool/stool.lua:41
2. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/stool.lua:144
3. include - [C]:-1
4. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:353
5. include - [C]:-1
6. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/cl_init.lua:11
SniperGnome 29 Dec, 2022 @ 6:01pm 
CreateConVar: Cannot override an existing console command! (transmission_eff)
1. CreateConVars - gamemodes/sandbox/entities/weapons/gmod_tool/stool.lua:41
2. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/stool.lua:144
3. include - [C]:-1
4. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:353
5. include - [C]:-1
6. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/cl_init.lua:11
SniperGnome 29 Dec, 2022 @ 6:01pm 
CreateConVar: Cannot override an existing console command! (transmission_pwr)
1. CreateConVars - gamemodes/sandbox/entities/weapons/gmod_tool/stool.lua:41
2. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/stool.lua:144
3. include - [C]:-1
4. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:353
5. include - [C]:-1
6. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/cl_init.lua:11
SniperGnome 23 Oct, 2022 @ 5:44pm 
[Transmission Tool] lua/entities/transmit/init.lua:142: bad argument #2 to '__index' (string expected, got nil)
1. __index - [C]:-1
2. unknown - lua/entities/transmit/init.lua:142
Skyler Ghostly 21 Sep, 2022 @ 11:25pm 
Disregard my last comment. Literally can't use this without it exploding any build. lmao
Keratinocytes 6 Aug, 2022 @ 12:48am 
if someone needs a simple transmission based on this tool - here it is.
https://pastebin.com/Fd2mRJ95
Keratinocytes 3 Aug, 2022 @ 6:55am 
For me it's broke after dupblication :(
fittek 17 Jul, 2021 @ 4:48pm 
if i will do the transmission on singleplayer, will it work on multiplayer that font have this addon? (like make spherical)
DanilloEXE 31 May, 2021 @ 3:29pm 
Very nice
Joe Gaming 24 Apr, 2021 @ 6:25pm 
epic