Difference between revisions of "Minetest Wiki:Policy"
(rename Minetest to Luanti) |
(Improve formatting and add introduction) |
||
Line 1: | Line 1: | ||
{{Languages|nocat=1}} | {{Languages|nocat=1}} | ||
+ | |||
+ | This page explains the rules and guidelines about editing this wiki, as well as some practical hints. | ||
== Wiki rules == | == Wiki rules == | ||
− | * Articles must be related to | + | * Articles must be related to Luanti |
− | * The wiki is not a place to store personal content, images. | + | * The wiki is not a place to store personal content, images, etc. |
+ | * Do not translate old or obsolete pages | ||
=== Specific mod and game guidelines === | === Specific mod and game guidelines === | ||
− | While there has previously been content from games and mods on the | + | While there has previously been content from games and mods on the wiki, using the wiki to store information about specific games and mods is discouraged (exception: Minetest Game). The reason for this is that information often gets out of date as there is nobody to maintain it. You should document your games and mods elsewhere, whether it be in your Git repository or in-game. |
− | The | + | The wiki should primarily be for information about the Luanti engine in general, with an exception for Minetest Game. Existing content about specific mods and games are allowed to stay as long as they are up-to-date and of use. |
== Translating == | == Translating == | ||
If you know another language, you may translate [[:Category:Languages pages|languages pages]], but do read [[Help:Translation Notes|translation notes]] as there might be some notes on translations that has been posted by other translators to maintain consistency. | If you know another language, you may translate [[:Category:Languages pages|languages pages]], but do read [[Help:Translation Notes|translation notes]] as there might be some notes on translations that has been posted by other translators to maintain consistency. | ||
− | '''<span style="font-size: | + | '''<span style="font-size:150%;color:red">Please do not translate old or obsolete pages.</span>''' This wiki has a lot of old and obsolete content, so if you see a page that has some kind of thing at the top denoting it to be outdated, please don't waste your time translating it. |
== Style == | == Style == | ||
+ | |||
+ | This section provides hints on the several style-related things used on this wiki. | ||
=== Blocks === | === Blocks === | ||
* 3D [[Blocks|blocks]], [[slab]]s and [[stair]]s used on the wiki (e.g. [[File:Wooden_Planks.png|20px]]) are generated using [https://www.blender.org Blender] and the <code>.blend</code> files found in [https://forum.minetest.net/download/file.php?id=12075 minetest_block_renders.zip] created by [[User:Calinou|Calinou]] (source: https://forum.minetest.net/viewtopic.php?f=9&t=1690&p=292462). | * 3D [[Blocks|blocks]], [[slab]]s and [[stair]]s used on the wiki (e.g. [[File:Wooden_Planks.png|20px]]) are generated using [https://www.blender.org Blender] and the <code>.blend</code> files found in [https://forum.minetest.net/download/file.php?id=12075 minetest_block_renders.zip] created by [[User:Calinou|Calinou]] (source: https://forum.minetest.net/viewtopic.php?f=9&t=1690&p=292462). | ||
− | * Images are | + | * Images are 150×150 PNG files and should have the front tile on the bottom-left face as in the game. |
=== Items === | === Items === | ||
− | * [[Items]] (e.g. [[File:Apple.png|20px]]) are displayed on the wiki as 2D images ranging from | + | * [[Items]] (e.g. [[File:Apple.png|20px]]) are displayed on the wiki as 2D images ranging from 20×20 to 160×160 pixels. |
− | * It is advised to create a unique version of | + | * It is advised to create a unique version of 160×160. If you use a 16×16 image, browsers will scale up the image using interpolation and the result will not look very clean. |
− | * Create images by extracting the | + | * Create images by extracting the 16×16 version available in the [https://github.com/minetest/minetest_game GitHub repository] and scale them to 160×160. Use no scaling interpolation, or nearest neighbor, so that the pixelized appearance is maintained. For this task, you can use one of the following: |
** [https://www.gimp.org/ GIMP] | ** [https://www.gimp.org/ GIMP] | ||
** [https://github.com/MrIbby/PixelResizer/wiki Pixel Resizer], created by [[User:MrIbby|MrIbby]] (requires Java 7 or higher) | ** [https://github.com/MrIbby/PixelResizer/wiki Pixel Resizer], created by [[User:MrIbby|MrIbby]] (requires Java 7 or higher) | ||
Line 33: | Line 38: | ||
Please use PNG for screenshots, not JPEG (JPEG provides lossy compression). | Please use PNG for screenshots, not JPEG (JPEG provides lossy compression). | ||
− | + | ====Creating transparent mob pictures==== | |
− | + | ||
+ | =====Blender===== | ||
* Move to the default 3D view. | * Move to the default 3D view. | ||
* Go to Object Mode, right-click a bone if there is any, and press M to move them to another layer. | * Go to Object Mode, right-click a bone if there is any, and press M to move them to another layer. | ||
Line 40: | Line 46: | ||
* Press Shift + C to reset the camera and render the picture. | * Press Shift + C to reset the camera and render the picture. | ||
− | + | =====Ingame===== | |
+ | |||
* Use the [https://forum.minetest.net/viewtopic.php?f=11&t=13180 Green Screen] mod to make a wall out of white screen blocks. | * Use the [https://forum.minetest.net/viewtopic.php?f=11&t=13180 Green Screen] mod to make a wall out of white screen blocks. | ||
* Add this code to the init.lua file in the mobs mod, change <code>modname</code> to the mod's name, and change any character text to the corresponding text of the mob that you want to take a picture of. | * Add this code to the init.lua file in the mobs mod, change <code>modname</code> to the mod's name, and change any character text to the corresponding text of the mob that you want to take a picture of. | ||
Line 66: | Line 73: | ||
* Change the mob's walk velocity in the Lua code to 0.0000001, which will virtually stop the mob from moving. | * Change the mob's walk velocity in the Lua code to 0.0000001, which will virtually stop the mob from moving. | ||
− | * Disable damage, spawn the mob with its egg, and take screenshots with F12. | + | * Disable damage, spawn the mob with its egg, and take screenshots with <kbd>F12</kbd>. |
− | + | =====GIMP (making the picture transparent) ===== | |
− | * Press Shift + O for the color picker and click on the background. | + | * Press <kbd>Shift</kbd> + <kbd>O</kbd> for the color picker and click on the background. |
* Then under Layer → Transparency → Color to Alpha, choose the right color, and click OK. Now the picture is transparent. | * Then under Layer → Transparency → Color to Alpha, choose the right color, and click OK. Now the picture is transparent. | ||
[[Category:Wiki related]] | [[Category:Wiki related]] | ||
[[Category:Languages_pages]] | [[Category:Languages_pages]] |
Revision as of 00:32, 23 October 2024
Language: | English • Deutsch • français • Bahasa Melayu |
---|
This page explains the rules and guidelines about editing this wiki, as well as some practical hints.
Wiki rules
- Articles must be related to Luanti
- The wiki is not a place to store personal content, images, etc.
- Do not translate old or obsolete pages
Specific mod and game guidelines
While there has previously been content from games and mods on the wiki, using the wiki to store information about specific games and mods is discouraged (exception: Minetest Game). The reason for this is that information often gets out of date as there is nobody to maintain it. You should document your games and mods elsewhere, whether it be in your Git repository or in-game.
The wiki should primarily be for information about the Luanti engine in general, with an exception for Minetest Game. Existing content about specific mods and games are allowed to stay as long as they are up-to-date and of use.
Translating
If you know another language, you may translate languages pages, but do read translation notes as there might be some notes on translations that has been posted by other translators to maintain consistency.
Please do not translate old or obsolete pages. This wiki has a lot of old and obsolete content, so if you see a page that has some kind of thing at the top denoting it to be outdated, please don't waste your time translating it.
Style
This section provides hints on the several style-related things used on this wiki.
Blocks
- 3D blocks, slabs and stairs used on the wiki (e.g. ) are generated using Blender and the
.blend
files found in minetest_block_renders.zip created by Calinou (source: https://forum.minetest.net/viewtopic.php?f=9&t=1690&p=292462). - Images are 150×150 PNG files and should have the front tile on the bottom-left face as in the game.
Items
- Items (e.g. ) are displayed on the wiki as 2D images ranging from 20×20 to 160×160 pixels.
- It is advised to create a unique version of 160×160. If you use a 16×16 image, browsers will scale up the image using interpolation and the result will not look very clean.
- Create images by extracting the 16×16 version available in the GitHub repository and scale them to 160×160. Use no scaling interpolation, or nearest neighbor, so that the pixelized appearance is maintained. For this task, you can use one of the following:
- GIMP
- Pixel Resizer, created by MrIbby (requires Java 7 or higher)
Screenshots
Please use PNG for screenshots, not JPEG (JPEG provides lossy compression).
Creating transparent mob pictures
Blender
- Move to the default 3D view.
- Go to Object Mode, right-click a bone if there is any, and press M to move them to another layer.
- Go under the Camera tab, expand Shading, and change Alpha from Sky to Transparent.
- Press Shift + C to reset the camera and render the picture.
Ingame
- Use the Green Screen mod to make a wall out of white screen blocks.
- Add this code to the init.lua file in the mobs mod, change
modname
to the mod's name, and change any character text to the corresponding text of the mob that you want to take a picture of.
minetest.register_node("modname:character_statue", {
description = 'Character Statue',
drawtype = 'mesh',
mesh = 'character.b3d',
tiles = {'character.png'},
inventory_image = 'character.png',
groups = {not_in_creative_inventory=0},
paramtype = 'light',
paramtype2 = 'facedir',
groups = {cracky=3, stone=1},
selection_box = {
type = 'fixed',
fixed = {-1, -0.5, -1, 1, 3, 1}, -- Right, Bottom, Back, Left, Top, Front
},
collision_box = {
type = 'fixed',
fixed = {-1, -0.5, -1, 1, 3, 1}, -- Right, Bottom, Back, Left, Top, Front
},
})
OR
- Change the mob's walk velocity in the Lua code to 0.0000001, which will virtually stop the mob from moving.
- Disable damage, spawn the mob with its egg, and take screenshots with F12.
GIMP (making the picture transparent)
- Press Shift + O for the color picker and click on the background.
- Then under Layer → Transparency → Color to Alpha, choose the right color, and click OK. Now the picture is transparent.