understanding LuaEntity visual property

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

understanding LuaEntity visual property

by LocaL_ALchemisT » Fri Dec 19, 2014 20:05

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: 4469
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

Re: understanding LuaEntity visual property

by Krock » Fri Dec 19, 2014 20:24

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: 3159
Joined: Mon Aug 01, 2011 14:26
Location: Troyes, France
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: understanding LuaEntity visual property

by Calinou » Sat Dec 20, 2014 08:41

cube: a simple cube, like a default node.

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


Return to Modding Discussion



Who is online

Users browsing this forum: No registered users and 1 guest

cron