NAVIGATION
Wiki » Reference » movable_ entities » movable_wraithcan_barrel
ARTICLE
movable_wraithcan_barrel
This is an entity on id Tech 4 engines, present on Prey. Below you can find its spawnflags, keys and editor settings for each game that defines it.
Prey
Moveable barrel. Works just like a func_moveable. However the barrel
has special handling to make it appear more round.
Keys
| Key | Type | Default | Description |
|---|---|---|---|
| density | var | 0.004 | Volume of the object times the density is the mass. |
| friction | var | 0.1 | Friction with contacting surfaces in the range [0-1] where 0 is no friction. |
| linearFriction | var | 0.2 | Friction through air in the range [0-1] where 0 is no friction |
| angularFriction | var | 0.2 | Angular friction in the range [0-1] where 0 is no friction |
| bouncyness | var | 0.1 | How much the object bounces in the range [0-1] where 0 is no bounce. |
| clipmodel | model | Model to be used for collision detection. | |
| clipshrink | var | 0 | Shrink the visual model with an epsilon and use it as a clip model. |
| nodrop | bool | 0 | Do not drop to the floor. |
| noimpact | bool | 0 | Do not activate by the impact of other objects. |
| notPushable | bool | 0 | Do not allow to be pushed. |
| unbindondeath | bool | 0 | Unbind entity when health drops down to or below zero. |
| health | var | 0 | If set the moveable takes damage and is removed when killed |
| init_velocity | var | 0 0 0 | Initial linear velocity set when activated. |
| init_avelocity | var | 0 0 0 | Initial angular velocity set when activated. |
| removeTime | var | Time in seconds before the moveable is automatically removed. | |
| removeOnCollision | bool | If true, remove the moveable when it collides with something. | |
| notPushableAI | var | Do not allow to be pushed by monsters. |
Editor
| Property | Value |
|---|---|
| Type | point entity |
| Spawn class | hhBarrel -> hhMoveable -> idMoveable -> idEntity -> idClass |
| Inherits | movable_base_barrel |
| Min | -16 -16 -18 |
| Max | 16 16 18 |
| Color | 1 .5 0 |
Script events
| Event | Declared by |
|---|---|
| hoverTo | hhMoveable |
| unhover | hhMoveable |
| activate | idMoveable |
| becomeNonSolid | idMoveable |
| isAtRest | idMoveable |
| enableDamage | idMoveable |
| moveToJoint | idEntity |
| moveToJointWeighted | idEntity |
| moveJointToJoint | idEntity |
| moveJointToJointOffset | idEntity |
| setSkin | idEntity |
| spawnDebris | idEntity |
| delayDamageEntity | idEntity |
| dispose | idEntity |
| setDeformation | idEntity |
| setFloatKey | idEntity |
| setVectorKey | idEntity |
| setEntityKey | idEntity |
| playerCanSee | idEntity |
| setContents | idEntity |
| setClipmask | idEntity |
| setPortalCollision | idEntity |
| killbox | idEntity |
| getName | idEntity |
| setName | idEntity |
| findTargets | idEntity |
| activateTargets | idEntity |
| numTargets | idEntity |
| getTarget | idEntity |
| randomTarget | idEntity |
| bindToJoint | idEntity |
| removeBinds | idEntity |
| bind | idEntity |
| bindPosition | idEntity |
| unbind | idEntity |
| setOwner | idEntity |
| setModel | idEntity |
| getShaderParm | idEntity |
| setShaderParm | idEntity |
| setShaderParms | idEntity |
| setColor | idEntity |
| getColor | idEntity |
| isHidden | idEntity |
| hide | idEntity |
| show | idEntity |
| cacheSoundShader | idEntity |
| startSoundShader | idEntity |
| startSound | idEntity |
| stopSound | idEntity |
| fadeSound | idEntity |
| getWorldOrigin | idEntity |
| setWorldOrigin | idEntity |
| getOrigin | idEntity |
| setOrigin | idEntity |
| getAngles | idEntity |
| setAngles | idEntity |
| getLinearVelocity | idEntity |
| setLinearVelocity | idEntity |
| getAngularVelocity | idEntity |
| setAngularVelocity | idEntity |
| getSize | idEntity |
| setSize | idEntity |
| getMins | idEntity |
| getMaxs | idEntity |
| touches | idEntity |
| setGuiParm | idEntity |
| setGuiFloat | idEntity |
| getNextKey | idEntity |
| setKey | idEntity |
| getKey | idEntity |
| getIntKey | idEntity |
| getFloatKey | idEntity |
| getVectorKey | idEntity |
| getEntityKey | idEntity |
| restorePosition | idEntity |
| updateCameraTarget | idEntity |
| distanceTo | idEntity |
| distanceToPoint | idEntity |
| startFx | idEntity |
| waitFrame | idEntity |
| wait | idEntity |
| hasFunction | idEntity |
| callFunction | idEntity |
| setNeverDormant | idEntity |
| playRumble | idEntity |
| stopRumble | idEntity |
| remove | idClass |
Last changed Sep 21, 2026
