Skip to content

Prevent Meteors from knocking eachother out

Rob Nelson requested to merge pull/5696/Meaty-Whores into Bleeding-Edge

Created by: dylanstrategie

Meteors had a problem, made obvious by even the most cursory bhangmeter check, where most of the wave ended up wiping itself out through the following mechanism :

  • Two meteors bumped into eachother, thereby triggering eachother's Bump() proc and leading to an explosion
  • Even an ex_act 3 removes meteors, causing the wave to be artificially thinned

This is notably the reason why the actual damage caused by increasing the number of Meteors in waves was bottlenecked, leading to the abject failure of the Meteors rework and a massive amount of unjustified lag

The following changes have been made to compound this problem :

  • Meteors can no longer be destroyed by ex_act(). While this may prevent insane Toxins workers from trying to ward off meteor waves by bombing them, this has the much more direct and useful effect of preventing a successful meteor hit from thinning out the entire wave
  • Meteors now pass through eachother. Note that while bumping into eachother without exploding was considered, I cannot ensure it would work correctly, and it would otherwise need insane amounts of snowflake code to make sure it works correctly

Thus, the hit rate for meteor waves went from approximately 30 % to 100 %

Other changes :

  • Camera shake procs changed a bit
  • Duplicate sounds removed (explosions already play explosion sounds, no need to double down on it)
  • Formatting

Example of a new meaty-whores wave (Major Meteor Random Event) :

100_percent_hitrate

Merge request reports