User Tools

Site Tools


modding:encounters

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
modding:encounters [2021/04/27 21:51] sintax7modding:encounters [2021/05/07 04:43] (current) – [Add an Encounter Group] jazzy
Line 1: Line 1:
 ======Encounters====== ======Encounters======
  
-Encounters are similar to a D&D "random encounter" system.  +Encounters are similar to a D&D "random encounter" system.  Encounters can be defined at the [[modding:modules|Module]] and [[modding:missions|Mission]] levels. Encounters at the mission level will override Encounters at the module level that have the exact same name.
  
 +===== Add An Encounter =====
  
 +^ Name        ^ Description     ^ Value                                                ^
 +| Name        | The unique name/ID for this encounter. Note: encounters at the mission level will override encounters at the module level with the exact same name.  | text                                                 |
 +| Faction     | A condition that can limit what faction this encounter will activate against.                                                                        | drop-down selection of known factions                |
 +| Location    | A condition that will limit what location this encounter will activate when the players are present.                                                 | name or tag                                          |
 +| Chance      | The percentage chance of this encounter activating.                                                                                                  | 0 to 1 where 0.1 is 10%, 0.5 is 50%, 1 is 100%, etc  |
 +| Repeating?  | Can this encounter be triggered more than once per activation?                                                                                       | Checkbox                                             |
 +| Active?     | Is this encounter active at the start of the mission or world? (Note: encounters can be activated and deactivated by Actions)                        | Checkbox                                             |
 +| Groups      | The potential [[modding:add_object|objects]] and/or [[modding:actions|actions]] inside this encounter.                                                                                          | see [[modding:encounters#add_an_encounter_group|Add an Encounter Group]]                             |
 +
 +===== Add an Encounter Group =====
 +
 +^ Name        ^ Description                                                             ^ Value              ^
 +| Index       | The unique (within this encounter) identifier for the Encounter Group.  | text               |
 +| Name        | A name for the encounter.                                               | text               |
 +| Add [[modding:add_object|Object ]] | Add an object to the world when this encounter is triggered.            | see [[modding:add_object|Add an Object]]  |
 +| Add [[modding:actions|Action ]] | Add an action that will change the world when triggered.                | see [[modding:actions|Actions       ]] |
 +
 +----
 +Jump To |
 +[[modding:events|Event]] | [[modding:encounters|Encounters]] | [[modding:conditions|Conditions]] | [[modding:actions|Actions]] | [[modding:add_object|Objects]] | [[modding:objectives|Objectives]]
modding/encounters.1619560304.txt.gz · Last modified: 2021/04/27 21:51 by sintax7