[Mod] Flying Carpet [0.5.0] [flying_carpet]
Flying Carpet
Quickly explore the vast terrain with the magical flying carpet. Fly safely and preserve your energy to make the most of it.
The carpet flies fast horizontally, but very slowly is it able to move vertically. It constantly reduces your mana resources, you can't use it forever (note: only if Mana mod is installed). Also, long flights, scratching and crashes will cause long-term damage to the flying carpet.

How to use
(note: very detailed instructions are also in the readme file)
To obtain it in Minetest Game (and similar subgames), use this crafting recipe:
Red Wool, Yellow Wool, Red Wool
Mese Crystal, Gold Ingot, Mese Crystal
To obtain it by cheating, use “/giveme flying_carpet:carpet”.
Look to the desired initial flight direction and place the carpet on any flat surface, make sure it has enough space. Then rightclick it to depart.
Flying the carpet is a bit tricky, because it flies fast, you can't fully brake and the turning speed is rather low. Be careful not to crash into the landscape!
If the carpet is under a certain critcal speed, it loses its magic and just drops on the ground. This also happens if you crash into the landscape! Crashing might hurt you, so be careful. But falling with the carpet causes less damage than falling normally. Still, you better don't want to crash too often. ;-)
Your carpet will also stop working if your mana resources are depleted (only if Mana mod is installed and active).
When your carpet stopped working, you have to collect the carpet (punch it) and place it again.
If you fly directly down onto solid ground, your flying carpet will come to a halt quickly.
Your carpet can not fly into liquids from above, but it can fly into them from the side or even below. But be careful, being submerged in a liquid may slow you down a lot!
Your carpet will also wear out over time when flying (very minor wear), sliding (pretty minor wear) on the ground and especially collisions at high speed (major wear). At high wear levels, the carpet will emit black star particles, at critical wear levels it will emit an annoying sound. At this point you have roughly up to (!) 5 minutes worth of flight left before it disintegrates under your feet, so you should land as soon as possible. If you fly perfectly, you can use a single flying carpet for about 12 hours.
If you leave a carpet alone and it rests for 1 minute, it will disappear and is gone for good.
Controls:
Note: You can't get on the carpet or take it if it is going fast.
Known bugs (green = has been fixed recently):
TODO list (green = done):
Dependencies
License of everything: WTFPL, except one sound by p0ss (CC-BY-SA 3.0).
Download: http://repo.or.cz/minetest_flying_carpe ... bb8b98.zip
Project page (Git): http://repo.or.cz/w/minetest_flying_carpet.git
Version: 0.5.0
Quickly explore the vast terrain with the magical flying carpet. Fly safely and preserve your energy to make the most of it.
The carpet flies fast horizontally, but very slowly is it able to move vertically. It constantly reduces your mana resources, you can't use it forever (note: only if Mana mod is installed). Also, long flights, scratching and crashes will cause long-term damage to the flying carpet.
How to use
(note: very detailed instructions are also in the readme file)
To obtain it in Minetest Game (and similar subgames), use this crafting recipe:
Red Wool, Yellow Wool, Red Wool
Mese Crystal, Gold Ingot, Mese Crystal
To obtain it by cheating, use “/giveme flying_carpet:carpet”.
Look to the desired initial flight direction and place the carpet on any flat surface, make sure it has enough space. Then rightclick it to depart.
Flying the carpet is a bit tricky, because it flies fast, you can't fully brake and the turning speed is rather low. Be careful not to crash into the landscape!
If the carpet is under a certain critcal speed, it loses its magic and just drops on the ground. This also happens if you crash into the landscape! Crashing might hurt you, so be careful. But falling with the carpet causes less damage than falling normally. Still, you better don't want to crash too often. ;-)
Your carpet will also stop working if your mana resources are depleted (only if Mana mod is installed and active).
When your carpet stopped working, you have to collect the carpet (punch it) and place it again.
If you fly directly down onto solid ground, your flying carpet will come to a halt quickly.
Your carpet can not fly into liquids from above, but it can fly into them from the side or even below. But be careful, being submerged in a liquid may slow you down a lot!
Your carpet will also wear out over time when flying (very minor wear), sliding (pretty minor wear) on the ground and especially collisions at high speed (major wear). At high wear levels, the carpet will emit black star particles, at critical wear levels it will emit an annoying sound. At this point you have roughly up to (!) 5 minutes worth of flight left before it disintegrates under your feet, so you should land as soon as possible. If you fly perfectly, you can use a single flying carpet for about 12 hours.
If you leave a carpet alone and it rests for 1 minute, it will disappear and is gone for good.
Controls:
- Up: Accelerate
- Down: Brake
- Left: Turn left
- Right: Turn right
- Jump: Rise up
- Sneak: Fall
- Right click carpet: Get on or get off the carpet
- Punch carpet: Stop flying, or get off the carpet and take it if not flying
Note: You can't get on the carpet or take it if it is going fast.
Known bugs (green = has been fixed recently):
- The flight sound ought to be dynamically assigned to the carpet, yet it seems to have always the same volume, regardless of how far away you are. What is funny, I already managed to do that correctly once, but I don't have that code anymore. :-(
- If you were attached to the flying carpet, then leave the server, then join again, you will spawn detached from the carpet
- You permanently lose mana regeneration if you leave the server while being attached to a carpet.
- Sliding does not take nodeboxes into account (e.g. snow from Minetest Game)
- Random collisions may occour in mid-flight (I have no idea what causes this, maybe unloaded chuncks? Or a mod bug?)
TODO list (green = done):
- Hurt player when dropping with carpet (probably needs engine change)
- Add a few particle effects
- Network optimization (well, at least as much as possible)
- Crafting recipe
- Automatically remove used-up but not collected carpets after a while
- Maybe: Slowing down down by sliding on the floor
- Maybe: Make low-res textures
Dependencies
- No mandatory dependencies.
- Optional: default and wool from Minetest Game (used for the player model, animations and crafting recipe). This mod is also compatible with the Player Model mod
- Optional: Mana (1.1.0 or later, but before 2.0.0)
- Optional: doc_items and doc_identifier from Documentation System
- Optional: intllib
License of everything: WTFPL, except one sound by p0ss (CC-BY-SA 3.0).
Download: http://repo.or.cz/minetest_flying_carpe ... bb8b98.zip
Project page (Git): http://repo.or.cz/w/minetest_flying_carpet.git
Version: 0.5.0
