[Mod] Compass [0.5] [compass]

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

by DarthNihilus » Wed Aug 07, 2013 11:44

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
Location: A forest in the midwest
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Wed Aug 07, 2013 12:10

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 » Wed Aug 07, 2013 12:17

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

- Rhys
 

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

by BrunoMine » Mon Aug 26, 2013 18:37

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
 

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

by TeTpaAka » Mon Dec 30, 2013 21:34

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

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

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

by bell07 » Mon Apr 10, 2017 22:27

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: 1590
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex

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

by texmex » Tue Apr 11, 2017 14:32

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!
 

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

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

by burli » Tue Apr 11, 2017 15:46

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: 2311
Joined: Wed Oct 19, 2016 15:18
Location: Russia, Moscow
GitHub: Andrey2470T
In-game: Andrey01
 

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

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

by bell07 » Tue Apr 11, 2017 18:38

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 » Tue Apr 11, 2017 19:05

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: 575
Joined: Sun Sep 04, 2016 15:15
GitHub: bell07

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

by bell07 » Tue Apr 11, 2017 19:31

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 » Tue Apr 11, 2017 19:43

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

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

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

by bell07 » Tue Apr 11, 2017 20:57

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 » Wed Apr 12, 2017 07:39

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

Edit: works now.
 

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

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

by texmex » Mon Apr 17, 2017 10:48

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
 

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

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

by bell07 » Mon May 08, 2017 06:35

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: 1590
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex

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

by texmex » Mon May 08, 2017 07:55

But you can just add 3x compass in origin mode to your wielded bar ;)

Of course! I should think more KISS.
 

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

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

by bell07 » Tue Jun 13, 2017 12:31

Just for reference, I renamed my fork to "ccompass" (= Calibrated compass) and started an own thread for the fork athttps://forum.minetest.net/viewtopic.php?f=9&t=17881. 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 :-)
 

Previous

Return to Old Mods



Who is online

Users browsing this forum: No registered users and 3 guests