[Mod] Aviator - craft node and fly [1.0][aviator]

Gundul
Member
 
Posts: 177
Joined: Thu Aug 27, 2015 10:55
GitHub: berengma
IRC: Gundul

[Mod] Aviator - craft node and fly [1.0][aviator]

by Gundul » Tue Feb 14, 2017 09:05

--- Aviator 1.0 ---

Image

default recipe:
Image

recipe when technic and moreores are present
Image

Modname: aviator
Dependencies: none (technic and moreores use other recipe if present)
License:
    License for the code: LGPL
    License for all the models, textures and sound: CC BY-SA 4.0
Textures: contributed by "tm3" https://forum.minetest.net/memberlist.php?mode=viewprofile&u=20289
Issues: none I know of. please report if you find any
Description:

This Mod adds a craftable node to the game. After placing the node it
will mark the center of a sphere with 20 nodes radius. As long as you
move in this sphere you will be granted fly priv. A hud message keeps
you up to date of remaining time and distance to center. After 10minutes
the fly priv will be revoked.
The node can be dug and the remaining time will be saved in metadata.
If you exceed radius more than 10 nodes, leave the game or server shuts down
the node will be automatically dug and added to your inventory if you have a
free slot.
It is not possible to place more than one node at a time.

The duration and the radius can be configured in the init.lua by changing the
value of "flength" and "maxdistance" Keep in mind that the max radius is depending on
the number of active mapblocks in your server. Values > 20 will need more
than one active mapblock.

The downloads:

Github
Zipfile: https://github.com/berengma/aviator/archive/master.zip
Source: https://github.com/berengma/aviator
Last edited by Gundul on Wed Feb 15, 2017 04:48, edited 2 times in total.
 

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

Re: [Mod] Aviator - craft node and fly [1.0][aviator]

by texmex » Tue Feb 14, 2017 10:12

Good thinking. It's a viable alternative to granting "global" fly privilege.
Last edited by texmex on Tue Feb 14, 2017 11:14, edited 1 time in total.
I spend all my days going down to the mines. Under the ground where the sun never shines. Breaking my back I put heat in your house. I’ve got the roar of a digtron, the breath of a mouse.
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] Aviator - craft node and fly [1.0][aviator]

by azekill_DIABLO » Tue Feb 14, 2017 10:59

it's like an antigravity field no? clever!
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
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

Gundul
Member
 
Posts: 177
Joined: Thu Aug 27, 2015 10:55
GitHub: berengma
IRC: Gundul

Re: [Mod] Aviator - craft node and fly [1.0][aviator]

by Gundul » Tue Feb 14, 2017 11:26

Thanks Texmex and azekill_DIABLO.

Yes antigravity field would explain it too.
You can try it. If you leave the radius fly is taken and
you fall down, then the field catches you again and you fly.
This effects works best when you leave at top of the sphere.
 

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

Re: [Mod] Aviator - craft node and fly [1.0][aviator]

by texmex » Tue Feb 14, 2017 14:56

I would change the recipe to containing mese. Diamond properties are known to science already, while the mysterious powers of mese is rarely known…
I spend all my days going down to the mines. Under the ground where the sun never shines. Breaking my back I put heat in your house. I’ve got the roar of a digtron, the breath of a mouse.
 

Gundul
Member
 
Posts: 177
Joined: Thu Aug 27, 2015 10:55
GitHub: berengma
IRC: Gundul

Re: [Mod] Aviator - craft node and fly [1.0][aviator]

by Gundul » Tue Feb 14, 2017 15:29

Yes I like that idea of using mese. I was only afraid it would make the
device too cheap.

But it is pretty easy to change recipe in the init.lua file to whatever one likes :)
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] Aviator - craft node and fly [1.0][aviator]

by azekill_DIABLO » Tue Feb 14, 2017 16:30

i think it's great for a 10 meters radius! (round or cube then?)
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
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

Gundul
Member
 
Posts: 177
Joined: Thu Aug 27, 2015 10:55
GitHub: berengma
IRC: Gundul

Re: [Mod] Aviator - craft node and fly [1.0][aviator]

by Gundul » Wed Feb 15, 2017 04:45

azekill_DIABLO wrote:i think it's great for a 10 meters radius! (round or cube then?)


It is always round (sphere). Distance is calculated by vectors.
To change radius open init.lua and replace

maxdistance = 20

with maxdistance = 10
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] Aviator - craft node and fly [1.0][aviator]

by azekill_DIABLO » Wed Feb 15, 2017 10:08

thank you! how if two players place this node? which one is destroyed? is it bugging?
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
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

Gundul
Member
 
Posts: 177
Joined: Thu Aug 27, 2015 10:55
GitHub: berengma
IRC: Gundul

Re: [Mod] Aviator - craft node and fly [1.0][aviator]

by Gundul » Wed Feb 15, 2017 13:50

azekill_DIABLO wrote:thank you! how if two players place this node? which one is destroyed? is it bugging?
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

Lol, looks you are the bug hunter here :D Try yourself and tell me, no bugs I know of so far.

Or try this:
https://forum.minetest.net/viewtopic.php?f=10&t=13125

I'll give you some to try.
 

User avatar
Naj
Member
 
Posts: 170
Joined: Sat Sep 19, 2015 21:14
GitHub: pyrollo
In-game: naj

Re: [Mod] Aviator - craft node and fly [1.0][aviator]

by Naj » Wed Feb 15, 2017 13:52

It could be a technic machine, like force field.

It would allow to make some "flying arenas" or so
 

Gundul
Member
 
Posts: 177
Joined: Thu Aug 27, 2015 10:55
GitHub: berengma
IRC: Gundul

Re: [Mod] Aviator - craft node and fly [1.0][aviator]

by Gundul » Wed Feb 15, 2017 13:59

Naj wrote:It could be a technic machine, like force field.

It would allow to make some "flying arenas" or so



I was thinking of that too, But I decided not to. technic always
means you are bound to cables and Energy production. And
long cables is lag generator number one on the server. At least
what I experienced so far. Nevertheless you still need technic
to produce the uranium ingot to craft the node. :)
(if technic mod is installed)
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] Aviator - craft node and fly [1.0][aviator]

by azekill_DIABLO » Thu Feb 16, 2017 16:14

The mod could be modifed to add others privileges, like interact no? no need to have shields blocks, just need 1 interact block.
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
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

Gundul
Member
 
Posts: 177
Joined: Thu Aug 27, 2015 10:55
GitHub: berengma
IRC: Gundul

Re: [Mod] Aviator - craft node and fly [1.0][aviator]

by Gundul » Fri Feb 17, 2017 13:13

azekill_DIABLO wrote:The mod could be modifed to add others privileges, like interact no? no need to have shields blocks, just need 1 interact block.


Yes you can use it with any priv you want. But I think using minetest api for protection and
protection violation is much faster than my on step function.

There used to be a mod which gives privileges by area. I forgot who made it. Ruben Wardy maybe ?
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] Aviator - craft node and fly [1.0][aviator]

by azekill_DIABLO » Fri Feb 17, 2017 16:17

i will see later! but i don't think the on step is so laggy... if it is maybe fing a way to improve performance by checking with more intervals or disable with distance...
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
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 


Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 15 guests

cron