[Mod] Compass [0.5] [compass]

User avatar
DarthNihilus
Member
Posts: 14
Joined: Fri Aug 02, 2013 10:45

by DarthNihilus » Post

Evergreen, actually I was comparing mediafire to the rapidshare, turbolink and such, where the waiting time is not
a 1 second difference
but 90-270 minutes + capcha + limited dl speed. :)
Last edited by DarthNihilus on Wed Aug 07, 2013 11:46, edited 1 time in total.

User avatar
Evergreen
Member
Posts: 2135
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen
Location: A forest in the midwest
Contact:

by Evergreen » Post

DarthNihilus wrote:Evergreen, actually I was comparing mediafire to the rapidshare, turbolink and such, where the waiting time is not
a 1 second difference
but 90-270 minutes + capcha + limited dl speed. :)
Whoops, didn't notice that he wasn't using github. I think dropbox is best for this then.
Back from the dead!

Rhys
Member
Posts: 379
Joined: Wed May 22, 2013 15:22

by Rhys » Post

Amazing! Reminds me of Minecraft's Compass. Good work! :)

- Rhys

User avatar
BrunoMine
Member
Posts: 1072
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine
Location: SP-Brasil
Contact:

by BrunoMine » Post

On a server. He employee at each player individually?
Point to the other home player?
My small square universe under construction ... Minemacro
Comunidade Minetest Brasil
www.minetestbrasil.com

User avatar
TeTpaAka
Member
Posts: 141
Joined: Sat Dec 28, 2013 21:54

by TeTpaAka » Post

I added the ability to set your own markers where the compass should point at. See link

bell07
Member
Posts: 587
Joined: Sun Sep 04, 2016 15:15
GitHub: bell07

Re: [Mod] Compass [0.5] [compass]

by bell07 » Post

I updated the mod and uploaded them to github
https://github.com/bell07/minetest-compass

The mod is beautiful and should be maintained by minetest-mods team. I know there are some enhanced forks but I like the kiss in this case (https://en.wikipedia.org/wiki/KISS_principle) ;)

User avatar
texmex
Member
Posts: 1750
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex

Re: [Mod] Compass [0.5] [compass]

by texmex » Post

bell07 wrote:I updated the mod and uploaded them to github
https://github.com/bell07/minetest-compass

The mod is beautiful and should be maintained by minetest-mods team. I know there are some enhanced forks but I like the kiss in this case (https://en.wikipedia.org/wiki/KISS_principle) ;)
Excellent, bell07!
Mods | Support Mesehub: bc1qluuests9rxmlnvpjrhsnyjg9ucwy6z3r0y3srw

User avatar
burli
Member
Posts: 1641
Joined: Fri Apr 10, 2015 13:18

Re: [Mod] Compass [0.5] [compass]

by burli » Post

This compass mod has one problem. I points to the current spawn point. But if you discover the map and you sleep at night, the compass will point to your last night camp and not to your home. It is pretty useless

User avatar
Andrey01
Member
Posts: 2371
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

Re: [Mod] Compass [0.5] [compass]

by Andrey01 » Post

You have nice invented!

bell07
Member
Posts: 587
Joined: Sun Sep 04, 2016 15:15
GitHub: bell07

Re: [Mod] Compass [0.5] [compass]

by bell07 » Post

I am unsure how it was before, but my version prefers the sethome coordinates. If you set your home using /sethome the compass will point to this coordinates ignoring to the beds spawn point. The priority order is 1: sethome, 2: bed-spawnpoint, 3:configured static_spawnpoint, and 4:(0,0,0)
If you need an other order, just modify the "get_spawn" function in your copy.

User avatar
burli
Member
Posts: 1641
Joined: Fri Apr 10, 2015 13:18

Re: [Mod] Compass [0.5] [compass]

by burli » Post

Ah, ok. Didn't know that /sethome also works. But don't you need privs for /sethome?

Would be cool to be able to switch between /sethome and bed spawn point

bell07
Member
Posts: 587
Joined: Sun Sep 04, 2016 15:15
GitHub: bell07

Re: [Mod] Compass [0.5] [compass]

by bell07 » Post

My first idea was to add different compasses (with different crafting recipes). But currently not really enthusiastic to do it. May I need further textures that I cannot create.

The idea is:

Iron compass => Points to the north that means allways to the +x direction
Golden compass => World centre => 0,0,0
Mese compass => Live source that means spawnpoint (=bed)
Obsidian compass => homeland => sethome coordinates

Or do you miss the MC-Way compass, to save the first spawn position? This will be a ???-compass?
Brainstorming welcome. One restriction from my site: it should be usable without reading operation manual, like the current one.

User avatar
burli
Member
Posts: 1641
Joined: Fri Apr 10, 2015 13:18

Re: [Mod] Compass [0.5] [compass]

by burli » Post

How about a compass that points to the coordinate there it was crafted? Then you don't need /sethome priv

bell07
Member
Posts: 587
Joined: Sun Sep 04, 2016 15:15
GitHub: bell07

Re: [Mod] Compass [0.5] [compass]

by bell07 » Post

Challenge accepted :D

Code: Select all

 $ cat settingtypes.txt 
# Where the compass should point
# default = points to the "static_spawnpoint" setting coordinates or to 0,0,0 if nothing set
# sethome = points to the players home from sethome mod, default as fallback
# beds = points to the players spawn point trough the beds mod, default as fallback
# origin = points to the individual compass origin that means the place the compass was crafted or picked first time
compass_mode (Compass Mode) string default
Try the last changes, just set the compass_mode to origin in your minetest.conf ;-)
I skipped the idea of different compasses, the compasses should have server-wide the same behaviour, so it is a server setting for now.

User avatar
burli
Member
Posts: 1641
Joined: Fri Apr 10, 2015 13:18

Re: [Mod] Compass [0.5] [compass]

by burli » Post

origin doesn't seem to work. The compass always points to 0, 0, 0

Edit: works now.

User avatar
texmex
Member
Posts: 1750
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex

Re: [Mod] Compass [0.5] [compass]

by texmex » Post

With the different compass_modes now present the logical next feature I'm thinking of is either a compass item with multiple needles pointing to those different positions at the same time.

Like this:
+ Spoiler
Mods | Support Mesehub: bc1qluuests9rxmlnvpjrhsnyjg9ucwy6z3r0y3srw

bell07
Member
Posts: 587
Joined: Sun Sep 04, 2016 15:15
GitHub: bell07

Re: [Mod] Compass [0.5] [compass]

by bell07 » Post

texmex wrote:With the different compass_modes now present the logical next feature I'm thinking of is either a compass item with multiple needles pointing to those different positions at the same time.
This should be unnecessarily complicated in implementation since you need to add an hidden Item for each combinations (8x8x8=?)
But you can just add 3x compass in origin mode to your wielded bar ;)
+ Spoiler
You are right, one of the next changes should be to allow different modes at the same time (stored in compass). But I am waiting for MT-0.4.16 because of some features missed in current stable I like to use.
Attachments
screenshot_20170508_083730.png
(106.73 KiB) Not downloaded yet

User avatar
texmex
Member
Posts: 1750
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex

Re: [Mod] Compass [0.5] [compass]

by texmex » Post

But you can just add 3x compass in origin mode to your wielded bar ;)
Of course! I should think more KISS.
Mods | Support Mesehub: bc1qluuests9rxmlnvpjrhsnyjg9ucwy6z3r0y3srw

bell07
Member
Posts: 587
Joined: Sun Sep 04, 2016 15:15
GitHub: bell07

Re: [Mod] Compass [0.5] [compass]

by bell07 » Post

Just for reference, I renamed my fork to "ccompass" (= Calibrated compass) and started an own thread for the fork [url]athttps://forum.minetest.net/viewtopic.php?f=9&t=17881[/url]. The last "compass" version before renaming (with the "origin" mode) is still available in "legacy" branch.
I did the renaming because of cleanup the beds, sethome and origin modes because of not needed anymore in my version :-)

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests