L L4D2node

Constants

166 constants the Director registers into script scope (recovered from CDirector::InitScripts).

SPAWN

16 constants
Name Type Value Description
SPAWN_FINALE int 0 none
SPAWN_NO_PREFERENCE int 0 none
SPAWN_ANYWHERE int 1 none
SPAWN_SURVIVORS int 1 none
SPAWN_BATTLEFIELD int 2 none
SPAWN_BEHIND_SURVIVORS int 2 none
SPAWN_NEAR_IT_VICTIM int 3 none
SPAWN_POSITIONAL int 3 none
SPAWN_SPECIALS_IN_FRONT_OF_SURVIVORS int 4 none
SPAWN_SPECIALS_ANYWHERE int 5 none
SPAWN_FAR_AWAY_FROM_SURVIVORS int 6 none
SPAWN_ABOVE_SURVIVORS int 7 none
SPAWN_IN_FRONT_OF_SURVIVORS int 8 none
SPAWN_VERSUS_FINALE_DISTANCE int 9 none
SPAWN_LARGE_VOLUME int 10 none
SPAWN_NEAR_POSITION int 11 none

ZOMBIE

9 constants
Name Type Value Description
ZOMBIE_NORMAL int 0 none
ZOMBIE_SMOKER int 1 none
ZOMBIE_BOOMER int 2 none
ZOMBIE_HUNTER int 3 none
ZOMBIE_SPITTER int 4 none
ZOMBIE_JOCKEY int 5 none
ZOMBIE_CHARGER int 6 none
ZOMBIE_WITCH int 7 none
ZOMBIE_TANK int 8 none

LADDER

2 constants
Name Type Value Description
LADDER_UP int 0 none
LADDER_DOWN int 1 none

NAV

4 constants
Name Type Value Description
NAV_NORTH int 0 none
NAV_EAST int 1 none
NAV_SOUTH int 2 none
NAV_WEST int 3 none

FINALE

18 constants
Name Type Value Description
FINALE_GAUNTLET_1 int 0 none
FINALE_HORDE_ATTACK_1 int 1 none
FINALE_HALFTIME_BOSS int 2 none
FINALE_GAUNTLET_2 int 3 none
FINALE_HORDE_ATTACK_2 int 4 none
FINALE_FINAL_BOSS int 5 none
FINALE_HORDE_ESCAPE int 6 none
FINALE_CUSTOM_PANIC int 7 none
FINALE_CUSTOM_TANK int 8 none
FINALE_CUSTOM_SCRIPTED int 9 none
FINALE_CUSTOM_DELAY int 10 none
FINALE_CUSTOM_CLEAROUT int 11 none
FINALE_GAUNTLET_START int 12 none
FINALE_GAUNTLET_HORDE int 13 none
FINALE_GAUNTLET_HORDE_BONUSTIME int 14 none
FINALE_GAUNTLET_BOSS_INCOMING int 15 none
FINALE_GAUNTLET_BOSS int 16 none
FINALE_GAUNTLET_ESCAPE int 17 none

ALLOW

3 constants
Name Type Value Description
ALLOW_BASH_ALL int 0 none
ALLOW_BASH_PUSHONLY int 1 none
ALLOW_BASH_NONE int 2 none

BOT

8 constants
Name Type Value Description
BOT_CMD_ATTACK int 0 none
BOT_CANT_SEE int 1 none
BOT_CMD_MOVE int 1 none
BOT_QUERY_NOTARGET int 1 none
BOT_CANT_HEAR int 2 none
BOT_CMD_RETREAT int 2 none
BOT_CMD_RESET int 3 none
BOT_CANT_FEEL int 4 none

DMG

8 constants
Name Type Value Description
DMG_BULLET int 2 none
DMG_BURN int 8 none
DMG_BLAST int 64 none
DMG_STUMBLE int 33554432 none
DMG_BLAST_SURFACE int 134217728 none
DMG_BUCKSHOT int 536870912 none
DMG_HEADSHOT int 1073741824 none
DMG_MELEE int ? none

HUD

42 constants
Name Type Value Description
HUD_LEFT_TOP int 0 none
HUD_SPECIAL_TIMER0 int 0 none
HUD_FLAG_PRESTR int 1 none
HUD_LEFT_BOT int 1 none
HUD_PRINTNOTIFY int 1 none
HUD_SPECIAL_TIMER1 int 1 none
HUD_FLAG_POSTSTR int 2 none
HUD_MID_TOP int 2 none
HUD_PRINTCONSOLE int 2 none
HUD_SPECIAL_TIMER2 int 2 none
HUD_MID_BOT int 3 none
HUD_PRINTTALK int 3 none
HUD_SPECIAL_TIMER3 int 3 none
HUD_FLAG_BEEP int 4 none
HUD_PRINTCENTER int 4 none
HUD_RIGHT_TOP int 4 none
HUD_SPECIAL_COOLDOWN int 4 none
HUD_RIGHT_BOT int 5 none
HUD_SPECIAL_ROUNDTIME int 5 none
HUD_SPECIAL_MAPNAME int 6 none
HUD_TICKER int 6 none
HUD_FAR_LEFT int 7 none
HUD_SPECIAL_MODENAME int 7 none
HUD_FAR_RIGHT int 8 none
HUD_FLAG_BLINK int 8 none
HUD_MID_BOX int 9 none
HUD_SCORE_TITLE int 10 none
HUD_SCORE_1 int 11 none
HUD_SCORE_2 int 12 none
HUD_SCORE_3 int 13 none
HUD_SCORE_4 int 14 none
HUD_FLAG_AS_TIME int 16 none
HUD_FLAG_COUNTDOWN_WARN int 32 none
HUD_FLAG_NOBG int 64 none
HUD_FLAG_ALLOWNEGTIMER int 128 none
HUD_FLAG_ALIGN_LEFT int 256 none
HUD_FLAG_ALIGN_CENTER int 512 none
HUD_FLAG_ALIGN_RIGHT int 768 none
HUD_FLAG_TEAM_SURVIVORS int 1024 none
HUD_FLAG_TEAM_INFECTED int 2048 none
HUD_FLAG_TEAM_MASK int 3072 none
HUD_FLAG_NOTVISIBLE int 16384 none

IN

11 constants
Name Type Value Description
IN_ATTACK int 1 none
IN_JUMP int 2 none
IN_DUCK int 4 none
IN_FORWARD int 8 none
IN_BACK int 16 none
IN_USE int 32 none
IN_CANCEL int 64 none
IN_LEFT int 512 none
IN_RIGHT int 1024 none
IN_ATTACK2 int 2048 none
IN_RELOAD int 8192 none

INFECTED

3 constants
Name Type Value Description
INFECTED_FLAG_CANT_SEE_SURVIVORS int 8192 none
INFECTED_FLAG_CANT_HEAR_SURVIVORS int 16384 none
INFECTED_FLAG_CANT_FEEL_SURVIVORS int 32768 none

SCRIPT

5 constants
Name Type Value Description
SCRIPT_SHUTDOWN_MANUAL int 0 none
SCRIPT_SHUTDOWN_ROUND_RESTART int 1 none
SCRIPT_SHUTDOWN_TEAM_SWAP int 2 none
SCRIPT_SHUTDOWN_LEVEL_TRANSITION int 3 none
SCRIPT_SHUTDOWN_EXIT_GAME int 4 none

SCRIPTED

4 constants
Name Type Value Description
SCRIPTED_SPAWN_FINALE int 0 none
SCRIPTED_SPAWN_SURVIVORS int 1 none
SCRIPTED_SPAWN_BATTLEFIELD int 2 none
SCRIPTED_SPAWN_POSITIONAL int 3 none

SPAWNDIR

8 constants
Name Type Value Description
SPAWNDIR_N int 1 none
SPAWNDIR_NE int 2 none
SPAWNDIR_E int 4 none
SPAWNDIR_SE int 8 none
SPAWNDIR_S int 16 none
SPAWNDIR_SW int 32 none
SPAWNDIR_W int 64 none
SPAWNDIR_NW int 128 none

STAGE

8 constants
Name Type Value Description
STAGE_PANIC int 0 none
STAGE_TANK int 1 none
STAGE_DELAY int 2 none
STAGE_CLEAROUT int 4 none
STAGE_SETUP int 5 none
STAGE_ESCAPE int 7 none
STAGE_RESULTS int 8 none
STAGE_NONE int 9 none

TIMER

5 constants
Name Type Value Description
TIMER_DISABLE int 0 none
TIMER_COUNTUP int 1 none
TIMER_COUNTDOWN int 2 none
TIMER_STOP int 3 none
TIMER_SET int 4 none

TRACE

6 constants
Name Type Value Description
TRACE_MASK_VISION int 33579073 none
TRACE_MASK_VISIBLE_AND_NPCS int 33579137 none
TRACE_MASK_PLAYER_SOLID int 33636363 none
TRACE_MASK_NPC_SOLID int 33701899 none
TRACE_MASK_SHOT int 1174421507 none
TRACE_MASK_ALL int 4294967295 none

UPGRADE

3 constants
Name Type Value Description
UPGRADE_INCENDIARY_AMMO int 0 none
UPGRADE_EXPLOSIVE_AMMO int 1 none
UPGRADE_LASER_SIGHT int 2 none

ZSPAWN

3 constants
Name Type Value Description
ZSPAWN_MOB int 10 none
ZSPAWN_WITCHBRIDE int 11 none
ZSPAWN_MUDMEN int 12 none