Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Move Station Object #84

Open
ghost opened this issue Jul 28, 2014 · 6 comments
Open

Unable to Move Station Object #84

ghost opened this issue Jul 28, 2014 · 6 comments

Comments

@ghost
Copy link

ghost commented Jul 28, 2014

I am unable to move a station object in the game. I can change the x,y,z coordinates of the station in the console and the distance value will update, but no change is seen in the game. As a test we convert the station to a ship and we were then able to move it. When importing the station into the world the pre-existing coordinate were also no preserved, it was placed at a random point approx 600km away.

@chessmaster42
Copy link
Contributor

This is due to the way that static cube grids work in the game. They cannot be moved. So for the time being importing a station will put it out at that random point. This is a safety mechanism of the import that wasn't intended for stations but for ships, floating objects, etc. that can be moved.

A temporary solution would be to change the station to a ship, move it where you like, build a single block with a merge block and merge it back into a station.

We will hopefully have a better solution for stations in the future but this is easier said than done.

@ghost
Copy link
Author

ghost commented Jul 30, 2014

Understood, thanks. Would another possible option be to import using the chat command and have the option to specify coordinates? Could you also clarify the use of the /import command? I haven't gotten that tonwork, does the file need to be in a specific location?

Sent via the Samsung GALAXY S®4, an AT&T 4G LTE smartphone

-------- Original message --------
From: Joseph Pearson
Date:07/30/2014 12:54 PM (GMT-05:00)
To: SEModCommunity/SE-Community-Mod-API
Cc: Nathan Lauterstein
Subject: Re: [SE-Community-Mod-API] Unable to Move Station Object (#84)

This is due to the way that static cube grids work in the game. They cannot be moved. So for the time being importing a station will put it out at that random point. This is a safety mechanism of the import that wasn't intended for stations but for ships, floating objects, etc. that can be moved.

A temporary solution would be to change the station to a ship, move it where you like, build a single block with a merge block and merge it back into a station.

We will hopefully have a better solution for stations in the future but this is easier said than done.


Reply to this email directly or view it on GitHubhttps://github.com//issues/84#issuecomment-50645356.

@ghost
Copy link
Author

ghost commented Jul 31, 2014

Actually for stations, I would prefer them to be imported to the coordinates saved in the sbc file. I'm usually restoring stations for players who's bases have been destroyed by griefers.

@chessmaster42
Copy link
Contributor

Quick note on this: the import has been fixed as of the last main release so that imported ships now properly obey the position defined in the file. But if there is no position then it will generate a random position as before.

@ghost
Copy link
Author

ghost commented Aug 2, 2014

Worked great, I was able to import a station right where I needed. If I need to tweak the position of the station I can just mod the sbc file and re-import. So that solutions works for me.

@fvgoulet
Copy link
Contributor

This enhancement should be simple enough to do, simply set the position of the deserialized cubegrid to where we want to create the cubegrid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants