This article is a stub.

Random Events: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(→‎Campaign Sets: remove collapse)
(→‎Campaign Sets: activating a beacon)
Line 83: Line 83:
| Nothing || 50%
| Nothing || 50%
|-
|-
| rowspan="4" | Entering a Beacon Station
| rowspan="4" | Activating a Beacon Station
| rowspan="4" | N/A (triggers immediately)
| rowspan="4" | N/A (triggers immediately)
| Husk (1) || 11%
| Husk (1) || 11%
Line 129: Line 129:
| Nothing || 33%
| Nothing || 33%
|-
|-
| rowspan="5" | Entering a Beacon Station
| rowspan="5" | Activating a Beacon Station
| rowspan="5" | N/A (triggers immediately)
| rowspan="5" | N/A (triggers immediately)
| Husk (2) || 15%
| Husk (2) || 15%
Line 203: Line 203:
| Unarmored Mudraptor (1-3) || 25%
| Unarmored Mudraptor (1-3) || 25%
|-
|-
| rowspan="4" | Entering a Beacon Station
| rowspan="4" | Activating a Beacon Station
| rowspan="4" | N/A (triggers immediately)
| rowspan="4" | N/A (triggers immediately)
| Husk (2) || 23%
| Husk (2) || 23%

Revision as of 22:44, 23 September 2022

Data is potentially outdated
Last updated for version 0.18.15.0
The current game version is 1.3.0.4
Stub Notes: Finish adding every event set and explanation of how events within a set are selected.
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
Pets Cthulhu    •   Defense Bot    •   Huskified Storage Container    •   Orange Boy    •   Peanut    •   Petraptor    •   Psilotoad
Small Crawler    •   Crawler Hatchling    •   Fractal Guardian (Steam Cannon Fractal Guardian   •   EMP Fractal Guardian)    •   Hammerhead Spawn    •   Human    •   Husk    •   Husked Crawler    •   Husked Human    •   Leucocyte    •   Moloch Baby    •   Mudraptor (Mudraptor Unarmored)    •   Mudraptor Hatchling    •   Mudraptor Veteran    •   Swarm Feeder    •   Terminal Cells   •   Tiger Thresher    •   Tiger Thresher Hatchling
Large Black Moloch    •   Bone Thresher Crawler Broodmother   •   Giant Spineling    •   Golden Hammerhead    •   Hammerhead (Moping Jack)    •   Hammerhead Matriarch    •   Moloch    •   Spineling   •   Watcher
Abyssal Charybdis    •   Endworm    •   Latcher
Ending
Spoilers

Ancient     •   Cyborg Worm     •   Guardian Repair Bot     •   Jove     •   Portal Guardian

Items
Consumables
Ammo
Handheld Weapons
Tools
Clothing
Headgear
Innerwear
Outerwear
Other
Electrical
Alien
Gardening
Skill Books
Misc
Installations
Submarine Weapons
Small Turrets
Large Turrets
Loaders
Other
Navigation
Machines
Electrical
Structure
Other
Alien
Jobs
Jobs
Jobs
Skills
Skills
Talent Trees
Talents
Captain

Bounty Hunter

Inspirational Leader

Logistics Expert

Prodigy

Travelling Tradesman

Veteran

Camaraderie

Down with the Ship

Emergency Maneuvers

Gunsmith

Sailor with No Name

Steady Tune
Gunslinger Skipper Politician

Quickdraw

Leading By Example

Commendations

Deputy

Lone Wolf

Helmsman

Affiliation

Your Reputation...

Drunken Sailor

Inspiring Presence

Trickle Down

Campaigning

Networking

Big Guns

Family

Figurehead
Security Officer

Buff

First Aid Training

Physical Conditioning

Protect and Serve

Swole

War Stories

Bootcamp

By the Book

Don't Push It

Munitions Expertise

Weaponsmith
Frogman Enforcer Gunner

Boarding Party

Pacification Kit

Rifleman

Scavenger

Slayer

Beat Cop

Stonewall

Commando

Tandem Fire

Daring Dolphin

Easy Turtle

Crusty Seaman

Inordinate Exsanguination

Extra Powder

Gun Runner

Spec-Ops

Implacable

Warlord
Mechanic

Ballast Denizen

Engine Engineer

Machine Maniac

Multifunctional

Safety First

Salvage Crew

Ironman

Modular Repairs

Oiled Machinery

Pump N Dump

Retrofit
Scrapper Machinist Brawler

Miner

Hull Fixer

I Am That Guy

Mass Production

Residual Waste

Quickfixer

Tinkerer

Heavy Lifting

Mudraptor Wrestler

Scrap Savant

Tool Maintenance

Let it Drain

Berserker

Foolhardy

Iron Storm

Robotics

MECHanic
Engineer

Egghead

Grounded

Junction Junkie

Remote Monitor

Station Engineer

Aggressive Engineering

Fun With Fission

Melodic Respite

Sample Collection

Submarine Of Things
Weapons Engineer Electrician Physicist

Military Applications

Grid Maintainer

Unstoppable Curiosity

Arms Race

Heavy Hitter

Pyromaniac

Unlimited Power

Buzzin'

Cruisin'

Weapon Artisan

Better Than New

Danger Zone

Nuclear Option

Lightning Wizard

Ph.D in Nuclear Physics
Medical Doctor

Example of Health

Health Insurance

La Resistance

Nobody Important Dies

Self-care

Stayin' Alive

Blood Donor

Don't Die on Me!

Fireman's Carry

Medical Companion

No Pressure
Xenologist Medic Chemist

Gene Harvester

Medical Expertise

Plague Doctor

Bloody Business

Gene Splicer

Emergency Response

Medical Assistance

Delivery System

Lab Contacts

Blackmarket Genes

Gene Tampering

Dr. Submarine

Vitamin Supplements

Super Soldiers

What a Stench!

Genetic Genius

Miracle Worker

Macrodosing
Assistant

Crew Layabout

Mailman

Mule

Playing Catchup

Skedaddle

Starter Quest

Bag It Up

Indentured Servitude

Inspiring Tunes

Jenga Master

Peer Learning

Revenge Squad
Grayshirt Apprentice Clown

The Waiting List

Apprenticeship

Enroll into Clown College

Non-Threatening

Tasty Target

Journeyman

Logistics System

Water Prankster

An Apple A Day

Insurance Policy

Loyal Assistant

Treacherous Scum

Chonky Honks

Psycho Clown

The Friends We Made

Graduation Ceremony

True Potential
Guides
Gameplay
Hosting
In-Game Dedicated Servers

Campaign Settings

Karma

Permissions

Console Commands

Hosting a Dedicated Server

List of Config Files

Enabling Mods on a Dedicated Server

Tools & Modding
Editors XML Other

Submarine Editor

Official Guide to the Submarine Editor (Diving deeper)

Character Editor

Official Guide to the Character Editor

Creating mods

XML and how Barotrauma uses it

Content packages (Content types)

Overrides

Installing mods

Publishing to Steam Workshop

Troubleshooting