Mission Engine
Posted: Thu Aug 08, 2024 5:17 am
I am evaluating the idea for an easy to use mission engine that would make mission creation a lot easier.
It could react to arbitrary game events and interact with the player through mission screens and comms messages. Player's input on mission screen or activities in the ship would be fed into the engine to move the story.
Here I'm not trying to reinvent the wheel. Interactive fiction is a big topic, and in this area there exist languages with editors, execution engines, validators, documentation and forums to get support.
So my idea is to squeeze such an execution engine into an OXP. But the peculiarities of Oolite JavaScript make this anything but easy. I still need to overcome some hurdles.
While doing that another idea is emerging:
Meanwhile lots of Oolite events are available in MQTT. And a feedback channel exists where messages received via MQTT are executed in Oolite's JavaScript engine.
Essentially that means we could move the mission engine outside of Oolite and overcome internal hurdles.
At the same time it would open pandora's box with vast possibilities and pitfalls. It's similar as with the external expansion manager 'OoliteStarter'. How do you think about 'external addons'?
It could react to arbitrary game events and interact with the player through mission screens and comms messages. Player's input on mission screen or activities in the ship would be fed into the engine to move the story.
Here I'm not trying to reinvent the wheel. Interactive fiction is a big topic, and in this area there exist languages with editors, execution engines, validators, documentation and forums to get support.
So my idea is to squeeze such an execution engine into an OXP. But the peculiarities of Oolite JavaScript make this anything but easy. I still need to overcome some hurdles.
While doing that another idea is emerging:
Meanwhile lots of Oolite events are available in MQTT. And a feedback channel exists where messages received via MQTT are executed in Oolite's JavaScript engine.
Essentially that means we could move the mission engine outside of Oolite and overcome internal hurdles.
At the same time it would open pandora's box with vast possibilities and pitfalls. It's similar as with the external expansion manager 'OoliteStarter'. How do you think about 'external addons'?