Page 1 of 1

[Mod] Weird ores (and antigravity) [github] [weirdores]

PostPosted: Tue Apr 23, 2013 13:52
by Zeg9
[h]Weird ores[/h] (beautiful big red text, huh?)
Hi !
This is my latest mod, weird ores.
It adds:
  • Ruby
  • Antimese (see below)
  • Antigravity
  • More coming later

License: WTFPL
Depends: default; will maybe depend in flolands in a near future.
Download: as a .zip (or browse code on Github)
Requires latest git version of minetest for antigravity (you can disable it if you don't want to use the git version).
You can disable parts of the mod: just delete them in init.lua.

What is antimese:
Place a mese block next to a ruby block, they will disappear and an antimese crystal will appear.
Antimese can craft a really powerful pickaxe and antigravity blocks.

[h]Crafting[/h]
Ruby block
Image

Antimese pickaxe
Image

Antimese block
Image

Antigravity
Image


[h]Screenshots:[/h]
Image Image Image Image Image
From left to right: the ruby ore, how to make antimese, the visual effects when you make antimese, blocks and antigravity.

PostPosted: Tue Apr 23, 2013 14:13
by Traxie21
Last... Mod?

LAST?

:C

PostPosted: Tue Apr 23, 2013 14:19
by Zeg9
Traxie21 wrote:Last... Mod?

LAST?

:C

I ment, latest. I'll probably make some others later ;)

PostPosted: Tue Apr 23, 2013 14:53
by Traxie21
Phew. Ok. You make good mods! :D

PostPosted: Fri Apr 26, 2013 14:36
by Likwid H-Craft
Yeah Last mod form him will be Title Zeg9 Last Mod for all.

Anyways this be cool to see the Mese Randomly From as a Antimese maybe like if set.

PostPosted: Fri Apr 26, 2013 15:25
by 12Me21
antimese should be dark blue, because that is the inverted color of mese.

does antigravity actually work?

PostPosted: Mon Apr 29, 2013 17:22
by Zeg9
12Me21 wrote:antimese should be dark blue, because that is the inverted color of mese.

does antigravity actually work?

Yeah but blue was already used by flolands... I'll try, we'll see what it gives.

And yes, it works. The global step may lag the server if there is a lot of people on though, you can disable antigravity in init.lua if you wish.

PostPosted: Tue Apr 30, 2013 17:39
by rubenwardy
Hybrid Dog wrote:

Antigravity particles through dirt.
Image


That looks wierd. Are there shader there, or is it a tp?

PostPosted: Thu May 02, 2013 17:40
by paramat
Zeg9 wrote:
12Me21 wrote:antimese should be dark blue, because that is the inverted color of mese.

Yeah but blue was already used by flolands...

You're welcome to make antimese blue if you want :) Actually blue 'float crystal' was initially intended to be an antigravity crystal that gave the float lands their 'float', so floc and antimese could perhaps be the same thing.

PostPosted: Thu May 02, 2013 18:24
by Zeg9
paramat wrote:
Zeg9 wrote:
12Me21 wrote:antimese should be dark blue, because that is the inverted color of mese.

Yeah but blue was already used by flolands...

You're welcome to make antimese blue if you want :) Actually blue 'float crystal' was initially intended to be an antigravity crystal that gave the float lands their 'float', so floc and antimese could perhaps be the same thing.

In fact, I had plans to make an "alloy" of antimese and float crystal, that would make antigravity crystal or something like that.
But it's a lot too much crafting, I think I'll remove ruby (it will be aliased to floc) and have an antigravity mod.
Or alternatively you could use the antigravity code in your floating lands mod, but I don't think it's the purpose of your mod...

PostPosted: Sat May 04, 2013 19:30
by paramat
Yeah i saw your antifloc texture and was looking forward to seeing how that developed.
I have no clear idea for a purpose for floc so it would be cool if you made it a catalyst for your ores. I currently have no inspiration to develop flolands mod, i was kinda hoping someone else would fork it and develop it ... however since it is now in the c++ core it needs to have more features that make it useful alongside the core floatlands.
If you get inspired to fork and develop flolands mod yourself that's of course cool by me, license is WTFPL.

PostPosted: Sun May 05, 2013 08:48
by Zeg9
paramat wrote:Yeah i saw your antifloc texture and was looking forward to seeing how that developed.
I have no clear idea for a purpose for floc so it would be cool if you made it a catalyst for your ores. I currently have no inspiration to develop flolands mod, i was kinda hoping someone else would fork it and develop it ... however since it is now in the c++ core it needs to have more features that make it useful alongside the core floatlands.
If you get inspired to fork and develop flolands mod yourself that's of course cool by me, license is WTFPL.

You know I don't have any more ideas, this is why this weird ores mod isn't getting updates by the way... :/
You say it's in the C++ core, but is there floc and all there ?

PostPosted: Sun May 05, 2013 12:00
by paramat
No just the basic stone structure generation onto which i believe the standard mapgen adds dirt etc., so fairly different from flolands ... haven't tried it yet still on 0.4.4.

PostPosted: Tue May 07, 2013 00:02
by Idanwin
Doesn't work for me:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
ModError: Failed to load and run
/home/user/.minetest/mods/minetest/weirdores/init.lua


And when I redirect init.lua to antigravity.lua (the others work just fine)
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
ServerError: LuaError: error:
....minetest/mods/minetest/weirdores/antigravity.lua:44: attempt to call method

PostPosted: Tue May 07, 2013 05:38
by Zeg9
Idanwin wrote:Doesn't work for me:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
ModError: Failed to load and run
/home/user/.minetest/mods/minetest/weirdores/init.lua


And when I redirect init.lua to antigravity.lua (the others work just fine)
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
ServerError: LuaError: error:
....minetest/mods/minetest/weirdores/antigravity.lua:44: attempt to call method

Is the error complete ? What minetest version do you use?

PostPosted: Tue May 07, 2013 09:33
by Idanwin
Sorry:
4.6 on linux

That's all the error said.

PostPosted: Tue May 07, 2013 10:55
by Zeg9
Idanwin wrote:Sorry:
4.6 on linux

That's all the error said.

Antigravity requires set_physics_override which was introduced after 0.4.6, so either try a git version, or disable the antigravity part.
Is everything else working?

PostPosted: Tue May 07, 2013 11:21
by Idanwin
Oh, I didn't see the requires git part, sorry... maybe put it slightly larger.

EDIT: The rest works fine.

PostPosted: Tue May 07, 2013 14:02
by Zeg9
Idanwin wrote:Oh, I didn't see the requires git part, sorry... maybe put it slightly larger.

EDIT: The rest works fine.

Don't worry, I added this part just after I answered you, so it's normal you didn't read it.

PostPosted: Tue May 07, 2013 16:06
by Idanwin
Love it!!!
Any chance you could make a block that blocks the effects of antigravity?
Maybe loose blocks (gravel, sand) could also be levitated (or held in place) by the antigravity field...
I really look forward to seeing more weird blocks pop up!

PostPosted: Wed May 08, 2013 08:39
by Zeg9
Idanwin wrote:Love it!!!
Any chance you could make a block that blocks the effects of antigravity?
Maybe loose blocks (gravel, sand) could also be levitated (or held in place) by the antigravity field...
I really look forward to seeing more weird blocks pop up!

Thanks !
Sadly, checking for entities (gravel and sand are entities) above the antigravity would make it lag a lot more.

PostPosted: Fri May 31, 2013 16:43
by Idanwin
Currently the problem with antigrav is that it gets me killed all the time ...

PostPosted: Fri May 31, 2013 17:19
by Zeg9
Idanwin wrote:Currently the problem with antigrav is that it gets me killed all the time ...

You could place a few slabs around the antigravity and press shift when landing, this would cancel the falling damage.
or use cushions from Jeija's jumping mod.

PostPosted: Mon Jul 29, 2013 16:11
by george90867
what version of minetest is needed?

PostPosted: Mon Jul 29, 2013 17:18
by Dan Duncombe
george90867 wrote:what version of minetest is needed?

Requires latest git version of minetest for antigravity (you can disable it if you don't want to use the git version).

PostPosted: Mon Apr 07, 2014 23:22
by JPRuehmann
Hello how do I use this mod

If I try by just put it in my mods Folder and rename it to weirdores I get the following error.

23:20:24: ERROR[main]: ========== ERROR FROM LUA ===========
23:20:24: ERROR[main]: Failed to load and run script from
23:20:24: ERROR[main]: /home/ruehmann/.minetest/mods/weirdores/init.lua:
23:20:24: ERROR[main]: /home/ruehmann/.minetest/mods/weirdores/init.lua:14: attempt to concatenate local 'MODPATH' (a nil value)
23:20:24: ERROR[main]: stack traceback:
23:20:24: ERROR[main]: /home/ruehmann/.minetest/mods/weirdores/init.lua:14: in main chunk
23:20:24: ERROR[main]: ======= END OF ERROR FROM LUA ========
23:20:24: ERROR[main]: Server: Failed to load and run /home/ruehmann/.minetest/mods/weirdores/init.lua
23:20:24: ERROR[main]: ModError: ModError: Failed to load and run /home/ruehmann/.minetest/mods/weirdores/init.lua

If I change the "ruby" in the get modpath to "weirdores" it loads normal but nothings in my Inventory (creative Mode)
How do I make this work?
Thanks,
JPR

PostPosted: Tue Apr 08, 2014 01:24
by UOAbigail
Greetings ;)

JPRuehmann wrote:Hello how do I use this mod

If I try by just put it in my mods Folder and rename it to weirdores I get the following error.

23:20:24: ERROR[main]: ========== ERROR FROM LUA ===========
23:20:24: ERROR[main]: Failed to load and run script from
23:20:24: ERROR[main]: /home/ruehmann/.minetest/mods/weirdores/init.lua:
23:20:24: ERROR[main]: /home/ruehmann/.minetest/mods/weirdores/init.lua:14: attempt to concatenate local 'MODPATH' (a nil value)
23:20:24: ERROR[main]: stack traceback:
23:20:24: ERROR[main]: /home/ruehmann/.minetest/mods/weirdores/init.lua:14: in main chunk
23:20:24: ERROR[main]: ======= END OF ERROR FROM LUA ========
23:20:24: ERROR[main]: Server: Failed to load and run /home/ruehmann/.minetest/mods/weirdores/init.lua
23:20:24: ERROR[main]: ModError: ModError: Failed to load and run /home/ruehmann/.minetest/mods/weirdores/init.lua

If I change the "ruby" in the get modpath to "weirdores" it loads normal but nothings in my Inventory (creative Mode)
How do I make this work?
Thanks,
JPR



I have never used creative mode so I do not know if this shows in there or not.. but a good way to check to see if it has loaded properly is to type the following command in survival mode (again.. not sure it works in creative)

/giveme weirdores:ruby

If you get a red-tinted diamond in your pack then it is loaded properly.

If it does not appear in your inventory then something else is wrong.

Also, be aware that the actual ore when you are mining uses a texture that is either very similar or identical to Kalite ore from glooptest (if you use that mod). However, Kalite will break into multiple lumps of kalite ore rather easily whereas the rubies from this mod take like 2-3 strikes with a mese pick to break.

Peace
UOAbigail

PostPosted: Tue Apr 08, 2014 08:12
by JPRuehmann
Thanks,
It works
JPR