2001-07-23 20:52:47 +00:00
|
|
|
|
#include "defs.qh"
|
2001-07-17 05:58:10 +00:00
|
|
|
|
/*=======================================================//
|
|
|
|
|
// ofnents.QC - CustomTF 3.2.OfN - 30/1/2001 - //
|
|
|
|
|
// by Sergio Fuma<6D>a Grunwaldt - OfteN aka superCOCK2000 //
|
|
|
|
|
=========================================================//
|
|
|
|
|
Additional map entities, spawn functions
|
|
|
|
|
=========================================================*/
|
|
|
|
|
|
|
|
|
|
void() model_solid =
|
|
|
|
|
{
|
|
|
|
|
if (self.mdl != "")
|
|
|
|
|
precache_model(self.mdl);
|
|
|
|
|
|
2001-07-23 20:52:47 +00:00
|
|
|
|
self.movetype = MOVETYPE_NONE;
|
|
|
|
|
self.solid = SOLID_BBOX;
|
2001-07-17 05:58:10 +00:00
|
|
|
|
|
|
|
|
|
setmodel (self, self.mdl);
|
|
|
|
|
setsize(self, self.mins, self.maxs);
|
|
|
|
|
setorigin(self, self.origin);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
void() model_nonsolid =
|
|
|
|
|
{
|
|
|
|
|
if (self.mdl != "")
|
|
|
|
|
precache_model(self.mdl);
|
|
|
|
|
|
2001-07-23 20:52:47 +00:00
|
|
|
|
self.movetype = MOVETYPE_NONE;
|
|
|
|
|
self.solid = SOLID_NOT;
|
2001-07-17 05:58:10 +00:00
|
|
|
|
|
|
|
|
|
setmodel (self, self.mdl);
|
|
|
|
|
setorigin(self, self.origin);
|
|
|
|
|
makestatic (self); //CRASH This used to have no args. Possible?
|
2001-07-23 20:52:47 +00:00
|
|
|
|
};
|