{"id":1681,"date":"2022-07-26T23:12:38","date_gmt":"2022-07-26T23:12:38","guid":{"rendered":"https:\/\/golemitegames.com\/?post_type=docs&#038;p=1681"},"modified":"2022-07-27T16:36:14","modified_gmt":"2022-07-27T16:36:14","password":"","slug":"save-load-preconfiguration","status":"publish","type":"docs","link":"https:\/\/golemitegames.com\/index.php\/docs\/save-load-preconfiguration\/","title":{"rendered":"Save\/Load\/Preconfiguration"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>Here you can adjust all settings related to saving, loading and setting up your pre configured grids for &#8216;levels&#8217;. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"452\" height=\"249\" src=\"https:\/\/golemitegames.com\/wp-content\/uploads\/2022\/07\/image-7.png\" alt=\"\" class=\"wp-image-1684\" srcset=\"https:\/\/golemitegames.com\/wp-content\/uploads\/2022\/07\/image-7.png 452w, https:\/\/golemitegames.com\/wp-content\/uploads\/2022\/07\/image-7-300x165.png 300w\" sizes=\"(max-width: 452px) 100vw, 452px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:22px\">Grid ID<\/h2>\n\n\n\n<p>The Grid ID located just under the save and load tab is very important as this is what is used in the file name for saving, loading and preconfigurations. By default, the grid creates an ID on Reset, so when you either manually click reset in the inspector, or add the component manually. For multiple grids, you will need to use different ID\u2019s for the saving and loading to work correctly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:22px\">New<\/h2>\n\n\n\n<p>Generates a new ID.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:22px\">Copy<\/h2>\n\n\n\n<p>Copies the current grids ID to clipboard.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:22px\">Paste<\/h2>\n\n\n\n<p>Paste an ID from your clipboard to this grids ID. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:22px\">Auto Save Interval<\/h2>\n\n\n\n<p>Will automatically save your grid objects to file after setting how many minutes. This will overwrite the same file. If you specify 5 for example, it will automatically save your progress after 5 minutes, and after every subsequent 5 minutes. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:22px\">Save Grid On Exit<\/h2>\n\n\n\n<p>Saves the grid objects to file before exiting the application.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:22px\">Load Save On Start<\/h2>\n\n\n\n<p>Loads the current save if there is one at runtime. If there is no save, it will then look for a <strong>Preconfiguration<\/strong> to load. If it finds neither, then nothing will load. This <a href=\"https:\/\/golemitegames.com\/index.php\/grid-builder-2-loading-flow-chart\/\" title=\"flow chart\">flow chart<\/a> clearly demonstrates how the save and load logic works. <\/p>\n\n\n\n<p>Be sure to have all of your placeable objects in Resources>PlaceableObjects in order for everything to load correctly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:22px\">Load Config On Start<\/h2>\n\n\n\n<p>Loads the current <strong>Preconfiguration<\/strong> if there is one. This will never load a save file. See this <a href=\"https:\/\/golemitegames.com\/index.php\/grid-builder-2-loading-flow-chart\/\" title=\"flow chart\">flow chart<\/a> for more info.<\/p>\n\n\n\n<p>Be sure to have all of your placeable objects in Resources>PlaceableObjects in order for everything to load correctly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:22px\">Create Preconfiguration<\/h2>\n\n\n\n<p>This button is only available in play mode, as you will need to be able to place objects. After having placed your objects and designed the level how you like, hit the button to create a .preconfig file. This is stored in the folder Preconfig. <\/p>\n\n\n\n<p><strong>Preconfigurations<\/strong> are save states of how grid is set up. Say you wanted to have five towers already placed on load, well this is how you would do it. Follow the <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/saving-loading-and-preconfiguration\/\" title=\"guidance\">guidance<\/a> on how to set this up.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:22px\">Delete Preconfiguration<\/h2>\n\n\n\n<p>Deletes the current <strong>Preconfiguration<\/strong>. This will only be available if you have created one.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" src=\"https:\/\/golemitegames.com\/wp-content\/uploads\/2022\/07\/image-8.png\" alt=\"\" class=\"wp-image-1693\" width=\"397\" height=\"456\" srcset=\"https:\/\/golemitegames.com\/wp-content\/uploads\/2022\/07\/image-8.png 397w, https:\/\/golemitegames.com\/wp-content\/uploads\/2022\/07\/image-8-261x300.png 261w\" sizes=\"(max-width: 397px) 100vw, 397px\" \/><figcaption>A demo scene with a preconfiguration<\/figcaption><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here you can adjust all settings related to saving, loading and setting up your pre configured grids for &#8216;levels&#8217;. Grid ID The Grid ID located just under the save and load tab is very important as this is what is used in the file name for saving, loading and preconfigurations. By default, the grid creates [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"doc_category":[33],"doc_tag":[],"class_list":["post-1681","docs","type-docs","status-publish","hentry","doc_category-gridsquare-gridbuilder2"],"acf":[],"aioseo_notices":[],"year_month":"2026-04","word_count":390,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"rickitz5h","author_nicename":"rickitz5h","author_url":"https:\/\/golemitegames.com\/index.php\/author\/rickitz5h\/"},"doc_category_info":[{"term_name":"GridSquare","term_url":"https:\/\/golemitegames.com\/index.php\/docs-category\/gridsquare-gridbuilder2\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/docs\/1681","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/comments?post=1681"}],"version-history":[{"count":9,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/docs\/1681\/revisions"}],"predecessor-version":[{"id":1694,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/docs\/1681\/revisions\/1694"}],"wp:attachment":[{"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/media?parent=1681"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/doc_category?post=1681"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/doc_tag?post=1681"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}