func_arena Tuesday, September 22, 2026
Building, modding and fragging like it's 1998

142778 visitors
YOUR #1 SOURCE FOR RETRO FPS DEVELOPMENT Y2K READY
  *** func_arena goes live, let the carnage begin!   ***   ET: Legacy 2.86.0 is out!   ***   Engine of the Week: qrustyquake by cyanbun96   ***   Server admins: read our migration guide before Friday   ***   Ironwail 0.8.2 is out!   ***  
NAVIGATION
Wiki » Reference » func_ entities » func_door_mcc
ARTICLE

func_door_mcc

This is an entity on id Tech 4 engines, present on Quake 4. Below you can find its spawnflags, keys and editor settings for each game that defines it.

Quake 4

Door.

Keys

Key Type Default Description
start_open bool 0 the door moves to its destination when spawned, and operate in reverse. It is used to temporarily or permanently close off an area when triggered (not useful for touch or takedamage doors).
no_touch bool 0 the door should not be triggered by the player touching it, only by another trigger. in multiplayer, this door can't be shot to open.
locked bool used in conjunction with no_touch,the door must be triggered by a trigger, after which it works normally. if locked = 1 then the door opens when unlocked, if locked = 2 then the door just becomes unlocked.
buddy var will toggle shaderparm 7 of the entity given as a buddy, this allows shaders to be remapped for lock status etc.
crusher bool 0 the door does not reverse when blocked.
angle var 0 determines the opening direction.
movedir var determines the opening direction. if set, 'angle' determines orientation.
speed var 100 movement speed.
time var movement time in seconds. overrides speed. used for doors that move different distances, but still need to be synced.
wait bool 3 wait before returning (-1 = never return).
toggle bool wait at each position until triggered again.
lip var 8 lip remaining at end of move.
dmg var 2 damage to inflict when blocked.
health var 0 if set, the door must be shot open.
triggersize var 60 sets the amount the trigger extends from the door.
gui_noninteractive bool any gui attached will not be interactive
snd_locked snd mcc_door_locked sound to play if door is locked and player approaches.
snd_open snd mcc_door_open sound to play when opening.
snd_close snd mcc_door_close sound to play when closing.
snd_opened snd mcc_door_opened looping sound for it's opened state.
triggerClosed var name of entity to trigger when door closes, can be iterated with triggerClosed2, 3 etc.
triggerOpened var name of entity to trigger when door opens, can be iterated with triggerOpened2, 3 etc.
triggerBlocked var name of entity to trigger when door is blocked, can be iterated with triggerBlocked2, 3 etc.
triggerOnOpen var entity to trigger when the door trigger is first touched. When using openWait,

Editor

Property Value
Type brush entity
Spawn class idDoor -> idMover_Binary -> idEntity -> idClass
Inherits func_door
Color 0 .5 .8

Script events

Event Declared by
activate idDoor
open idDoor
close idDoor
lock idDoor
isOpen idDoor
isLocked idDoor
spectatorTouch idDoor
openPortal idDoor
closePortal idDoor
enable idMover_Binary
disable idMover_Binary
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
<< back to the wiki  ·  History
RELATED GAMES
Quake 4
HOT FILES
No files yet.
all files >>
LATEST BLOGS
No blog posts yet.
all blogs >>
MEDIA FROM THE BLOGS
No blog post has a picture yet.
all blogs >>
LATEST DEVLOGS
No devlog entries yet.
all blogs >>
CHAT
IRC:
#func_arena @ irc.libera.chat

Discord:
Map-Center

41 fraggers right now. Be nice to others.
Powered by Debian Linux Now! Get Mozilla Now! Stop Microsoft! Dopefish Now! 1-Bit Icons by Nikoichu
home  ·  contact  ·  privacy policy  ·  forums  ·  submit content  ·  rss
func_arena is a member of the func_network. We are not responsible for user content, your ping, or your kill-to-death ratio.
Powered by fragnuke 0.7.2. Best viewed at 1024x768 in Mozilla. No frames, no Flash, no bs.