aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorrubenwardy <rubenwardy@gmail.com>2015-03-30 11:55:29 +0100
committerest31 <MTest31@outlook.com>2015-05-19 21:27:07 +0200
commit603297cc352cab685dd01dcd645999624ad17c0b (patch)
tree0be1fd0e2ab64578549ee94b3b7c9a3d1c868859 /doc
parent43702ec6ac0fae7c8ef04be82bcca72ba9bec017 (diff)
downloadminetest-603297cc352cab685dd01dcd645999624ad17c0b.tar.gz
minetest-603297cc352cab685dd01dcd645999624ad17c0b.tar.bz2
minetest-603297cc352cab685dd01dcd645999624ad17c0b.zip
Add texture overriding
Diffstat (limited to 'doc')
-rw-r--r--doc/texture_overrides.txt35
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/texture_overrides.txt b/doc/texture_overrides.txt
new file mode 100644
index 000000000..559591184
--- /dev/null
+++ b/doc/texture_overrides.txt
@@ -0,0 +1,35 @@
+Texture Overrides
+=================
+
+You can override the textures of a node from a texture pack using
+texture overrides. To do this, create a file in a texture pack
+called override.txt
+
+Basic Format
+------------
+
+Each line in an override.txt file is a rule. It consists of
+
+ nodename face-selector texture
+
+For example,
+
+ default:dirt_with_grass sides default_stone.png
+
+You can use ^ operators as usual:
+
+ default:dirt_with_grass sides default_stone.png^[brighten
+
+Face Selectors
+--------------
+
+| face-selector | behavior |
+|---------------|---------------------------------------------------|
+| left | x- |
+| right | x+ |
+| front | z- |
+| back | z+ |
+| top | z+ |
+| bottom | z- |
+| sides | x-, x+, z-, z+ |
+| all | All faces. You can also use '*' instead of 'all'. |