weapon_railgun
This is an entity, present on Quake II, Quake III Arena and Quake 4. Below you can find its spawnflags, keys and editor settings for each game that defines it.
Quake II
Editor
| Property |
Value |
| Type |
point entity |
| Min |
-16 -16 -16 |
| Max |
16 16 16 |
| Color |
.3 .3 1 |
Quake III Arena
Spawnflags
| Flag |
Bit |
Description |
| suspended |
1 |
|
Editor
| Property |
Value |
| Type |
point entity |
| Min |
-16 -16 -16 |
| Max |
16 16 16 |
| Color |
.3 .3 1 |
Item
| Property |
Value |
| pickup_sound |
sound/misc/w_pkup.wav |
| world_model |
models/weapons2/railgun/railgun.md3 |
| icon |
icons/iconw_railgun |
| pickup_name |
Railgun |
| quantity |
10 |
| giType |
IT_WEAPON |
| giTag |
WP_RAILGUN |
Quake 4
Railgun
Editor
| Property |
Value |
| Type |
point entity |
| Spawn class |
idItem -> idEntity -> idClass |
| Min |
-16 -16 0 |
| Max |
16 16 32 |
| Color |
.3 .3 1 |
Script events
| Event |
Declared by |
| activate |
idItem |
| respawn |
idItem |
| 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 |
Last changed Sep 21, 2026