I'm using Solokiller's Updated SDK and decided I need an env_sky in my mod because it's nice.
And well, it does work and all... but for some reason only world brushes and func_details are being projected into the sky box. If I place a monster, some other point entity or a brush entity that isn't a func_detail in my skyroom then these things won't be shown in the skybox.
Server code looks like this:
class CEnvSky : public CBaseEntity
pev->effects |= EF_NODRAW;
pev->nextthink = gpGlobals->time + 0.01;
MESSAGE_BEGIN(MSG_BROADCAST, gmsgSetSky, NULL);
WRITE_BYTE(1); // mode
WRITE_COORD(pev->origin.x); // view position
ALERT(at_console, "env_sky messaged\n");
Message code and the way it's handled on client is the same as in Spirit, par some minor differences since I'm using Solokiller's
What do I do?