Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » Stars! Extensions » Stars Core Engine
Re: Stars Core Engine Sun, 04 January 2015 21:47 Go to previous messageGo to previous message
Shadow Whist is currently offline Shadow Whist

 
Chief Warrant Officer 2

Messages: 167
Registered: August 2003
Location: Vancouver, WA
Update:

The technology tree structure and its use in the game structure was more complicated then anticipated. In the end, it seemed that the suggestion made by JeffMC in a Freestars post was most reasonable as far as 'structure' and 'approach.' While I wanted to do some awesome "OOP" design, in the end a single object for all technology components seemed to be the way to go. I still think a composite design pattern will work. In the end, I needed something implemented, that works. OOP-Awesome was not necessarily a requirement.

So now, a host can generate a custom tech tree from the command line, save the entire standard tech tree to a file (thanks to mikeford1 for his work on the standard technology and the template_tech.py file). A host can also save 1-n 'blank' components to the tech file. This would allow the Host to edit the technology values (as long as they don't alter the key). The file can then be used to generate a game.

The ShipDesign object was a byproduct of working on the technology tree. I will be working on fleets and associated 'how fleets and players interact' design as soon as I clean up a few things in the player object.


Happy New Year!
-SW

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Should Stars! files structures be publically available?
Next Topic: Stars! github organization
Goto Forum:
  


Current Time: Mon May 06 19:49:48 EDT 2024