func_rotating
This is an entity, present on Quake II, Quake III Arena, RTCW Single Player, RTCW Multiplayer, Enemy Territory, DOOM 3, Quake 4 and Prey. Below you can find its spawnflags, keys and editor settings for each game that defines it.
Quake II
You need to have an origin brush as part of this entity. The center of that brush will be the point around which it is rotated. It will rotate around the Z axis by default. You can check either the X_AXIS or Y_AXIS box to change that.
Spawnflags
| Flag |
Bit |
Description |
| START_ON |
1 |
|
| REVERSE |
2 |
will cause the it to rotate in the opposite direction. |
| X_AXIS |
4 |
|
| Y_AXIS |
8 |
|
| TOUCH_PAIN |
16 |
|
| STOP |
32 |
mean it will stop moving instead of pushing entities |
| ANIMATED |
64 |
|
| ANIMATED_FAST |
128 |
|
Keys
| Key |
Description |
| speed |
determines how fast it moves; default value is 100. |
| dmg |
damage to inflict when blocked (2 default) |
Editor
| Property |
Value |
| Type |
brush entity |
| Color |
0 .5 .8 |
| Spawn function |
SP_func_rotating |
Quake III Arena
You need to have an origin brush as part of this entity. The center of that brush will be the point around which it is rotated. It will rotate around the Z axis by default. You can check either the X_AXIS or Y_AXIS box to change that.
Spawnflags
| Flag |
Bit |
Description |
| START_ON |
1 |
|
| X_AXIS |
4 |
|
| Y_AXIS |
8 |
|
Keys
| Key |
Description |
| model2 |
.md3 model to also draw |
| speed |
determines how fast it moves; default value is 100. |
| dmg |
damage to inflict when blocked (2 default) |
| color |
constantLight color |
| light |
constantLight radius |
Editor
| Property |
Value |
| Type |
brush entity |
| Color |
0 .5 .8 |
| Spawn function |
SP_func_rotating |
RTCW Single Player
You need to have an origin brush as part of this entity. The center of that brush will be the point around which it is rotated. It will rotate around the Z axis by default. You can check either the X_AXIS or Y_AXIS box to change that.
Spawnflags
| Flag |
Bit |
Description |
| START_ON |
1 |
|
| STARTINVIS |
2 |
|
| X_AXIS |
4 |
|
| Y_AXIS |
8 |
|
Keys
| Key |
Description |
| model2 |
.md3 model to also draw |
| speed |
determines how fast it moves; default value is 100. |
| dmg |
damage to inflict when blocked (2 default) |
| color |
constantLight color |
| light |
constantLight radius |
Editor
| Property |
Value |
| Type |
brush entity |
| Color |
0 .5 .8 |
| Spawn function |
SP_func_rotating |
RTCW Multiplayer
You need to have an origin brush as part of this entity. The center of that brush will be the point around which it is rotated. It will rotate around the Z axis by default. You can check either the X_AXIS or Y_AXIS box to change that.
Spawnflags
| Flag |
Bit |
Description |
| START_ON |
1 |
|
| STARTINVIS |
2 |
|
| X_AXIS |
4 |
|
| Y_AXIS |
8 |
|
Keys
| Key |
Description |
| model2 |
.md3 model to also draw |
| speed |
determines how fast it moves; default value is 100. |
| dmg |
damage to inflict when blocked (2 default) |
| color |
constantLight color |
| light |
constantLight radius |
Editor
| Property |
Value |
| Type |
brush entity |
| Color |
0 .5 .8 |
| Spawn function |
SP_func_rotating |
Enemy Territory
You need to have an origin brush as part of this entity. The center of that brush will be the point around which it is rotated. It will rotate around the Z axis by default. You can check either the X_AXIS or Y_AXIS box to change that.
Spawnflags
| Flag |
Bit |
Description |
| START_ON |
1 |
|
| STARTINVIS |
2 |
|
| X_AXIS |
4 |
|
| Y_AXIS |
8 |
|
Keys
| Key |
Description |
| model2 |
.md3 model to also draw |
| speed |
determines how fast it moves; default value is 100. |
| dmg |
damage to inflict when blocked (2 default) |
| color |
constantLight color |
| light |
constantLight radius |
Editor
| Property |
Value |
| Type |
brush entity |
| Color |
0 .5 .8 |
| Spawn function |
SP_func_rotating |
DOOM 3
Generic rotating entity. It will rotate around the Z axis by default. Targeting entity will cause it to start or stop rotating.
Keys
| Key |
Type |
Default |
Description |
| start_on |
bool |
1 |
set to 1 to rotate when spawned. |
| x_axis |
bool |
0 |
set to 1 to rotate around x-axis. |
| y_axis |
bool |
0 |
set to 1 to rotate around y-axis. |
| speed |
var |
100 |
determines how fast it moves. |
| dmg |
var |
2 |
damage to inflict when blocked. |
Editor
| Property |
Value |
| Type |
brush entity |
| Spawn class |
idRotater -> idMover_Periodic -> idEntity -> idClass |
| Color |
0 .5 .8 |
Script events
| Event |
Declared by |
| activate |
idRotater |
| getName |
idEntity |
| setName |
idEntity |
| activateTargets |
idEntity |
| numTargets |
idEntity |
| getTarget |
idEntity |
| randomTarget |
idEntity |
| bindToJoint |
idEntity |
| removeBinds |
idEntity |
| bind |
idEntity |
| bindPosition |
idEntity |
| unbind |
idEntity |
| setOwner |
idEntity |
| setModel |
idEntity |
| setSkin |
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 |
| distanceTo |
idEntity |
| distanceToPoint |
idEntity |
| startFx |
idEntity |
| waitFrame |
idEntity |
| wait |
idEntity |
| hasFunction |
idEntity |
| callFunction |
idEntity |
| setNeverDormant |
idEntity |
| setGui |
idEntity |
| precacheGui |
idEntity |
| getGuiParm |
idEntity |
| getGuiParmFloat |
idEntity |
| guiNamedEvent |
idEntity |
| remove |
idClass |
 |
Quake 4
Generic rotating entity. It will rotate around the Z axis by default. Targeting entity will cause it to start or stop rotating.
Keys
| Key |
Type |
Default |
Description |
| start_on |
bool |
1 |
set to 1 to rotate when spawned. |
| x_axis |
bool |
0 |
set to 1 to rotate around x-axis. |
| y_axis |
bool |
0 |
set to 1 to rotate around y-axis. |
| speed |
var |
100 |
determines how fast it moves. |
| dmg |
var |
2 |
damage to inflict when blocked. |
| snd_stopped |
snd |
|
sound to play when elevator has stopped moving. |
Editor
| Property |
Value |
| Type |
brush entity |
| Spawn class |
idRotater -> idMover_Periodic -> idEntity -> idClass |
| Color |
0 .5 .8 |
Script events
| Event |
Declared by |
| activate |
idRotater |
| getName |
idEntity |
| setName |
idEntity |
| activateTargets |
idEntity |
| numTargets |
idEntity |
| getTarget |
idEntity |
| randomTarget |
idEntity |
| bindToJoint |
idEntity |
| removeBinds |
idEntity |
| bind |
idEntity |
| bindPosition |
idEntity |
| unbind |
idEntity |
| setOwner |
idEntity |
| setModel |
idEntity |
| setSkin |
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 |
| distanceTo |
idEntity |
| distanceToPoint |
idEntity |
| startFx |
idEntity |
| waitFrame |
idEntity |
| wait |
idEntity |
| hasFunction |
idEntity |
| callFunction |
idEntity |
| setNeverDormant |
idEntity |
| clearSkin |
idEntity |
| setContents |
idEntity |
| getLastBlocker |
idEntity |
| playEffect |
idEntity |
| stopEffect |
idEntity |
| stopAllEffects |
idEntity |
| getHealth |
idEntity |
| hideSurface |
idEntity |
| showSurface |
idEntity |
| guiEvent |
idEntity |
| playbackCallback |
idEntity |
| getBindMaster |
idEntity |
| applyImpulse |
idEntity |
| removeNullTargets |
idEntity |
| isA |
idEntity |
| isSameTypeAs |
idEntity |
| matchPrefix |
idEntity |
| clearTargetList |
idEntity |
| appendTarget |
idEntity |
| removeTarget |
idEntity |
| setHealth |
idEntity |
| remove |
idClass |
 |
Prey
Generic rotating entity. It will rotate around the Z axis by default. Targeting entity will cause it to start or stop rotating.
Keys
| Key |
Type |
Default |
Description |
| start_on |
bool |
1 |
set to 1 to rotate when spawned. |
| x_axis |
bool |
0 |
set to 1 to rotate around x-axis. |
| y_axis |
bool |
0 |
set to 1 to rotate around y-axis. |
| speed |
var |
100 |
determines how fast it moves. |
| dmg |
var |
2 |
damage to inflict when blocked. |
| noclipmodel |
bool |
|
create without clipmodel |
Editor
| Property |
Value |
| Type |
brush entity |
| Spawn class |
idRotater -> idMover_Periodic -> idEntity -> idClass |
| Color |
0.3 0.3 0.75 |
Script events
| Event |
Declared by |
| activate |
idRotater |
| 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 |