Hi! I'm new to FreeOrion and have some questions regarding the feasability of resolving space battles using 3rd-party apps--specifically Homeworld 2.
Would it be possible to setup the game to (optionally) resolve battles using other games?
Could FreeOrion be configured to input/output beginning and ending stats for combat rounds using an easy to read text file or comma-separated list of values?
Would cheating be an issue, and how would this be resolved?
For some information on the types of data that Homeworld 2 can input (using scripting) and output, see this page and this page. (Note: it is possible to have the game read/write additional data--but one would need to resort to complex scripting.)
Feasability of Resolving Space Battles using 3rd-party Apps
Moderator: Oberlus
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13587
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
The big problem would not so much be exporting our gamestate (maybe not trivial, but not a huge deal) as much as it would be importing that gamestate into another system where everything matched up properly.
Surprise and Terror! I am greeted by the smooth and hostile face of our old enemy, the Hootmans! No... the Huge-glands, no, I remember, the Hunams!
What kind of stuff are you talking about, exactly? If it's something simple like a list of player-owned ships, then there shouldn't be a problem. One can even go as far as creating a custom map if it's imperative to get their positions right.
Homeworld 2 is pretty easy to mod. Most stuff is accessible using the Lua scripting language (including basic file read/write access)--albeit there are a few things you can't do.
Homeworld 2 is pretty easy to mod. Most stuff is accessible using the Lua scripting language (including basic file read/write access)--albeit there are a few things you can't do.
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13587
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
I meant to imply exporting the gamestate in such a manner as to be able to import into another game.Aquitaine wrote:The big problem would not so much be exporting our gamestate (maybe not trivial, but not a huge deal) as much as it would be importing that gamestate into another system where everything matched up properly.
The problem is not just a matter of listing player owned ships. We'd need to get Homeworld, or whatever other game, to understand and appropriately deal with all relevant FO state information, which will not be defined in terms of whatever Homeworld normally uses. It would be like converting the game state of chess to a game state of backgammon; there are some similarities, but it doesn't really make sense.SharkD wrote:What kind of stuff are you talking about, exactly?