Has anyone edited a playfield, deleted to old template and playfield folders spec'd in sectors, and then teleported to the playfield again to find Zero changes? I mean breathable, O2%, difficulty, skycolor - everything the way it was, and when I open the file in motepad++ all the changes I had made are there. What the heck? LOL Thx.
If it's running on a dedicated server, did you restart the server after editing and replacing the template?
I didn't - are those in RAM or something? aka it requires a full restart to see the changes? (thx for the reply and nice job on your app, I checked it out this last weekend!)
I think it keeps it stored and loaded in the playfieldserver.exe, just in caase, if another user was still in the game and wanted to switch playfields to the one you edited/deleted. There's no physical restart (aka pc restart) necessary, but shutting down and restarting of the EmpyrionDedicated Server program. (Thx for the feedback) /jmc
I may be having a similar problem... I tried a custom playfield for Akua Orbit but it doesn't seem to load-- I'm just adding some extra freighters and another asteroid. No luck though. Does it matter that I had already visited the playfield before trying to edit it? I've tried the suggestions above... Thanks!
You have to regenerate the playfield after editing things that only generate once (POIs, ore deposits, terrain) but not for stuff like sky color. For an already existing game, if there is a playfield.yaml file inside the savegame/templates folder it will use that one to generate, otherwise it will default to the one in the empyrion/content folder. (Or now in the scenarios if you're using one.)
I mean you will need to delete the folder for that playfield, erasing it from the savegame as if nobody had ever been there.
Thank you, that's what I thought. I think part of my problem was an issue with the Template playfield. I recreated it and used EPD to make sure I didn't screw up the formatting again. Sorry for the thread hijack
Make sure you delete the files in SaveGame>Playfields>PlanetName> There should be 4 files there, either wipe the whole folder (planet name e.g. Akua) or delete world.dat, deco.dat and ents.dat in the folder while the playfield is unloaded (no players on that playfield for at least 30sec for it to unload) With those deleted, when you reload the playfield, the dedi will pull the template's playfield.yaml and generate the new planet with your changes. ((So I looked at the files of a 6.0exp save game, and they added a bunch of new ones, I'd just delete the whole folder to be safe.))
Hey LiftPizzas! Thanks for making the videos on sector and playfield editing, those were very useful when I was a noob; they helped me get off the ground man!
From all personal experience, jmc is 100% correct. If you change the playfield.yaml or sector.yaml, you must restart the server. EmpyrionDedicated and EmpyrionPlayfield appear to cache copies of the YAML files.