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

[Request] HUD monitor

Started by sirdabalot, 03 November 2012 - 09:24 AM
sirdabalot #1
Posted 03 November 2012 - 10:24 AM
I'm not sure if I'm posting this in the right forum, but it seemed most appropriate.

So my idea is to create a peripheral/laptop/whatever that can draw text or pixels or whatever on your HUD, that way you can constantly view information like having some sort of radar or perhaps giving you alerts and such. The reason this should be created is that monitors are stationary, and laptops or other similar things need to be right clicked to open the GUI.

EDIT: Oh yeah, and I also think it should be able to interact with players, like events such as them sneaking or by moving their inventory about.

I have made this a request simply because java is very hard for me to understand, if I could I would create this myself.
KaoS #2
Posted 03 November 2012 - 10:30 AM
that sir is a great idea, constant rednet synchronization with your ccSensor arrays and mechanical systems for progress bars etc would be amazing. if the portable PC would be able to detect the exact rotation of the player you could even make complex functions to draw a dot right on their position relative to yours so you can essentially 'see' them through walls (oh yeah! predator style!!) would be amazing. I fully support this
sirdabalot #3
Posted 03 November 2012 - 10:40 AM
-snip-

Yeah, my first idea was to use this with CCSensors. I just wish I knew java.
ETHANATOR360 #4
Posted 05 November 2012 - 02:50 PM
i started java with the book beggining programing with java for dummies i havnt finished it but its worth looking into
faubiguy #5
Posted 06 November 2012 - 05:21 PM
I'm working on this right now. No guarantees on when (or if) it will be ready. It will add special goggles that will display updates from transmitters on its frequency, within range.
sirdabalot #6
Posted 07 November 2012 - 08:55 AM
I'm working on this right now. No guarantees on when (or if) it will be ready. It will add special goggles that will display updates from transmitters on its frequency, within range.

Epic! Possibly…
sirdabalot #7
Posted 07 November 2012 - 08:56 AM
i started java with the book beggining programing with java for dummies i havnt finished it but its worth looking into
I'll have a goosey.
faubiguy #8
Posted 08 November 2012 - 10:00 AM


Now I just need to add some textures, and it'll be ready.
KaoS #9
Posted 08 November 2012 - 10:17 AM
are you able to add text/colour blocks anywhere on the screen? that would make the interface truly useful. as well as if you could detect the player's rotation and position as before mentioned would turn this into marvel of possibilities
faubiguy #10
Posted 08 November 2012 - 10:34 AM
I probably could make it add color blocks anywhere on the screen, but I'd have to see how difficult it would be, and stop people from being able to spam displays with tons of boxes . As for detecting player position, this would be difficult, because there can be multiple players wearing displays on the same frequency.

Also I might add a function for making a beep alert sound.
KaoS #11
Posted 08 November 2012 - 10:48 AM
could you not just use a system using IDs like computers?
CastleMan2000 #12
Posted 08 November 2012 - 11:10 AM
This would be great, but only with something like goggles. Otherwise, people could spam other people.
faubiguy #13
Posted 08 November 2012 - 11:16 AM
Yes, it uses goggles. You could spam someone else ,but only if you know what frequency they're on. Also its only that text bar in the corner right now (I have no experience with OpenGL, but once Iearn a bit more I'll add the ability for up to 8 lines, boxes, or text boxes anywhere on the screen).
sirdabalot #14
Posted 08 November 2012 - 11:17 AM
Now I just need to add some textures, and it'll be ready.

S**t you did it! ENVY OVERLOAD!

Although I'm suprised no one thought of this before…
sirdabalot #15
Posted 08 November 2012 - 11:23 AM
I probably could make it add color blocks anywhere on the screen (up to max texture size of 256x256), but I'd have to see how difficult it would be, and stop people from being able to spam displays with tons of boxes . As for detecting player position, this would be difficult, because there can be multiple players wearing displays on the same frequency.

Also I might add a function for making a beep alert sound.

You mean like the paintutils drawpixel function? If so then yeah, that would be pretty amazing, and the beep alert I would go for, a la crysis alert system. =D
faubiguy #16
Posted 08 November 2012 - 11:24 AM
If anyone can make real textures for this, I'll use them (giving credit, of course). Otherwise I'll release it with my textures (which aren't pretty). I need the goggles item, the transmitter block, and the goggles armor on the player.
sirdabalot #17
Posted 09 November 2012 - 12:28 AM
@fabiguy

Where did you learn java?
Orwell #18
Posted 09 November 2012 - 02:44 AM
Funny thing, I started implementing this idea in a mod I'm creating as well (right before faubiguy posted that he was also working on it). But the concept differs a lot from faubiguy's, so there's no conflict here. :P/>/> I'll show some pics soon.
sirdabalot #19
Posted 09 November 2012 - 03:15 AM
Funny thing, I started implementing this idea in a mod I'm creating as well (right before faubiguy posted that he was also working on it). But the concept differs a lot from faubiguy's, so there's no conflict here. :P/>/> I'll show some pics soon.

Please do!

EDIT: Oh yeah, and where did you lean java too?
Orwell #20
Posted 09 November 2012 - 01:06 PM
I used to learn c++ by myself when I was younger. I'm studying computer science at university now, so I learn most programming stuff from courses and assignments.
sirdabalot #21
Posted 10 November 2012 - 01:12 AM
I used to learn c++ by myself when I was younger. I'm studying computer science at university now, so I learn most programming stuff from courses and assignments.

Dammit! C++ hurts me just as much a java. And I've done no programming on my course yet. :unsure:/>/>
faubiguy #22
Posted 10 November 2012 - 03:55 AM
I won't be able to get this done for a few days, but it'll probably be ready to release by the 13th.

On learning java, I just picked it up over time on the internet, until I could code decent java (I was already familiar with most of the syntax from learning basic c++ last summer).
sirdabalot #23
Posted 10 November 2012 - 05:18 AM
On learning java, I just picked it up over time on the internet, until I could code decent java (I was already familiar with most of the syntax from learning basic c++ last summer).

I just had another look and the syntax actually isn't too bad but it'll take me a while to get there.

And thats's one hell of an ETA, me likes.
faubiguy #24
Posted 13 November 2012 - 07:36 PM
I haven't been able to work on this much in the past few days, so no release on the 13th. I'll try to get it done when I have time.
sirdabalot #25
Posted 14 November 2012 - 07:09 AM
I haven't been able to work on this much in the past few days, so no release on the 13th. I'll try to get it done when I have time.

Pfft, I sure as hell didn't expect it to be done that quick. If you can, could you inform me of every big change you make?