Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » Stars! Extensions » Planet mover (remapping tool)
Re: Planet mover (remapping tool) Wed, 31 July 2013 10:08 Go to previous messageGo to previous message
Ron is currently offline Ron

 
Commander
Forum Administrator
Stars! AutoHost Administrator

Messages: 1231
Registered: October 2002
Location: Collegedale, TN
XyliGUN wrote on Tue, 30 July 2013 13:10
OK, here is a promised tool.

How to:

  • first you have to create a game using Stars! with required universe size, planets density and all other settings as usual
  • then once you have xy, hst & m files (they all should be located in one folder) you can start moving planets
  • open a turn as usual, select a planet you would like to move and note a planet ID as it shown below the map (like "ID #67")
  • note a map coordinates you would like to move this planet to (like "X: 1052, Y: 1057") and ensure there is no another planet at the same location
  • type StarsHostTool <YourPathGoesHere>\<YourGameNameGoesHere>.xy /move 67 1052 1057
  • tool will then update your xy, hst & m files to move specified planet to the new location.

Remarks:
After the move planet name and all of its' content should be the same, but planet ID will be different.
So, if you like to move the same planet again you will need to obtain its' new ID.


This tool was designed to be used in 2400, but should also work in any year.
It was not extensively tested, so please consider backing up your files before move.

Please let me know of any issues you found.


Please add a switch that would output a simple parsable list of all planet names and IDs and their current coordinates in a game. I could use that to add Planet Move capability to Host Utility on Stars! AutoHost.



Ron Miller
Stars! AutoHost

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
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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Stars Movies
Next Topic: m and h files merger tool
Goto Forum:
  


Current Time: Thu Mar 28 13:46:41 EDT 2024