understanding LuaEntity visual property

Post Reply
User avatar
LocaL_ALchemisT
Member
Posts: 56
Joined: Thu Jul 19, 2012 16:21
Location: Asia Tenggara

understanding LuaEntity visual property

by LocaL_ALchemisT » Post

can anyone give description on these types of visual:
  1. cube
  2. sprite
  3. upright_sprite
  4. mesh
  5. wielditem
i think i already know about no.1 and no.4, but not the others

many thanks in advance
Built Telegate v1.0, Workers v2.0, Broadcast v0.0 & Weeping Angel v0.1
Having A Buzy Week
From 0.4.10 with love~

User avatar
Krock
Developer
Posts: 4650
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: understanding LuaEntity visual property

by Krock » Post

sprite:
- Flat texture
- Always looks at you (like the dropped items in 0.4.9)
upright_sprite:
- Used for 2D-characters,
- You can go around it like a normal player
- Looks like a standing paper
mesh:
- Visuals are defined with a mesh(-file)
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

Re: understanding LuaEntity visual property

by Calinou » Post

cube: a simple cube, like a default node.

wielditem: similar to a wielded or dropped item; is like upright_sprite, but extruded.

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests