For mobs, my sight flags are:
sight = SEE_SELF | SEE_PIXELS
For atoms, my appearance flags are:
appearance_flags = LONG_GLIDE | KEEP_TOGETHER
For my plane layers, the defines are:
#define PLANE_FLOOR -3
#define PLANE_WALL -2
#define PLANE_OBJ -1
#define PLANE_MOB 0
#define PLANE_EFFECT 4
#define PLANE_AREA 5 //Or weather
#define PLANE_LIGHTING 6
#define PLANE_INJURY 7
#define PLANE_ALWAYS_VISIBLE 8
#define PLANE_HUD 9
#define PLANE_HUD_OBJ 10
#define PLANE_MAP 99
#define PLANE_MAP_TEXT 100
Thank you for the help.
If you can provide me an example project (with source) I can take a look. You can send me a link to a .zip file via the pager.