Feasability of Resolving Space Battles using 3rd-party Apps

For topics that do not fit in another sub-forum.

Moderator: Oberlus

Post Reply
Message
Author
SharkD
Space Krill
Posts: 3
Joined: Sat May 27, 2006 10:27 am

Feasability of Resolving Space Battles using 3rd-party Apps

#1 Post by SharkD »

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.)

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

#2 Post by Geoff the Medio »

It's very unlikely that FO will be designed or built around exporting the gamestate to other, particularly commercial, games.

If you want to make a modification that does this after v0.4 or v1.0 though, feel free to try.

Aquitaine
Lead Designer Emeritus
Posts: 761
Joined: Thu Jun 26, 2003 1:54 pm
Location: Austin, TX

#3 Post by Aquitaine »

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!

SharkD
Space Krill
Posts: 3
Joined: Sat May 27, 2006 10:27 am

#4 Post by SharkD »

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.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

#5 Post by Geoff the Medio »

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.
I meant to imply exporting the gamestate in such a manner as to be able to import into another game.
SharkD wrote:What kind of stuff are you talking about, exactly?
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.

Post Reply