Page 1 of 5

[Mod] UFOs [ufos]

Posted: Sat Dec 15, 2012 09:11
by Zeg9
Hello !
This little mod adds UFOs to minetest...
License (all) is WTFPL
Credits goes to me for the code, and Melkor for the UFO model (and texture)
Depends: default, for the crafting
Download: here
Here is the repo: https://github.com/Zeg9/minetest-ufos/

How to charge them:
1) Craft the UFO chargling device (recipe is below)
Image 2) Place it...
Image 3) Right click it, and put some obsidian shards in it...
Image 4) Place the UFO next to the charging device (on the picture, it's placed above the cobblestone)
Image 5) Right click the UFO to get inside...
Image 6) Hold use key (default is E) until it is completely charged.
7) Fly around.

You need 100 obsidian shards to completely fill the tank of the UFO

How to control:
Use jump key to go up
Use sneak to go down
Left and right to turn
Up to go forward, down to brake

Crafting:
UFO:
Image

UFO charging device:
Image

Screenshots:
Image Image Image

Posted: Sat Dec 15, 2012 09:51
by JoeyXtreme
funny mod but sometimes it stops in mid-air (on my pc)
and you get shaked around.
but i like the idea of ufos

Posted: Sat Dec 15, 2012 10:08
by Zeg9
JoeyXtreme wrote:you get shaked around
This seems to be a bug with the attachments code, in the engine :/
EDIT: mid-air stopping seems to be due to unloaded chunks, again I don't think I can prevent this :(

Posted: Sat Dec 15, 2012 12:07
by cornellius
hmmmm hard to control the ufo maybe if u want go down or up should not constantly maybe just one click one time



sorry for my bad english

Posted: Sat Dec 15, 2012 13:14
by Zeg9
cornellius wrote:hmmmm hard to control the ufo maybe if u want go down or up should not constantly maybe just one click one time
I just improved the controls, please try the new update.

Posted: Sat Dec 15, 2012 16:01
by cornellius
ok i will try it sorry but maybe the ufo too fast accelerate

Posted: Sat Dec 15, 2012 16:38
by Zeg9
Well, have you ever seen a UFO in real life ? Maybe they go really fast huh
Anyway there should be some on the 21 of this month, then we'll see ... :')

Posted: Sat Dec 15, 2012 16:43
by cornellius
yeah i never seen a UFO in real life

Posted: Sun Dec 16, 2012 02:11
by Josh
Cool, now we can make an: Alien Invasion minetest movie! :D

Posted: Sun Dec 16, 2012 02:24
by cornellius
LOL What About UFO Planets

Posted: Sun Dec 16, 2012 03:45
by VanessaE
I've been experimenting with a new way for the game to handle mese, where mese is now a crystal embedded in stone, which gives a single crystal when dug (which in turn can be crafted into either fragments or blocks). See pull request #65 against minetest_game.

Since celeron55 sees Mese as sort of an alien artifact, it seemed fitting to use the above changes as a source of recipe items for this mod.

Here's what came up with:

Code: Select all

-- Gl --
MF St MF
SI MC SI
Gl = glass
St = stone
SI = Steel Ingot
MC = Mese Crystal
MF = Mese Crystal Fragment

...and the code I added to the bottom of ufos/init.lua to add this recipe:

Code: Select all

minetest.register_craft( {
        output = 'ufos:ufo',
        recipe = {
                { "", "default:glass", ""},
                { "default:mese_crystal_fragment", "default:stone", "default:mese_crystal_fragment"},
                { "default:steel_ingot", "default:mese_crystal", "default:steel_ingot"},
        },
})
Hope that's useful to you.

Posted: Sun Dec 16, 2012 05:02
by mikey2020
i love it!!! but its kind of hard to drive the ufo ship tho

Posted: Sun Dec 16, 2012 09:10
by Zeg9
VanessaE wrote:I've been experimenting with a new way for the game to handle mese, where mese is now a crystal embedded in stone, which gives a single crystal when dug (which in turn can be crafted into either fragments or blocks). See pull request #65 against minetest_game.

Since celeron55 sees Mese as sort of an alien artifact, it seemed fitting to use the above changes as a source of recipe items for this mod.

Here's what came up with:

Code: Select all

-- Gl --
MF St MF
SI MC SI
Gl = glass
St = stone
SI = Steel Ingot
MC = Mese Crystal
MF = Mese Crystal Fragment

...and the code I added to the bottom of ufos/init.lua to add this recipe:

Code: Select all

minetest.register_craft( {
        output = 'ufos:ufo',
        recipe = {
                { "", "default:glass", ""},
                { "default:mese_crystal_fragment", "default:stone", "default:mese_crystal_fragment"},
                { "default:steel_ingot", "default:mese_crystal", "default:steel_ingot"},
        },
})
Hope that's useful to you.
That would be great, but until this is included in main game, I'll use regular mese in the recipe.
+1 for your idea, then people also won't make houses or stuff out of mese, too.

Posted: Sun Dec 16, 2012 13:24
by kaeza
+1 Nice.
Maybe you could take a look at this for the controls.

Posted: Mon Dec 17, 2012 00:17
by Kryuko
Little bug:
I've inserted the UFO in a glass case. But if an user click on the class, he can use it. And this is a problem because he can do right click and use the UFO, left click and take the UFO, and type /spawn for escape.

Please, can you fix it?

Thanks in advance.

Posted: Mon Dec 17, 2012 17:11
by Zeg9
Kryuko wrote:Little bug:
I've inserted the UFO in a glass case. But if an user click on the class, he can use it. And this is a problem because he can do right click and use the UFO, left click and take the UFO, and type /spawn for escape.

Please, can you fix it?

Thanks in advance.
That's not really easy to fix... Maybe I should add some sort of "owner" checking to the ufo (like locked chests) ?

Posted: Tue Dec 18, 2012 18:40
by markveidemanis
can you update it?
my ideas: make nodebox prettier, make so player can walk around the ufo, make so multiple players can go into the ufo and each occupy a different space in the ufo, make the ufo bigger, maybe make the ufo change size, make it more "flat", make so shift only moves down a bit, not continuous movenent down, make so you can control speed, make steering a bit faster.
Thanks

Posted: Tue Dec 18, 2012 20:15
by jojoa1997
markveidemanis wrote:can you update it?
my ideas: make nodebox prettier, make so player can walk around the ufo, make so multiple players can go into the ufo and each occupy a different space in the ufo, make the ufo bigger, maybe make the ufo change size, make it more "flat", make so shift only moves down a bit, not continuous movenent down, make so you can control speed, make steering a bit faster.
Thanks
also can you make a part of the ufo's bottom clear so you can the the ground

Posted: Wed Dec 19, 2012 06:14
by xavier108
Pretty hard to control but nice mod i like it

Posted: Wed Dec 19, 2012 10:51
by RAPHAEL
jojoa1997 wrote:also can you make a part of the ufo's bottom clear so you can the the ground
Yes I think a clear bottom would be a good idea.. how do you expect to see the ground for landing? lol

I would do it myself but no idea how to alter this mods textures.

Posted: Thu Dec 20, 2012 02:02
by Josh
You could make the UFO shine a green beam down on the ground, then make it suck up a player into the UFO.

Posted: Thu Dec 20, 2012 16:34
by VanessaE
The mese changes I mentioned have just been integrated into minetest_game. I guess you can use my suggested recipe now :D

Posted: Fri Dec 21, 2012 14:55
by Zeg9
VanessaE wrote:The mese changes I mentioned have just been integrated into minetest_game. I guess you can use my suggested recipe now :D
Updated, see first post :)

Posted: Fri Dec 21, 2012 17:23
by 0gb.us
Zeg9 wrote:There is no crafting recipe yet, use /giveme ufos:ufo OR creative mode.
Zeg9 wrote:Crafting:
Image
This amuses me.

Posted: Fri Dec 21, 2012 17:26
by Zeg9
0gb.us wrote:
Zeg9 wrote:There is no crafting recipe yet, use /giveme ufos:ufo OR creative mode.
Zeg9 wrote:Crafting:
Image
This amuses me.
Woops edited :P