movable_spaceheater
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 object. Will drop to the floor and rest untill activated.
The visual model set with the 'model' key can also be used for
collision detection. However the model may not be too complex.
max vertices = 32
max edges = 32
max polygons = 16
max edges per polygon = 16
The collision model must be an enclosed hull. Dangling polygons or
edges are not allowed. If the visual model is too complex or does
not meet these requirements it can be contained in a less complex
model for collision detection. Such a collision model is specified with the
'clipmodel' key.
Keys
| Key |
Type |
Default |
Description |
| density |
var |
0.006 |
Volume of the object times the density is the mass. |
| friction |
var |
0.2 |
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 |
hhMoveable -> idMoveable -> idEntity -> idClass |
| Inherits |
default_movable_metalsolid |
| Min |
-12 -32 0 |
| Max |
12 22 54 |
| Color |
0.15 0.6 0.7 |
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 |