Skip to content

Encounters and Spawns

b5635 edited this page Jul 12, 2022 · 5 revisions

Spawns and ambushes are derived from the encounter objects.

When creating encounters, it is good to give it the same tag, resref, and name so builders can see the name for variable use at a glance.

The "Difficulty" field is used to determine the percentage chance of a "unique" creature being selected. Generally, this is used for harder or more rare enemies that should spawn as part of the pack.

Very Easy: 5% chance of unique Easy: 10% chance of unique Normal: 15% chance of unique Hard: 20% chance of unique Impossible: 25% chance of unique

Based on the above image, 85% of the time a Drow Archer or Drow Fighter will be selected. 15% of the time will select a Drow Assassin, Drow Marksman, etc.

TODO: Extend script to allow maximum creatures and minimum creatures to determine min and max random spawns