Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » Stars! Nova - Development » Need to move away from using names as IDs
Re: Need to move away from using names as IDs Tue, 28 June 2011 15:11 Go to previous messageGo to previous message
Musmuris

 
Master Chief Petty Officer
Stars! Nova developer
Stars! Nova developer

Messages: 96
Registered: June 2011
So the next question is Who?

My first thought was that I need to sort FleetIDs out for the split/merge - so this would mean removing .Key from Item and making the relevant Id properties that are needed.

However we don't (I believe) have the Empire concept yet. Rather than do that right now a "Race" could be assigned an ID on new game creation and we can then use that in the other Ids for now.

Then later we can create Empire, such that each Empire has a link to a Race (so Empire's can share a Race). This will involve changing everything that uses Race.Name to Empire.Name, but use the Id as a key (which I would do by renaming Race.Name to Name2 and see what breaks!)

This was gets us a release with more features quicker. Or I can volunteer to just do the whole hog first?

Report message to a moderator

 
Read Message icon4.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Turn year
Next Topic: Orders overwriting Star Data
Goto Forum:
  


Current Time: Thu May 02 12:46:21 EDT 2024