mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Add model[] formspec element (#10320)
Formspec element to display models, written by @kilbith, rebased and tweaked. Co-authored-by: Jean-Patrick Guerrero <jeanpatrick.guerrero@gmail.com> Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
parent
e3bd6704a0
commit
3356da0151
16 changed files with 545 additions and 1 deletions
|
@ -327,6 +327,10 @@ Number]
|
|||
animated_image[3,4.25;1,1;;testformspec_animation.png;4;0;3]
|
||||
animated_image[5.5,0.5;5,2;;testformspec_animation.png;4;100]
|
||||
animated_image[5.5,2.75;5,2;;testformspec_animation.jpg;4;100]
|
||||
|
||||
style[m1;bgcolor=black]
|
||||
model[0.5,6;4,4;m1;testformspec_character.b3d;testformspec_character.png]
|
||||
model[5,6;4,4;m2;testformspec_chest.obj;default_chest_top.png,default_chest_top.png,default_chest_side.png,default_chest_side.png,default_chest_front.png,default_chest_inside.png;30,1;true;true]
|
||||
]],
|
||||
|
||||
-- Scroll containers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue