Carnaxus Posted January 2, 2019 Share Posted January 2, 2019 Hey all, I've built a prototyping ship in a creative world for the purpose of building a few station designs and saving them. I've done that, and now I'm trying to make sure it doesn't try to go flying off into the sunset when I tell its captain to "attack enemies." It has no engines or thrusters, so it can't actually move, but I can't help but worry that that'll break the AI somehow or something. What I'd like to do to fix it is to turn it into an actual station. Problem is, it's not a station founder, it's a ship I built from scratch. Does anyone know if there's a way to change a ship into a station, perhaps by editing the save files? Link to comment Share on other sites More sharing options...
Daemonic Posted January 2, 2019 Share Posted January 2, 2019 You could try saving the ship blueprint, then build a new ship with station founder turned on. You should be able to import your saved ship design onto the station ship, then turn it into a station. You may need to make some edits if you pick a station that adds extra parts. Hope that helps. Link to comment Share on other sites More sharing options...
Carnaxus Posted January 3, 2019 Author Share Posted January 3, 2019 That's definitely an option. I'm wondering if it's even possible to "force" the original prototyper ship to convert to a station. I'll probably wind up doing what you mentioned in the end, but I still want to know. Link to comment Share on other sites More sharing options...
Daemonic Posted January 3, 2019 Share Posted January 3, 2019 I feel like every ship should by default be able to be converted into a station if you want to. If you do find a way to force the original to convert to a station, be sure to let us know. Good Luck! Link to comment Share on other sites More sharing options...
Carnaxus Posted January 3, 2019 Author Share Posted January 3, 2019 If you do find a way to force the original to convert to a station, be sure to let us know. Orright. *puts gloves and safety goggles on* Let's figure this thing out! Note: I'm not Aussie, it just fit Link to comment Share on other sites More sharing options...
Shrooblord Posted January 16, 2019 Share Posted January 16, 2019 Forcing the craft into Station-founding capabilities would be rather easy if you want to mod it in / don't mind "cheating". All you need to do is pilot the ship, open chat, and run the command: /run Entity():addScriptOnce("data/scripts/entity/stationfounder.lua") Alternatively, if you feel like writing a quick mod to always allow Station founding on any ship you pilot, consider adding this line to the data/scripts/lib/defaultscripts.lua file: ship:addScriptOnce("data/scripts/entity/stationfounder.lua") inside the function AddDefaultShipScripts(ship). For example, the lines near the start of my defaultscripts.lua now look like this: function AddDefaultShipScripts(ship) ship:addScriptOnce("data/scripts/entity/startbuilding.lua") ship:addScriptOnce("data/scripts/entity/entercraft.lua") ship:addScriptOnce("data/scripts/entity/exitcraft.lua") ship:addScriptOnce("data/scripts/entity/invitetogroup.lua") ship:addScriptOnce("data/scripts/entity/craftorders.lua") ship:addScriptOnce("data/scripts/entity/orderchain.lua") ship:addScriptOnce("data/scripts/entity/transfercrewgoods.lua") ship:addScriptOnce("data/scripts/entity/stationfounder.lua") end Actually, that's a good idea for a mod. I'm gonna keep this functionality in. I like not having to enable "station founder" and being able to always found a Station from any old ship I'm pilotting. Neato -- thanks for the suggestion. ;P Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now