[Mod] Real Compass [realcompass]
-
- Member
- Posts: 96
- Joined: Mon Mar 27, 2017 21:56
- GitHub: kestral246
[Mod] Real Compass [realcompass]
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.
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.
Re: [Mod] Real Compass [realcompass]
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.
- 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]
I disagree, debug info is ugly and hard to read at a glance :DStix 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.
This is much nicer:
A spoon is basically a tiny bowl with a stick on it
Re: [Mod] Real Compass [realcompass]
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.
- 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]
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.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 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
- Hume2
- Member
- Posts: 710
- Joined: Tue Jun 19, 2018 08:24
- GitHub: Hume2
- In-game: Hume2
- Location: Czech Republic
Re: [Mod] Real Compass [realcompass]
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.
- texmex
- Member
- Posts: 1753
- Joined: Mon Jul 11, 2016 21:08
- GitHub: tacotexmex
- In-game: tacotexmex
Re: [Mod] Real Compass [realcompass]
Just use my textures from ccompass, they’re CC-BY-SA.
-
- Member
- Posts: 96
- Joined: Mon Mar 27, 2017 21:56
- GitHub: kestral246
Re: [Mod] Real Compass [realcompass]
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.
As always, this remains a single-feature mod that just points north.
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.
As always, this remains a single-feature mod that just points north.
Re: [Mod] Real Compass [realcompass]
The top end of the square minimap is north no matter which direction your pointing, but i can see how some ppl like this.ChimneySwift wrote:I disagree, debug info is ugly and hard to read at a glance :DStix 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.
This is much nicer:
Hey, what can i say? I'm the bad guy.
- texmex
- Member
- Posts: 1753
- Joined: Mon Jul 11, 2016 21:08
- GitHub: tacotexmex
- In-game: tacotexmex
Re: [Mod] Real Compass [realcompass]
Looks good, kestral! Legally I CAN’T even mind ;)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.
As always, this remains a single-feature mod that just points north.
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. :)
-
- Member
- Posts: 96
- Joined: Mon Mar 27, 2017 21:56
- GitHub: kestral246
Re: [Mod] Real Compass [realcompass]
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:
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:
- Attachments
-
- New realcompass textures.
- realcompass16.gif (35.63 KiB) Viewed 1284 times
-
- Member
- Posts: 96
- Joined: Mon Mar 27, 2017 21:56
- GitHub: kestral246
Re: [Mod] Real Compass [realcompass]
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"
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"
-
- Member
- Posts: 1118
- Joined: Mon Dec 29, 2014 08:07
- Location: USA
Re: [Mod] Real Compass [realcompass]
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
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
Re: [Mod] Real Compass [realcompass]
avoids the whole wield image problem.
If anyone ever finds a solution to this, please let me know!ChimneySwift wrote:with the wield image constantly changing it does that item swapping animation thing a whole lot, which looks a bit silly.
- j0j0n4th4n
- Member
- Posts: 250
- Joined: Tue Jan 26, 2021 06:45
Re: [Mod] Real Compass [realcompass]
Would it be possible to register the compass as a node and change the inventory item instead of registering multiple different tools for each rotation?If anyone ever finds a solution to this, please let me know!
cdb_894a100ddd76
- Blockhead
- Member
- Posts: 1676
- Joined: Wed Jul 17, 2019 10:14
- GitHub: Montandalar
- IRC: Blockhead256
- In-game: Blockhead Blockhead256
- Location: Land Down Under
- Contact:
Re: [Mod] Real Compass [realcompass]
That approach would only work in a singleplayer game, otherwise everyone's compasses would be going haywire in multiplayer. Also, overriding items after game start should probably be generally frowned upon. You can't set a custom inventory image on a specific stack as far as I know, only the fields in Item Metadata such as description, colour, count meta and so on.j0j0n4th4n wrote: ↑Fri Jan 20, 2023 00:30Would it be possible to register the compass as a node and change the inventory item instead of registering multiple different tools for each rotation?If anyone ever finds a solution to this, please let me know!
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂
- j0j0n4th4n
- Member
- Posts: 250
- Joined: Tue Jan 26, 2021 06:45
Re: [Mod] Real Compass [realcompass]
Well, that is really unfortunate then. The only other possible solution I can think is to use Noodlemire lua_inv mod.Also, overriding items after game start should probably be generally frowned upon. You can't set a custom inventory image on a specific stack as far as I know, only the fields in Item Metadata such as description, colour, count meta and so on.
cdb_894a100ddd76
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 13 guests