fs2open.github.com icon indicating copy to clipboard operation
fs2open.github.com copied to clipboard

FR: Expose asteroid spawn limitation values

Open Durandal-Thoth opened this issue 1 year ago • 1 comments

Straightforward FR - expose view cone angle, range, and any other values used to cull asteroid spawns typically used to prevent asteroids from popping into existence. The FRED part of this is likely the more work-intensive half of this request if asteroid code isn't a spaghetti nightmare.

Durandal-Thoth avatar Jul 04 '24 20:07 Durandal-Thoth

I took a brief look at the code and there is no view angle at all, only a check to see whether the asteroid would be on-screen or not. After talking a bit with Durandal, we narrowed down the request to two items which would satisfy the mission requirements that prompted this PR:

  • A designated spawn area for asteroids, rather than letting them spawn anywhere in the asteroid field;
  • A flag to turn off the view checks.

See also the video from #6230 which demonstrates how this feature is intended to be used.

Goober5000 avatar Jul 05 '24 04:07 Goober5000