Skip to main content

Mission Elements (WIP)

Here this page will talk about the Mission Elements in Payday2. There are hundreds of elements to use for your levels so you can get very creative with some of these.

Here I will explain all the elements as they are listed in-game (Alphabetical Order).

AiArea

On Execution AiArea will connect selected Navigation Segments together to act as a single 'Room'.

Keep in mind Navigation Segments will still work like they normally do so this can be used to cut a room in half to forbid navigation with an AiGraph element in only a specific area.

AiAttention

On Execution AiAttention will apply the selected attention settings to the instigator unit(s).

  • Manage Instigator IDs List, Select unit IDs to apply attention operations to.
  • Use Instigator, Toggle if this element should apply to the instigating unit.
  • Preset, Select an attention preset for the unit to use.
  • Operation, Select how the attention preset should operate.
    • Set: Sets the current instigators attention to the preset attention.
    • Add: Add attention rules to the instigator unit.
    • Override: Replace current rules with selected preset.
  • Override, only used with Override Operation to override the current attention rules to the preset rules.

AiForceAttention

(N/A)

AiForceAttentionOperator

(N/A)

AiGraph

On Executed AiGraph will operate on Navigation Graph.

  • Graph Units, Select what Navigation Graphs to operate on.
  • Operation, select an operation.
    • allow_access: Enables navigation associated with selected Graphs
    • forbid_access: Disables navigation associated with selected Graphs
    • forbid_custom: N/A.

AiRemove

On Executed AiRemove will remove (or kill if selected) instigating Ai.

  • Manage Elements, select Ai spawning elements to remove all that have been spawned by them.
  • Use Instigator, will remove the instigating Ai.
  • True Death, will make Ai look like they have died instead of being deleted entirely.
  • Force Ragdoll, requires True Death enabled, Does nothing.

AccessCamera

Does nothing on execution, Access will be available based on the Enabled state.

  • Camera Unit, Select what camera to use. If the camera is broken access will not be available.
  • Text ID, A written string ID. Leaving it as debug_none will show a generic camera number.
  • Yaw Limit, Horizontal freedom.
  • Pitch Limit, Vertical freedom.

AccessCameraOperator

On Execution AccessCameraOperator will operate on selected AccessCamera elements.

  • Manage Elements, select AccessCamera elements to operate.
  • Operation, select an operation.
    • none: Does nothing.
    • destroy: Makes the AccessCamera "Lose Feed" as if the camera had been destroyed.

AccessCameraTrigger

Will trigger from AccessCamera elements when a certain condition is met.

  • Manage Elements, select AccessCamera elements to be triggered from.
  • Trigger Type, select a trigger.
    • accessed: When a camera is accessed by a player.
    • destroyed: When a camera is destroyed
    • alarm: When a camera has been alarmed

ActionMessage

Unused element.

ActivateScript

Unknown.

AiGlobalEvent

On Execution AiGlobalEvent will apply the selected rules to the match.

  • Wave Mode, select the games current assault state. (besiege is often used on alarm.)
  • Ai Event, select the games Ai Event. (police_called is often used on alarm.)
  • Blame, select the pop-up message on why the global event changed.

AlertTrigger

Will trigger from specified sound rules, Used on one occasion for gunshots calling the police on Big Oil Day1- But it not longer used.

ApplyJobValue

On Execution a Key (and a Value) will applied to selected JobValue Elements.

AreaMinPoliceForce

When Operated on by an Operator element a selected amount of enemy groups will focus on being in the nearby Graph. Element Operator Required to use this element.

Operation:

  • add: Will enable the minimal force.
  • remove: Will disable the minimal force.

AreaOperator

On Executed AreaOperator will operate on selected AreaTriggers.

  • Manage Elements, select AreaTrigger to operate.
  • Interval, change the rate that the AreaTrigger triggers.
  • Use Disabled Shapes, Toggle if the AreaTrigger uses disabled Shape elements.
  • Apply On Interval, Toggle if the AreaTrigger applies the change in interval.
  • Apply On Use Disabled Shapes, Toggle if the AreaTrigger applies the change to use disabled shapes.

AreaReportTrigger

An advanced version of the AreaTrigger, includes more trigger options. Use AreaTrigger for less complex requirements.

  • Manage Unit IDs, Unknown
  • Manage Spawn Unit Elements, Select SpawnUnit elements. (Unknown use)
  • Manage Use Shape Elements, Select Shape elements to trigger from instead of the AreaReportTrigger shape.
  • Manage Rules Element IDs, Select an InstigatorRules element to filter what triggers.
  • Interval, Select the time in seconds for it to check what's inside the AreaReportTriggers shape.
  • Instigator, Broad filter of rules for the trigger. (Must still align with the InstigatorRules if used)
  • Amount, Select an amount. 1-4 is for a loose counting and All is often used for escape areas to check if all players are inside.
  • Use Disabled Shapes, Toggle if you want to still trigger from Shape elements that are disabled.
  • Shape Type, Select a shape.
  • Width/Depth/Height/Radius, Self explanatory.

AreaTrigger

A simple trigger element for units entering/exiting/ect.

  • Manage Unit IDs, Unknown
  • Manage Spawn Unit Elements, Select SpawnUnit elements. (Unknown use)
  • Manage Use Shape Elements, Select Shape elements to trigger from instead of the AreaReportTrigger shape.
  • Manage Rules Element IDs, Select an InstigatorRules element to filter what triggers.
  • Interval, Select the time in seconds for it to check what's inside the AreaReportTriggers shape.
  • Trigger On, Select enter/exit/ect rules.
    • on_enter: On entering the area.
    • on_exit: On exiting the area.
    • both: On entering and exiting the area.
    • on_empty: When empty.
    • while_inside: Trigger on interval while inside the area.
  • Instigator, Broad filter of rules for the trigger. (Must still align with the InstigatorRules if used)
  • Amount, Select an amount. 1-4 is for a loose counting and All is often used for escape areas to check if all players are inside.
  • Use Disabled Shapes, Toggle if you want to still trigger from Shape elements that are disabled.
  • Shape Type, Select a shape.
  • Width/Depth/Height/Radius, Self explanatory.

AssetTrigger

Executes when selected asset ID is unlocked.

  • ID, Select asset ID to trigger from.

AwardAchievment

On Executed awards selected steam achievement.

  • Achievment, Achievement ID to be unlocked.
  • Award Instigator, Toggle is only the instigator of this element is given the achievement.
  • Players From Start, Toggle if the players needed to be in the lobby when it started to be awarded achievement.

B...

BLCustomAchievement

Used for custom Beardlib achievements.

  • Package ID, set the package ID of the related achievement.
  • Achievement ID, set the achievement ID to unlock on executed.
  • Amount Increase, if the achievement has an amount to reach for unlock, increase the amount value by this..
  • Award Instigator, Toggle to only apply to the player that instigates the element.
  • Players From Start, Toggle to only apply to players who have been in the game from the start.

BainState

Used to toggle bain dialogue.

  • State, Toggle if Bain should speak.

BlackscreenVariant

Used to change the 'outro_event' variant in the level tweak data.

  • Variant 1-30

BlurZone

Used to apply a visual blur effect in a shape.

  • Mode:
    • 0: Off
    • 1: Enabled
    • 2: Enabled, Flashes players inside when executed
  • Radius/Height, Shape the blur zone area.
  • Operator Element Operations:
    • Remove, use a remove operation to deactivate the BlurZone after it's been executed. Can be executed again afterwards.

C...

Carry

Used to typically operate on Lootbag units. Applies to all unit instigators.

  • Operation, most operations are self explanatory.
    • add_to_respawn is used to remove bags until they are respawned by a LootBag element.
    • filter_only is used to do nothing to the lootbag but still execute the element.
    • poof is used on lootbags with 'can_poof = true' to make them visually poof out of existance. Used on Cloaker lootbags to make them vanish.

ChangeVanSkin

Used to change the heister van skin.

  • Manage Unit IDs, Select player van units to update paint job.
  • Target Skin, Select a van skin to apply.

CharacterDamage

Unknown

CharacterOutline

Unknown

CharacterSequence

Run a sequence from the selected character.

  • Manage Elements List, Select Character spawning elements to apply to.
  • Use Instigator, Apply sequence to instigating character.
  • Sequence, Type in the name of the sequence you want to apply.

CharacterTeam

Change the team of the selected character.

  • Manage Elements List, Select Character spawning elements to apply to.
  • Use Instigator, Apply sequence to instigating character.
  • Ignore Disabled, Dont apply effects to disabled elements.
  • Team, Select the team you want the character to change to.

CheckDLC

Filter based on DLC ownership.

  • Require All, Toggle if you require all selected DLC instead of just the ones listed.
  • Invert, Toggle if the selected DLC IDs should apply backwards.
  • DLC IDs, Select DLC IDs to filter.

Counter

Holds a number value and takes 1 every execution. Executes when it reaches 0.

  • Timer Units, Select visual timer units to show the current number in the world.
  • Counter Target, The default value of the Counter element.
    • Counter can be operated on with a CounterOperator element.

CounterFilter

Filters execution based on counter values.

  • Manage Elements List, Select Counter elements to filter.
  • Needed To Execute, Select if either Any or All need to be a checked value.
  • Value, a number to compare to.
  • Check Type, Self explanatory math options.
    • 'counters_...' account for multiple selected Counter elements.

CounterOperator

Modify a Counter element value.

  • Operation, self explanatory options for adding, subtracting and more.
    • reset doesnt need a value, uses default Counter value.
  • Amount, a value to operate with.

CounterReset

Unused. Use CounterOperator element.

CounterTrigger

Execute when a counter reaches the trigger number.

  • Trigger Type, select a trigger type for the selected Counters.
  • Amount, a value to trigger.

CustomSafehouseAwardTrophy

Award a trophy for the Safehouse.

  • Trophy, select a trophy ID to award.
  • Objective ID, select a specific objective from the Trophy.
  • Award Instigator, Toggle to only apply to the player that instigates the element.
  • Players From Start, Toggle to only apply to players who have been in the game from the start.

CustomSafehouseFilter

Filter execution based on safehouse room tiers.

  • Room ID, Select whos room ID to filter.
  • Room Tier, Select what tier the room needs to be.
  • Tier Check, Unknown
  • Check Type, Self explanatory math types.

CustomSafehouseTrophyFilter

Filter executed based on trophy unlocks.

  • Trophy, Select a trophy ID to filter.
  • Check Type, Select if the trophy is locked/unlocked.

CustomSound

...

D...

DangerZone

DANGER ZOOOOOOOOOOOOOOOONE "Sets the level of danger. 1 is lease dangerous" Seems to do nothing though.

  • Level, 1-4.

Debug

On execution Debug elements will show a debug string and some information if you choose. Will only show in editor playtesting.

  • Debug String, write in a string to show a message.
  • As Subtitle, Toggle to show it as yellow subtitle text.
  • Show Instigator, Toggle to show instigators.

Dialogue

Play dialogue on execution. Remember to load the required packages or dialogue will not play.

  • Dialogue, sound ID dropdown.
  • Force Quit Current, Toggle if it should quit any currently playing dialogue.
  • Execute On Executed When Done, Toggle if the element should execute once the dialogue is completed.
  • Use Position, Play in 3D space instead of in the players ears.

Difficulty

Set the current assault difficulty.

  • Difficulty, 0-1. Commonly used values are 0.5, 0.75 and 1.
    • 0, will not spawn enemies
    • 0.5, common starting point on police called
    • 0.75, usually set after the first assault wave ends
    • 1, full assault

DifficultyLevelCheck

Simpler version of the Filter element. Will only check for 1 difficulty.

  • Difficulty, select what difficulty is required to execute.

DisableShout

Disable or ReEnable shouting for Ai.

  • Manage Elements List, Select what Ai spawning elements should (or should not) be shouted at by players.
  • Disable Shout, Toggle if you can or cannot shout at selected Ai.

DisableUnit

Disable selected units. Bare in mind interactable units may need to be disabled with a sequence manager beforehand or else floating interactions may get in the way.

  • Manage Unit IDs, Select what units to be disabled/hidden.

DropInState

Toggle if players can or cannot drop into the game. Often used for secrets or sections that will cause problems if a player spawns.

  • State, Toggle on or off if a player can join.

E...

EnableSoundEnvironment

ToDo

EnableUnit

Enable selected units that have previously been disabled.

  • Manage Unit IDs, Select what units to be enabled/shown.

EndScreenVariant

ToDo (Not working in editor)

EnemyDummyTrigger

Trigger on certain rules for Ai.

  • Manage Elements List, Select what Ai are to trigger this element.
  • Event, What event to use.
    • anim_act_## are used for certain timings in SO animations.

EnemyPreferedAdd

Add enemy groups to spawn during assaults.

  • Manage Spawn Groups List, Select what EnemyGroups to add
  • Manage Spawn Points List, Select what EnemyDummys to use

EnemyPreferedRemove

Undo added Prefereds.

  • Manage Elements List, Select EnemyPreferedAdd to remove spawns from.

Environment

Change colorgrading and other camera filters. Not recomended to use in proper maps.

EnvironmentOperator

Change active environments with an optional blend time.

  • Operation, choose what operation to use for environment changes.
  • Environment, select an environment to change to.
  • Blend Time, set a transition length in seconds.

Equipment

Give instigators equipment.

  • Equipment, Select the equipment ID to give.
  • Amount, Select how many of that equipment to give.

ExecuteInOtherMission

Seems unused.

ExecuteWithCode

ToDo

Experience

Give a base amount of experience to the players for the current level. Applied at the end of the level.

  • Amount, Number value for how much experience to give.

Explosion

Explode with effects and sounds.

  • Manage Orientation Elements List, Select where the explosions should play instead of on the element.
    • Will only use 1 element randomly.
  • Damage, Number value for how much damage to do to beings/props.
  • Player Damage, Number value for how much damage to do to players.
  • Explosion Effect, Select an effect to explode with.
  • Sound Event, Select a sound to play when exploding.
  • No Raycast Check Characters, Dont use a ray to make sure there arent obstacles in the way of the explosion.
  • Range, Distance in cm. Includes falloff (Green Sphere is maximum effect)

The Following Options afterwards are duplicates of the Feedback Element.

ExplosionDamage

Simple Area/Damage only 'explosion'

  • Range, Distance in cm.
  • Damage, Amount of damage to give to players

F...

FadeToBlack

Fade in or out, takes 3 seconds. Hardcore. Applies to ALL players.

  • State...
    • True: Fade FROM Black
    • False: Fade TO Black

FakeAssaultState

Set the fake assault state in GroupAi to fake an assault. (Music/Ui)

  • State...
    • True: Fake assault enabled
    • False: Fake assault disabled

Feedback

Camera effects on players near the executed element.

  • Manage Orientation Elements List, Select a different orientation to play at away from the Feedback element.
  • Range, Distance in cm.
  • Use Camera Shake, Toggle to use following Camera Shake options.
    • Amplitude:
    • Frequency:
    • Attack:
    • Sustain:
    • Decay:
  • Use Rumble, Toggle to use following Rumble options.
    • Peak:
    • Attack:
    • Sustain:
    • Release:
  • Above Camera Effect, Select an effect to play when a player is inside the effect distance (Green Sphere)
    • Distance, 0-1 how far inside the range of the feedback element to have this effect play.

Filter

Filter execution based on many rules.

  • Difficulty IDs, True will allow execution when playing that difficulty
  • Player 1-4, Filter execution when that player is the instigator.
  • Mode Control/Assault, Filter execution when the assault is in control or assault state.

Flashlight

Unused- Flashlight effect faces the wrong direction.

FleePoint

Used to designate points where Ai will despawn or drop lootbags.

  • Functionality, Select what point it will be on execution.

G...

GameDirection

Unused.

GlobalEventTrigger

Executes on global events

  • Global Event, select on what global event to trigger on.

H...

Heat

Unused.

HeistTimer

Make a countdown timer show on the players HUD. Identical to the regular Timer element, set a time and use a TimerOperator to start/stop/modify the time.

  • Timer Units, Select timer GUI units to show the time.
  • Timer, Set a value for how long the timer should go in seconds before executing.

Hint

Force a Hint pop-up on instigators.

  • Hint ID, Select what hint to pop-up on executed.

I...

InstanceInput

Used inside instances to receive inputs.

  • Event, custom event ID name. Dont use the same names inside the instance.

InstanceInputEvent

Used outside of instances to send inputs.

  • Manage Event List, Select instances to take inputs.

InstanceOutput

Used inside instances to send outputs.

  • Event, custom event ID name. Dont use the same names inside the instance.

InstanceOutputEvent

Used outside of instances to receive outputs.

  • Manage Event List, Select instances to execute on outputs.

InstanceParams

Instance parameter element for controlling certain values inside instances.

  • FULL GUIDE NEEDED!

InstancePoint

Spawn a mission spawned instance here. Warning: Only spawn once!

  • Instance, Select an instance that has been set to mission spawned.

InstanceSetParams

Set the parameters of an instance that uses InstanceParams Often used for 'obj_link' instances.

  • Instance, Select an instance that uses Params.
  • Apply On Execute, Toggle if it should apply these parameters on execution.
  • Instance Params List will show params of the instance.

Instigator

Holds instigator information. Read InstigatorOperator and InstigatorTrigger elements for more details

InstigatorOperator

Operate on an Instigator element.

  • Manage Elements List, Select what Instigator elements are operated on.
  • Operation,
    • none, does nothing.
    • set, sets the instigator to the instigator of this operator.
    • clear, clear the instigators from the Instigator element.
    • add_first, Needs Testing!
    • add_last, Needs Testing!
    • use_first, Needs Testing!
    • use_last, Needs Testing!
    • use_random, Needs Testing!
    • use_all, Needs Testing!

InstigatorTrigger

This element executes when certain conditions are met.

  • Manage Elements List, Select what Instigator elements are triggering.
  • Trigger Type,
    • set, Executes when a new instigator is set.
    • death, Executes when the instigator dies.
    • changed, Executes when the Instigator element changes.
    • cleared, Executes when the Instigator element is cleared.

InstigatorRule

Set rules for applicable elements to filter.

  • Instigator, Select the instigator type.
    • Different rules will show for different types.
  • Invert, Toggle to invert selected rules.

Interaction

Floating element interaction with filtered execution. Requires an interaction unit to be loaded, If its not loaded the editor will ask you to load it.

Manage On Executed List:

  • Alternative should be set to 'interacted' to only trigger once interaction is completed.

    • interupt will trigger on letting go.
    • start will trigger when you start interaction.
  • Tweak Data ID, Interaction ID.

  • Override Timer, Override the timer of the selected interaction

    • -1 will not override.
    • 0 will set to instant interaction

InventoryDummy

Spawn prop versions of your inventory weapons. Used in the safehouse.

  • Category, Select what inventory category to use.
  • Slot, Select what inventory number to use. (1-9)

Invulnerable

Makes a unit invulnerable or immortal.

  • Manage Elements List, Select Ai to modify.
  • Invulnerable, Toggle if selected Ai should be invulnerable to damage. (Can be killed in some ways)
  • Immortal, Toggle is selected Ai should be completely immortal.

J...

JobStageAlternative

Used to apply bonus or escape heists to the level chain.

  • Alternative, ToDo
  • Interupt, Select Job ID to interrupt the level chain.
    • Any heist can be used but the list is preset and most jobs there do not work as they do not exist.

JobValue

Apply a temporary key and a value to the current match. Can be saved to the save file to be used on reload of the game.

  • Key, a key id to use.
  • Value, a value to use with the key.
  • Save, Toggle to save to the save file.

JobValueFilter

Filter based on JobValues.

  • Key, a key id to filter execution.
  • Value, a value to filter execution.
  • Save, Toggle if its a saved key.
  • Check Type, Basic math filters for the value.
    • Does not have to be a number, if the Value is the same word equal will work for example.

K...

KillZone

Hurt instigator with a selected damage type.

  • Type, Select a damage type.

L...

LaserTrigger

Spawn and control tripwire laser beams in this element. Toggling LaserTrigger off with a Toggle element will disable the lasers.

  • Edit Points, Toggle on to edit laser points.
    • Left-Mouse Button to add new points at your cursor location.
    • Right-Mouse Button to connect points
    • Middle-Mouse Button to move the nearest point to your cursor location.
      • Middle-Mouse Button again to place the chosen point.
      • Left-Mouse Button to end moving points.
  • Connections, a numbered list of connections.
    • Deselect, deselects selected connection.
    • Connection #0, select connection to open Selected Connection panel.
  • Selected Connections, modify the location/rotation of a selected connection.
    • From Position, Vector3 values of the starting laser point location.
    • From Rotation, Vector3 values of the starting laser point rotation.
    • To Position, Vector3 values of the ending laser point location.
    • To Rotation, Vector3 values of the ending laser point rotation.
  • Interval, The delay between each check of the laser.
  • Instigator, Select what instigator should trigger the laser.
  • Color, Laser beam color (Red/Green/Blue)
  • Cycle Type, pop/flow seem to do the same thing.
  • Visual Only, Toggle if these lasers should not function.
  • Skip Dummies, Toggle if the lazer dome units should show or not.
  • Flicker Remove, When disabled the lasers will flicker on and off for a moment.
  • Cycle Interval, Time delay in seconds when a new set of lasers should show if cycling is possible.
  • Cycle Active Amount, Amount of active lasers in the cycle.
  • Cycle Random, Toggle if random lasers should be cycled or if they should follow their connection order.