Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Map caches
OriginalUsername Offline
Posting Freak

Posts: 896
Threads: 42
Joined: Feb 2013
Reputation: 34
#1
Map caches

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?
02-24-2014, 03:57 PM
Find
daortir Offline
Senior Member

Posts: 422
Threads: 9
Joined: Sep 2013
Reputation: 18
#2
RE: Map caches

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.

02-24-2014, 04:32 PM
Find
RaideX Offline
Member

Posts: 212
Threads: 33
Joined: May 2013
Reputation: 7
#3
RE: Map caches

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.

If you don't draw first, you don't get to draw at all... -The False Shepherd
02-24-2014, 04:35 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#4
RE: Map caches

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.

02-24-2014, 04:41 PM
Find
OriginalUsername Offline
Posting Freak

Posts: 896
Threads: 42
Joined: Feb 2013
Reputation: 34
#5
RE: Map caches

Ah okay, thanks.
(This post was last modified: 02-24-2014, 08:38 PM by OriginalUsername.)
02-24-2014, 08:29 PM
Find
daortir Offline
Senior Member

Posts: 422
Threads: 9
Joined: Sep 2013
Reputation: 18
#6
RE: Map caches

Much thanks very welcome. Much np :B

02-24-2014, 10:57 PM
Find
7heDubz Offline
Posting Freak

Posts: 1,329
Threads: 40
Joined: Feb 2013
Reputation: 41
#7
RE: Map caches

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?

02-25-2014, 01:26 AM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#8
RE: Map caches

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.

02-25-2014, 08:51 AM
Find




Users browsing this thread: 3 Guest(s)