 |
 |
item_default
This is an entity on id Tech 4 engines, present on DOOM 3, Quake 4 and Prey. Below you can find its spawnflags, keys and editor settings for each game that defines it.
DOOM 3
Keys
| Key |
Type |
Default |
Description |
| inv_item |
bool |
1 |
if set to 1, show item acquisition gui when picked up |
| inv_name |
var |
|
name referenced for triggers etc.. requiring this to be in inventory to work |
| inv_icon |
var |
|
icon name for hud graphics |
| inv_carry |
bool |
|
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 |
|
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 |
| 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 |
 |
Quake 4
Keys
| Key |
Type |
Default |
Description |
| inv_item |
bool |
1 |
if set to 1, show item acquisition gui when picked up |
| inv_name |
var |
|
name referenced for triggers etc.. requiring this to be in inventory to work |
| inv_icon |
var |
gfx/guis/hud/icons/item_generic.tga |
icon name for hud graphics |
| inv_carry |
bool |
|
if set to 1, is carried as opposed to instant use |
| no_touch |
bool |
|
trigger to give to player instead of picking up |
| model |
model |
|
visual model |
| snd_acquire |
snd |
items_ammo_default |
sound to make when acquired |
| triggersize |
var |
|
amount to expand the pickup trigger by |
| inv_id |
var |
|
id number as defined in guis/itemdefs.h |
| 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 |
Editor
| Property |
Value |
| Type |
point entity |
| Spawn class |
idItem -> idEntity -> idClass |
| Inherits |
item_triggersize_SP |
| Min |
-8 -8 0 |
| Max |
8 8 16 |
| 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 |
 |
Prey
Keys
| Key |
Type |
Default |
Description |
| inv_carry |
bool |
|
if set to 1, is carried as opposed to instant use |
| inv_name |
var |
Item |
name referenced for triggers etc.. requiring this to be in inventory to work |
| inv_text |
var |
|
text passed to HUD when item is picked up (TRANSLATE THESE) |
| inv_icon |
var |
|
icon name for hud graphics |
| respawn |
var |
10 |
fixme: document this |
| triggerFirst |
bool |
|
needs to be triggered before it can be picked up. If not set, you can trigger to perform the pickup. |
| model |
model |
|
visual model |
| snd_acquire |
snd |
item_pickup |
sound to make when acquired |
| triggersize |
var |
|
amount to expand the pickup trigger by |
| inv_id |
var |
|
id number as defined in guis/itemdefs.h |
| onlyVisibleInSpirit |
bool |
|
Whether visible only in spiritwalk |
| onlyInvisibleInSpirit |
bool |
|
Whether invisible only in spiritwalk |
| onlySpiritWalkTouch |
bool |
|
This item can only be picked up by spiritplayers |
| allowSpiritWalkTouch |
bool |
1 |
This item can be picked up in spiritwalk or not |
| enablePickup |
bool |
|
Whether picking up an item by touching it is allowed |
| start_off |
bool |
|
If set, hides the pickup |
Editor
| Property |
Value |
| Type |
point entity |
| Spawn class |
hhItem -> idItem -> idEntity -> idClass |
| Min |
-16 -16 0 |
| Max |
16 16 32 |
| Color |
0.6 0.6 0 |
Script events
| Event |
Declared by |
| respawn |
hhItem |
| activate |
idItem |
| 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
|
|
 |
 |
|
 |
 |
 |
| No blog post has a picture yet. |
|
 |
 |
 |
 |
IRC: #func_arena @ irc.libera.chat
Discord: Map-Center
41 fraggers right now. Be nice to others.
|
|
 |
 |
|