Quote:
buyzones, hostages, bombzones, rescue points etc
|
No, no, no... I was talking about healthkit, battery etc.
Quote:
This is not a big issue...
|
You know, my imho is that i hate those falling items
![Smile](images/smilies/smile.gif)
As for your imho i think you should block dynamic disabling item mode or require/force a map restart. item_mode already takes too much memory.
Quote:
You mean the entity is above the ground instead exsctly on the ground?
|
Yes, of course. Bounding boxes set during item spawn blocks item to be falled on the ground. Very strange that this examples works properly in HLDM:
Code:
void CItem::Spawn( void )
{
pev->movetype = MOVETYPE_TOSS;
pev->solid = SOLID_TRIGGER;
UTIL_SetOrigin( pev, pev->origin );
UTIL_SetSize(pev, Vector(-16, -16, 0), Vector(16, 16, 16));
SetTouch(ItemTouch);
if (DROP_TO_FLOOR(ENT(pev)) == 0)
{
ALERT(at_error, "Item %s fell out of level at %f,%f,%f", STRING( pev->classname ), pev->origin.x, pev->origin.y, pev->origin.z);
UTIL_Remove( this );
return;
}
}