New textures, back to 12 directions.

master
David G 2018-06-30 09:54:40 -07:00
parent 906c72b95f
commit f265515947
36 changed files with 15 additions and 23 deletions

View File

@ -15,34 +15,29 @@ This mod tries to address what the "real" essence of being a compass is all abou
No options, no gui's, just an animated needle that points toward the north.
The only other change that 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.
I'm now using compass textures derived from the wonderful ones created by tacotexmex for ccompass.
I changed the colors and crafting recipe so that it can hopefully be used in parallel with ccompass,
since they both provide different features.
I have also gone back to using the original 12 pointing directions to make the animations look cleaner.
![Realcompass Screenshot](screenshot.png "Realcompass")
I've converted the better looking ccompass textures to 16 directions and placed them in the
textures_alt directory for testing.
To use them, rename the "textures_alt" directory to "textures".
![Realcompass_alt Screenshot](screenshot_alt.png "Realcompass_alt")
Crafting guide
--------------
Same crafting recipe as the other compass versions, so it's probably not compatible with them.
```
, steel_ingot ,
steel_ingot, mese_crystal_fragment, steel_ingot
, steel_ingot ,
copper_ingot, mese_crystal_fragment, copper_ingot
, copper_ingot ,
```
License
-------
- **original textures:** original compass textures: CC BY-SA by Echo (45deg versions added by kestral246 also CC BY-SA)
- **new textures:** from ccompass, textures CC BY-SA by tacotexmex (45deg versions added by kestral246 also CC BY-SA)
- **new textures:** from ccompass, textures CC BY-SA by tacotexmex (colors changed by kestral246 also CC BY-SA)
- **code:** My changes to original code are CC0-1.0
- **original compassgps license:** Original code by Echo, PilzAdam, and TeTpaAka is WTFPL. Kilarin (Donald Hines) changes are CC0 (No rights reserved)

View File

@ -1,10 +1,11 @@
-- realcompass 1.0
-- realcompass 1.1
-- This fork written by David_G (kestral246@gmail.com)
-- My changes are CC0 (No rights reserved)
-- textures: original compass textures: CC BY-SA by Echo (I added 45deg versions)
-- Changes:
-- only points north
-- 16 directions instead of 12
-- reverted back to 12 directions--I couldn't get the 16-direction version's animations to look as good.
-- changed crafting recipe so it can be used in parallel with other compass versions.
-- based on compassgps 2.7 and compass 0.5
--
@ -51,7 +52,7 @@ minetest.register_globalstep(function(dtime)
if gotacompass then
local dir = player:get_look_horizontal()
local angle_relative = math.deg(dir)
local compass_image = math.floor((angle_relative/22.5) + 0.5)%16
local compass_image = math.floor((angle_relative/30) + 0.5)%12
--update compass image to point at target
if wielded then
@ -76,10 +77,6 @@ local images = {
"realcompass_9.png",
"realcompass_10.png",
"realcompass_11.png",
"realcompass_12.png",
"realcompass_13.png",
"realcompass_14.png",
"realcompass_15.png",
}
local i
@ -100,8 +97,8 @@ minetest.register_craft({
output = 'realcompass:1',
recipe = {
{'', 'default:steel_ingot', ''},
{'default:steel_ingot', 'default:mese_crystal_fragment', 'default:steel_ingot'},
{'', 'default:steel_ingot', ''}
{'default:copper_ingot', 'default:mese_crystal_fragment', 'default:copper_ingot'},
{'', 'default:copper_ingot', ''}
}
})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 502 B

After

Width:  |  Height:  |  Size: 737 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 543 B

After

Width:  |  Height:  |  Size: 754 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 521 B

After

Width:  |  Height:  |  Size: 758 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 533 B

After

Width:  |  Height:  |  Size: 757 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 503 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 538 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 523 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 544 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 520 B

After

Width:  |  Height:  |  Size: 757 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 530 B

After

Width:  |  Height:  |  Size: 742 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 518 B

After

Width:  |  Height:  |  Size: 781 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 543 B

After

Width:  |  Height:  |  Size: 768 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 520 B

After

Width:  |  Height:  |  Size: 735 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 497 B

After

Width:  |  Height:  |  Size: 755 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 514 B

After

Width:  |  Height:  |  Size: 763 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 510 B

After

Width:  |  Height:  |  Size: 741 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 762 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 760 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 764 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 770 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB