Page 1 of 2

[Mod] Player Radar - hud rehub [player_radar] [0.2]

PostPosted: Tue Feb 19, 2013 21:16
by pandaro
Player Radar v0.2...

[h]Need heavy test. Tell me if you can use on your public server, i will join![/h]


code:GPLv3
pictures:WTFPL
depends:default

THIS MOD ADD:
-RADAR:A block that shows the objects within a radius(the center of radious is the position of the RADAR BLOCK).
-PORTABLE RADAR:A item that show objects within a radius(the center of radious is the position of the PLAYER).
-PORTABLE RADAR RECEIVER:A item that show objects within a radious(the center of radious is the position of the RADAR BLOCK).
-RADAR HUD:A item that show objects inside a radious(the center of radious is the position of the PLAYER) through a hud display.

How to:
RADAR:
-Place a radar on ground, right click on it for open radar screen.The radar beam is determined by its y coordinate(y/2).
PORTABLE RADAR:
-use it only.
PORTABLE RADAR RECEIVER:
-To connect a receiver to a radar, you have to click with the PORTABLE RECEIVER with the left mouse button over a RADAR BLOCK, now use it to simply press the left mouse button.
RADAR HUD:
-use it simply switch on and off

CRAFTING:
O=empty slot
S=steelblock
M=Mese Crystal
R=Radar Block

RADAR BLOCK:
OOO
OMO
SSS

PORTABLE_RADAR:
OMO
OMO
ORO

PORTABLE RADAR RECEIVER:
OMO
ORO
OMO

RADAR HUD:
ORO
OMO
OMO

Some screenshot
Image
Image
Image
Download and try!
sources
download

TO DO:?
map backgroud

(someone will use it?)

PostPosted: Tue Feb 19, 2013 22:11
by jin_xi
nice idea. stealth armor anyone? :)

PostPosted: Tue Feb 19, 2013 22:13
by Likwid H-Craft
+58026!

I was going ask if someone can make something, likes now that you made it I don't have to!

PostPosted: Tue Feb 19, 2013 22:22
by pandaro
someone can try this mod on a server?

PostPosted: Tue Feb 19, 2013 22:26
by BZab
Sounds good +1

Stealth armor?
Must be expensive (Maybe mese blocks? or mithril from moreores?)

@EDOT: could also show mobs ;)

PostPosted: Tue Feb 19, 2013 22:33
by pandaro
Stealth armor?
i try

Must be expensive (Maybe mese blocks? or mithril from moreores?)
is easy to modify the crafting
could also show mobs ;)
only the closest to the radar

PostPosted: Tue Feb 19, 2013 22:51
by lord_james
Good job! Could it be possible use a special tool instead of a node? I think it must be cool a personal radar and better for the gameplay that radar isn't infinite.

PostPosted: Tue Feb 19, 2013 22:58
by pandaro
The radar is not infinite. He has a radius equal to half the height at which it is placed. Therefore requires a very high tower or something simile.A portable short range radar is not so easy to do.

PostPosted: Tue Feb 19, 2013 23:14
by BZab
More work to do - but maybe, using AdamPilz's map - it could as background use servers map?

PostPosted: Wed Feb 20, 2013 01:57
by lkjoel
This is really cool! I love the graphics :D

PostPosted: Wed Feb 20, 2013 02:45
by Sokomine
Intresting idea. If it could be applied to a map as well that would be great!

PostPosted: Wed Feb 20, 2013 08:38
by pandaro
applied to a map
... i like this idea... not today but i try!

PostPosted: Wed Feb 20, 2013 11:44
by BorisGrishenko
This will be good for security reasons

PostPosted: Sun Feb 24, 2013 01:23
by jordan4ibanez
Come on down to my server to test it.

PostPosted: Sun Feb 24, 2013 01:26
by Traxie21
How about make it emit a mesecons singnal when a player is in x range?

PostPosted: Mon Feb 25, 2013 07:11
by stcrafts
NICE!
I want to use it in PVP game




(Sorry, My English is very poor crying55555555555 )

PostPosted: Mon Feb 25, 2013 09:15
by 4aiman
WOOT!

To my mind this radar should be extremely difficult to get, though ;)
Also, anti-radar would be nice.
Also, players' names shouldn't be visible from any distance if this mod is installed.
Also, different colors for different "commands" would be nice ;)
Can be useful if send_chat_all would be replaced by broadcast_within_radius (I and several other peoples made mods for that). So one would check radar and tell others if there are a spy.
Regards!

PostPosted: Mon Mar 11, 2013 17:34
by cactuz_pl
Great mod!

PostPosted: Tue Mar 12, 2013 01:00
by MisterBananas
very cool

PostPosted: Tue Mar 12, 2013 13:56
by cactuz_pl
What do you think about antennas?

Example:

| <- End of antenna, y=100
|
|
|
O <- Radar, y=0
Range: 100/2= 50 units

...or...

Many kinds of antennas:

Example:

| <- End of antenna, y=4 (4 antenna nodes)
|
|
|
O <- Radar, y=0
Each steel antenna can add 3 units to range, mese antenna 10.

Range:
For steel: 4*3=12 units
For mese: 4*10=40 units

PostPosted: Wed Mar 13, 2013 08:04
by pandaro
I will consider the antenna hypothesis. Now working to bring the code on github, this will make it more accessible.

PostPosted: Wed Mar 13, 2013 13:30
by LionLAD
ok ima try it on my server

ip: 65.95.68.215
port: 30000(default)
you can also find it on the public list called LaughAllday's server

PostPosted: Mon Apr 29, 2013 15:07
by Idanwin
Love it!
how is progress coming along?

PostPosted: Tue Apr 30, 2013 06:50
by pandaro
Idanwin wrote:how is progress coming along?


comming soon

PostPosted: Sun Jul 07, 2013 20:34
by Dan Duncombe
I have made a couple of possible designs for 3d nodeboxes as radar:
Vote which you think is best. You will need to test them in-game to see what they look like.

1)
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
        fixed = {
            {-0.187500,-0.500000,-0.187500,0.187500,-0.125000,0.187500},
            {-0.062500,-0.500000,-0.062500,0.062500,0.500000,0.062500},
            {-0.125000,0.187500,-0.125000,0.125000,0.500000,0.125000},
            {-0.187500,0.062500,-0.187500,0.187500,0.187500,0.187500},
            {-0.187500,0.375000,-0.187500,0.187500,0.500000,0.187500},
            {-0.250000,-0.500000,-0.250000,0.250000,-0.187500,0.250000},
            {-0.312500,-0.500000,-0.312500,0.312500,-0.250000,0.312500},
            {-0.437500,-0.500000,-0.437500,-0.250000,-0.125000,-0.250000},
            {0.250000,-0.500000,0.250000,0.431218,-0.125000,0.423232},
            {-0.437500,-0.500000,0.250000,-0.250000,-0.125000,0.415247},
            {0.250000,-0.500000,-0.437500,0.431218,-0.187500,-0.250000},
        },


2)
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
        fixed = {
            {-0.250000,-0.500000,-0.500000,0.312500,-0.312500,0.500000},
            {-0.500000,-0.500000,-0.250000,0.500000,-0.312500,0.250000},
            {-0.187500,-0.500000,-0.187500,0.187500,-0.062500,0.187500},
            {-0.062500,-0.187500,-0.500000,0.062500,0.500000,0.500000},
            {-0.500000,-0.187500,-0.062500,0.500000,0.500000,0.062500},
        },


3)
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
    fixed = {
        {-0.437500,-0.500000,-0.437500,0.429302,-0.375000,0.439523},
        {-0.125000,-0.500000,-0.125000,0.125000,0.500000,0.125000},
        {-0.500000,-0.250000,-0.500000,0.500000,-0.200000,0.500000},
        {-0.500000,-0.250000,0.375000,-0.375000,0.312500,0.500000},
        {-0.500000,-0.250000,-0.500000,-0.375000,0.375000,-0.375000},
        {0.375000,-0.250000,0.375000,0.500000,0.375000,0.500000},
        {0.375000,-0.250000,-0.500000,0.500000,0.375000,-0.375000},
    },

PostPosted: Mon Jul 08, 2013 10:58
by pandaro
Dan Duncombe wrote:
I have made a couple of possible designs for 3d nodeboxes as radar:

Watched the nodes that you gave me, actually I was thinking of switching to another model, but I would always remain a face big as a block on which were represented the display of a radar; Also thought to add an antenna that rotates above the display block. I hope I made it clear, in the meantime, thank you anyway because your nodebox are more than what I could have done alone.

PostPosted: Mon Jul 08, 2013 14:57
by Dan Duncombe
I don't mind at all, I just did them for fun to see what I could do, and thought they looked a little like radar, so posted them on this thread.

PostPosted: Fri Jul 12, 2013 20:56
by mauvebic
You could combine this with the signs mod (xyz/pa) to make a non-formspec radar. You could use punch or right click to update the positions, and throw in a ping sound.

PostPosted: Thu Dec 26, 2013 13:57
by pandaro
Player radar 0.2 update

ADD:
-PORTABLE RADAR:A item that show objects within a radius(the center of radious is the position of the PLAYER).
-PORTABLE RADAR RECEIVER:A item that show objects within a radious(the center of radious is the position of the RADAR BLOCK).
-RADAR HUD:A item that show objects inside a radious(the center of radious is the position of the PLAYER) through a hud display.

PostPosted: Thu Dec 26, 2013 22:01
by Froggy
There's a bit of a problem with this. Since the range of the radar is always going to be half the height, you won't be able to see players on the ground level of the map if you try to build a large radar tower. The range should be extended, or maybe made into a tall, rectangular shape, although that may be an awkward radar.

Another thing about it is that when looking at the radar, it's telling me how angry it is.
[spoiler]Image[/spoiler]