Garry's Mod

Garry's Mod

114 ratings
Wire for gTerminal
   
Award
Favorite
Favorited
Unfavorite
Type: Tool, Addon
File Size
Posted
Updated
0.003 MB
Feb 28, 2017 @ 9:32am
Mar 3, 2017 @ 10:19am
2 Change Notes ( view )

Subscribe to download
Wire for gTerminal

In 1 collection by BusterDash
MultiplexerSandboxServerContent
16 items
Description
With this mod you can make the essential connection between Wiremod and gTerminal.

The system utilizes an input/output device to relay data strings between the gTerminal and Wiremod. If desired, multiple I/O devices can be used; however, gTerminal can only communicate with the nearest I/O device. If a different I/O device is desired to communicate with, move the different I/O device or the terminal closer together then run the claim command. Its quirky, but allows you to be creative.

The device can be found in the Garry's Mod spawnlist under the entities tab next to the gTerminal Computer.

Contents:
-One genuine gTerminal operating system. (WIOS)
-I/O device for gTerminal.

Requirements:
-Wiremod
-gTerminal or gTerminal V2

Setup:
1.) Create a terminal entity.
2.) Terminal -> :os install wios
3.) Reboot
4.) Create I/O device entity.
5.) Terminal -> :claim

WIOS Commands:
:gid -> Returns terminal entity ID number.
:claim -> Claims an unclaimed I/O device.
:claim override -> Claims a previously claimed I/O device. //Useful for hacking.
:set A <string> -> Sets output A to <string>.
:set B <string> -> Sets output B to <string>.
:get -> Returns data from input stream A and input stream B.
:get A -> Returns data from only input stream A.
:get B -> Returns data from only input stream B.
:pass -> Sets terminal password. Different from :setpass because a gT bug causes :setpass to execute :set.

Additional Functionality:
I have also written an e2 script in the event that you want to execute user-defined functions on the gTerminal. With it, you can call functions by executing a command like :set A add_val(23,53), it will then return the result through the :get command. There cannot be spaces within your function call.

The script can be downloaded here.[diode.me.ht]
Save this file to steamapps\common\GarrysMod\garrysmod\data\expression2.
Popular Discussions View All (1)
3
Sep 8, 2017 @ 2:49pm
add/remove input/output
JohnWeak
< >
17 Comments
SF1NX Mar 13 @ 5:51am 
Well I did that. I'm using WiOS and I have my device connected but after I set the values I can no longer see them inside the terminal itself.
BusterDash  [author] Mar 12 @ 8:29pm 
@Planet Garfield, I tested the system and had no issues. Make sure your inputs and outputs are strings, and that WIOS is installed. Be sure the you have used the claim command to claim the IO Device on the terminal
BusterDash  [author] Mar 11 @ 12:18pm 
@Planet Garfield, will look into after work. I haven't had to do any maintenance on it in three years so I could imagine its due.
SF1NX Mar 11 @ 5:42am 
Hi! The :get command isn't working properly. I thought it was a problem with the :set command, but after I plugged in a monitor, I found out that it was the :get command. The values are set correctly, however when trying to get the values, it doesn't show anything on the terminal itself.
BusterDash  [author] Jun 7, 2019 @ 3:59pm 
@Misuteri Kenshi, Ah perfect. I was going to say that it seems to be working alright for me.
Misuteri Kenshi Jun 7, 2019 @ 3:53pm 
@BusterDash Never mind, it's used on a server that I frequently play on and the reason for it not working was that the entity was set to the world instead of player assigned, thus not being able to work properly. Nothing wrong on the mods end.
BusterDash  [author] Jun 7, 2019 @ 3:48pm 
@Misuteri Kenshi, Could have been broken somehow, I'll look into it and see if I can help you.
Misuteri Kenshi Jun 6, 2019 @ 9:46am 
I'm unable to get the wire modem to wire to anything. I can scroll the mouse up and down to choose different ones but it won't actually allow me to click on either inputs. Same goes for outputs.
My Summer Car (Trump 2024) Aug 17, 2018 @ 12:05am 
I just realized you know the hitchikers guide.
BusterDash  [author] Jul 8, 2018 @ 2:12pm 
@nicobee004, no its a full fledged addon, but there is also an e2 chip for additional functionality.