NAVIGATION
Wiki » Reference » item_ entities » item_key_red
ARTICLE
item_key_red
This is an entity on id Tech 4 engines, present on DOOM 3. Below you can find its spawnflags, keys and editor settings for each game that defines it.
DOOM 3
Red Key
Keys
| Key | Type | Default | Description |
|---|---|---|---|
| inv_item | bool | 1 | if set to 1, show item acquisition gui when picked up |
| inv_name | var | Red Key | name referenced for triggers etc.. requiring this to be in inventory to work |
| inv_icon | var | icon name for hud graphics | |
| inv_carry | bool | 1 | if set to 1, is carried as opposed to instant use |
| no_touch | bool | trigger to give to player instead of picking up | |
| not_easy | bool | set to 1 and item will not spawn in easy mode | |
| not_medium | bool | set to 1 and item will not spawn in medium mode | |
| not_hard | bool | set to 1 and item will not spawn in hard mode | |
| model | model | models/items/keycard/keycard2.lwo | visual model |
| triggersize | var | amount to expand the pickup trigger by | |
| inv_id | var | id number as defined in guis/itemdefs.h |
Editor
| Property | Value |
|---|---|
| Type | point entity |
| Spawn class | idItem -> idEntity -> idClass |
| Inherits | item_default |
| 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 |
| setGui | idEntity |
| precacheGui | idEntity |
| getGuiParm | idEntity |
| getGuiParmFloat | idEntity |
| guiNamedEvent | idEntity |
| remove | idClass |
Last changed Sep 21, 2026
