Sooo, I have started customizing Planets and I would like to put them out a server to test. And I have a question. 1.) How do I reset the planet once I make a change to .yaml file without wiping the entire galaxy and starting from scratch? I want my players to explore the world and make suggestions, and then make the changes.
http://steamcommunity.com/groups/EGS_Owners/discussions/3/ Open save folder. [game name], content, playfields Delete planet Go back to content Open templates That is the playfield.yaml you want to edit. When a playfield is first visited a template is created, if the saved data gets corrupted the server looks up its template... If template also got corrupted then it looks up the original playfield.yaml It's done this way so Eleon can continuously update map.raw files to change terrain without messing up existing save games.
Once you are running a server, and start a game, the content of the 'content' folder is copied over to a saves folder of your naming. From here on, you don't need to touch your 'content' folder at all. Instead, focus on your 'saves' folder. Why? The server will create a saved game folder, and puts all the playfield information into the saves\templates folder. From here, when you visit a playfield for the 1st time, the server will create a playfield folder within the saves folder, with the name of the playfield. For example, lets say you have been very busy editing a YAML file and have created a planet called Andromeda. 1. For your server to see this new planet you need to do some things. First, you would need to go into your saves\sectors folder and add your new planet information to the sectors.yaml file. You could add your planet to an existing space orbit, or you could create a new orbit for it to reside...up to you. 2. Once you've finished with the sectors.yaml, you will need to create the folder \saves\templates\Andromeda. Place your .yaml into that folder. When you fly to Andromeda, the server will create a folder called Andromeda in the saves\playfields folder. It is THIS folder that contains all the planet information.....so it is this folder, that you delete if you want to create a new Andromeda to replace the previous one. So, every time you want to edit your planet, you will edit the Andromeda.yaml file in the saves\templates folder. Then delete the \saves\playfields\Andromeda folder, and away you go, you will have a fresh Andromeda. Just make sure you are not in the playfield at the time. Preferably have the server shutdown too. This is the method I use to make mods to my server planets.....pretty simple after you've done it a million times .... Andy.
you can edit the contents of the planet's save folder too. Just remember to keep the Areas Folder itself (you can delete its content) or the whole planet will get regenerated. ents.dat holds data about player constructs and POIS world.dat holds data about generators, autominers, % already mined from resources, water color, fog level, etc (tons of info) deco.dat contains info about plants, rocks, mobs, etc drone.dat contains info about (i'm guessing here) drones Contents of Areas folder contain data about terrain alterations like from Mining map.raw is terrain shape above a certain point (mountains) map_n.raw is terrain shape below a certain point (lakes)
Wow my ears were sure burning with that one. We actually started out with VexRay's Andromeda, but wanted something a bit better for player permanent residency so I built a modified temperate that is our Andromeda now. Anyhoo, good posting and details! I was a little taken back by the Content> Template> Playfields> directory and game use at first, but now find it to be a great setup. With players from many time zones I usually can't shut the server down, so I just wait for the associated process to be shutdown (about a minute after last player leaves that playfield) and then remove the folder for whatever planet I've changed / wanted to wipe. Once I see things are working fine on the next visit I actually delete the folder. Has not caused any grief yet.
Yep good info, however what I would like to know is - "what exactly is triggered once you destroy the drone base's core?" You can delete the drones.dat, but the drones don't respawn. You can replace the banged up drone base with a nice fresh one, but still no drones. Deleting the complete folder, obviously resets the planet and therefore resets the drones as well, so the code for this is located in one ofthe other .dat files (probably ents.dat or world.dat). Somewhere, in one of the .dat files, is an entry...probably just a 0 or a 1, which says whether the drones should be actively produced or not..... that, I would like to know...anyone? Andy.