14 LOG_TRACE(
"Warning: Physical items are enabled but no physics engine can be used. Reverting to old items.");
26 LOG_INFO(
"This cannot be removed at runtime");
68 if(!this.
owner.modelindex)
98 if (item.spawnflags & 1)
104 _setmodel(wep, item.model);
105 setsize(wep, item.mins, item.maxs);
106 setorigin(wep, item.origin);
107 wep.angles = item.angles;
108 wep.velocity = item.velocity;
115 wep.colormap = item.owner.colormap;
116 wep.glowmod = item.owner.glowmod;
118 wep.dphitcontentsmask = item.dphitcontentsmask;
119 wep.cnt = (item.owner !=
NULL);
122 wep.nextthink =
time;
129 wep.spawn_origin = wep.origin;
130 wep.spawn_angles = item.angles;
#define MUTATOR_ONROLLBACK_OR_REMOVE
#define REGISTER_MUTATOR(...)
#define MUTATOR_HOOKFUNCTION(...)
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
void set_movetype(entity this, int mt)
const int MOVETYPE_FOLLOW
const int MOVETYPE_PHYSICS
bool autocvar_physics_ode
#define setSendEntity(e, f)
#define ITEM_TOUCH_NEEDKILL()
#define ITEM_DAMAGE_NEEDKILL(dt)
int autocvar_g_physical_items
float autocvar_g_physical_items_damageforcescale
void physical_item_damage(entity this, entity inflictor, entity attacker, float damage, int deathtype,.entity weaponentity, vector hitloc, vector force)
float autocvar_g_physical_items_reset
void physical_item_think(entity this)
void physical_item_touch(entity this, entity toucher)
void DropToFloor_QC_DelayedInit(entity this)