A few days ago Pinkishu suggested Touch Monitors (http://www.computerc...creen-monitors/). But since dan did't wanted the Mouse In ComputerCraft I made a peripheral. Because I can't recode the Monitor itself I made Touch Pens that you can use on a Monitor.
And now it's there the port to SMP!!!!
Screenshots:
All Screenshots
How to use:
1. Craft a Pen Dock and place it next to a Computer
2. Add a Monitor using addMonitor(side) side is the side the Monitor is attached to the Computer ex. addMonitor("left")
3. Remove a Monitor with removeMonitor(side)
4. When you now right click the Monitor with a Touch Pen the Pen Dock will queue an event for the computer:
Parameter Description
1/Event Name string "Monitor_touched"
2 string side (to identify the Monitor)
3 number xIndex (the xIndex of the Block that was touched (will be 0 for the leftmost Block))
4 number yIndex (the yIndex of the Block that was touched (will be 0 for the topmost Block))
5 number hitX (0 <= hitX < 1)
6 number hitY (0 <= hitY < 1)
5. When you've added a Monitor you can still resize it!
6. When the Computer reboots all added Monitors will be lost!
For use with Peripheral Cables:
If not both (Monitor and Pen Dock) are attached to a Computer directly use addMonitorByXYZ(x, y, z, side)
Put in the coordinates of the Monitor instead of x,y,z. You have to do this once for each Monitor even if the Monitor is bigger than 1x1 Blocks!
You can get the Coordinates of a Monitor by right clicking a Monitor with a Touch Pen while sneaking.
Download:
v 1.1.1 [MC 1.2.5 | CC 1.33 / CC 1.41] Client: mediafire Server: mediafire
v 1.1.0 [MC 1.2.5 | CC 1.33 / CC 1.41] Client: mediafire Server: mediafire
v 1.0.0 [MC 1.2.5 | CC 1.33 / CC 1.41] Client: mediafire
Installation:
Version 1.1.0+: You can put the zip directly into the mods folder.
Version 1.0.0: Will have to be placed in the mods folder unpacked.
Requirements:
- Computer Craft
- Minecraft Forge 3.3.7.135 or later
v 1.1.1
- Fixed a bug that caused the mod to ignore changes in the *.cfg file
- Ported to SMP
- Now only using Forge
- Works with Peripheral Cables now
- New Textures
- Pens will only work if not more than 50Blocks away from the Pen Dock.
- Warning: changed ids and the way config file gets read. Backup your worlds!!
- Initial release
- Update to MC 1.3.2
- Better support for Peripheral Cables. No more need to transfer Coordinates manually.
- No known bug in latest version
xuma202