This article is a stub.

Random Events

From Official Barotrauma Wiki
Jump to: navigation, search
Version Checkmark True.png Data is up-to-date
Last updated for version 0.18.15.0
The current game version is 0.18.15.2
Stub Notes: Finish adding every event set and explanation of how events within a set are selected.
Disambig.png This article is about enemy spawns in levels. For random encounters that happen at outposts, see Events.

Random Events, as they are called internally, are how Barotrauma spawns enemies within a given level to attack the submarine.[1] They are not triggered all at once when loading into a level, instead being fired as the player progresses further through the passageway. This means that enemy attacks will be spaced out, so the crew will not have to worry about a massive swarm attacking upon first starting a level.[2]

Mechanics

Event Manager Timings
Difficulty (Range) Intensity Limit Limit Increase Exploring Pause Time
Easiest (0-15%) 20% 0.5% per sec. 1,000,000 sec. (~300 hr.)
Easy (15-35%) 30% 0.6% per sec.
Medium (35-50%) 35% 0.7% per sec. 1800 sec. (30 min.)
Challenging (50-65%) 40% 0.8% per sec. 1200 sec. (20 min.)
Hard (65-80%) 45% 0.9% per sec. 600 sec. (10 min.)
Hellish (80-100%) 50% 1% per sec. 300 sec. (5 min.)

Random events are grouped together into what are called Event Sets;[3] one of which is chosen to draw enemy spawns from depending on the game mode, biome (if playing campaign), and level difficulty. Once an event set is selected, the Event Manager is activated. The event manager is responsible for timing events to make sure they fire at the correct times. It chooses the "correct time" to spawn enemies based on when the last set of enemies was spawned, the time the crew has spent in the mission, how far through the passage they have gotten, whether they are close to any points or areas of interest (i.e. alien ruins, caves, wrecks, and the Abyss), and how much danger the crew currently is facing.[2] The last factor is internally referred to as Intensity, measured between 0-100% inclusive.[4] If this value goes above a certain limit, then new monsters will not be spawned. However, that limit is always increasing, so if a crew fails to resolve a situation in a somewhat timely manner, more enemies can still attack the submarine. Fortunately, the limit resets whenever enemies are successfully spawned, which prevents massive swarms from attacking a damaged submarine.[5]

Campaign Sets

The campaign uses a different list of event sets than the other game modes; rather than basing the set only off of the difficulty score, it takes the biome and its subtype into account. The campaign is also unique in that it is slightly non-deterministic, meaning that there is a degree of randomness in selecting the set unlike the multiplayer list, where the same set is used for the same difficulty range every time.

Caverns Entry (Set 0)

Set 0, named "Caverns Entry", is only used for the very first passage the player travels through in the campaign. It is limited to 0-1% difficulty, which despite not locking to any biome or subtype particularly, effectively locks this to the first level since only that level falls within this range.

Details
Condition Intensity Limit Monster (Count) Chance
50% Traversed or
300 sec. (5 min.) Elapsed
10% Crawler (1-2) 50%
Unarmored Mudraptor (1) 50%

Caverns 1 (Set 1)

Details
Condition Intensity Limit Monster (Count) Chance

30% Traversed or
180 sec. (3 min.) Elapsed

60% Traversed or
900 sec. (15 min.) Elapsed

10% Crawler (2-3) 50%
Unarmored Mudraptor (1-2) 50%

Caverns 2 (Set 2)

Details
Condition Intensity Limit Monster (Count) Chance

25% Traversed or
180 sec. (3 min.) Elapsed

50% Traversed or
600 sec. (10 min.) Elapsed

75% Traversed or
1800 sec. (30 min.) Elapsed

15% Crawler (3-4) 33%
Unarmored Mudraptor (2-3) 33%
Spineling (2-3) 17%
Hammerhead (1) 17%
Entering a Cave N/A (triggers immediately) Crawler (1) 17%
Spineling (1) 17%
Unarmored Mudraptor (1) 17%
Nothing 50%
Activating a Beacon Station N/A (triggers immediately) Husk (1) 11%
Crawler (1) 21%
Crawler (2-3) 5%
Nothing 63%

Caverns Transition (Set 3)

Details
Condition Intensity Limit Monster (Count) Chance

20% Traversed or
180 sec. (3 min.) Elapsed

40% Traversed or
600 sec. (10 min.) Elapsed

60% Traversed or
1800 sec. (30 min.) Elapsed

80% Traversed (no time limit)

20% Crawler (4-5) and
Crawler Broodmother (0-1)
15%
Husked Crawler (4-5) 15%
Unarmored Mudraptor (1-2) and
Armored Mudraptor (1-2)
30%
Spineling (4-5) 20%
Hammerhead (1-2) and
Golden Hammerhead (25% for 1, 75% for 0)
10%
Bone Thresher (1) and
Tiger Thresher (2-3)
10%
Entering a Cave N/A (triggers immediately) Crawler (1-2) 17%
Husked Crawler (1-2) 17%
Spineling (1-2) 17%
Unarmored Mudraptor (1-2) 17%
Nothing 33%
Activating a Beacon Station N/A (triggers immediately) Husk (2) 15%
Crawler (1) 15%
Crawler (3-4) 15%
Unarmored Mudraptor (1-2) 8%
Nothing 46%
Entering a Wreck (Part 1) N/A (triggers immediately) Crawler (1-2) and
Husked Crawler (1)
21%
Crawler (2) and
Unarmored Mudraptor (10)
21%
Husk (1-2) and
Husked Crawler (0-1)
14%
Nothing 43%
Entering a Wreck (Part 2) N/A (triggers with part 1) Husk (25% for 1, 50% for 2, 25% for 3) and
Husked Crawler (25% for 0, 50% for 1, 25% for 2)
50%
Crawler (1-2) and
Husked Crawler (25% for 0, 25% for 1, 31% for 2, 13% for 3, 6% for 4)
30%
Unarmored Mudraptor (1-2) and
Armored Mudraptor (0-1)
20%
Entering a Ruin N/A (triggers immediately) Swarm Feeder (4-5),
Husk (25% for 0, 50% for 1, 25% for 2),
and Husked Crawler (0-1)
100%
Entering the Abyss N/A (triggers immediately) Latcher (1) 100%

Ridge (Set 4)

Details
Condition Intensity Limit Monster (Count) Chance

15% Traversed or
120 sec. (2 min.) Elapsed

30% Traversed or
600 sec. (10 min.) Elapsed

50% Traversed or
1800 sec. (30 min.) Elapsed

70% Traversed (no time limit)

30% Crawler (5-6) and
Crawler Broodmother (0-1)
10%
Husked Crawler (5-6) 10%
Unarmored Mudraptor (2-3) and
Armored Mudraptor (1-2)
20%
Spineling (5-7) 20%
Hammerhead (2) and
Golden Hammerhead (0-1)
15%
Bone Thresher (1) and
Tiger Thresher (3-4)
15%
Moloch (1) 10%
Entering a Cave N/A (triggers immediately) Crawler (1-3) 25%
Husked Crawler (1-3) 25%
Spineling (1-3) 25%
Unarmored Mudraptor (1-3) 25%
Activating a Beacon Station N/A (triggers immediately) Husk (2) 23%
Husked Crawler (1-2) 8%
Unarmored Mudraptor (1-2) 23%
Nothing 46%
Entering a Wreck (Part 1) N/A (triggers immediately) Crawler (2-3) and
Husked Crawler (1)
15%
Crawler (2-3) and
Unarmored Mudraptor (1)
15%
Crawler (2-3) and
Tiger Thresher (1)
15%
Armored Mudraptor (1) and
Tiger Thresher (1)
15%
Husk (1-3) and
Husked Crawler (0-1)
10%
Nothing 30%
Entering a Wreck (Part 2) N/A (triggers with part 1) Husk (25% for 2, 50% for 3, 25% for 4) and
Husked Crawler (25% for 0, 50% for 1, 25% for 2)
50%
Crawler (2-3) and
Husked Crawler (25% for 0, 25% for 1, 31% for 2, 13% for 3, 6% for 4)
30%
Unarmored Mudraptor (1-2) and
Armored Mudraptor (1-2)
20%
Entering a Ruin N/A (triggers immediately) Swarm Feeder (5-6),
Steam Cannon Fractal Guardian (0-1),
Husk (38% for 0, 50% for 1, 13% for 2),
Harpoon Fractal Guardian (1),
and Crawler (1)
100%
Entering the Abyss or
Abyss Monster Respawn (1200 sec./20 min.)
N/A (triggers immediately) Latcher (1) 100%

Ridge to Plateau (Set 5)

Details
Condition Intensity Limit Monster (Count) Chance

15% Traversed or
120 sec. (2 min.) Elapsed

30% Traversed or
600 sec. (10 min.) Elapsed

50% Traversed or
1800 sec. (30 min.) Elapsed

85% Traversed (no time limit)

40% Unarmored Mudraptor (2),
Armored Mudraptor (1-2),
and Veteran Mudraptor (0-1)
20%
Spineling (7-8) 20%
Bone Thresher (1) and
Tiger Thresher (4-5)
20%
Crawler (6-8) and
Crawler Broodmother (1)
8%
Husked Crawler (7-8) 8%
Hammerhead (2) and
Golden Hammerhead (25% for 0, 75% for 1)
15%
Moloch (1) 10%
Entering a Cave N/A (triggers immediately) Crawler (2-3) 17%
Husked Crawler (2-3) 17%
Spineling (2-3) 17%
Unarmored Mudraptor (2-3) 17%
Armored Mudraptor (1-2) 17%
Tiger Thresher (1-2) 17%

Multiplayer Sets

References

  1. The name of the parent XML element for the list of enemy spawns is called Randomevents, found in ...Barotrauma\Content\randomevents_campaign.xml (line 50).
  2. 2.0 2.1 Taken from the documentation comment at the beginning of ...Barotrauma\Content\randomevents_campaign.xml
  3. The name of the parent XML element for each group of events is called EventSet, found in ...Barotrauma\Content\randomevents_campaign.xml (first example on line 58).
  4. Intensity is a decimal value between 0 and 1 inclusive; this format is usually used to represent percentage in calculations. More information can be found at https://en.wikipedia.org/wiki/Percentage
  5. As explained by the documentation comment found in ...Barotrauma\Content\EventManagerSettings.xml
v·d·e·h
Barotrauma
Creatures
Very Large
Large
Medium
Small
Very Small
Pets
Items
Consumables
Ammo
Handheld Weapons
Tools
Clothing
Headgear
Innerwear
Outerwear
Other
Electrical
Alien
Gardening
Books
Misc
Installations
Submarine Weapons
Turrets
Loaders
Other
Navigation
Machines
Electrical
Structure
Other
Alien
Guides
Gameplay & Tips
Servers & Hosting
Modding, Editing, & Publishing