EnglishGermanFrenchRussianItalianSpanish
Log inRegister
 
X4 API extensions
Post new topic Reply to topic
View previous topic :: View next topic
Author Message
Fleabum





Joined: 24 Dec 2003
Posts: 76 on topic

Thank you for registering your game
PostPosted: Wed, 30. May 18, 16:36    Post subject: X4 API extensions Reply with quote Print

Are there any plans to add API extensions to X4 so data can be sent and received to the game by external applications?

Reasoning :- I would love to develop an configurable Android companion app for tablets and phones that players could use to display ingame information, possibly maps, target information, ship information, trading information. Could even be expanded to have external controls and commands, so you could just touch your tablet to execute ingame commands.

Thanks.

Regards
Flea

Back to top
View user's profile Send private message
adeine





Joined: 31 Aug 2017



PostPosted: Wed, 30. May 18, 18:22    Post subject: Reply with quote Print

This has come up before when discussing similar ideas:

adeine wrote:

Cycrow wrote:

adeine wrote:

Slightly different take on this, with interesting possibilities: What if instead of sinking resources into implementing anything remotely this complex, Egosoft just implemented an API to communicate with the game as it is running, able to inject commands? It'd kind of be like msci via command line. Wink

This would allow intrepid modders to elegantly create, say, a mobile or browser based app or widget to control your empire while you're doing something else (with the game running in the background on your machine). Or what about importing external data into your game (internet/player community based stock market?). Or, be extra crazy and try and implement some sort of syncing/limited multiplayer as described in this thread on their own.

It could really take modding to the next level.



most of those things you suggest could already be done in X3. There was infact a mod available that allowed you to control your empire remotely via a web browser.

Proper player on player combat was not really possible though.



Oh, they can definitely be done, even if there is no or little support for it in the game. The problem is that such solutions are inherently clunky and limited, basically: run an external script to input button presses, read the screen and/or communicate with via log files (like the mod you mentioned) through an ingame script, that sort of thing.

If there were a native API to interface with the game it'd be just as straightforward as writing a local mod for the game. Not just for online functionality, but basically being able to write any plugin for the game. 'Infinite' dynamic universe powered by a deep neural network (with hilarious results)? Check.


adeine wrote:
Mentioned it before, but what they really should do is implement an outward facing API for X4.

Egosoft making an app would unnecessarily dilute their development time, and I don't think it should be baked into the game or designed around being played this way to begin with.

However, this is something that could be a great community mod. If there's an easy way to send commands to a running instance of X4 and retrieve information about its game state, I'm sure we would see this feature and more in no time.



No response and has not been mentioned so probably safe to assume this is not actively planned at the moment. Still think this would be a killer feature for X4 to support.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic Reply to topic
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Control Panel
Login Data
The time now is Fri, 21. Sep 18, 05:38

All times are GMT + 2 Hours

[ Disclaimer / Impressum ] | [ Privacy Policy / Datenschutz ]

Board Security

Copyright © EGOSOFT 1989-2018
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.07480 seconds, sql queries = 16