This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
M4sh3dP0t4t03's profile picture

mods that add new commands

Started by M4sh3dP0t4t03, 05 May 2013 - 11:04 PM
M4sh3dP0t4t03 #1
Posted 06 May 2013 - 01:04 AM
I know that a lot of other mods add new commands for cc(like reactor control for ic2). Is there anywhere a full list with all mods that have commands for cc?
LordIkol #2
Posted 06 May 2013 - 02:02 AM
The only "Mods" i know that add "Commands" to computercraft are peripherals and there is no list for them. If you use a peripheral like Reactor Control you have to check what code is needed to use it.
Dlcruz129 #3
Posted 06 May 2013 - 10:40 AM
Peripherals & Turtle Upgrades
M4sh3dP0t4t03 #4
Posted 07 May 2013 - 06:49 AM
But, as an example you can control missile launchers from ICBM via computercraft and it isn't a peripheral
LordIkol #5
Posted 07 May 2013 - 06:59 AM
The Mod itself is not a peripheral but they use the peripheral API to make it compatible with CC

http://voltzwiki.com/wiki/Missile_Launcher

Quote from the linked website:

The Launcher Control Panel implements the ComputerCraft Peripheral API and can be controlled by ComputerCraft Computers using the normal peripheral.wrap(SIDE) function. Currently the following methods are provided by the Launcher:
  • launch() - Fires the missile.
  • canLaunch() - Returns whether the launch platform is able to launch.
  • getMissile() - Returns the name of the loaded missile in the launcher platform or 'nil' if empty.
  • getFrequency() - Returns the currently configured frequency for the Laser Designator.
  • setFrequency(int freq) - Change the Laser Designator Frequency to freq.
  • getTarget() - Returns the current target as triple x, y, z.
  • setTarget(int x, int y, int z) - Set the new target.

Greets Loki
immibis #6
Posted 07 May 2013 - 09:28 AM
"the mod isn't a peripheral"? Peripherals are blocks not mods.