Source-checkedLibraries & compatibility

Asteroid Filter API

by Echthros · for Space Engineers

This API can be used to apply filters to all procedural asteroids as they attempt to spawn. The filters can be used to block individual asteroids from appearing under whatever conditions are…

54KDownloads
2 yr agoLast updated
586 KBFile size
Steam WorkshopSource

About Asteroid Filter API

From Steam Workshop

This API can be used to apply filters to all procedural asteroids as they attempt to spawn. The filters can be used to block individual asteroids from appearing under whatever conditions are…

This API can be used to apply filters to all procedural asteroids as they attempt to spawn. The filters can be used to block individual asteroids from appearing under whatever conditions are defined/registered.

You can create rules to limit asteroid spawning based on:

  • Proximity to planets/planetary rings/other objects
  • Speed of nearby grids
  • A custom 3D distribution curve
  • Random number generation
  • Current player resources
  • Asteroid size or composition
  • A timer
  • Any other logic desired...

Example

Multiple rules can be registered at once with differing priorities to create a complex ruleset to control asteroid spawning. For instance, you could apply rules with priorities:

  • P=0; Restrain asteroids to spawn with a 3D Perlin noise distribution to create random pockets of asteroids surrounded by large voids.
  • P=1; Restrain asteroids so that each has a 50% chance of successfully spawning.
  • P=5; When near certain planets, asteroids will spawn densely (none are removed), overriding the lower priority rules.
  • P=10; Asteroids will not spawn at all when near any grids moving faster than a certain threshold (to prevent collisions).

There are no limit on the number of rules you can apply, so feel free to experiment with different arrangements.

Other Notes

  • The system works by catching procedural asteroids as they spawn and then instantly deleting them if they are deemed invalid.
  • Asteroid spawns are not guaranteed to be deterministic depending on the rules applied, so you might enter an area and see many asteroids only to return later and find it empty. This does not apply to any asteroids that have been modified. Once an asteroid is changed (i.e. voxels), it will stay in the world forever.
  • This system does not spawn any additional asteroids; it can only remove them. Play with higher asteroid density to start with before adding restrictions if you aren't seeing enough of them.
  • Multiplayer is fully supported.

Config Values

https://steamcommunity.com/workshop/filedetails/discussion/3218645300/6690735450901827357/

API Guide

https://steamcommunity.com/workshop/filedetails/discussion/3218645300/6690735095222034427/

Mods That Use This

(Asteroid Filter: Grid Speed) https://steamcommunity.com/sharedfiles/filedetails/?id=3219800568 (Asteroid Filter: Clusters) https://steamcommunity.com/sharedfiles/filedetails/?id=3220848664

Other Mods:

https://steamcommunity.com/id/adrsquared/myworkshopfiles/?appid=244850

Join My Discord for Mod Discussion and Bug Reports

Mods by Echthros

Support Future Mods/Updates

Highlights

From source data

Footprint

A 586 KB download, rated a light load on a server.

Last update

Its author last shipped an update 2 yr ago.

Asteroid Filter API on Nxeon

From our catalogue
One-click install
Not available. One-click install isn't available for this game's mods yet. Download it and upload it to your server in Files.
Server load
light
Smallest plan we suggest
Space Engineers — 8 GB (8 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
2024-08-05, released 2024-08-05, 586 KB

Game versions by loader

LoaderGame versionsNewest
Workshop

From 1 recorded build of Asteroid Filter API.

Run Asteroid Filter API on a Space Engineers server

Deploy a server above, then upload the file in Files.

What kind of mod it is

From the catalog
Listed on Steam Workshop as “Workshop”

Libraries & compatibility

Foundations and fixes other mods build on. Usually installed because something else needs it.

Compatibility

Game
Space Engineers
File size
586 KB

Verified at the source

  • ✓Steam WorkshopOfficial listing, checked 2026-10-10Open ↗
  • ✓AuthorEchthros, as published on Steam Workshop
  • ✓LicenseNot published by the sourceFree

Asteroid Filter API, answered

Generated from the mod’s own source data.

Is it free?

Yes. Asteroid Filter API is free to download from Steam Workshop.

How do I add it to my Nxeon server?

One-click install isn't available for this game's mods yet. Download Asteroid Filter API from Steam Workshop and upload it to your Nxeon Space Engineers server in Files.

NxLabs

Run Asteroid Filter API on a Space Engineers server.

Deploy in about a minute from $13.99 a month, then upload Asteroid Filter API in Files.