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
Last revisionBoth sides next revision
modding:encounters [2021/05/03 05:13] – Added "Add an Encounter" 24.239.107.14modding:encounters [2021/05/07 04:36] 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 ===== ===== Add An Encounter =====
Line 10: Line 10:
 | Location    | A condition that will limit what location this encounter will activate when the players are present.                                                 | name or tag                                          | | 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  | | 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                                             | +| 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                                             | +| 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 objects and/or actions inside this encounter.                                                                                          | see Add Encounter Groups                             |+| 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/encounters.txt · Last modified: 2021/05/07 04:43 by jazzy