Ricochet

A few of the Hitscan Weapons in DRG have Overclocks that let their bullets ricochet into nearby enemies. This page will provide a brief, detailed overview of how the Ricochet mechanic works.

How it Works
As the Hitscan bullet's path gets traced through the game's world, the game will check if any of the objects it intersects can activate the Ricochet. There are three main activation categories for Ricochet:


 * 1) Hitting an enemy's Weakpoint
 * 2) Hitting an enemy anywhere
 * 3) Impacting Terrain

If the Hitscan path intersects an object that is in one of the equipped Overclock's activation categories, it then rolls RNG to determine if the Ricochet will occur or not. If it succeeds, it will then search for a hostile enemy within a short range and send a new, secondary hitscan path towards that enemy's center-of-mass. The visual tracer will follow the Ricochet path. No matter how many times a Hitscan bullet has an opportunity to Ricochet, it can only happen once. After the first successful Ricochet, any subsequent opportunities for another Ricochet will be ignored by the game.

Weapon Overclocks that Provide Ricochet
Disclaimer: these values were last updated on Update 34, Hotfix 5. 1. Note: Due to the in-game description of Magic Bullets, its ability to Ricochet off of Enemy Weakpoints is presumed to be unintentional behavior (a bug).

Interaction with Blowthrough Upgrades
For weapons like the Minigun and Revolver that also have a Blowthrough Mod, it becomes necessary to explain how Ricochet interacts with the Blowthrough mechanic.

The key to understanding how these two mechanics interact is recognizing that a successful Ricochet spawns a new Hitscan path from where the Ricochet was activated. Although the tracer will visually follow the Ricochet's secondary path, the original Hitscan path continues along its original trajectory. This means that if a bullet with both Blowthrough and Ricochet were to hit an enemy, it would continue straight through the enemy regardless of Ricochet succeeding or failing on that enemy. If Ricochet were to succeed, it would divert the visual tracer but the original path would invisibly continue into another enemy or terrain behind the first enemy.

Creatures Ignored by Ricochet
Every creature listed as a Passive Creature except for Huuli Hoarders is ignored by the Ricochet search. On the other hand, all Hostile enemies should be valid Ricochet targets.

[Needs confirmation]

Internal Variables

 * Float HitscanBaseComponent.RicochetChance [0, 1]
 * Float HitscanBaseComponent.RicochetMaxRange
 * Boolean HitscanBaseComponent.RicochetOnWeakspotOnly
 * Enum HitscanBaseComponent.RicochetBehavior {PawnsOnly, NotPawns, All}

Rebote