Frictional Games Forum (read-only)
Map caches - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Map caches (/thread-24696.html)



Map caches - OriginalUsername - 02-24-2014

Hey,
I need some help here. I'm creating a non-linear custom story, so the player has to pass the same area at least twice. Somewhere you try to interact with a door, but instead of opening it, it falls over. (Basically a normal door, but with the axis turned 90 degrees). If the player leaves the map using a level door and re-enters it, will the door be in the same position? I think it doesn't work that way, and you have to use map caches, but I don't know how to load them when you enter the map again. Could someone explain?


RE: Map caches - daortir - 02-24-2014

Won't enabling full game save be enough for this ? It's a simple option you can check/uncheck in the Entity tab.

Not sure about it though, I honestly have no idea what it exactly saves. At least the active/inactive status.


RE: Map caches - RaideX - 02-24-2014

I am fairly sure enabling "full game save" on the entity should do the trick. That way the entity will be in the state it was when leaving the map.


RE: Map caches - Mudbill - 02-24-2014

Yeah, that should work. The map caches don't affect the gameplay in any way. They are only there to make it load the maps faster, just like most other caches.


RE: Map caches - OriginalUsername - 02-24-2014

Ah okay, thanks.


RE: Map caches - daortir - 02-24-2014

Much thanks very welcome. Much np :B


RE: Map caches - 7heDubz - 02-25-2014

My turn for a question,
Dont map caches save the position of said entities that have the fullgamesave option ticked? For example, I make OriginalUsername's door fall, I leave, delete cache, then come back and its fixed again?

No that would be counter-productive and lead to problems in script... so they are saved in the save file?


RE: Map caches - Mudbill - 02-25-2014

Okay I'm not actually 100% sure about that, but I do think it is saved in the save files and not the cache. A cache's purpose is just for faster loading and programs should not save important information in them. It does say that if you use the FullGameSave a lot it will eat up space for the save, so I'm guessing it's stored there.