Event to detect when a cargo pod is launched
-
- Long Handed Inserter
- Posts: 82
- Joined: Wed Apr 29, 2020 9:53 pm
- Contact:
Event to detect when a cargo pod is launched
This seems the biggest gap in the cargo pod APIs and prevents mods from restricting cargo pod launches from space platforms (except by rapidly checking the surface for cargo pods or reacting late to the cargo pod leaving to space platform surface.)
Re: Event to detect when a cargo pod is launched
There is no current (and likely never will be) way to stop cargo pods from launching. The entire purpose of platforms with cargo bays is to 1: extend the hub size, and 2: launch/receive cargo pods.
You can simply remove the cargo hatch definitions from the cargo bay to remove functionality #2. But, when it exists - it's going to get used by the engine.
You can simply remove the cargo hatch definitions from the cargo bay to remove functionality #2. But, when it exists - it's going to get used by the engine.
If you want to get ahold of me I'm almost always on Discord.
-
- Long Handed Inserter
- Posts: 82
- Joined: Wed Apr 29, 2020 9:53 pm
- Contact:
Re: Event to detect when a cargo pod is launched
Very well, thanks for the reply.
I have several popular mods which restrict cargo drops under certain conditions and 'right after launch' proved to be the best UX, and while there is performance cost they seem to work fine by scanning the surface and intercepting pods.
I have several popular mods which restrict cargo drops under certain conditions and 'right after launch' proved to be the best UX, and while there is performance cost they seem to work fine by scanning the surface and intercepting pods.