[Mod] Real Compass [realcompass]

Post Reply
kestral
Member
Posts: 89
Joined: Mon Mar 27, 2017 21:56
GitHub: kestral246

[Mod] Real Compass [realcompass]

by kestral » Post

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.

Edit: I used to always install this mod, but now I use my hud_compass mod. It provides a compass and a clock that's always available when needed, without having to deal with inventories or crafting.

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


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 Mon Dec 30, 2019 18:48, edited 2 times in total.

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

Re: [Mod] Real Compass [realcompass]

by Stix » Post

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.

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

Re: [Mod] Real Compass [realcompass]

by ChimneySwift » Post

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: 593
Joined: Mon Jul 24, 2017 18:15
IRC: Freenode
Location: IRC

Re: [Mod] Real Compass [realcompass]

by jas » Post

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.

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

Re: [Mod] Real Compass [realcompass]

by ChimneySwift » Post

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: 592
Joined: Tue Jun 19, 2018 08:24
GitHub: Hume2
In-game: Hume2
Location: Czech Republic

Re: [Mod] Real Compass [realcompass]

by Hume2 » Post

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

Re: [Mod] Real Compass [realcompass]

by texmex » Post

Just use my textures from ccompass, they’re CC-BY-SA.
Mods | Support Mesehub: bc1qluuests9rxmlnvpjrhsnyjg9ucwy6z3r0y3srw

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

Re: [Mod] Real Compass [realcompass]

by kestral » Post

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: 1385
Joined: Fri Aug 04, 2017 14:19
IRC: nil
In-game: Stix [+alts]
Location: USA

Re: [Mod] Real Compass [realcompass]

by Stix » Post

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.

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

Re: [Mod] Real Compass [realcompass]

by texmex » Post

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. :)
Mods | Support Mesehub: bc1qluuests9rxmlnvpjrhsnyjg9ucwy6z3r0y3srw

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

Re: [Mod] Real Compass [realcompass]

by kestral » Post

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

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

Re: [Mod] Real Compass [realcompass]

by kestral » Post

Since there apparently can't be enough compass mods, I've created an alternate version of my realcompass mod. Instead of going through all the trouble of creating and cycling through inventory objects, this mod just draws the realcompass textures at the bottom right corner of the screen.

I call it hud_compass and it can be found at: https://github.com/kestral246/hud_compass

Display of the compass is optional and can be toggled by using the chat command: "/compass"

Image

ShadMOrdre
Member
Posts: 675
Joined: Mon Dec 29, 2014 08:07
GitHub: ShadMOrdre
In-game: shadmordre
Location: USA

Re: [Mod] Real Compass [realcompass]

by ShadMOrdre » Post

kestral,

HUD compass. This is the best implementation yet. And I've not even downloaded or used the mod.


Would you be willing to also tackle another HUD friendly idea? It would be nice to have gauges for temp and humidity. Even if a separate mod.

Shad
MY MODS: lib_ecology lib_materials lib_clouds lib_node_shapes ---- Inspired By: Open Source Virtual World Simulator Opensimulator.

User avatar
Kilarin
Member
Posts: 779
Joined: Mon Mar 10, 2014 00:36

Re: [Mod] Real Compass [realcompass]

by Kilarin » Post

avoids the whole wield image problem.
ChimneySwift wrote:with the wield image constantly changing it does that item swapping animation thing a whole lot, which looks a bit silly.
If anyone ever finds a solution to this, please let me know!

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests