This is a read-only snapshot of the ComputerCraft forums,
taken in April 2020.
Printed banners
Started by acepilot1122, 09 November 2014 - 07:33 PMPosted 09 November 2014 - 08:33 PM
I would love the ability to print banners in game from the paint program. this however would require printers to be completely overhauled (unless you only want monochrome banner, which would sorta kill the point of printing a banner)… A CYMK printer for example would be perfect for this… such a printer would also be useful in other ways (for example letting you print images to paper, or having multiple text colours in one document)… also while im here, what happened to treasure disks being available in the creative inventory?
Posted 10 November 2014 - 12:18 AM
I'm fairly certain all of the sixteen different inks in Minecraft can be used in printing pages. You'll simply need to set up a colored printer by changing out the ink it uses and re-printing to get different colors onto the page.
Posted 10 November 2014 - 01:07 AM
you have to use endPage first. so you print in one colour, end the page, put the paper back in, and print in the next colour, repeating until desired outcome.
Posted 10 November 2014 - 05:04 PM
I hate to sound pedantic, but do you not think that is a lot of effort to do? im not saying theres anything wrong with it, but there are quite a few limitations… plus im sure quite a lot of people would agree that the ability to print banners would be cool…
Posted 10 November 2014 - 05:14 PM
There are lots of things that ComputerCraft makes possible that are cool to do/see, but take significant effort to set up. This is mostly a programmatic challenge, and can be accomplished with the tools available. I don't think that it would be unreasonable to write the code for something like this. I believe it's already been done, in fact!
Posted 14 November 2014 - 08:23 PM
that may be, but it is still off the topic of this post… I was saying about adding printable banners into the game… this however would be very tedious to do if you had to print just one colour at a time… if you were to use all 16 colours on a banner, it would take ages to design something, print one colour, go back and place the pixels of a different colour, print again, etc… plus the chances of error doing it this way are extremely high… it could be done if such banners were added but changing the printer mechanics would simplify it a lot, albeit at the cost of rewriting the api… i thought the whole point of this mod was to add programmable computers that are easy to understand and use? i hope that didn't come across as arrogant… i just feel that we're all missing the point here…
Posted 14 November 2014 - 10:08 PM
Personally I reckon programming's about "problem solving" - in a "you have to solve problems" kinda way, as opposed to a "it'll solve your problems" kinda way. Really it works out as a bit of both - but it's more than a fair trade! ;)/> And surely ComputerCraft is a mod about writing your own programs, yeah?
That is to say, if it's possible to script up a solution - like this, for example - then why hardcode one?
Granted, Dan has been known to pre-solve these sort of problems (eg - rednet, multishell, and more recently, turtle.inspect()), so we can't say it won't happen.
It may even be that we're a little unclear on what you mean by "printed banners". How does what's available now differ from what you're talking about?
That is to say, if it's possible to script up a solution - like this, for example - then why hardcode one?
Granted, Dan has been known to pre-solve these sort of problems (eg - rednet, multishell, and more recently, turtle.inspect()), so we can't say it won't happen.
It may even be that we're a little unclear on what you mean by "printed banners". How does what's available now differ from what you're talking about?
Posted 14 November 2014 - 10:57 PM
In minecraft version 1.8, you can craft banners. im suggesting these could be printed using computercraft in the next update to it… http://minecraft.gamepedia.com/Banner I just assumed everyone would understand… I hope this clears it up
Posted 14 November 2014 - 11:45 PM
personally I completely understand what you mean, but there's not a problem that you think there is.
Assume there was support for it right now, it would be dealt with the same way as with paper… If you want 16 colours on it all you need is to reload it 16 times, if you want 2 colours, reload twice. You can use setCursorPos print out all the pixels you need for that colour, finish the page, put it back in, and repeat for the next colour, it's not overly tedious.
Assume there was support for it right now, it would be dealt with the same way as with paper… If you want 16 colours on it all you need is to reload it 16 times, if you want 2 colours, reload twice. You can use setCursorPos print out all the pixels you need for that colour, finish the page, put it back in, and repeat for the next colour, it's not overly tedious.
Posted 16 November 2014 - 03:29 PM
I guess… ok lets forget the whole thing about rewriting the printer api… printed banners in general… good idea?
Posted 16 November 2014 - 10:53 PM
I suppose it'd be a cool feature, but looking at the current set of banners, I'm not sure it's feasible. ComputerCraft deals with characters only. Banners seem to deal with "raw pixel data" - you'd need an entirely new API in order to draw on them.
I suppose you could get a similar effect to banners by getting a turtle to write on a sign. Not sure if they can do colour. If not, then that's certainly something I'd like to see added! You don't even need ink to write on signs…
I suppose you could get a similar effect to banners by getting a turtle to write on a sign. Not sure if they can do colour. If not, then that's certainly something I'd like to see added! You don't even need ink to write on signs…
Posted 16 November 2014 - 11:02 PM
That being said, I feel this this bridge will be crossed when the 1.8 update comes around.
Posted 17 November 2014 - 01:38 AM
I'd agree with banner printing in general, definitely.
Posted 17 November 2014 - 04:53 AM
Assuming that you would be printing 'vanilla' banners and not a modded per pixel accessible type that CC would add,
Banners use patterns not raw pixel data, so the printing would probably need to be something like:
Somethings that would need to be considered are:
In game you are limited to 6 patterns max, but they can have more if using commands.
And some patterns require special items for the patterns,
e.g. Bricks, creeper heads, wither skulls, daisies, golden apples.
Banners use patterns not raw pixel data, so the printing would probably need to be something like:
banner.printPattern(pattern.base_gradient)
(Using names from: http://minecraft.gamepedia.com/Banner)Somethings that would need to be considered are:
In game you are limited to 6 patterns max, but they can have more if using commands.
And some patterns require special items for the patterns,
e.g. Bricks, creeper heads, wither skulls, daisies, golden apples.
Posted 18 November 2014 - 04:30 PM
would it not be kinda pointless to print vanilla banners?
Posted 18 November 2014 - 04:58 PM
Not really. What if you wanted a turtle to build you a castle, complete with a range of banners on the towers?would it not be kinda pointless to print vanilla banners?
Posted 18 November 2014 - 07:51 PM
well I guess… but pixel data would be more useful would it not?
Posted 18 November 2014 - 11:23 PM
Then the question comes would these per-pixel banners be accessible to their actual pixels, or use large rectangular 'pixels' like CC computers and monitors do.
Because actual banners are 40px tall and 20px wide.
Because you're going to have a tough time designing something that's 40 square pixels tall on a 19 rectangular pixel tall terminal.
Even if you designed them rotated 90 degrees, the rotated banner is still too 'tall', and your proportions would be out of whack because of square vs rectangular pixels.
Because actual banners are 40px tall and 20px wide.
Because you're going to have a tough time designing something that's 40 square pixels tall on a 19 rectangular pixel tall terminal.
Even if you designed them rotated 90 degrees, the rotated banner is still too 'tall', and your proportions would be out of whack because of square vs rectangular pixels.
Posted 19 November 2014 - 08:48 PM
I was thinking rectangular pixels, but a lower res… or maybe you could use a monitor to get the extra pixels youd need?
Posted 15 December 2014 - 02:09 PM
This is actually a pretty cool suggestion. I haven't played Minecraft, let alone CC, in a couple months, but this would make it worth playing again, just to mess around with printing centers and stuff. I've always wanted to make an economy on a Minecraft server; this would be the perfect chance to design a "Copy and Print Center" (I work at Staples, don't judge my terminology) and sell print jobs.