Scripted Universe Generation!

Programmers discuss here anything related to FreeOrion programming. Primarily for the developers to discuss.

Moderator: Committer

Message
Author
User avatar
Cjkjvfnby
AI Contributor
Posts: 539
Joined: Tue Jun 24, 2014 9:55 pm

Re: Scripted Universe Generation!

#106 Post by Cjkjvfnby »

Vezzra wrote:
MatGB wrote:Python's only doing Irregular 2 entirely on its own, but you can go in there and tweak bits of others.
You can, of course, also replace the current C++ generators for the other galaxy shapes with your own Python implementation. Just put your implementation in a proper function and call this function instead of the one provided by the Python interface.
At current time we can add some testing for that.
Just save all data about systems to file (I like json format) and compare results for C++ and Python generators.
I can help with it after I will be back form vacations (in the end of september)
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

Post Reply