Garry's Mod

Garry's Mod

41 个评价
Transmission Tool
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 建筑, 写实
文件大小
发表于
更新日期
24.204 KB
2021 年 4 月 17 日 上午 11:21
2021 年 5 月 6 日 上午 10:34
8 项改动说明 ( 查看 )

订阅以下载
Transmission Tool

在 WFL 的 1 个合集中
AVBS Collection
49 件物品
描述
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 条留言
SniperGnome 2022 年 12 月 29 日 下午 6:01 
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 2022 年 12 月 29 日 下午 6:01 
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 2022 年 12 月 29 日 下午 6:01 
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 2022 年 10 月 23 日 下午 5:44 
[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 2022 年 9 月 21 日 下午 11:25 
Disregard my last comment. Literally can't use this without it exploding any build. lmao
Keratinocytes 2022 年 8 月 6 日 上午 12:48 
if someone needs a simple transmission based on this tool - here it is.
https://pastebin.com/Fd2mRJ95
Keratinocytes 2022 年 8 月 3 日 上午 6:55 
For me it's broke after dupblication :(
Fittek 2021 年 7 月 17 日 下午 4:48 
if i will do the transmission on singleplayer, will it work on multiplayer that font have this addon? (like make spherical)
DanilloEXE 2021 年 5 月 31 日 下午 3:29 
Very nice
Joe Gaming 2021 年 4 月 24 日 下午 6:25 
epic