Tuning tools - LemADEC/WarpDrive GitHub Wiki
Tuning tools are used to link certain blocks together on different network parameters: Video channels, Beam frequencies and Control channels.
Those parameters can be adjusted through a static Tuning Fork, an adjustable Tuning Driver or (like most things in the mod) general LUA methods.
Cameras and monitors are linked through a wireless communication. Since we can have multiple camera operating at the same time, each of them needs to use a different Video channel to emit their signal. To view a specific camera on a monitor, ones needs to tune it to that Camera's Video channel. A Video channel value can be any integer number from 0 to 999999999, included.
The related LUA property is videoChannel.
Energy based weapons like Laser cannon and forcefields have an adjustable beam frequency from 1 to 65000, included. Default beam frequency is 0, which is invalid. Be aware, that 1420 is a special beam frequency as explained in the [Advanced tutorial](Laser setup (advanced)]. To pass through a forcefield with either a laser or a transporter room You will need to have the same frequency of the forcefield.
Depending on its beam frequency and involved technology, the beam color will change.
The related LUA property is beamFrequency.
Large complex machines like the [Large Hadron Collider](Large Hadron Collider) setup have component blocks fairly distant from each others. They interconnect remotely through a Control channel. The latest is an integer number from 0 to 999999999, included.
The related LUA property is controlChannel.
For early game, you can easily make a Tuning Fork to adjust your machines. Once crafted, the tool remains with one of the 16 predefined values.
You can produce a Tuning Fork using 2 Iron ingots, a Dye and a Nether quartz.
The dye defines the parameter values which can no longer be changed after crafting.
Right click a block to adjust it's main parameter.
Shift-right click a block to adjust it's secondary parameter.
Ennemy has an hard time hacking your systems when you use custom values for your remote controls. This can be achieved using Tuning Driver, reconfigurable at will. It's also the Doctor best tool, but that's another story for you know Who.
You can produce a Tuning Driver from an High pressure plate, a Diamond Crystal, a Memory Crystal and a Nether quartz.
Video channel is adjusted by crafting a Video Channel Tuning Driver with a Redstone and 7 dies.
Beam frequency is adjusted by crafting a Beam Frequency Tuning Driver with a Redstone and 4 dies.
Control channel is adjusted by crafting a Control Channel Tuning Driver with a Redstone and 7 dies.
Dyes colors and order have a direct influence on the resulting value, independently of the previous value. For example, using only black dies will set the minimum value of the parameter.
Right click a block to adjust its parameter.
Shift-right click a block to retrieve its current value. You can then reapply that value to other blocks as you extend your setup.
Right click in the air to change between the different parameters.
Creative beings are known to retrieve cloud values for their Tuning Drivers while crouching.
Using computers and basic LUA scripting, ones can connect to the block and adjust its value.
Temporarily place a Computer right under the block to configure.
Right click the computer to open it's console.
Open the LUA interpreter by typing the following command:
lua
To access the block, we need to open its wrap it. Type the command related to your computer:
laserCamera = peripheral.wrap("top")
If the block is another side than top, use the related keyword: top, bottom, back, front, left, right, etc.
Then we setup the parameter through the API:
laserCamera.beamFrequency(45000)
laserCamera.videoChannel(123)
Right click the block with an empty hand to confirm its setup.
Temporarily place a Computer next to the block to configure.
Right click the computer to open it's console.
Open the LUA interpreter by typing the following command:
lua
To access the block, we need to open its proxy (OpenComputers). Type the command related to your computer:
laserCamera = component.warpDriveLaser
If it's not a laser, you can just type "component.w", then press the Tabulation key; you may also refer to the peripheral names.
Then we setup the parameter through the API:
laserCamera.beamFrequency(45000)
laserCamera.videoChannel(123)
Right click the block with an empty hand to confirm its setup.