logic_director_query
Jump to navigation
Jump to search
Code classes:
CLogicDirectorQuery
CPointEntity
CBaseEntity
(all ents)
logic_director_query
is a point entity present in Left 4 Dead 2. It's an entity that measures how angry the AI director is, or as normal people call it, how well survivors are doing. This allows the map to adjust difficulty on the fly to keep the challenge at a good level, among other things.
Keyvalues[edit | edit source]
- Min Anger Range
(minAngerRange)
<integer>
- Minimum anger value to output.
- Max Anger Range
(maxAngerRange)
<integer>
- Maximum anger value to output.
- Noise
(noise)
<integer>
- How much to randomize the anger output as a percentage. 0 means no randomness, 100 means completely random.
Inputs[edit | edit source]
- HowAngry
- Asks the director "on a scale of Min Anger Range to Max Anger Range, how mad are you?" then fires OutAnger.
Outputs[edit | edit source]
- OutAnger
<integer>
- Fires when HowAngry is sent. Automatically puts how angry the director is as the input parameter, unless overridden by the mapper.
- On20SecondsToMob
- Confirm: Fires 20 seconds before the director's anger causes it to spawn a mob of common infected.
- On60SecondsToMob
- Confirm: Fires 60 seconds before the director's anger causes it to spawn a mob of common infected.