Raised This Month: $ Target: $400
 0% 

CSDM 2.1.3d KWo beta


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Simon Logic
Senior Member
Join Date: Nov 2006
Location: RF
Old 12-22-2006 , 07:21   Re: CSDM 2.1d beta
Reply With Quote #1

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 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;
	}
}
Simon Logic is offline
Send a message via Skype™ to Simon Logic
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:19.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode