aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>2012-10-27 01:49:01 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-11-25 18:14:15 +0200
commite42eeec8f626acbaa54ae31c10ca06c868c7931c (patch)
tree61ea64416548b5ad858c6d275da90ace607fd163 /doc
parent118285e6babd511c285780b07c275d527d7da9b1 (diff)
downloadminetest-e42eeec8f626acbaa54ae31c10ca06c868c7931c.tar.gz
minetest-e42eeec8f626acbaa54ae31c10ca06c868c7931c.tar.bz2
minetest-e42eeec8f626acbaa54ae31c10ca06c868c7931c.zip
Framework for the attachment system, new object property which allows changing the color and alpha of mesh materials
New object property which allows changing the color and alpha of mesh materials. Due to the current lighting systems it doesn't work yet, but the full implementation is there Framework for the attachment system, with no actual functionality yet Send bone and player object to the setAttachment function in content_sao.cpp, but we need a way to translate it there and send it to the client I will also want position and rotation offsets to be possible to apply to attachments Network object ID from server to client. This will be used to identify the parent client-side and know what to attach to
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index c99e8035a..cb84b5459 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -1232,9 +1232,8 @@ Object Properties
visual = "cube"/"sprite"/"upright_sprite"/"mesh",
visual_size = {x=1, y=1},
mesh = "model",
- animation_bone_position = {"", {x=0, y=0, z=0}}, -- bone name followed by position vector
- animation_bone_rotation = {"", {x=0, y=0, z=0}}, -- bone name followed by rotation vector
textures = {}, -- number of required textures depends on visual
+ colors = {}, -- number of required colors depends on visual
spritediv = {x=1, y=1},
initial_sprite_basepos = {x=0, y=0},
is_visible = true,