Difference between revisions of "Minetest Wiki:Policy"

From Minetest Wiki
Jump to navigation Jump to search
m (added naming images for mods style)
(add link to Help:Contents, but nicer formatted)
 
(22 intermediate revisions by 6 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{Languages|nocat=1}}
{{Languages}}
 
  
== Wiki rules ==
+
{{mbox|type=info|text=This page describes the wiki editing policy. If you’re looking for help editing this wiki, go to [[Help:Contents]].}}
  
* Articles must be related to Minetest.
+
This page explains the rules about editing this wiki.
* The wiki is not a place to store personal content, images…
+
== Rules for article authors ==
  
=== Mod and custom game guidelines ===
+
* Articles must be related to Luanti
 +
* The wiki is not a place to store personal content, images, etc.
 +
* Read [[Help:Translation Notes]] before you start translating pages
 +
* Do not translate old or obsolete pages
  
* Content from [[mods]] other than those in [[Subgames/Minetest Game|Minetest Game]] is allowed, however the fact that the item is not in Minetest Game and which mod it is from must be clearly stated.
+
== Guidelines for article authors ==
** Mods that place content on this wiki should create a subpage under “Mods” (eg. “Mods/More_Blocks/Stone_Tile”), listing the blocks, items, commands, etc that the mod provides.
 
** If the mod is also part of a custom game, then the subpage should still be under “Mods”.
 
** If the mod is ''only'' part of a custom game and not distributed as a separate mod, then the subpage must be under “Games” (eg. “Games/Carbone/Commands”).
 
  
== Contributing ==
+
* Learn and try to follow the style hints at [[Help:Style]] when appropriate
 +
* Using the wiki to store information about specific games and mods is discouraged (exception: Minetest Game)
 +
** Existing content about specific mods and games are allowed to stay as long as they are up-to-date and of use
  
Help improving this wiki. Request for an account in the [https://forum.minetest.net/viewtopic.php?f=3&t=10473 forums thread].
+
== Why no game/mod info? ==
  
If you know another language, you may translate [[:Category:Languages pages|languages pages]].
+
Info about games and mods is discouraged because this 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. Minetest Game is the only exception for historic reasons and it has been the default game for a very long time.
  
If you have some technical skills, you may also contribute to the [http://dev.minetest.net development wiki].
 
  
== Style ==
+
[[Category:Wiki related]]
 
+
[[Category:Languages_pages]]
=== Naming images for mods===
 
It is advised to name images for items, blocks, mobs, etc. like this: Item Name (Mod Name).png, Block Name (Mod Name).png, etc. For an example, see [[Mods/Protector/Protection]].
 
 
 
=== Blocks ===
 
 
 
3D [[Blocks|blocks]] used in the wiki (ex. [[File:Wooden_Planks.png|20px]]) are generated using [http://www.blender.org Blender] and the <code>.blend</code> file linked in this [https://forum.minetest.net/viewtopic.php?pid=21076#p21076 forum post] created by [[User:Calinou|Calinou]].
 
 
 
Images are 150x150 PNGs and should have the front tile on the bottom-left face as in the game.
 
 
 
=== Items ===
 
 
 
[[Items]] (ex. [[File:Apple.png|20px]]) are displayed in the wiki as 2D images ranging from 20² to 160² pixels.
 
 
 
It is advised to create a unique version of 160². If you use a 16² image, browsers will scale up the image using interpolation and the result will not look very clean.
 
 
 
Create images by extracting the 16² version available in the [https://github.com/minetest/minetest_game GitHub repository] and scale them to 160². Do not use scaling interpolation so that pixelized appearance is maintained. For this task, you can use one of the following:
 
* [http://www.gimp.org/ GIMP]
 
* [https://github.com/MrIbby/PixelResizer/wiki Pixel Resizer], created by [[User:MrIbby|MrIbby]] (requires Java 7 or higher)
 
 
 
Note: currently many of the items are still 64².
 
 
 
=== Screenshots ===
 
 
 
Please use PNG for screenshots, not JPEG (JPEG provides lossy compression).
 
 
 
=====Transparent mob pictures=====
 
'''Blender'''<br />
 
-move to the default 3d view<br />
 
-go to object mode and right click a bone if there is any press m to move them to another layer<br />
 
-go under the camera tab and expand Shading - change Alpha from Sky to Transparent<br />
 
-press shift + c to reset camera and render picture<br />
 
'''Ingame'''<br />
 
-Use [https://forum.minetest.net/viewtopic.php?f=11&t=13180 greenscreen mod] and make a wall out of whitescreen blocks.<br />
 
-add this code to the init.lua to the mobs mod and rename modname with that mod name also rename all the character text with mob you want to take a picture of.<br />
 
<source lang="lua">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
 
      },
 
})</source>
 
OR<br />
 
-Change walk velocity in mob.lua to 0.0000001 (this will stop mob from mowing)<br />
 
-spawn the mobs with the egg, disable the damage and make screnshoots with prntscrn<br />
 
<br />
 
'''Gimp'''-making picture transparent<br />
 
-press shift-o together for color picker - click on the background<br />
 
-then layer-transparency-color to alpha-choose the right color-press ok and the picture is transparent
 
 
 
[[Category:Minetest (Root Category)]]
 

Latest revision as of 21:32, 28 October 2024

Languages Language: English • Deutsch • français • Bahasa Melayu
Mbox information.png This page describes the wiki editing policy. If you’re looking for help editing this wiki, go to Help:Contents.

This page explains the rules about editing this wiki.

Rules for article authors

  • Articles must be related to Luanti
  • The wiki is not a place to store personal content, images, etc.
  • Read Help:Translation Notes before you start translating pages
  • Do not translate old or obsolete pages

Guidelines for article authors

  • Learn and try to follow the style hints at Help:Style when appropriate
  • Using the wiki to store information about specific games and mods is discouraged (exception: Minetest Game)
    • Existing content about specific mods and games are allowed to stay as long as they are up-to-date and of use

Why no game/mod info?

Info about games and mods is discouraged because this 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. Minetest Game is the only exception for historic reasons and it has been the default game for a very long time.