[SMP] [MC 1.2.5 | CC 1.33 / 1.41] Touch Pe...
xuma202 22 Jul 2012
Intruduction:
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:
v 1.1.1
xuma202
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
Pinkishu 22 Jul 2012
Heh nice />
I still think mouse is completely unrealted to touchscreens but ohwell
Now we just need SMP and maybe a bukkit port
I still think mouse is completely unrealted to touchscreens but ohwell
Now we just need SMP and maybe a bukkit port
xuma202 22 Jul 2012
xuma202 22 Jul 2012
xuma202 26 Jul 2012
In the config file that you can find at .minecraft/config the file is called mod_touchPen or similar
xuma202 26 Jul 2012
Sorry did not meant to doublepost.
EDIT: Status update. New version is out!!
Edited by xuma202, 28 July 2012 - 05:09 PM.
EDIT: Status update. New version is out!!
Edited by xuma202, 28 July 2012 - 05:09 PM.
xuma202 28 Jul 2012
Happy to announce SMP support update!!! Get it before it costs money (will never be commercial)
xuma202 29 Jul 2012
DarkSnake 29 Jul 2012
ArchAngel075 18 Aug 2012
I will like to point out that i will attempt to use this with my WIP LCD TV idea(search for my post in ASK a pro, im stuck on some parts of project)
Would be useful since users can more visually see what pixel will be lighted up(plus i can then add all the pixels binary vlaues instead of using a calculator on my desk XD)
Thanks, i just hope a bukkit port is made eventually!
Would be useful since users can more visually see what pixel will be lighted up(plus i can then add all the pixels binary vlaues instead of using a calculator on my desk XD)
Thanks, i just hope a bukkit port is made eventually!
xuma202 16 Sep 2012
No there will be no bukit port. At least not by me.
If someone is interested in porting please send me a PM.
If someone is interested in porting please send me a PM.