NAVIGATION
Wiki » Reference » vehicle_ entities » vehicle_railshuttle
ARTICLE
vehicle_railshuttle
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
Railed shuttle vehicle
Keys
| Key | Type | Default | Description |
|---|---|---|---|
| triggerDamage | var | name of entity to trigger when the vehicle takes damage | |
| triggerFire | var | name of entity to trigger when the arc attack is fired | |
| nodrop | bool | if set, will not drop to floor at startup | |
| density | var | 0.2 | density of the ship (0.2) |
| friction_linear | var | 0.1 | linear friction [0..1] |
| friction_angular | var | 0.0 | angular friction [0..1] |
| friction_contact | var | 0.0 | contact friction [0..1] |
| bouncyness | var | 0.4 | bouncyness [0..1] |
| activeGravity | var | 0 0 0 | gravity vector when under control |
| inactiveGravity | var | 0 0 -1050 | gravity vector when not under control |
| firerate | var | rate of fire of ship guns | |
| health | var | 250 | Initial health |
| thrust | var | thruster impulse magnitude | |
| headlight | bool | 0 | whether it uses a headlight |
| gui | gui | guis/vehicles/shuttle1.gui | gui for console |
| gui_hud | gui | guis/vehicles/railhud.gui | gui for HUD |
| def_projectile | var | projectile of ship | |
| snd_activation | snd | vehicle_railshuttle_activate | vehicle control |
| snd_deactivation | snd | vehicle_railshuttle_deactivate | vehicle release |
| snd_thrust | snd | vehicle_railshuttle_thrust | thruster sound |
| snd_bounce | snd | bounce sound | |
| snd_cannon | snd | vehicle_railshuttle_cannon | Cannon fire sound |
| snd_inuse | snd | vehicle_railshuttle_idle | Idle sound played while in use |
| snd_death | snd | death sound | |
| snd_dying | snd | sound to play when ship is crashing | |
| firemode | var | fire function (0=nothing, 1=cannon, 2=tractor, 3=exit) | |
| altfiremode | var | altfire function (0=nothing, 1=cannon, 2=tractor, 3=exit) | |
| explodedelay | var | 7.0 | seconds after death for explosion |
Editor
| Property | Value |
|---|---|
| Type | point entity |
| Spawn class | hhRailShuttle -> hhVehicle -> hhRenderEntity -> idEntity -> idClass |
| Inherits | vehicle_default |
| Min | -48 -48 -48 |
| Max | 96 48 48 |
| Color | 0.55 0.55 1.0 |
Script events
| Event | Declared by |
|---|---|
| setOrbitRadius | hhRailShuttle |
| railShuttleJump | hhRailShuttle |
| railShuttleFinalJump | hhRailShuttle |
| railShuttleIsJumping | hhRailShuttle |
| railShuttleDisengage | hhRailShuttle |
| getCockpit | hhRailShuttle |
| fireCannon | hhVehicle |
| getIn | hhVehicle |
| getOut | hhVehicle |
| fire | hhVehicle |
| altFire | hhVehicle |
| orientTowards | hhVehicle |
| thrustTowards | hhVehicle |
| releaseControl | hhVehicle |
| ejectPilot | hhVehicle |
| 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
