[Mod] Real Compass [realcompass]

kestral
Member
 
Posts: 58
Joined: Mon Mar 27, 2017 21:56
GitHub: kestral246

[Mod] Real Compass [realcompass]

by kestral » Thu Jun 28, 2018 00:03

Real Compass

This mod tries to address what the "real" essence of being a compass is all about.

No options, no gui's, no bookmarks, just an animated needle that always points to the north.

This version is based on compassgps, with changes to just point north and the removal of all
its other features. The only other change I made was, that since compasses are typically
divided up in 1/4th, 1/8th, and 1/16th divisions, I updated it to point in 16 directions rather
than the original 12.

Same crafting recipe as most of the other compass versions, so it's probably not compatible with them.

This was my first mod, but it's still the first mod I always install whenever I play minetest.

License: CC0
Optional dependencies: default (Only for crafting recipe.)
Code and documentation: https://github.com/kestral246/realcompass
Download: https://github.com/kestral246/realcompa ... master.zip

Prior Art
Here is a list of all the other options I have found for displaying the direction the player is pointing.
If you find realcompass too simple, one of the others will likely meet your direction finding needs.

F5: Debug info built into minetest
Not always enabled. Gives yaw and four basic compass points, mixed in with a lot of other data

F9: Minimap built into minetest
Also not always enabled, and not everyone likes minimaps

Compass [compass]: https://forum.minetest.net/viewtopic.php?f=11&t=3489
Passive node with compass points labeled

Compass [compass]: https://forum.minetest.net/viewtopic.php?f=11&t=3785
Echo's animated version, which points to 0/0/0 or static spawnpoint

Compass+ [compass]: https://forum.minetest.net/viewtopic.php?id=8117
Adds bookmark locations to Echo's compass

Compass GPS [compassgps]: https://forum.minetest.net/viewtopic.php?f=11&t=9373
Adds hud display, gui for bookmarks, distance, teleport, maps, new graphics

Calibrated Compass [ccompass]: https://forum.minetest.net/viewtopic.php?f=11&t=17881
Adds calibrate by punching node to Echo's compass mod, with new graphics

Orienteering [orienteering]: https://forum.minetest.net/viewtopic.php?f=11&t=15247
Has a simple compass, but it displays digital yaw on the screen, rather than animating the icon

Thanks
This mod is basically compassgps with 90% of its code ripped out, so I can't take much credit.
That belongs to Echo, PilzAdams, TeTpaAka, and Kilarin. I was just standing on their shoulders.
Last edited by kestral on Wed Oct 09, 2019 20:09, edited 1 time in total.
 

User avatar
Stix
Member
 
Posts: 1379
Joined: Fri Aug 04, 2017 14:19
Location: USA
IRC: nil
In-game: Stix [+alts]

Re: [Mod] Real Compass [realcompass]

by Stix » Thu Jun 28, 2018 00:17

Sorry, but this mod is useless. By enabling debug-info players can already tell what direction they're facing, and without using one direction as a reference to find the others, as it specifies your direction directly. Sorry.
Hey, what can i say? I'm the bad guy.
Next release of your favorite game? "Bugfixes" --Wuzzy
[OLD]The new Minetest-offtopic can be found here: https://minetestoftopic.createaforum.com/index.php
 

User avatar
ChimneySwift
Member
 
Posts: 320
Joined: Fri Sep 22, 2017 06:46
Location: 127.0.0.1
GitHub: ChimneySwift
IRC: ChimneySwift
In-game: ChimneySwift

Re: [Mod] Real Compass [realcompass]

by ChimneySwift » Thu Jun 28, 2018 00:38

Stix wrote:Sorry, but this mod is useless. By enabling debug-info players can already tell what direction they're facing, and without using one direction as a reference to find the others, as it specifies your direction directly. Sorry.


I disagree, debug info is ugly and hard to read at a glance :D

This is much nicer:
Image
A spoon is basically a tiny bowl with a stick on it
 

User avatar
jas
Member
 
Posts: 451
Joined: Mon Jul 24, 2017 18:15
GitHub: jastevenson303
IRC: jas_
In-game: jas

Re: [Mod] Real Compass [realcompass]

by jas » Thu Jun 28, 2018 06:35

Thanks for the screenshot, it's what was missing from the main post. Good job on the mod. I can't tell from the screenshot whether there's a wield image that's constantly changing; I'm imagining that it's an invisible wield_image.
2019-10-14 09:12:51: ACTION[Server]: jas activates
 

User avatar
ChimneySwift
Member
 
Posts: 320
Joined: Fri Sep 22, 2017 06:46
Location: 127.0.0.1
GitHub: ChimneySwift
IRC: ChimneySwift
In-game: ChimneySwift

Re: [Mod] Real Compass [realcompass]

by ChimneySwift » Thu Jun 28, 2018 11:02

jas wrote:I can't tell from the screenshot whether there's a wield image that's constantly changing; I'm imagining that it's an invisible wield_image.


The wield image does change, but that is one possible complaint, with the wield image constantly changing it does that item swapping animation thing a whole lot, which looks a bit silly. It might be better to have no wield image.

The compass also doesn't care if you're holding it or not, it'll update wherever it is in your inventory. I'm not sure though, does it only check the first 8 slots? if not this might be an area for performance improvement.
A spoon is basically a tiny bowl with a stick on it
 

User avatar
Hume2
Member
 
Posts: 325
Joined: Tue Jun 19, 2018 08:24
Location: Czech Republic
GitHub: Hume2
In-game: Hume2

Re: [Mod] Real Compass [realcompass]

by Hume2 » Thu Jun 28, 2018 13:19

Good mod, I always wanted a compass like that. Just the textures could be better.
If you lack the reality, go on a trip or find a job.
 

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

kestral
Member
 
Posts: 58
Joined: Mon Mar 27, 2017 21:56
GitHub: kestral246

Re: [Mod] Real Compass [realcompass]

by kestral » Sat Jun 30, 2018 18:36

I updated the textures to ones derived from texmex's vastly superior textures from ccompass. I hope you don't mind, but I changed the colors with the idea that realcompass could be used with ccompass to provide their different features.

I also went back to the original 12 directions, since I couldn't come up with a 16-direction version that had as smooth and even of an animation.

Image

As always, this remains a single-feature mod that just points north.
 

User avatar
Stix
Member
 
Posts: 1379
Joined: Fri Aug 04, 2017 14:19
Location: USA
IRC: nil
In-game: Stix [+alts]

Re: [Mod] Real Compass [realcompass]

by Stix » Sat Jun 30, 2018 19:10

ChimneySwift wrote:
Stix wrote:Sorry, but this mod is useless. By enabling debug-info players can already tell what direction they're facing, and without using one direction as a reference to find the others, as it specifies your direction directly. Sorry.


I disagree, debug info is ugly and hard to read at a glance :D

This is much nicer:
Image

The top end of the square minimap is north no matter which direction your pointing, but i can see how some ppl like this.
Hey, what can i say? I'm the bad guy.
Next release of your favorite game? "Bugfixes" --Wuzzy
[OLD]The new Minetest-offtopic can be found here: https://minetestoftopic.createaforum.com/index.php
 

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

Re: [Mod] Real Compass [realcompass]

by texmex » Sat Jun 30, 2018 20:59

kestral wrote:I updated the textures to ones derived from texmex's vastly superior textures from ccompass. I hope you don't mind, but I changed the colors with the idea that realcompass could be used with ccompass to provide their different features.

I also went back to the original 12 directions, since I couldn't come up with a 16-direction version that had as smooth and even of an animation.

Image

As always, this remains a single-feature mod that just points north.

Looks good, kestral! Legally I CAN’T even mind ;)

The only thing I would change additionally is the slight mese tint on the face of the compass, since the needle is no longer mese. :)
 

kestral
Member
 
Posts: 58
Joined: Mon Mar 27, 2017 21:56
GitHub: kestral246

Re: [Mod] Real Compass [realcompass]

by kestral » Thu Oct 10, 2019 17:17

Following in the footsteps of Calibrated Compass, I've converted realcompass to go back to using 16 directions instead of 12.

In addition, to be usable with games like nodecore, the default mod is now just an optional dependency—only used to define the crafting recipe.

I've also finally removed the mese tint from the background, which should make texmex happy.

Here's what realcompass now looks like—I've slightly shortened the compass needles compared to texmex's new ccompass textures:

Image
Attachments
realcompass16.gif
New realcompass textures.
(35.63 KiB) Not downloaded yet
 


Return to Mod Releases



Who is online

Users browsing this forum: pandaro and 8 guests