For a long time now Vector has been a registered Wire data type but they aren't supported by any gates at all, and only the Vector Thruster and the Target Finder even support them. So I've written a selection of Vector gates that will hopefully prove useful to people, and maybe even cause more wire devices to support the Vector data type.
To install just download the attached Lua file and chuck it in the garrysmod\addons\wire\lua\autorun directory. To use, go to the Gate tool on the Q menu (these gates do not appear under the Wire - Control section because that would require modification of the wire gates STOOL file).
Arithmetic Operations
Vector Operations
- Add
- Subtract
- Negate
- Multiply/Divide by constant
- Identity
- Random
Comparison
- Dot/Cross Product
- Yaw/Pitch (Degree/Radian)
- Magnitude
- Normalise
Rates of Change
- Equal
- Inequal
- Less-than
- Less-than or Equal-to
- Greater-than
- Greater-than or Equal-to
Conversion
- Component Derivative
- Component Integral
Miscellaneous
- Conversion To/From Component Values
- Multiplexer
- Demultiplexer
- Latch
- D-latch
All comments and feedback are welcome. Enjoy!
EDIT: Removed download, get them from here instead.


LinkBack URL
About LinkBacks





Reply With Quote










Bookmarks