Ativa o menu
Alternar menu de preferências
Alternar menu pessoal
Não autenticado(a)
Your IP address will be publicly visible if you make any edits.

Doom Builder ACS Configuration

De Brdoom wiki
Revisão de 14h09min de 8 de março de 2026 por MegaManx3 (discussão | contribs) (Criou página com 'A '''Configuração ACS do Doom Builder''' é a configuração que o Doom Builder usa no editor de scripts para fornecer realce de sintaxe e autocompletar com CTRL+SPACE. Ela existe aqui na wiki do ZDoom para que possa ser mantida atualizada da mesma forma que a documentação. Novas versões do Doom Builder usarão isto como fonte para o arquivo de configuração ACS e, quando possível, até para o arquivo de configuração de jogo do ZDoom. Note que esta é a...')
(dif) ← Edição anterior | Revisão atual (dif) | Versão posterior → (dif)

A Configuração ACS do Doom Builder é a configuração que o Doom Builder usa no editor de scripts para fornecer realce de sintaxe e autocompletar com CTRL+SPACE. Ela existe aqui na wiki do ZDoom para que possa ser mantida atualizada da mesma forma que a documentação. Novas versões do Doom Builder usarão isto como fonte para o arquivo de configuração ACS e, quando possível, até para o arquivo de configuração de jogo do ZDoom.

Note que esta é a configuração de scripts para o Doom Builder 1. Para usar esta lista no Doom Builder 2, você precisará modificar as configurações no topo (veja o ZDoom_ACS.cfg do Doom Builder 2 como exemplo).

Diretrizes de atualização

Use estas diretrizes ao atualizar esta configuração, para que dê menos trabalho converter esta página em um arquivo acs.cfg do Doom Builder.

  • Sempre use MixedCase para nomes de funções, exatamente como o ACS define. Não force para UPPERCASE ou lowercase; isso pode ser feito no Doom Builder se necessário.
  • Sempre use lowercase para os argumentos das funções.
  • Cada linha deve ficar assim: FunctionName = "FunctionName(argument, argument,...)";
  • Depois da vírgula entre argumentos, adicione um espaço. (fica mais legível)
  • Não deixe espaços *dentro* dos argumentos.
    • Errado: FunctionName = "FunctionName(first id, second id)";
    • Certo: FunctionName = "FunctionName(first, second)";
  • Tente manter um pouco em ordem alfabética para conseguirmos achar uma função facilmente ao procurar aqui. Porém, o Doom Builder não se importa com isso.
  • Adicione um espaço no início de cada linha para que ela fique formatada em monospace.

A configuração

/*******************************************************************\
	Doom Builder Script highlighting definitions for ACS
\*******************************************************************/

type = "Doom Builder Script Configuration";

casesensitive = 0;
insertcase = 0;		// 0=Normal, 1=Lowercase, 2=Uppercase
linecomment = "//";
commentopen = "/*";
commentclose = "*/";
string = "\"";
escape = "\\";
terminator = ";";
scopeopen = "{";
scopeclose = "}";
delimiters = " \n\r\t(){}[]:;!%^&*-+=.,<>/\?|\"";
functionopen = "(";
functionclose = ")";
argumentdelimiter = ",";
keywordhelp = "http://www.zdoom.org/wiki/index.php?title=%K";

keywords
{
	#Define = "#Define identifier expression";
	#EncryptStrings = "#EncryptStrings";
	#Import = "#Import";
	#Include = "#Include";
	#LibDefine = "#LibDefine identifier expression";
	#Library = "#Library";
	#NoCompact = "#NoCompact";
	#NoWadAuthor = "#NoWadAuthor";
	#WadAuthor = "#WadAuthor";
	#region = "#region block";
	#endregion = "end of #region block";
	ACS_Execute = "ACS_Execute(script, map, arg1, arg2, arg3)";
	ACS_ExecuteAlways = "ACS_ExecuteAlways(script, map, arg1, arg2, arg3)";
	ACS_ExecuteWait = "ACS_ExecuteWait(script, unused, arg1, arg2, arg3)";
	ACS_ExecuteWithResult = "ACS_ExecuteWithResult(script, arg1, arg2, arg3, arg4)";
	ACS_LockedExecute = "ACS_LockedExecute(script, map, arg1, arg2, lock)";
	ACS_LockedExecuteDoor = "ACS_LockedExecuteDoor(script, map, arg1, arg2, lock)";
	ACS_NamedExecute = "ACS_NamedExecute(script, map, arg1, arg2, arg3)";
	ACS_NamedExecuteAlways = "ACS_NamedExecuteAlways(script, map, arg1, arg2, arg3)";
	ACS_NamedExecuteWait = "ACS_NamedExecuteWait(script, unused, arg1, arg2, arg3)";
	ACS_NamedExecuteWithResult = "ACS_NamedExecuteWithResult(script, arg1, arg2, arg3, arg4)";
	ACS_NamedLockedExecute = "ACS_NamedLockedExecute(script, map, arg1, arg2, lock)";
	ACS_NamedLockedExecuteDoor = "ACS_NamedLockedExecuteDoor(script, map, arg1, arg2, lock)";
	ACS_NamedSuspend = "ACS_NamedSuspend(script, map)";
	ACS_NamedTerminate = "ACS_NamedTerminate(script, map)";
	ACS_Suspend = "ACS_Suspend(script, map)";
	ACS_Terminate = "ACS_Terminate(script, map)";
	ActivatorSound = "ActivatorSound(sound, volume)";
	ActivatorTID = "ActivatorTID()";
	AmbientSound = "AmbientSound(sound, volume)";
	AnnouncerSound = "AnnouncerSound(sound, flags)";
	Autosave = "Autosave()";
	BeginDBTransaction = "BeginDBTransaction()";
	BlueCount = "BlueCount()";
	BlueReturn = "Script expression BlueReturn";
	BlueScore = "BlueScore()";
	BlueTeamCount = "BlueTeamCount()";
	BlueTeamScore = "BlueTeamScore()";
	Bool = "Bool expression";
	Break = "Break";
	CancelFade = "CancelFade()";
	CanRaiseActor = "CanRaiseActor(tid)";
	Case = "Case expression:";
	Ceil = "Ceil(value)";
	Ceiling_CrushAndRaise = "Ceiling_CrushAndRaise(tag, speed, crush, crushmode)";
	Ceiling_CrushAndRaiseA = "Ceiling_CrushAndRaiseA(tag, dspeed, uspeed, crush, crushmode)";
	Ceiling_CrushAndRaiseDist = "Ceiling_CrushAndRaiseDist(tag, dist, speed, damage, crushmode)";
	Ceiling_CrushAndRaiseSilentA = "Ceiling_CrushAndRaiseSilentA(tag, dspeed, uspeed, crush, crushmode)";
	Ceiling_CrushAndRaiseSilentDist = "Ceiling_CrushAndRaiseSilentDist(tag, dist, speed, damage, crushmode)";
	Ceiling_CrushRaiseAndStay = "Ceiling_CrushRaiseAndStay(tag, speed, crush, crushmode)";
	Ceiling_CrushRaiseAndStayA = "Ceiling_CrushRaiseAndStayA(tag, dspeed, uspeed, crush, crushmode)";
	Ceiling_CrushRaiseAndStaySilA = "Ceiling_CrushRaiseAndStaySilA(tag, dspeed, uspeed, crush, crushmode)";
	Ceiling_CrushStop = "Ceiling_CrushStop(tag)";
	Ceiling_LowerAndCrush = "Ceiling_LowerAndCrush(tag, speed, crush, crushmode)";
	Ceiling_LowerAndCrushDist = "Ceiling_LowerAndCrushDist(tag, speed, crush, dist, crushmode)";
	Ceiling_LowerByTexture = "Ceiling_LowerByTexture(tag, speed, change, crush)";
	Ceiling_LowerByValue = "Ceiling_LowerByValue(tag, speed, height)";
	Ceiling_LowerByValueTimes8 = "Ceiling_LowerByValueTimes8(tag, speed, height)";
	Ceiling_LowerInstant = "Ceiling_LowerInstant(tag, unused, height)";
	Ceiling_LowerToFloor = "Ceiling_LowerToFloor(tag, speed)";
	Ceiling_LowerToHighestFloor = "Ceiling_LowerToHighestFloor(tag, speed)";
	Ceiling_LowerToLowest = "Ceiling_LowerToLowest(tag, speed)";
	Ceiling_LowerToNearest = "Ceiling_LowerToNearest(tag, speed, change, crush)";
	Ceiling_MoveToValue = "Ceiling_MoveToValue(tag, speed, height, neg)";
	Ceiling_MoveToValueAndCrush = "Ceiling_MoveToValueAndCrush(tag, speed, height, crush, crushmode)";
	Ceiling_MoveToValueTimes8 = "Ceiling_MoveToValueTimes8(tag, speed, height, neg)";
	Ceiling_RaiseByTexture = "Ceiling_RaiseByTexture(tag, speed, change)";
	Ceiling_RaiseByValue = "Ceiling_RaiseByValue(tag, speed, height)";
	Ceiling_RaiseByValueTimes8 = "Ceiling_RaiseByValueTimes8(tag, speed, height)";
	Ceiling_RaiseInstant = "Ceiling_RaiseInstant(tag, unused, height)";
	Ceiling_RaiseToHighest = "Ceiling_RaiseToHighest(tag, speed, change)";
	Ceiling_RaiseToHighestFloor = "Ceiling_RaiseToHighestFloor(tag, speed, change)";
	Ceiling_RaiseToLowest = "Ceiling_RaiseToLowest(tag, speed, change)";
	Ceiling_RaiseToNearest = "Ceiling_RaiseToNearest(tag, speed)";
	Ceiling_Stop = "Ceiling_Stop(tag)";
	Ceiling_ToFloorInstant = "Ceiling_ToFloorInstant(tag, change, crush, gap)";
	Ceiling_ToHighestInstant = "Ceiling_ToHighestInstant(tag, change, crush)";
	Ceiling_Waggle = "Ceiling_Waggle(tag, amp, freq, offset, time)";
	ChangeActorAngle = "ChangeActorAngle(tid, angle, interpolate)";
	ChangeActorPitch = "ChangeActorPitch(tid, pitch, interpolate)";
	ChangeActorRoll = "ChangeActorRoll(tid, angle, interpolate)";
	ChangeCamera = "ChangeCamera(tid, who, revert)";
	ChangeCeiling = "ChangeCeiling(tag, flat)";
	ChangeFloor = "ChangeFloor(tag, flat)";
	ChangeLevel = "ChangeLevel(mapname, position, flags, skill)";
	ChangeSkill = "ChangeSkill(skill)";
	ChangeSky = "ChangeSky(sky1, sky2)";
	CheckActorCeilingTexture = "CheckActorCeilingTexture(tid, texture)";
	CheckActorClass = "CheckActorClass(tid, class)";
	CheckActorFloorTexture = "CheckActorFloorTexture(tid, texture)";
	CheckActorInventory = "CheckActorInventory(tid, inventoryitem)";
	CheckActorProperty = "CheckActorProperty(tid, property, value)";
	CheckActorState = "CheckActorState(tid, statename, exact)";
	CheckClass = "CheckClass(classname)";
	CheckFlag = "CheckFlag(tid, flag)";
	CheckFont = "CheckFont(fontname)";
	CheckInventory = "CheckInventory(inventoryitem)";
	CheckPlayerCamera = "CheckPlayerCamera(player)";
	CheckProximity = "CheckProximity(tid, classname, distance, count, flags, pointer)";
	CheckSight = "CheckSight(source, dest, flags)";
	CheckWeapon = "CheckWeapon(weapon)";
	ClassifyActor = "ClassifyActor(tid)";
	ClearActorInventory = "ClearActorInventory(tid)";
	ClearForceField = "ClearForceField(tag)";
	ClearInventory = "ClearInventory()";
	ClearLineSpecial = "ClearLineSpecial()";
	ConsoleCommand = "ConsoleCommand(command)";
	ConsolePlayerNumber = "ConsolePlayerNumber()";
	Const = "Const";
	Continue = "Continue";
	cos = "cos(angle)";
	CountDBResults = "CountDBResults(results)";
	CreateTranslation = "CreateTranslation(transnumber, translation, translation, translation, ...)";
	DamageActor = "DamageActor(target_tid, target_pointer, inflictor_tid, inflictor_pointer, amount, damagetype)";
	DamageThing = "DamageThing(amount, mod)";
	Death = "Script expression Death";
	Default = "Default:";
	Delay = "Delay(tics)";
	Disconnect = "Script expression Disconnect";
	Do = "Do";
	Door_Animated = "Door_Animated(tag, speed, delay, lock)";
	Door_AnimatedClose = "Door_AnimatedClose(tag, speed)";
	Door_Close = "Door_Close(tag, speed, lighttag)";
	Door_CloseWaitOpen = "Door_CloseWaitOpen(tag, speed, delay, lighttag)";
	Door_LockedRaise = "Door_LockedRaise(tag, speed, delay, lock, lighttag)";
	Door_Open = "Door_Open(tag, speed, lighttag)";
	Door_Raise = "Door_Raise(tag, speed, delay, lighttag)";
	Door_WaitClose = "Door_WaitClose(tag, speed, wait, lighttag)";
	Door_WaitRaise = "Door_WaitRaise(tag, speed, delay, wait, lighttag)";
	DropInventory = "DropInventory(tid, item)";
	DropItem = "DropItem(tid, item, dropamount, chance)";
	Elevator_LowerToNearest = "Elevator_LowerToNearest(tag, speed)";
	Elevator_MoveToFloor = "Elevator_MoveToFloor(tag, speed)";
	Elevator_RaiseToNearest = "Elevator_RaiseToNearest(tag, speed)";
	Else = "Else";
	EndDBTransaction = "EndDBTransaction()";
	Enter = "Script expression Enter";
	Exit_Normal = "Exit_Normal(pos)";
	Exit_Secret = "Exit_Secret(pos)";
	FadeRange = "FadeRange(red1, green1, blue1, amount1, red2, green2, blue2, amount2, seconds)";
	FadeTo = "FadeTo(red, green, blue, amount, seconds)";
	FixedDiv = "FixedDiv(a, b)";
	FixedMul = "FixedMul(a, b)";
	FixedSqrt = "FixedSqrt(number)";
	Floor = "Floor(value)";
	Floor_CrushStop = "Floor_CrushStop(tag)";
	Floor_Donut = "Floor_Donut(ptag, pspeed, sspeed)";
	Floor_LowerByTexture = "Floor_LowerByTexture(tag, speed, change)";
	Floor_LowerByValue = "Floor_LowerByValue(tag, speed, height)";
	Floor_LowerByValueTimes8 = "Floor_LowerByValueTimes8(tag, speed, height)";
	Floor_LowerInstant = "Floor_LowerInstant(tag, unused, height)";
	Floor_LowerToHighest = "Floor_LowerToHighest(tag, speed, adjust, force_adjust)";
	Floor_LowerToHighestEE = "Floor_LowerToHighestEE(tag, speed, change)";
	Floor_LowerToLowest = "Floor_LowerToLowest(tag, speed)";
	Floor_LowerToLowestCeiling = "Floor_LowerToLowestCeiling(tag, speed, change)";
	Floor_LowerToLowestTxTy = "Floor_LowerToLowestTxTy(tag, speed)";
	Floor_LowerToNearest = "Floor_LowerToNearest(tag, speed)";
	Floor_MoveToValue = "Floor_MoveToValue(tag, speed, height, neg)";
	Floor_MoveToValueAndCrush = "Floor_MoveToValueAndCrush(tag, speed, height, crush, crushmode)";
	Floor_MoveToValueTimes8 = "Floor_MoveToValueTimes8(tag, speed, height, neg)";
	Floor_RaiseAndCrush = "Floor_RaiseAndCrush(tag, speed, crush, crushmode)";
	Floor_RaiseAndCrushDoom = "Floor_RaiseAndCrushDoom(tag, speed, crush, crushmode)";
	Floor_RaiseByTexture = "Floor_RaiseByTexture(tag, speed)";
	Floor_RaiseByValue = "Floor_RaiseByValue(tag, speed, height)";
	Floor_RaiseByValueTimes8 = "Floor_RaiseByValueTimes8(tag, speed, height)";
	Floor_RaiseByValueTxTy = "Floor_RaiseByValueTxTy(tag, speed, height)";
	Floor_RaiseInstant = "Floor_RaiseInstant(tag, unused, height)";
	Floor_RaiseToCeiling = "Floor_RaiseToCeiling(tag, speed, change, crush, gap)";
	Floor_RaiseToHighest = "Floor_RaiseToHighest(tag, speed)";
	Floor_RaiseToLowest = "Floor_RaiseToLowest(tag, change, crush)";
	Floor_RaiseToLowestCeiling = "Floor_RaiseToLowestCeiling(tag, speed)";
	Floor_RaiseToNearest = "Floor_RaiseToNearest(tag, speed)";
	Floor_Stop = "Floor_Stop(tag)";
	Floor_ToCeilingInstant = "Floor_ToCeilingInstant(tag, change, crush, gap)";
	Floor_TransferNumeric = "Floor_TransferNumeric(tag)";
	Floor_TransferTrigger = "Floor_TransferTrigger(tag)";
	Floor_Waggle = "Floor_Waggle(tag, amp, freq, offset, time)";
	FloorAndCeiling_LowerByValue = "FloorAndCeiling_LowerByValue(tag, speed, height)";
	FloorAndCeiling_LowerRaise = "FloorAndCeiling_LowerRaise(tag, fspeed, cspeed, boomemu)";
	FloorAndCeiling_RaiseByValue = "FloorAndCeiling_RaiseByValue(tag, speed, height)";
	For = "For(initialization; condition; iteration)";
	ForceField = "ForceField()";
	FreeDBResults = "FreeDBResults(results)";
	FS_Execute = "FS_Execute(script, side, keynum, message)";
	Function = "Function Void expression (Void)";
	GameSkill = "GameSkill()";
	GameType = "GameType()";
	Generic_Ceiling = "Generic_Ceiling(tag, speed, height, target, flag)";
	Generic_Crusher = "Generic_Crusher(tag, dspeed, uspeed, silent, crush)";
	Generic_CrusherDist = "Generic_CrusherDist(tag, dspeed, uspeed, silent, crush)";
	Generic_Crusher2 = "Generic_Crusher2(tag, dspeed, uspeed, silent, crush)";
	Generic_Door = "Generic_Door(tag, speed, kind, delay, lock)";
	Generic_Floor = "Generic_Floor(tag, speed, height, target, flags)";
	Generic_Lift = "Generic_Lift(tag, speed, delay, type, height)";
	Generic_Stairs = "Generic_Stairs(tag, speed, height, flags, reset)";
	GetActorAngle = "GetActorAngle(tid)";
	GetActorCeilingZ = "GetActorCeilingZ(tid)";
	GetActorClass = "GetActorClass(tid)";
	GetActorFloorTerrain = "GetActorFloorTerrain(tid)";
	GetActorFloorTexture = "GetActorFloorTexture(tid)";
	GetActorFloorZ = "GetActorFloorZ(tid)";
	GetActorLightLevel = "GetActorLightLevel(tid)";
	GetActorPitch = "GetActorPitch(tid)";
	GetActorPowerupTics = "GetActorPowerupTics(tid, powerup)";
	GetActorProperty = "GetActorProperty(tid, property)";
	GetActorRoll = "GetActorRoll(tid)";
	GetActorVelX = "GetActorVelX(tid)";
	GetActorVelY = "GetActorVelY(tid)";
	GetActorVelZ = "GetActorVelZ(tid)";
	GetActorViewHeight = "GetActorViewHeight(tid)";
	GetActorX = "GetActorX(tid)";
	GetActorY = "GetActorY(tid)";
	GetActorZ = "GetActorZ(tid)";
	GetAirSupply = "GetAirSupply(playernumber)";
	GetAmmoCapacity = "GetAmmoCapacity(ammotype)";
	GetArmorInfo = "GetArmorInfo(infotype)";
	GetArmorType = "GetArmorType(armortype, playernumber)";
	GetChar = "GetChar(string, index)";
	GetCVar = "GetCVar(cvarname)";
	GetCVarString = "GetCVarString(cvarname)";
	GetDBEntries = "GetDBEntries(namespace)";
	GetDBEntry = "GetDBEntry(namespace, key)";
	GetDBEntryRank = "GetDBEntryRank(namespace, key, order)";
	GetDBEntryString = "GetDBEntryString(namespace, key, order)";
	GetDBResultKeyString = "GetDBResultKeyString(results, row)";
	GetDBResultValue = "GetDBResultValue(results, row)";
	GetDBResultValueString = "GetDBResultValueString(results, row)";
	GetGamemodeState = "GetGamemodeState()";
	GetInvasionState = "GetInvasionState()";
	GetInvasionWave = "GetInvasionWave()";
	GetLevelInfo = "GetLevelInfo(levelinfo)";
	GetLineActivation = "GetLineActivation(lineid)";
	GetLineHealth = "GetLineHealth(lineid)";
	GetLineRowOffset = "GetLineRowOffset()";
	GetLineUDMFFixed = "GetLineUDMFFixed(lineid, key)";
	GetLineUDMFInt = "GetLineUDMFInt(lineid, key)";
	GetLineX = "GetLineX(unknown parameter list)";
	GetLineY = "GetLineY(unknown parameter list)";
	GetMaxInventory = "GetMaxInventory(tid, inventory)";
	GetNetID = "GetNetID(tid, index, pointer)";
	GetPlayerAccountName = "GetPlayerAccountName(player)";
	GetPlayerInfo = "GetPlayerInfo(playernumber, playerinfo)";
	GetPlayerInput = "GetPlayerInput(playernumber, input)";
	GetPlayerLivesLeft = "GetPlayerLivesLeft(player)";
	GetPolyobjX = "GetPolyobjX(polyid)";
	GetPolyobjY = "GetPolyobjY(polyid)";
	GetScreenHeight = "GetScreenHeight()";
	GetScreenWidth = "GetScreenWidth()";
	GetSectorCeilingZ = "GetSectorCeilingZ(tag, x, y)";
	GetSectorFloorZ = "GetSectorFloorZ(tag, x, y)";
	GetSectorHealth = "GetSectorHealth(tag, part)";
	GetSectorLightLevel = "GetSectorLightLevel(tag)";
	GetSectorUDMFFixed = "GetSectorUDMFFixed(tag, key)";
	GetSectorUDMFInt = "GetSectorUDMFInt(tag, key)";
	GetSideUDMFFixed = "GetSideUDMFFixed(lineid, side, key)";
	GetSideUDMFInt = "GetSideUDMFInt(lineid, side, key)";
	GetSigilPieces = "GetSigilPieces()";
	GetTeamProperty = "GetTeamProperty(team, property)";
	GetThingUDMFFixed = "GetThingUDMFFixed(tid, key)";
	GetThingUDMFInt = "GetThingUDMFInt(tid, key)";
	GetTimeProperty = "GetTimeProperty(timestamp, which, utc)";
	GetUserArray = "GetUserArray(tid, name, pos)";
	GetUserCVar = "GetUserCVar(playernum, cvarname)";
	GetUserCVarString = "GetUserCVarString(playernum, cvarname)";
	GetUserVariable = "GetUserVariable(tid, name)";
	GetWeapon = "GetWeapon()";
	GiveActorInventory = "GiveActorInventory(tid, inventoryitem, amount)";
	GiveInventory = "GiveInventory(inventoryitem, amount)";
	GlassBreak = "GlassBreak(dontspawnjunk)";
	Global = "Global Int expression:identifier";
	HealThing = "HealThing(amount)";
	HudMessage = "HudMessage(text; type, id, color, x, y, holdtime, alpha)";
	HudMessageBold = "HudMessageBold(text; type, id, color, x, y, holdtime, alpha)";
	If = "If(expression)";
	IncrementDBEntry = "IncrementDBEntry(namespace, key, value)";
	Int = "Int expression";
	IsMultiplayer = "IsMultiplayer()";
	IsNetworkGame = "IsNetworkGame()";
	IsOneFlagCTF = "IsOneFlagCTF()";
	IsPointerEqual = "IsPointerEqual(ptr_select1, ptr_select2, tid1, tid2)";
	IsTIDUsed = "IsTIDUsed(tid)";
	KickFromGame = "KickFromGame(player, reason)";
	Kill = "Script expression Kill";
	Light_ChangeToValue = "Light_ChangeToValue(tag, value)";
	Light_Fade = "Light_Fade(tag, value, tics)";
	Light_Flicker = "Light_Flicker(tag, upper, lower)";
	Light_ForceLightning = "Light_ForceLightning(mode)";
	Light_Glow = "Light_Glow(tag, upper, lower, tics)";
	Light_LowerByValue = "Light_LowerByValue(tag, value)";
	Light_MaxNeighbor = "Light_MaxNeighbor(tag)";
	Light_MinNeighbor = "Light_MinNeighbor(tag)";
	Light_RaiseByValue = "Light_RaiseByValue(tag, value)";
	Light_Stop = "Light_Stop(tag)";
	Light_Strobe = "Light_Strobe(tag, upper, lower, u-tics, l-tics)";
	Light_StrobeDoom = "Light_StrobeDoom(tag, u-tics, l-tics)";
	Lightning = "Script expression Lightning";
	Line_AlignCeiling = "Line_AlignCeiling(lineid, side)";
	Line_AlignFloor = "Line_AlignFloor(lineid, side)";
	Line_SetAutomapFlags = "Line_SetAutomapFlags(lineid, setflags, clearflags)";
	Line_SetAutomapStyle = "Line_SetAutomapStyle(lineid, style)";
	Line_SetBlocking = "Line_SetBlocking(lineid, setflags, clearflags)";
	Line_SetHealth = "Line_SetHealth(lineid, health)";
	Line_SetPortalTarget = "Line_SetPortalTarget(sourceline, targetline)";
	Line_SetTextureOffset = "Line_SetTextureOffset(lineid, x, y, side, flags)";
	Line_SetTextureScale = "Line_SetTextureScale(lineid, x, y, side, flags)";
	LineAttack = "LineAttack(tid, angle, pitch, damage, pufftype, damagetype, range, flags, pufftid)";
	LineSide = "LineSide()";
	LocalAmbientSound = "LocalAmbientSound(sound, volume)";
	LocalSetMusic = "LocalSetMusic(song, order, unused)";
	Log = "Log(type:expression)";
	MorphActor = "MorphActor(tid, playerclass, monsterclass, duration, style, morphflash, unmorphflash)";
	Music_Change = "Music_Change(music, pattern)";
	NamedRequestScriptPuke = "NamedRequestScriptPuke(script, arg0, arg1, arg2, arg3)";
	NamedScriptWait = "NamedScriptWait(script)";
	Net = "Script expression Net";
	NoiseAlert = "NoiseAlert(target_tid, emiter_tid)";
	Open = "Script expression Open";
	PickActor = "PickActor(source_tid, angle, pitch, distance, new_tid, actor_mask, wall_mask, flags)";
	Pickup = "Script expression Pickup";
	Pillar_Build = "Pillar_Build(tag, speed, height)";
	Pillar_BuildAndCrush = "Pillar_BuildAndCrush(tag, speed, height, crush, crushmode)";
	Pillar_Open = "Pillar_Open(tag, speed, fdist, cdist)";
	Plat_DownByValue = "Plat_DownByValue(tag, speed, delay, height)";
	Plat_DownWaitUpStay = "Plat_DownWaitUpStay(tag, speed, delay)";
	Plat_DownWaitUpStayLip = "Plat_DownWaitUpStayLip(tag, speed, delay, lip, sound)";
	Plat_PerpetualRaise = "Plat_PerpetualRaise(tag, speed, delay)";
	Plat_PerpetualRaiseLip = "Plat_PerpetualRaiseLip(tag, speed, delay, lip)";
	Plat_RaiseAndStayTx0 = "Plat_RaiseAndStayTx0(tag, speed, lockout)";
	Plat_Stop = "Plat_Stop(tag)";
	Plat_ToggleCeiling = "Plat_ToggleCeiling(tag)";
	Plat_UpByValue = "Plat_UpByValue(tag, speed, delay, height)";
	Plat_UpByValueStayTx = "Plat_UpByValueStayTx(tag, speed, height)";
	Plat_UpNearestWaitDownStay = "Plat_UpNearestWaitDownStay(tag, speed, delay)";
	Plat_UpWaitDownStay = "Plat_UpWaitDownStay(tag, speed, delay)";
	PlayActorSound = "PlayActorSound(tid, sound, channel, volume, looping, attenuation)";
	Player_GiveItem = "Player_GiveItem(unknown parameters list)";
	Player_RemoveItem = "Player_RemoveItem(unknown parameters list)";
	Player_SetTeam = "Player_SetTeam(team)";
	PlayerArmorpoints = "PlayerArmorpoints()";
	PlayerClass = "PlayerClass(playernumber)";
	PlayerCount = "PlayerCount()";
	PlayerFrags = "PlayerFrags()";
	PlayerHealth = "PlayerHealth()";
	PlayerInGame = "PlayerInGame(playernumber)";
	PlayerIsBot = "PlayerIsBot(playernumber)";
	PlayerIsLoggedIn = "PlayerIsLoggedIn(playernumber)";
	PlayerIsSpectator = "PlayerIsSpectator(player)";
	PlayerNumber = "PlayerNumber()";
	PlayerTeam = "PlayerTeam()";
	PlayMovie = "PlayMovie(moviename)";
	PlaySound = "PlaySound(tid, sound, channel, volume, looping, attenuation, local)";
	Polyobj_DoorSlide = "Polyobj_DoorSlide(po, speed, angle, dist, delay)";
	Polyobj_DoorSwing = "Polyobj_DoorSwing(po, speed, angle, delay)";
	Polyobj_Move = "Polyobj_Move(po, speed, angle, dist)";
	Polyobj_MoveTimes8 = "Polyobj_MoveTimes8(po, speed, angle, dist)";
	Polyobj_MoveTo = "Polyobj_MoveTo(po, speed, pos_x, pos_y)";
	Polyobj_MoveToSpot = "Polyobj_MoveToSpot(po, speed, target)";
	Polyobj_OR_Move = "Polyobj_OR_Move(po, speed, angle, distance)";
	Polyobj_OR_MoveTimes8 = "Polyobj_OR_MoveTimes8(po, speed, angle, distance)";
	Polyobj_OR_MoveTo = "Polyobj_OR_MoveTo(po, speed, pos_x, pos_y)";
	Polyobj_OR_MoveToSpot = "Polyobj_OR_MoveToSpot(po, speed, target)";
	Polyobj_OR_RotateLeft = "Polyobj_OR_RotateLeft(po, speed, angle)";
	Polyobj_OR_RotateRight = "Polyobj_OR_RotateRight(po, speed, angle)";
	Polyobj_RotateLeft = "Polyobj_RotateLeft(po, speed, angle)";
	Polyobj_RotateRight = "Polyobj_RotateRight(po, speed, angle)";
	Polyobj_Stop = "Polyobj_Stop(po)";
	Polyobj_StopSound = "Polyobj_StopSound(po)";
	PolyWait = "PolyWait(polyid)";
	Print = "Print(type:expression)";
	PrintBold = "PrintBold(type:expression)";
	QuakeEx = "QuakeEx(tid, intensity_x, intensity_y, intensity_z, duration, damrad, tremrad, sfx, flags, mulwave_x, mulwave_y, mulwave_z, falloff, highpoint, rollintensity, rollwave, damagemultiplier, thrustmultiplier, damage)";
	Radius_Quake = "Radius_Quake(intensity, duration, damrad, tremrad, tid)";
	Radius_Quake2 = "Radius_Quake2(tid, intensity, duration, damrad, tremrad, sound)";
	Random = "Random(min, max)";
	RedCount = "RedCount()";
	RedReturn = "Script expression RedReturn";
	RedScore = "RedScore()";
	RedTeamCount = "RedTeamCount()";
	RedTeamScore = "RedTeamScore()";
	ReOpen = "Script expression ReOpen";
	ReplaceTextures = "ReplaceTextures(oldtexture, newtexture, flags)";
	RequestScriptPuke = "RequestScriptPuke(script, arg0, arg1, arg2, arg3)";
	ResetMap = "ResetMap()";
	Respawn = "Script expression Respawn";
	Restart = "Restart";
	Return = "Return";
	Round = "Round(value)";
	Script = "Script expression (Void)";
	ScriptCall = "ScriptCall(classname, funcname, args)";
	ScriptWait = "ScriptWait(script)";
	Scroll_Ceiling = "Scroll_Ceiling(tag, x-move, y-move, unused)";
	Scroll_Floor = "Scroll_Floor(tag, x-move, y-move, type)";
	Scroll_Texture_Both = "Scroll_Texture_Both(lineid, left, right, down, up)";
	Scroll_Wall = "Scroll_Wall(lineid, x, y, side, flags)";
	Sector_ChangeFlags = "Sector_ChangeFlags(tag, setflags, clearflags)";
	Sector_ChangeSound = "Sector_ChangeSound(tag, newsequence)";
	Sector_SetCeilingGlow = "Sector_SetCeilingGlow(tag, height, red, green, blue)";
	Sector_SetCeilingPanning = "Sector_SetCeilingPanning(tag, u-int, u-frac, v-int, v-frac)";
	Sector_SetCeilingScale = "Sector_SetCeilingScale(tag, u-int, u-frac, v-int, v-frac)";
	Sector_SetCeilingScale2 = "Sector_SetCeilingScale2(tag, u-fixed, v-fixed)";
	Sector_SetColor = "Sector_SetColor(tag, red, green, blue, desaturation)";
	Sector_SetCurrent = "Sector_SetCurrent(tag, amount, angle, useline)";
	Sector_SetDamage = "Sector_SetDamage(tag, amount, mod, interval, leaky)";
	Sector_SetFade = "Sector_SetFade(tag, red, green, blue)";
	Sector_SetFloorGlow = "Sector_SetFloorGlow(tag, height, red, green, blue)";
	Sector_SetFloorPanning = "Sector_SetFloorPanning(tag, u-int, u-frac, v-int, v-frac)";
	Sector_SetFloorScale = "Sector_SetFloorScale(tag, u-int, u-frac, v-int, v-frac)";
	Sector_SetFloorScale2 = "Sector_SetFloorScale2(tag, u-fixed, v-fixed)";
	Sector_SetFriction = "Sector_SetFriction(tag, amount)";
	Sector_SetGravity = "Sector_SetGravity(tag, ipart, fpart)";
	Sector_SetHealth = "Sector_SetHealth(tag, part, health)";
	Sector_SetLink = "Sector_SetLink(controltag, tag, surface, movetype)";
	Sector_SetPlaneReflection = "Sector_SetPlaneReflection(tag, floor, ceiling)";
	Sector_SetRotation = "Sector_SetRotation(tag, floor-angle, ceiling-angle)";
	Sector_SetTranslucent = "Sector_SetTranslucent(tag, plane, amount, type)";
	Sector_SetWind = "Sector_SetWind(tag, amount, angle, useline)";
	SectorDamage = "SectorDamage(tag, amount, type, protectionitem, flags)";
	SectorSound = "SectorSound(sound, volume)";
	SendToCommunicator = "SendToCommunicator(voc_id, front_only, indentify, nolog)";
	SetActivator = "SetActivator(tid, pointer_selector)";
	SetActivatorByNetID = "SetActivatorByNetID(netid, pointer)";
	SetActivatorToTarget = "SetActivatorToTarget(tid)";
	SetActorAngle = "SetActorAngle(tid, angle)";
	SetActorFlag = "SetActorFlag(tid, flagname, set)";
	SetActorPitch = "SetActorPitch(tid, pitch)";
	SetActorPosition = "SetActorPosition(tid, x, y, z, fog)";
	SetActorProperty = "SetActorProperty(tid, property, value)";
	SetActorRoll = "SetActorRoll(tid, angle)";
	SetActorState = "SetActorState(tid, state, exact)";
	SetActorTeleFog = "SetActorTeleFog(tid, sourcefog, destfog)";
	SetActorVelocity = "SetActorVelocity(tid, velx, vely, velz, add, setbob)";
	SetAirControl = "SetAirControl(amount)";
	SetAirSupply = "SetAirSupply(playernumber, tics)";
	SetAmmoCapacity = "SetAmmoCapacity(ammotype, maxamount)";
	SetCameraToTexture = "SetCameraToTexture(cameratid, texture, fov)";
	SetCeilingTrigger = "SetCeilingTrigger(tag, height, special, arg1, arg2, arg3, arg4, arg5)";
	SetCVar = "SetCVar(cvarname, newvalue)";
	SetCVarString = "SetCVarString(cvarname, newvalue)";
	SetDBEntry = "SetDBEntry(namespace, key, value)";
	SetDBEntryString = "SetDBEntryString(namespace, key, value)";
	SetFloorTrigger = "SetFloorTrigger(tag, height, special, arg1, arg2, arg3, arg4, arg5)";
	SetFogDensity = "SetFogDensity(tag, amount)";
	SetFont = "SetFont(font)";
	SetGlobalFogParameter = "SetGlobalFogParameter(property, value)";
	SetGravity = "SetGravity(amount)";
	SetHUDClipRect = "SetHUDClipRect(x, y, width, height, wrapwidth, aspectratio)";
	SetHudSize = "SetHudSize(width, height, statusbar)";
	SetHUDWrapWidth = "SetHUDWrapWidth(wrapwidth)";
	SetLineActivation = "SetLineActivation(lineid, activation, repeat)";
	SetLineBlocking = "SetLineBlocking(lineid, setting)";
	SetLineMonsterBlocking = "SetLineMonsterBlocking(lineid, setting)";
	SetLineSpecial = "SetLineSpecial(lineid, special, arg1, arg2, arg3, arg4, arg5)";
	SetLineTexture = "SetLineTexture(lineid, side, position, texture)";
	SetMarineSprite = "SetMarineSprite(tid, actorclass)";
	SetMarineWeapon = "SetMarineWeapon(tid, weapon)";
	SetMugShotState = "SetMugShotState(state)";
	SetMusic = "SetMusic(song, order, unused)";
	SetMusicVolume = "volume";
	SetPlayerLivesLeft = "SetPlayerLivesLeft(player, amount)";
	SetPlayerProperty = "SetPlayerProperty(who, set, which)";
	SetPointer = "SetPointer(assign_slot, tid, pointer_selector, flags)";
	SetResultValue = "SetResultValue(value)";
	SetSectorDamage = "SetSectorDamage(tag, amount, damagetype, interval, leaky)";
	SetSectorGlow = "SetSectorGlow(tag, which, red, green, blue, height)";
	SetSectorTerrain = "SetSectorTerrain(tag, whichplane, terraintype)";
	SetSkyScrollSpeed = "SetSkyScrollSpeed(skynumber, speed)";
	SetSubtitleNumber = "SetSubtitleNumber(num, sound)";
	SetThingSpecial = "SetThingSpecial(tid, special, arg1, arg2, arg3, arg4, arg5)";
	SetTranslation = "SetTranslation(tid, transname)";
	SetUserArray = "SetUserArray(tid, name, pos, value)";
	SetUserCVar = "SetUserCVar(playernum, cvarname, newvalue)";
	SetUserCVarString = "SetUserCVarString(playernum, cvarname, newvalue)";
	SetUserVariable = "SetUserVariable(tid, name, value)";
	SetWeapon = "SetWeapon(weapon)";
	sin = "sin(angle)";
	SinglePlayer = "SinglePlayer()";
	SortDBEntries = "SortDBEntries(namespace, limit, offset, order)";
	SoundSequence = "SoundSequence(sndseq)";
	SoundSequenceOnActor = "SoundSequenceOnActor(tid, sndseq)";
	SoundSequenceOnPolyObj = "SoundSequenceOnPolyObj(polyid, sndseq)";
	SoundSequenceOnSector = "SoundSequenceOnSector(tag, sndseq, location)";
	SoundVolume = "SoundVolume(tid, channel, volume)";
	Spawn = "Spawn(classname, x, y, z, newtid, angle)";
	SpawnDecal = "SpawnDecal(tid, decalname, flags, angle, zoffset, distance)";
	SpawnForced = "SpawnForced(classname, x, y, z, newtid, angle)";
	SpawnParticle = "SpawnParticle(color, fullbright, lifetime, size, x, y, z, velx, vely, velz, accelx, accely, accelz, startalpha, fadestep, endsize)";
	SpawnProjectile = "SpawnProjectile(tid, classname, angle, speed, vspeed, gravity, newtid)";
	SpawnSpot = "SpawnSpot(classname, spottid, newtid, angle)";
	SpawnSpotFacing = "SpawnSpotFacing(classname, spottid, newtid)";
	SpawnSpotFacingForced = "SpawnSpotFacingForced(classname, spottid, newtid)";
	SpawnSpotForced = "SpawnSpotForced(classname, spottid, newtid, angle)";
	Special = "Special";
	Sqrt = "Sqrt(number)";
	Stairs_BuildDown = "Stairs_BuildDown(tag, speed, height, delay, reset)";
	Stairs_BuildDownDoom = "Stairs_BuildDownDoom(tag, speed, height, delay, reset)";
	Stairs_BuildDownDoomSync = "Stairs_BuildDownDoomSync(tag, speed, height, reset)";
	Stairs_BuildDownSync = "Stairs_BuildDownSync(tag, speed, height, reset)";
	Stairs_BuildUp = "Stairs_BuildUp(tag, speed, height, delay, reset)";
	Stairs_BuildUpDoom = "Stairs_BuildUpDoom(tag, speed, height, delay, reset)";
	Stairs_BuildUpDoomCrush = "Stairs_BuildUpDoomCrush(tag, speed, height, delay, reset)";
	Stairs_BuildUpDoomSync = "Stairs_BuildUpDoomSync(tag, speed, height, reset)";
	Stairs_BuildUpSync = "Stairs_BuildUpSync(tag, speed, height, reset)";
	StartConversation = "StartConversation(talker_tid, facetalker)";
	StartSlideshow = "StartSlideshow(unknown parameter list)";
	StopSound = "StopSound(tid, channel)";
	Str = "Str expression";
	StrArg = "StrArg(unknown parameter list)";
	StrCaseCmp = "StrCaseCmp(string1, string2, maxcomparenum)";
	StrCmp = "StrCmp(string1, string2, maxcomparenum)";
	StrCpy = "StrCpy(a:destination, source, sourceindex)";
	Strftime = "Strftime(timestamp, format, utc)";
	StrIcmp = "StrIcmp(string1, string2, maxcomparenum)";
	StrLeft = "StrLeft(string, length)";
	StrLen = "StrLen(string)";
	StrMid = "StrMid(string, start, length)";
	StrParam = "StrParam(type:expression)";
	StrRight = "StrRight(string, length)";
	Suspend = "Suspend";
	SwapActorTeleFog = "SwapActorTeleFog(tid)";
	Switch = "Switch(expression)";
	SystemTime = "SystemTime()";
	TagWait = "TagWait(tag)";
	TakeActorInventory = "TakeActorInventory(tid, inventoryitem, amount)";
	TakeInventory = "TakeInventory(inventoryitem, amount)";
	Team_GivePoints = "Team_GivePoints(team, points, announce)";
	Team_Score = "Team_Score(points, nogrin)";
	Teleport = "Teleport(tid, tag, nosourcefog)";
	Teleport_EndGame = "Teleport_EndGame()";
	Teleport_NewMap = "Teleport_NewMap(map, pos, face)";
	Teleport_NoFog = "Teleport_NoFog(tid, useangle, tag)";
	Teleport_NoStop = "Teleport_NoStop(tid, tag, nofog)";
	Teleport_ZombieChanger = "Teleport_ZombieChanger(tid, tag)";
	TeleportGroup = "TeleportGroup(groupid, sourceid, destinationid, movesource, fog)";
	TeleportInSector = "TeleportInSector(tag, sourceid, destinationid, fog, groupid)";
	TeleportOther = "TeleportOther(tid, destinationid, fog)";
	Terminate = "Terminate";
	Thing_Activate = "Thing_Activate(tid)";
	Thing_ChangeTID = "Thing_ChangeTID(oldtid, newtid)";
	Thing_Damage = "Thing_Damage(tid, amount, mod)";
	Thing_Damage2 = "Thing_Damage2(tid, amount, damagetype)";
	Thing_Deactivate = "Thing_Deactivate(tid)";
	Thing_Destroy = "Thing_Destroy(tid, extreme, tag)";
	Thing_Hate = "Thing_Hate(hater, hatee, type)";
	Thing_Move = "Thing_Move(tid, destid, nofog)";
	Thing_Projectile = "Thing_Projectile(tid, type, angle, speed, vspeed)";
	Thing_Projectile2 = "Thing_Projectile2(tid, classname, angle, speed, vspeed, gravity, newtid)";
	Thing_ProjectileAimed = "Thing_ProjectileAimed(tid, type, speed, target, newtid)";
	Thing_ProjectileGravity = "Thing_ProjectileGravity(tid, type, angle, speed, vspeed)";
	Thing_ProjectileIntercept = "Thing_ProjectileIntercept(tid, type, speed, target, newtid)";
	Thing_Raise = "Thing_Raise(tid)";
	Thing_Remove = "Thing_Remove(tid)";
	Thing_SetConversation = "Thing_SetConversation(tid, conversationid)";
	Thing_SetGoal = "Thing_SetGoal(tid, goal, delay, dontchasetarget)";
	Thing_SetSpecial = "Thing_SetSpecial(tid, special, arg1, arg2, arg3)";
	Thing_SetTranslation = "Thing_SetTranslation(tid, translation)";
	Thing_Spawn = "Thing_Spawn(tid, type, angle, newtid)";
	Thing_SpawnFacing = "Thing_SpawnFacing(tid, type, nofog, newtid)";
	Thing_SpawnNoFog = "Thing_SpawnNoFog(tid, type, angle, newtid)";
	Thing_Stop = "Thing_Stop(tid)";
	ThingCount = "ThingCount(type, tid)";
	ThingCountName = "ThingCountName(classname, tid)";
	ThingCountNameSector = "ThingCountNameSector(classname, tid, tag)";
	ThingCountSector = "ThingCountSector(type, tid, tag)";
	ThingSound = "ThingSound(tid, sound, volume)";
	ThrustThing = "ThrustThing(angle, force, nolimit, tid)";
	ThrustThingZ = "ThrustThingZ(tid, speed, up_or_down, add_or_set)";
	Timer = "Timer()";
	TranslucentLine = "TranslucentLine(lineid, amount, additive, moreflags)";
	UniqueTID = "UniqueTID(tid, limit)";
	Unloading = "Script expression Unloading";
	UnMorphActor = "UnMorphActor(tid, force)";
	Until = "Until(expression)";
	UseActorInventory = "UseActorInventory(tid, inventoryitem)";
	UseInventory = "UseInventory(inventoryitem)";
	UsePuzzleItem = "UsePuzzleItem(item, script, arg1, arg2, arg3)";
	VectorAngle = "VectorAngle(x, y)";
	VectorLength = "VectorLength(x, y)";
	Void = "Void";
	Warp = "Warp(tid, xofs, yofs, zofs, angle, flags, success_state, exact, heightoffset, radiusoffset, pitch)";
	While = "While(expression)";
	WhiteReturn = "Script expression WhiteReturn";
	World = "World Int expression:identifier";
}

constants
{
	...
}